|
@@ -106,7 +106,16 @@
|
|
</template>
|
|
</template>
|
|
<el-form :model="baseForm" label-position="left" label-width="auto">
|
|
<el-form :model="baseForm" label-position="left" label-width="auto">
|
|
<el-form-item label="上传附件">
|
|
<el-form-item label="上传附件">
|
|
- <hc-form-upload type="list" :src="baseForm.fileList" :h-props="uploadFormProps" is-del @upload="attachmentUpload" @change="attachmentUploadChange" @del="attachmentUploadDel" />
|
|
|
|
|
|
+ <hc-form-upload
|
|
|
|
+ type="list"
|
|
|
|
+ :src="baseForm.fileList"
|
|
|
|
+ :h-props="uploadFormProps"
|
|
|
|
+ is-del
|
|
|
|
+ :disabled="taskInfo.status === 2 || taskInfo.status === 3 || tableInfo.status === 1"
|
|
|
|
+ @upload="attachmentUpload"
|
|
|
|
+ @change="attachmentUploadChange"
|
|
|
|
+ @del="attachmentUploadDel"
|
|
|
|
+ />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
</hc-card-item>
|
|
</hc-card-item>
|
|
@@ -169,6 +178,7 @@ onMounted(() => {
|
|
const taskInfo = ref({})
|
|
const taskInfo = ref({})
|
|
const tableInfo = ref({})
|
|
const tableInfo = ref({})
|
|
const setTaskInfo = (table, row) => {
|
|
const setTaskInfo = (table, row) => {
|
|
|
|
+
|
|
tableInfo.value = table
|
|
tableInfo.value = table
|
|
taskInfo.value = row
|
|
taskInfo.value = row
|
|
if (getObjVal(table) && getObjVal(row)) {
|
|
if (getObjVal(table) && getObjVal(row)) {
|