|
@@ -131,7 +131,6 @@
|
|
|
:son-data="sonData"
|
|
:son-data="sonData"
|
|
|
@getcolse="getcolse"
|
|
@getcolse="getcolse"
|
|
|
/>
|
|
/>
|
|
|
- <!-- <el-image-viewer v-if="picture" :on-close="closeViewer" :url-list="[FlowPic]" /> -->
|
|
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
@@ -261,16 +260,13 @@ export default {
|
|
|
{ prop: 'wen_jian_ming_che', label: '文件名称' }
|
|
{ prop: 'wen_jian_ming_che', label: '文件名称' }
|
|
|
]
|
|
]
|
|
|
this.listConfig.columns = [
|
|
this.listConfig.columns = [
|
|
|
- // { prop: 'status', label: '阅览 / 收藏', slotName: 'readStatus', width: 100 },
|
|
|
|
|
// { prop: 'wen_jian_xi_lei_', label: '文件细类', sortable: 'custom', minWidth: 100 },
|
|
// { prop: 'wen_jian_xi_lei_', label: '文件细类', sortable: 'custom', minWidth: 100 },
|
|
|
{ prop: 'wen_jian_bian_hao', label: '文件编号', sortable: 'custom', width: 150 },
|
|
{ prop: 'wen_jian_bian_hao', label: '文件编号', sortable: 'custom', width: 150 },
|
|
|
{ prop: 'wen_jian_ming_che', label: '文件名称', minWidth: 150 },
|
|
{ prop: 'wen_jian_ming_che', label: '文件名称', minWidth: 150 },
|
|
|
{ prop: 'ban_ben_', label: '版本', width: 65 },
|
|
{ prop: 'ban_ben_', label: '版本', width: 65 },
|
|
|
{ prop: 'file_info_', label: '查阅', slotName: 'wenjinachayue', minWidth: 150 },
|
|
{ prop: 'file_info_', label: '查阅', slotName: 'wenjinachayue', minWidth: 150 },
|
|
|
{ prop: 'fa_fang_shi_jian_', label: '发布日期', sortable: 'custom', width: 150 },
|
|
{ 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', width: 150 }
|
|
|
|
|
|
|
+ { prop: 'cha_yue_jie_zhi_s', label: '查阅截止时间', sortable: 'custom', minWidth: 120 }
|
|
|
]
|
|
]
|
|
|
}
|
|
}
|
|
|
if (this.$route.name === 'wjkzgl-ywyxjlsc' || this.$route.name === 'ywtxyxjl') {
|
|
if (this.$route.name === 'wjkzgl-ywyxjlsc' || this.$route.name === 'ywtxyxjl') {
|
|
@@ -658,10 +654,10 @@ export default {
|
|
|
this.refreshData()
|
|
this.refreshData()
|
|
|
break
|
|
break
|
|
|
case 'remove':
|
|
case 'remove':
|
|
|
- if (!data) {
|
|
|
|
|
- return this.$message({
|
|
|
|
|
|
|
+ if (!data || !data.length) {
|
|
|
|
|
+ this.$message({
|
|
|
message: '请选择数据再进行删除',
|
|
message: '请选择数据再进行删除',
|
|
|
- type: 'warning'
|
|
|
|
|
|
|
+ type: 'error'
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
// eslint-disable-next-line no-case-declarations
|
|
// eslint-disable-next-line no-case-declarations
|
|
@@ -700,8 +696,8 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
/**
|
|
/**
|
|
|
- * 处理排序
|
|
|
|
|
- */
|
|
|
|
|
|
|
+ * 处理排序
|
|
|
|
|
+ */
|
|
|
handleSortChange (sort) {
|
|
handleSortChange (sort) {
|
|
|
this.sqlWhere.sorts = sort
|
|
this.sqlWhere.sorts = sort
|
|
|
this.getDatas()
|
|
this.getDatas()
|
|
@@ -760,18 +756,6 @@ export default {
|
|
|
this.refreshData()
|
|
this.refreshData()
|
|
|
},
|
|
},
|
|
|
handleClickTag (val) {
|
|
handleClickTag (val) {
|
|
|
- // console.log('val', val)
|
|
|
|
|
- // 文件查阅时查看图片(该功能舍弃)
|
|
|
|
|
- // const type = ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp']
|
|
|
|
|
- // const isPower = type.includes(val.ext_)
|
|
|
|
|
- // if (isPower) {
|
|
|
|
|
- // const { baseApi } = this.$store.getters || {}
|
|
|
|
|
- // const baseUrl = baseApi.replace(/^(https?:\/\/[^\/]+)\/?.*/, '$1/') || baseApi + '/'
|
|
|
|
|
- // this.picture = true
|
|
|
|
|
- // this.FlowPic = baseUrl + val.file_path_
|
|
|
|
|
- // return
|
|
|
|
|
- // }
|
|
|
|
|
- // const sql = `select * from ibps_file_attachment where id_= '${val.fu_jian_}'`
|
|
|
|
|
// this.$common.request('sql', sql).then(res => {
|
|
// this.$common.request('sql', sql).then(res => {
|
|
|
// console.log('res', res)
|
|
// console.log('res', res)
|
|
|
// this.fileInfos = {}
|
|
// this.fileInfos = {}
|