From 167c13dcaca242703b39797c39c4b4b7e48357ab Mon Sep 17 00:00:00 2001 From: zhaomeijing Date: Tue, 14 Jun 2022 12:02:32 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E6=8C=89=E9=92=AE=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/tableCollection/index.vue | 17 +++-- .../splitting/modules/SplitDetail.vue | 1 + .../ParameterItemCollectionList.vue | 70 +++++++++---------- 3 files changed, 47 insertions(+), 41 deletions(-) diff --git a/jero-web/src/components/tableCollection/index.vue b/jero-web/src/components/tableCollection/index.vue index e4af7d15e..b92a268ba 100644 --- a/jero-web/src/components/tableCollection/index.vue +++ b/jero-web/src/components/tableCollection/index.vue @@ -140,6 +140,10 @@ formInline: { type: Object, default: true + }, + currentPersonRole: { + type: String, + default: true } }, components: { @@ -203,7 +207,6 @@ loading: false, orderBy: '1', orderByField: '', - LoginUserType: '', // 登陆人角色状态 homo: 0, // 认证工程师 sdt: 0, // 工程接口人 dre: 0, // 填写人 @@ -339,9 +342,8 @@ } getAction(this.url.getLoginUserType, params).then((res) => { if (res.success) { - this.LoginUserType = res.result this.getTableList() - this.$emit('LoginUserType', this.LoginUserType) + this.$emit('LoginUserType', res.result) } }) }, @@ -414,10 +416,11 @@ getTableListReset() { let params = { paramsManifestId: this.paramsManifest.id, - userTypes: this.LoginUserType + userTypes: this.currentPersonRole } this.loading = true this.$emit('listReset', '') + // todo getAction(this.url.tableList, params).then((res) => { if (res.success) { this.dataSource = res.result @@ -430,6 +433,7 @@ }) }, getTableList() { + // todo let paramsManifestid let url if (this.$route.query.it === undefined) { @@ -443,7 +447,7 @@ url = 'params/collectManifestHistory/list' } let params = { - userTypes: this.LoginUserType, + userTypes: this.currentPersonRole, paramsManifestId: paramsManifestid, ...this.formInline } @@ -480,6 +484,9 @@ paramsManifest(newVal, oldVal) { this.getData() this.getLoginUserType() + }, + currentPersonRole(newVal,oldVal){ + console.log(newVal,oldVal) } } } diff --git a/jero-web/src/views/documentManage/splitting/modules/SplitDetail.vue b/jero-web/src/views/documentManage/splitting/modules/SplitDetail.vue index 23ba41bed..0b2c7a811 100644 --- a/jero-web/src/views/documentManage/splitting/modules/SplitDetail.vue +++ b/jero-web/src/views/documentManage/splitting/modules/SplitDetail.vue @@ -758,6 +758,7 @@ //导出 handleExportManage(){ if(JSON.stringify(this.parameter)=='{}'){ + console.log('pppp') this.parameter.info_id=this.infoId this.parameter.menu_id=this.menuId } diff --git a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue index c12cc08a8..c09093fe0 100644 --- a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue +++ b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue @@ -72,10 +72,10 @@
...{{ $t('more') }}
- -
+ +
+ + {{$t('Assignedby')}} +
+ +
- {{$t('addTo')}} + {{$t('referenceparameter')}}
{{$t('submit')}}
- -
+ +
- {{$t('BatchDelete')}} + {{$t('sendBack')}} +
+ +
+ + {{$t('CompulsoryWithdrawal')}}
+ :formInline='formInline' :currentPersonRole='currentPersonRole' @value='value' @listReset='listReset' @LoginUserType='LoginUserType'/>
@@ -207,6 +207,7 @@ + 1 ? val[0].value : '' this.RoleType = val - val.forEach((item) => { - console.log(item,'pppp') - // if(item) { - // - // } - }) + this.formInlineRoleSwitching.roleSwitchingCode = this.currentPersonRole + this.formInlineRoleSwitching = {...this.formInlineRoleSwitching} + }, // 表格所选中得行内容 rowValue(val) {