@@ -121,10 +121,9 @@
-
+
- {{$t('export')}}
+ {{$t('dataExport')}}
@@ -171,6 +170,11 @@
{{$t('Assignedby')}}
+
+
+
+ {{$t('dataExport')}}
+
@@ -204,7 +208,7 @@
v-if="!this.$route.query.it"
@click="roleSwitchingClick">
- {{ $t('roleSwitching') }}
+ {{ $t('roleSwitching') }} ({{ $t(this.rolename)}})
@@ -584,6 +588,7 @@
configureareaVisible: false, // 配置的彈框
pageNo: 1,
pageSize: 10,
+ rolename:'',
total: 0,
selectedRowKeysArray: '',
templatetitle: '',
@@ -643,7 +648,7 @@
mounted() {
this.GetgetLoginUserType()
console.log(this.currentPersonRole)
- // this.LoginUserType()
+ this.LoginUserType()
setTimeout(() => {
if (this.currentPersonRole == 'dre') {
this.handlePreservation()
@@ -690,6 +695,11 @@
this.visibleRoleSwitching = false
this.confirmLoadingRoleSwitching = false
localStorage.setItem('currentPersonRole', JSON.stringify(this.formInlineRoleSwitching.roleSwitchingCode))
+ this.RoleType.forEach((item,index) => {
+ if(item.value == this.currentPersonRole){
+ this.rolename = item.label
+ }
+ })
this.selectedRowKeysValue = []
} else {
this.confirmLoadingRoleSwitching = false
@@ -1026,6 +1036,11 @@
}
this.RoleType = val
this.formInlineRoleSwitching.roleSwitchingCode = currentPersonRole || userType || val[0].value
+ val.forEach((item,index) => {
+ if(item.value == this.currentPersonRole){
+ this.rolename = item.label
+ }
+ })
this.formInlineRoleSwitching = { ...this.formInlineRoleSwitching }
},
// 表格所选中得行内容
@@ -1103,7 +1118,7 @@
},
getFreeze(callback) {
let _this = this
- let param = { paramsManifestId: this.paramsManifest.id, configFlag: 1 }
+ let param = { paramsManifestId: this.$route.query.id, configFlag: 1 }
axios({
url: '/jero-boot/params/collectManifest/getConfigLableList',
method: 'post',
@@ -1659,7 +1674,6 @@
cursor: pointer;
border-radius: 4px;
}
-
.operator-text-title {
cursor: pointer;
margin-right: 22px;
@@ -1808,4 +1822,9 @@
.text-wraning{
word-break: break-word;
}
+
+
\ No newline at end of file