lizhenhao преди 2 години
родител
ревизия
9fb77b7db3
променени са 2 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 1 0
      src/views/modules/sys/project/AssessForm.vue
  2. 3 2
      src/views/modules/sys/project/ConsultationForm.vue

+ 1 - 0
src/views/modules/sys/project/AssessForm.vue

@@ -628,6 +628,7 @@
       close () {
         this.$refs.inputForm.resetFields()
         this.visible = false
+        this.showVi = true
       },
       httpRequest (file) {
         httpRequest(file, fileName(file), 'projectRecords')

+ 3 - 2
src/views/modules/sys/project/ConsultationForm.vue

@@ -307,7 +307,7 @@
                    :show-file-list="false"
                    :on-change="changes"
                    :file-list="filesArra2">
-          <el-button type="info" size="mini" v-if="inputForm.permissionFlag">点击上传</el-button>
+          <el-button type="info" size="mini" v-if="inputForm.permissionFlag&&showVi" >点击上传</el-button>
         </el-upload>
         <div style="height: calc(100% - 80px);margin-top: 30px">
           <vxe-table
@@ -350,7 +350,7 @@
             <vxe-column title="操作" width="200px" fixed="right" align="center">
               <template  slot-scope="scope">
                 <el-button type="text"  icon="el-icon-edit" size="small" @click="toHref(scope.row)">下载</el-button>
-                <el-button type="text"  icon="el-icon-delete" size="small" v-if="inputForm.permissionFlag" @click="deleteMsgById(scope.row, scope.$rowIndex)">删除</el-button>
+                <el-button type="text"  icon="el-icon-delete" size="small" v-if="inputForm.permissionFlag&&showVi" @click="deleteMsgById(scope.row, scope.$rowIndex)">删除</el-button>
               </template>
             </vxe-column>
           </vxe-table>
@@ -609,6 +609,7 @@
       close () {
         this.$refs.inputForm.resetFields()
         this.visible = false
+        this.showVi = true
       },
       httpRequest (file) {
         httpRequest(file, fileName(file), 'projectRecords')