|
@@ -11,7 +11,7 @@
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
<div v-else>
|
|
|
- <el-form-item v-if="handlerId === useUserStore().user.userId" prop="resultStatus" label="任务结果:">
|
|
|
+ <el-form-item prop="resultStatus" label="任务结果:">
|
|
|
<div>
|
|
|
<el-select
|
|
|
v-model="sumbitForm.resultStatus"
|
|
@@ -64,7 +64,7 @@
|
|
|
</el-row>
|
|
|
</el-col>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label=" " v-if="handlerId === useUserStore().user.userId">
|
|
|
+ <el-form-item label=" " >
|
|
|
<el-upload
|
|
|
|
|
|
v-show="uploadHidden"
|
|
@@ -95,7 +95,7 @@
|
|
|
<template #footer>
|
|
|
<div class="dialog-footer">
|
|
|
<el-button @click="outerVisible = false">关闭</el-button>
|
|
|
- <el-button type="primary" v-if="!falg && handlerId === useUserStore().user.userId" v-hasPermi="['business:production:onceWork:finished']" @click="onsumbit">提交</el-button>
|
|
|
+ <el-button type="primary" v-if="!falg" v-hasPermi="['business:production:onceWork:finished']" @click="onsumbit">提交</el-button>
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-dialog>
|
|
@@ -235,6 +235,7 @@ function openView(id,status,userId,resultStatus,view){
|
|
|
filesTable.value = null;
|
|
|
pasteList.value =[];
|
|
|
preList.value = [];
|
|
|
+ viewList.value = [];
|
|
|
fileEntityList.value = [];
|
|
|
FileList({"masterTableName":"biz_work_order_record","masterId":id}).then((response) => {
|
|
|
filesTable.value = response.data
|