项目开始之后不能修改
This commit is contained in:
parent
3cec50b99e
commit
47c0781065
|
@ -42,7 +42,7 @@
|
|||
</template>
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<a-popconfirm
|
||||
v-if="record.status === 0"
|
||||
v-if="record.status === 1"
|
||||
:title="`确定要添加${record.name}课程吗?`"
|
||||
ok-text="添加"
|
||||
cancel-text="取消"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<a-divider type="vertical" v-if="hasPerm(power.edit) && hasPerm('project:list')" />
|
||||
<a v-if="hasPerm('project:list')" href="javascript:;" @click="getDetail(record)">详情</a>
|
||||
<a-divider type="vertical" v-if="hasPerm(power.edit) && hasPerm('project:list')" />
|
||||
<a v-if="hasPerm(power.edit)" href="javascript:;" @click="handledCreate(record)">修改</a>
|
||||
<a v-if="hasPerm(power.edit) && ['1','2'].includes(record.status)" href="javascript:;" @click="handledCreate(record)">修改</a>
|
||||
<a-divider type="vertical" v-if="hasPerm(power.del) && hasPerm('project:list')" />
|
||||
<a-popconfirm title="是否删除?" @confirm="() => handleDelete(record)">
|
||||
<a v-if="hasPerm(power.del)" href="javascript:;">删除</a>
|
||||
|
|
Loading…
Reference in New Issue