فهرست منبع

受控文件查阅代码调整

lidie 1 سال پیش
والد
کامیت
134f1f4eb5
1فایلهای تغییر یافته به همراه1 افزوده شده و 28 حذف شده
  1. 1 28
      src/views/infosManage/fileIE.vue

+ 1 - 28
src/views/infosManage/fileIE.vue

@@ -76,20 +76,6 @@
                                 >{{ scope.row.file_info_ }}</el-tag>
                             </div>
                         </template>
-                        <!-- 阅览/收藏具名插槽 -->
-                        <!-- <template
-                            slot="readStatus"
-                            slot-scope="scope"
-                        >
-                            <img
-                                :src="scope.row.cy_id_ ? openFilePng : closeFilePng"
-                                style="vertical-align: middle; height: 30px;"
-                            > /
-                            <img
-                                :src="scope.row.sc_id_ ? hadColetcPng : noColectPng"
-                                style="vertical-align: middle; height: 30px;"
-                            >
-                        </template> -->
                         <template v-if="showCaoZuoColumn" slot="caozuo" slot-scope="scope">
                             <div style="color:#1E90FF; " class="hover-hand" @click="updateDate(scope)">
                                 <i class="el-icon-edit-outline" style="cursor: pointer;" />
@@ -151,22 +137,16 @@
 </template>
 <script>
 import ActionUtils from '@/utils/action'
-// import { getFileType, getFileByUserId } from '@/api/permission/file'
 import IbpsAttachment from '@/business/platform/file/attachment/selector'
 import curdPost from '@/business/platform/form/utils/custom/joinCURD.js'
 import FixHeight from '@/mixins/height'
 import IbpsTypeTree from '@/business/platform/cat/type/tree'
-// import { findTreeData } from '@/api/platform/cat/type'
 import BpmnFormrender from '@/business/platform/bpmn/form/dialog'
 import closeFilePng from '@/assets/images/icons/closeFile.png'
 import openFilePng from '@/assets/images/icons/openFile.png'
-// import hadColetcPng from '@/assets/images/icons/hadColetc.png'
-// import noColectPng from '@/assets/images/icons/noColect.png'
 import wordPng from '@/assets/images/icons/word.png'
 import fileTraining from '@/views/component/fileTraining'
-// import column from '@/components/ibps-crud/mixin/column'
 import UpdateFile from './updateFile'
-// import ElImageViewer from 'element-ui/packages/image/src/image-viewer'
 
 export default {
     components: {
@@ -175,8 +155,6 @@ export default {
         UpdateFile,
         'ibps-attachment': IbpsAttachment,
         'file-lookup': fileTraining
-        // IbpsImage: () => import('@/business/platform/file/image'),
-        // ElImageViewer
     },
     mixins: [FixHeight],
     data () {
@@ -224,11 +202,6 @@ export default {
                 // 工具栏
                 toolbars: [
                     { key: 'search' }
-                    // {
-                    //     key: 'colect',
-                    //     label: '收藏或取消收藏',
-                    //     type: 'success'
-                    // }
                 ],
                 // 查询条件
                 searchForm: {
@@ -301,7 +274,7 @@ export default {
                 { prop: 'fa_fang_shi_jian_', label: '发布日期', sortable: 'custom', width: 150 },
                 // { prop: 'read', label: '阅览状态', slotName: 'readStatus', minWidth: 60 },
                 // { prop: 'collect', label: '收藏状态', slotName: 'collectStatus', minWidth: 60 },
-                { prop: 'cha_yue_jie_zhi_s', label: '查阅截止时间', sortable: 'custom', minWidth: 120 }
+                { prop: 'cha_yue_jie_zhi_s', label: '查阅截止时间', sortable: 'custom', width: 150 }
             ]
         }
         if (this.$route.name === 'wjkzgl-ywyxjlsc' || this.$route.name === 'ywtxyxjl') {