BUG 28046

This commit is contained in:
aixianling
2022-03-08 14:18:45 +08:00
parent 37f54ace01
commit 65b407e744
2 changed files with 12 additions and 14 deletions

View File

@@ -4,7 +4,7 @@
<template #title>
<ai-title title="公文详情" isShowBottomBorder isShowBack @onBackClick="cancel(true)">
<template #rightBtn>
<ai-wechat-selecter :instance="instance" v-model="addUser" :isMultiple="form.readType == '0' ? false : true" @change="onChange" v-if="form.status === '0'">
<ai-wechat-selecter :instance="instance" v-model="addUser" :isMultiple="form.readType!='0'" @change="onChange" v-if="form.status === '0'">
<el-button
size="small"
type="primary"
@@ -12,7 +12,7 @@
开始流转
</el-button>
</ai-wechat-selecter>
<ai-wechat-selecter :instance="instance" v-model="addUser" :isMultiple="form.readType == '0' ? false : true" @change="onChange" v-if="form.status === '2' && form.readType == '0'">
<ai-wechat-selecter :instance="instance" v-model="addUser" :isMultiple="form.readType!='0'" @change="onChange" v-if="form.status === '2' && form.readType == '0'">
<el-button
size="small"
type="primary"
@@ -28,7 +28,7 @@
结束流转</el-button>
</template>
</ai-title>
</template>
<template #content>
<ai-card :title="form.documentName">
@@ -131,7 +131,7 @@
class="iconfont iconDelete"
title="删除"
style="cursor: pointer;"
@click="remove(row.id)">
@click="remove(row.flowId)">
</span>
</template>
</el-table-column>
@@ -220,9 +220,9 @@ export default {
this.showDetail = true
this.isAdd = false
this.getDetail()
},
methods: {
methods: {
remove (id) {
if(this.form.flowUsers.length<=1){
return this.$message.error("至少留一个流转对象!");
@@ -560,4 +560,4 @@ export default {
}
}
}
</style>
</style>