diff --git a/jero-web/src/components/tableCollection/index.vue b/jero-web/src/components/tableCollection/index.vue index 8843e70f5..d637e9288 100644 --- a/jero-web/src/components/tableCollection/index.vue +++ b/jero-web/src/components/tableCollection/index.vue @@ -14,8 +14,21 @@ @onHeaderRow='onHeaderRow' > - 按钮 - {{ record }} + + + + + + + + + + + + + {{ record.dataValue == null? '--': record.dataValue}} + + + + + + @@ -86,13 +103,19 @@ export default { homo: 0, // 认证工程师 sdt: 0, // 工程接口人 dre: 0, // 填写人 + areaVisible: false, } }, - mounted() {}, + mounted() { + }, methods: { onHeaderRow(column, index) { console.log(column, index) }, + ondataValue() { + this.areaVisible = true + console.log('ppp') + }, getLoginUserType() { let params = { paramsManifestId: this.paramsManifest.id, @@ -101,6 +124,7 @@ export default { getAction(this.url.getLoginUserType, params).then((res) => { if (res.success) { this.LoginUserType = res.result + this.getTableList() this.$emit('LoginUserType', this.LoginUserType) res.result.split(',').forEach((item,index) => { if(item === 'homo') { @@ -175,6 +199,7 @@ export default { }, getTableList() { let params = { + userTypes: this.LoginUserType, paramsManifestId: this.paramsManifest.id, ...this.formInline } @@ -210,7 +235,6 @@ export default { paramsManifest(newVal, oldVal) { this.getData() this.getLoginUserType() - this.getTableList() } } }