From 085c2608b0f33289e29f9385afa9f79726337bff Mon Sep 17 00:00:00 2001 From: zhaomeijing Date: Tue, 17 May 2022 09:47:41 +0800 Subject: [PATCH] =?UTF-8?q?[add]=20=E6=9D=83=E9=99=90=E5=B7=A5=E7=A8=8B?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/tableCollection/index.vue | 32 ++++++++++++++++--- 1 file changed, 28 insertions(+), 4 deletions(-) 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() } } }