|
@@ -103,7 +103,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row :gutter="20">
|
|
|
+ <el-row v-if="addForm.isRectify === 1" :gutter="20">
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="整改日期" prop="rectifyDate">
|
|
|
<el-date-picker
|
|
@@ -116,13 +116,14 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row :gutter="20">
|
|
|
+ <el-row v-if="addForm.isRectify === 1" :gutter="20">
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="整改人" prop="rectifyUser">
|
|
|
<HcTasksUser
|
|
|
- :disabled="type === 'changeRow' || type === 'review' || type === 'view'" :is-change-popele="true"
|
|
|
- :contract-id="contractId" :project-id="projectId" :users="peoples"
|
|
|
- ui="w-full" @change="tasksUserChange"
|
|
|
+ v-if="isShowUser" :disabled="type === 'changeRow' || type === 'review' || type === 'view'"
|
|
|
+ :is-change-popele="true" :contract-id="contractId" :project-id="projectId"
|
|
|
+ :users="peoples" ui="w-full"
|
|
|
+ @change="tasksUserChange"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -163,7 +164,7 @@
|
|
|
<el-link v-else @click="openAttachment(row)">{{ row.rectifyAttachmentName }}</el-link>
|
|
|
</template>
|
|
|
|
|
|
- <el-link v-else type="primary" @click="clickAttachment(row, index)">
|
|
|
+ <el-link v-else type="primary" :disabled="type === 'review' || type === 'view'" @click="clickAttachment(row, index)">
|
|
|
上传
|
|
|
</el-link>
|
|
|
</template>
|
|
@@ -212,11 +213,12 @@
|
|
|
check-strictly
|
|
|
@nodeTap="wbsElTreeClick"
|
|
|
@check="divisionTreeCheck"
|
|
|
+ @check-change="divisionTreeCheckChange"
|
|
|
>
|
|
|
<template #default="{ node, data }">
|
|
|
<span style="font-size: 16px;">{{ data.title }}</span>
|
|
|
</template>
|
|
|
- </HcDataTree>>
|
|
|
+ </HcDataTree>
|
|
|
</div>
|
|
|
</el-scrollbar>
|
|
|
<el-scrollbar v-show="!isSearchTree" class="scroll-bar-right-16">
|
|
@@ -338,7 +340,7 @@ const tableColumn = ref([
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+const isShowUser = ref(true)
|
|
|
onActivated(()=>{
|
|
|
getTypeOptions()
|
|
|
const routerQuery = useRoutes?.query
|
|
@@ -350,6 +352,11 @@ onActivated(()=>{
|
|
|
addForm.value = {}
|
|
|
processDataList.value = []
|
|
|
peoples.value = ''
|
|
|
+ isShowUser.value = false
|
|
|
+ setTimeout(() => {
|
|
|
+ isShowUser.value = true
|
|
|
+ }, 10)
|
|
|
+
|
|
|
}
|
|
|
if (type.value === 'changeRow') {
|
|
|
|
|
@@ -548,7 +555,7 @@ const linksRelateModalSave = ()=>{
|
|
|
primaryKeyId: ele.primaryKeyId,
|
|
|
autoExpandKeys:TreeAutoExpandKeys.value,
|
|
|
isShowImage:0,
|
|
|
- contractId:contractId.value,
|
|
|
+ contractId:ele.contractId,
|
|
|
|
|
|
})
|
|
|
})
|