BUG 28046
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<template #title>
|
<template #title>
|
||||||
<ai-title title="公文详情" isShowBottomBorder isShowBack @onBackClick="cancel(true)">
|
<ai-title title="公文详情" isShowBottomBorder isShowBack @onBackClick="cancel(true)">
|
||||||
<template #rightBtn>
|
<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
|
<el-button
|
||||||
size="small"
|
size="small"
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
开始流转
|
开始流转
|
||||||
</el-button>
|
</el-button>
|
||||||
</ai-wechat-selecter>
|
</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
|
<el-button
|
||||||
size="small"
|
size="small"
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
结束流转</el-button>
|
结束流转</el-button>
|
||||||
</template>
|
</template>
|
||||||
</ai-title>
|
</ai-title>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
<template #content>
|
<template #content>
|
||||||
<ai-card :title="form.documentName">
|
<ai-card :title="form.documentName">
|
||||||
@@ -131,7 +131,7 @@
|
|||||||
class="iconfont iconDelete"
|
class="iconfont iconDelete"
|
||||||
title="删除"
|
title="删除"
|
||||||
style="cursor: pointer;"
|
style="cursor: pointer;"
|
||||||
@click="remove(row.id)">
|
@click="remove(row.flowId)">
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -220,9 +220,9 @@ export default {
|
|||||||
this.showDetail = true
|
this.showDetail = true
|
||||||
this.isAdd = false
|
this.isAdd = false
|
||||||
this.getDetail()
|
this.getDetail()
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
remove (id) {
|
remove (id) {
|
||||||
if(this.form.flowUsers.length<=1){
|
if(this.form.flowUsers.length<=1){
|
||||||
return this.$message.error("至少留一个流转对象!");
|
return this.$message.error("至少留一个流转对象!");
|
||||||
@@ -560,4 +560,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -80,6 +80,7 @@
|
|||||||
:size.sync="page.size"
|
:size.sync="page.size"
|
||||||
@getList="getList"
|
@getList="getList"
|
||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
|
:dict="dict"
|
||||||
>
|
>
|
||||||
<el-table-column slot="selection" type="selection" width="55"></el-table-column>
|
<el-table-column slot="selection" type="selection" width="55"></el-table-column>
|
||||||
<el-table-column slot="options" label="操作" align="center" width="200">
|
<el-table-column slot="options" label="操作" align="center" width="200">
|
||||||
@@ -142,24 +143,21 @@ export default {
|
|||||||
label: "公文类型",
|
label: "公文类型",
|
||||||
width: 120,
|
width: 120,
|
||||||
align: "center",
|
align: "center",
|
||||||
formart: (documentType) =>
|
dict: "officialDocumentName"
|
||||||
this.$dict.getLabel("officialDocumentName", documentType),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
prop: "readType",
|
prop: "readType",
|
||||||
label: "阅示类型",
|
label: "阅示类型",
|
||||||
width: 120,
|
width: 120,
|
||||||
align: "center",
|
align: "center",
|
||||||
formart: (readType) =>
|
dict: "officialDocumentReadType"
|
||||||
this.$dict.getLabel("officialDocumentReadType", readType),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
prop: "confidentialityLevel",
|
prop: "confidentialityLevel",
|
||||||
label: "保密等级",
|
label: "保密等级",
|
||||||
width: 120,
|
width: 120,
|
||||||
align: "center",
|
align: "center",
|
||||||
formart: (confidentialityLevel) =>
|
dict: "officialDocumentConfidentialityLevel"
|
||||||
this.$dict.getLabel("officialDocumentConfidentialityLevel", confidentialityLevel),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
prop: "flowUserName",
|
prop: "flowUserName",
|
||||||
@@ -192,7 +190,7 @@ export default {
|
|||||||
];
|
];
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
created() {
|
||||||
this.dict.load('officialDocumentName', 'officialDocumentConfidentialityLevel', 'officialDocumentReadType', 'documentStatus').then(() => {
|
this.dict.load('officialDocumentName', 'officialDocumentConfidentialityLevel', 'officialDocumentReadType', 'documentStatus').then(() => {
|
||||||
this.$nextTick(() => this.getList())
|
this.$nextTick(() => this.getList())
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user