|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<ibps-crud ref="crud" :style="{ marginLeft: width + 'px', minHeight: '550px' }" :height="height" :data="listData"
|
|
|
- :toolbars="listConfig.toolbars" :search-form="listConfig.searchForm" :pk-key="pkKey" displayField="管理评审"
|
|
|
+ :toolbars="listConfig.toolbars" :search-form="listConfig.searchForm" :pk-key="pkKey" :displayField="tableTitle"
|
|
|
:columns="listConfig.columns" :row-handle="listConfig.rowHandle" :pagination="pagination" :loading="loading"
|
|
|
:index-row="false" :selection-row="selection" @action-event="handleAction" @sort-change="handleSortChange"
|
|
|
@column-link-click="handleLinkClick" @pagination-change="handlePaginationChange">
|
|
|
@@ -145,11 +145,6 @@ export default {
|
|
|
IbpsCustomDialog,
|
|
|
'ibps-attachment': IbpsAttachment
|
|
|
},
|
|
|
- props: {
|
|
|
- reportAll: Array,
|
|
|
- tableTitle: String,
|
|
|
- typeId: String
|
|
|
- },
|
|
|
mixins: [FixHeight, getCont, GetReport],
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -206,11 +201,15 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
// 不符合项内容
|
|
|
- options: []
|
|
|
+ options: [],
|
|
|
+ reportAll: [],
|
|
|
+ tableTitle: '管理评审',
|
|
|
+ typeId: '859879751135789056'
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
this.loadData()
|
|
|
+ this.getConfig()
|
|
|
let roleArr = this.$store.getters.userInfo.role
|
|
|
// console.log(roleArr)
|
|
|
for (let i = 0; i < roleArr.length; i++) {
|
|
|
@@ -222,6 +221,11 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ getConfig() {
|
|
|
+ curdPost('select', this.packNameWhere('t_lcidglbdbb', { '1': '1' })).then(response => {
|
|
|
+ this.reportAll = response.variables.data
|
|
|
+ })
|
|
|
+ },
|
|
|
// 加载数据
|
|
|
loadData() {
|
|
|
this.loading = true
|