|
@@ -43,8 +43,23 @@
|
|
|
@action-event="handleAction"
|
|
@action-event="handleAction"
|
|
|
@pagination-change="handlePaginationChange"
|
|
@pagination-change="handlePaginationChange"
|
|
|
>
|
|
>
|
|
|
- <!-- 查阅具名插槽 -->
|
|
|
|
|
<template
|
|
<template
|
|
|
|
|
+ v-if="scope.row.fu_jian_"
|
|
|
|
|
+ slot="file"
|
|
|
|
|
+ slot-scope="scope"
|
|
|
|
|
+ >
|
|
|
|
|
+ <ibps-attachment
|
|
|
|
|
+ v-model="scope.row.fu_jian_"
|
|
|
|
|
+ allow-download
|
|
|
|
|
+ download
|
|
|
|
|
+ multiple
|
|
|
|
|
+ accept="*"
|
|
|
|
|
+ store="id"
|
|
|
|
|
+ readonly
|
|
|
|
|
+ />
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template
|
|
|
|
|
+ v-if="scope.row.file_info_"
|
|
|
slot="wenjinachayue"
|
|
slot="wenjinachayue"
|
|
|
slot-scope="scope"
|
|
slot-scope="scope"
|
|
|
>
|
|
>
|
|
@@ -224,16 +239,13 @@ export default {
|
|
|
IbpsTypeTree,
|
|
IbpsTypeTree,
|
|
|
BpmnFormrender,
|
|
BpmnFormrender,
|
|
|
'ibps-attachment': IbpsAttachment,
|
|
'ibps-attachment': IbpsAttachment,
|
|
|
- 'file-lookup': fileTraining,
|
|
|
|
|
- IbpsAttachment: () => import('@/business/platform/file/attachment/selector')
|
|
|
|
|
|
|
+ 'file-lookup': fileTraining
|
|
|
},
|
|
},
|
|
|
mixins: [FixHeight],
|
|
mixins: [FixHeight],
|
|
|
data () {
|
|
data () {
|
|
|
const depArrs = []
|
|
const depArrs = []
|
|
|
var fileDownloadAuthority = false
|
|
var fileDownloadAuthority = false
|
|
|
const { deptList, role } = this.$store.getters
|
|
const { deptList, role } = this.$store.getters
|
|
|
- console.log('deptList', deptList)
|
|
|
|
|
- console.log('role', role)
|
|
|
|
|
for (var i of deptList) {
|
|
for (var i of deptList) {
|
|
|
depArrs.push(`wj.bian_zhi_bu_men_ like '${i.positionId}'`)
|
|
depArrs.push(`wj.bian_zhi_bu_men_ like '${i.positionId}'`)
|
|
|
}
|
|
}
|
|
@@ -385,17 +397,16 @@ export default {
|
|
|
}
|
|
}
|
|
|
if (this.$route.name === 'wjkzgl-ywyxjlsc' || this.$route.name === 'ywtxyxjl') {
|
|
if (this.$route.name === 'wjkzgl-ywyxjlsc' || this.$route.name === 'ywtxyxjl') {
|
|
|
this.listConfig.searchForm.forms = [
|
|
this.listConfig.searchForm.forms = [
|
|
|
- { prop: 'nian_du_', label: '年度:', fieldType: 'date', dateType: 'year', width: 50 },
|
|
|
|
|
- { prop: 'bian_zhi_shi_jian', label: '上传时间:', fieldType: 'daterange', width: 200 }
|
|
|
|
|
|
|
+ { prop: 'nian_du_', label: '记录月份', fieldType: 'date', dateType: 'year', width: 50 },
|
|
|
|
|
+ { prop: 'bian_zhi_shi_jian', label: '上传时间', fieldType: 'daterange', width: 200 }
|
|
|
]
|
|
]
|
|
|
this.listConfig.columns = [
|
|
this.listConfig.columns = [
|
|
|
// { prop: 'fen_lei_', label: '表单分类', width: 120 },
|
|
// { prop: 'fen_lei_', label: '表单分类', width: 120 },
|
|
|
- { prop: 'nian_du_', label: '年度', width: 100 },
|
|
|
|
|
|
|
+ { prop: 'nian_du_', label: '记录月份', width: 100 },
|
|
|
{ prop: 'org_name', label: '部门', width: 100 },
|
|
{ prop: 'org_name', label: '部门', width: 100 },
|
|
|
{ prop: 'biao_dan_ming_che', label: '表单名称', width: 210 },
|
|
{ prop: 'biao_dan_ming_che', label: '表单名称', width: 210 },
|
|
|
{ prop: 'shi_wu_shuo_ming_', label: '事务说明', minWidth: 250 },
|
|
{ prop: 'shi_wu_shuo_ming_', label: '事务说明', minWidth: 250 },
|
|
|
- { prop: 'fu_jian_', label: '附件', slotName: 'wenjinachayue', width: 250 },
|
|
|
|
|
-
|
|
|
|
|
|
|
+ { prop: 'fu_jian_', label: '附件', slotName: 'file', width: 250 },
|
|
|
{ prop: 'bian_zhi_shi_jian', label: '上传时间', width: 120 },
|
|
{ prop: 'bian_zhi_shi_jian', label: '上传时间', width: 120 },
|
|
|
{ prop: 'ry_name', label: '上传人', width: 70 }
|
|
{ prop: 'ry_name', label: '上传人', width: 70 }
|
|
|
]
|
|
]
|
|
@@ -505,8 +516,6 @@ export default {
|
|
|
let orSql = ''
|
|
let orSql = ''
|
|
|
// eslint-disable-next-line no-redeclare
|
|
// eslint-disable-next-line no-redeclare
|
|
|
for (const i in positionsDatas) {
|
|
for (const i in positionsDatas) {
|
|
|
- console.log('i', i)
|
|
|
|
|
- console.log('i12121', positionsDatas[i])
|
|
|
|
|
if (i === '0') {
|
|
if (i === '0') {
|
|
|
orSql = `wj.quan_xian_xin_xi_ LIKE '%${positionsDatas[i].id}%'`
|
|
orSql = `wj.quan_xian_xin_xi_ LIKE '%${positionsDatas[i].id}%'`
|
|
|
} else {
|
|
} else {
|
|
@@ -632,11 +641,8 @@ export default {
|
|
|
this.listConfig.columns = this.removeColumnByProp(this.listConfig.columns, 'cao_zuo')
|
|
this.listConfig.columns = this.removeColumnByProp(this.listConfig.columns, 'cao_zuo')
|
|
|
}
|
|
}
|
|
|
this.show = 'detail'
|
|
this.show = 'detail'
|
|
|
- console.log('nodeData', nodeData)
|
|
|
|
|
- console.log('nodeId', nodeId)
|
|
|
|
|
this.addDataCont = { fenLei: nodeData.name, fenLeiId: nodeId }
|
|
this.addDataCont = { fenLei: nodeData.name, fenLeiId: nodeId }
|
|
|
const fileTypes = []
|
|
const fileTypes = []
|
|
|
- console.log(this.oldorgId === nodeId)
|
|
|
|
|
if (this.oldorgId === nodeId && (nodeData.name !== '文件分类')) {
|
|
if (this.oldorgId === nodeId && (nodeData.name !== '文件分类')) {
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
@@ -644,7 +650,6 @@ export default {
|
|
|
const noHadNext = nodeData.children === undefined
|
|
const noHadNext = nodeData.children === undefined
|
|
|
if (noHadNext && this.pageKey === 'wjkzgl-ywyxjlsc') {
|
|
if (noHadNext && this.pageKey === 'wjkzgl-ywyxjlsc') {
|
|
|
const chongfu = this.listConfig.toolbars.filter(el => {
|
|
const chongfu = this.listConfig.toolbars.filter(el => {
|
|
|
- console.log('this.listConfig', this.listConfig)
|
|
|
|
|
return el.key === 'add'
|
|
return el.key === 'add'
|
|
|
})
|
|
})
|
|
|
if (chongfu.length === 0 && this.depth !== 0) {
|
|
if (chongfu.length === 0 && this.depth !== 0) {
|
|
@@ -698,7 +703,6 @@ export default {
|
|
|
this.sqlWhere = {
|
|
this.sqlWhere = {
|
|
|
fileType: fileTypes.join(',')
|
|
fileType: fileTypes.join(',')
|
|
|
}
|
|
}
|
|
|
- console.log('this.sqlWhere', this.sqlWhere)
|
|
|
|
|
this.getDatas()
|
|
this.getDatas()
|
|
|
},
|
|
},
|
|
|
// 开启表单页面
|
|
// 开启表单页面
|