|
|
@@ -459,9 +459,11 @@
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<!-- 当前登录用户为处理人(之一) -->
|
|
|
<span v-if="dataForm.handler.indexOf(loginStaffInfo.userId) != -1" style="margin-right: 10px;">
|
|
|
- <el-button v-if="taskName != null && dataForm.applyStatus != 4 && dataForm.applyStatus != 5" @click="dataFormSave()">{{ $t('保存') }}</el-button>
|
|
|
- <el-button type="success" v-if="taskName != null && dataForm.veResult != '0'" @click="dataFormSubmit(1)">{{ $t('通过') }}</el-button>
|
|
|
- <el-button type="danger" v-if="taskName == '验收' && dataForm.veResult == '0'" @click="dataFormSubmit(2)">{{ $t('驳回') }}</el-button>
|
|
|
+ <span v-if="showType == 'handle'">
|
|
|
+ <el-button v-if="taskName != null && dataForm.applyStatus != 4 && dataForm.applyStatus != 5" @click="dataFormSave()">{{ $t('保存') }}</el-button>
|
|
|
+ <el-button type="success" v-if="taskName != null && dataForm.veResult != '0'" @click="dataFormSubmit(1)">{{ $t('通过') }}</el-button>
|
|
|
+ <el-button type="danger" v-if="taskName == '验收' && dataForm.veResult == '0'" @click="dataFormSubmit(2)">{{ $t('驳回') }}</el-button>
|
|
|
+ </span>
|
|
|
<el-button type="info" v-if="taskName == '评估'" @click="dataFormSubmit(0)">{{ $t('中止') }}</el-button>
|
|
|
</span>
|
|
|
<el-button @click="visible = false">{{ $t('返回') }}</el-button>
|
|
|
@@ -657,11 +659,13 @@ export default {
|
|
|
inspectorsOptions: [],
|
|
|
executorsOptions: [],
|
|
|
assessorsOptions: [],
|
|
|
+ showType: '',
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
// 初始化
|
|
|
- init(id, taskId, processId, taskName) {
|
|
|
+ init(id, taskId, processId, taskName, showType) {
|
|
|
+ this.showType = showType;
|
|
|
this.doc.id = id;
|
|
|
this.doc.queryParams.pId = id;
|
|
|
this.doc.pId = id;
|