Explorar o código

档案调整编辑回显

duy %!s(int64=2) %!d(string=hai) anos
pai
achega
8afa330c49
Modificáronse 1 ficheiros con 9 adicións e 5 borrados
  1. 9 5
      src/views/archives/tuning.vue

+ 9 - 5
src/views/archives/tuning.vue

@@ -218,6 +218,10 @@
         <el-dialog v-model="showUploadModal" :title="editTitle" width="80vw" class="hc-modal-border hc-modal-table">
             <HcTable ui="hc-form-table" :column="tableUploadColumn" :datas="tableUploadData"
                      :loading="uploadSaveLoading">
+                     <template #name="{row}">
+                    <el-input v-model="row.name" :class="row['isFileNumber'] ? 'is-error' : ''"
+                              @input="tableIsInput($event, row, 'name')"/>
+                    </template>
                 <template #fileNumber="{row}">
                     <el-input v-model="row.fileNumber" :class="row['isFileNumber'] ? 'is-error' : ''"
                               @input="tableIsInput($event, row, 'isFileNumber')"/>
@@ -230,8 +234,8 @@
                     <el-date-picker v-model="row.fileTime" type="date" format="YYYYMMDD" value-format="YYYYMMDD"
                                     :clearable="false"/>
                 </template>
-                <template #filingUnit="{row}">
-                    <el-input v-model="row.filingUnit"/>
+                <template #unit="{row}">
+                    <el-input v-model="row.unit"/>
                 </template>
                 <template #remark="{row}">
                     <el-input v-model="row.remark" type="textarea"/>
@@ -761,7 +765,7 @@ const setTableUploadColumn = (type) => {
         tableUploadColumn.value = [
             {key: 'fileNumber', name: '档号'},
             {key: 'name', name: '案卷题名'},
-            {key: 'filingUnit', name: '立卷单位'},
+            {key: 'unit', name: '立卷单位'},
             {key: 'remark', name: '备注'},
         ]
     } else {
@@ -769,8 +773,8 @@ const setTableUploadColumn = (type) => {
             {key: 'fileNumber', name: '文件编号'},
             {key: 'fileName', name: '文件题名'},
             {key: 'fileTime', name: '文件日期'},
-            {key: 'filingUnit', name: '立卷单位'},
-            {key: 'remark', name: '备注'},
+            {key: 'dutyUser', name: '责任者'},
+           
         ]
     }
 }