BUG 28046
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -80,6 +80,7 @@
|
||||
:size.sync="page.size"
|
||||
@getList="getList"
|
||||
@selection-change="handleSelectionChange"
|
||||
:dict="dict"
|
||||
>
|
||||
<el-table-column slot="selection" type="selection" width="55"></el-table-column>
|
||||
<el-table-column slot="options" label="操作" align="center" width="200">
|
||||
@@ -142,24 +143,21 @@ export default {
|
||||
label: "公文类型",
|
||||
width: 120,
|
||||
align: "center",
|
||||
formart: (documentType) =>
|
||||
this.$dict.getLabel("officialDocumentName", documentType),
|
||||
dict: "officialDocumentName"
|
||||
},
|
||||
{
|
||||
prop: "readType",
|
||||
label: "阅示类型",
|
||||
width: 120,
|
||||
align: "center",
|
||||
formart: (readType) =>
|
||||
this.$dict.getLabel("officialDocumentReadType", readType),
|
||||
dict: "officialDocumentReadType"
|
||||
},
|
||||
{
|
||||
prop: "confidentialityLevel",
|
||||
label: "保密等级",
|
||||
width: 120,
|
||||
align: "center",
|
||||
formart: (confidentialityLevel) =>
|
||||
this.$dict.getLabel("officialDocumentConfidentialityLevel", confidentialityLevel),
|
||||
dict: "officialDocumentConfidentialityLevel"
|
||||
},
|
||||
{
|
||||
prop: "flowUserName",
|
||||
@@ -192,7 +190,7 @@ export default {
|
||||
];
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
created() {
|
||||
this.dict.load('officialDocumentName', 'officialDocumentConfidentialityLevel', 'officialDocumentReadType', 'documentStatus').then(() => {
|
||||
this.$nextTick(() => this.getList())
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user