fix: 解決冲突
This commit is contained in:
@@ -365,11 +365,20 @@
|
|||||||
}
|
}
|
||||||
.profile {
|
.profile {
|
||||||
.main-list {
|
.main-list {
|
||||||
height: calc(100% + 7ncpx);
|
height: calc(100% + 7px);
|
||||||
}
|
}
|
||||||
.top-tools {
|
.top-tools {
|
||||||
padding: 0 20px 14px 20px;
|
padding: 0 20px 14px 20px;
|
||||||
}
|
}
|
||||||
|
.list-page .nz-table2 .el-table:not(.chart-table) .gutter {
|
||||||
|
position: fixed;
|
||||||
|
right: 21px;
|
||||||
|
height: 42px;
|
||||||
|
border-bottom: 1px solid #E7EAED;
|
||||||
|
background-color: white;
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.operation-dropdown-text {
|
.operation-dropdown-text {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ const en = {
|
|||||||
quickSilent: 'Quick silent',
|
quickSilent: 'Quick silent',
|
||||||
configEndpoint: 'Config',
|
configEndpoint: 'Config',
|
||||||
generate: 'Generate',
|
generate: 'Generate',
|
||||||
personalCenter: 'Personal center',
|
personalCenter: 'Profile',
|
||||||
operationRecord: 'Operation record',
|
operationRecord: 'Operation record',
|
||||||
changePassword: 'Change password'
|
changePassword: 'Change password'
|
||||||
},
|
},
|
||||||
@@ -1634,7 +1634,7 @@ const en = {
|
|||||||
close: 'Close',
|
close: 'Close',
|
||||||
enable: 'Enable',
|
enable: 'Enable',
|
||||||
update: 'Update',
|
update: 'Update',
|
||||||
operationRecord: 'Operation record',
|
operationRecord: 'Operation log',
|
||||||
changePassword: 'Change password',
|
changePassword: 'Change password',
|
||||||
oldPassword: 'Old password',
|
oldPassword: 'Old password',
|
||||||
newPassword: 'New password',
|
newPassword: 'New password',
|
||||||
@@ -1645,7 +1645,7 @@ const en = {
|
|||||||
email: 'Email',
|
email: 'Email',
|
||||||
mobile: 'Mobile',
|
mobile: 'Mobile',
|
||||||
source: 'Source',
|
source: 'Source',
|
||||||
towFactorAuthentication: 'Tow-Factor Authentication'
|
twoFactorAuthentication: 'Two-Factor Authentication'
|
||||||
},
|
},
|
||||||
...enLocale
|
...enLocale
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -237,7 +237,9 @@
|
|||||||
<i slot="reference" class="nz-icon nz-icon-about"></i>
|
<i slot="reference" class="nz-icon nz-icon-about"></i>
|
||||||
</el-popover>
|
</el-popover>
|
||||||
</div>
|
</div>
|
||||||
<el-switch v-model="talonShow" active-color="#ee9d3f" size="small"></el-switch>
|
<div>
|
||||||
|
<el-switch v-model="editAsset.clientEnable" :active-value="1" :inactive-value="0" active-color="#ee9d3f" size="small"></el-switch>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<transition name="el-zoom-in-top">
|
<transition name="el-zoom-in-top">
|
||||||
<!-- <el-form-item :label="$t('asset.userName')" prop="clientUser">
|
<!-- <el-form-item :label="$t('asset.userName')" prop="clientUser">
|
||||||
@@ -246,7 +248,7 @@
|
|||||||
<el-form-item :label="$t('asset.pin')" prop="clientPin">
|
<el-form-item :label="$t('asset.pin')" prop="clientPin">
|
||||||
<el-input type="password" show-word-limit v-model="editAsset.clientPin" size="small"/>
|
<el-input type="password" show-word-limit v-model="editAsset.clientPin" size="small"/>
|
||||||
</el-form-item> -->
|
</el-form-item> -->
|
||||||
<div v-if="editAsset.clientEnable === 1 || talonShow" v-show="talonShowTow">
|
<div v-if="editAsset.clientEnable === 1" v-show="talonShowTow">
|
||||||
<el-form-item label="Token" prop="clientToken">
|
<el-form-item label="Token" prop="clientToken">
|
||||||
<el-input v-model="editAsset.clientToken" size="small"/>
|
<el-input v-model="editAsset.clientToken" size="small"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -310,7 +312,6 @@ export default {
|
|||||||
showAllTalonOption: false,
|
showAllTalonOption: false,
|
||||||
showAddressOption: true,
|
showAddressOption: true,
|
||||||
talonShowTow: true,
|
talonShowTow: true,
|
||||||
talonShow: true,
|
|
||||||
editAsset: {},
|
editAsset: {},
|
||||||
url: 'asset/asset',
|
url: 'asset/asset',
|
||||||
rightBox: { model: { show: false } },
|
rightBox: { model: { show: false } },
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ export default {
|
|||||||
url: 'sys/log',
|
url: 'sys/log',
|
||||||
tableId: 'operationLogTable', // 需要分页的table的id,用于记录每页数量,
|
tableId: 'operationLogTable', // 需要分页的table的id,用于记录每页数量,
|
||||||
mainTableHeight: this.$tableHeight.profileNormal,
|
mainTableHeight: this.$tableHeight.profileNormal,
|
||||||
|
username: sessionStorage.getItem('nz-username'),
|
||||||
layout: [],
|
layout: [],
|
||||||
searchMsg: { // 给搜索框子组件传递的信息
|
searchMsg: { // 给搜索框子组件传递的信息
|
||||||
searchLabelList: [
|
searchLabelList: [
|
||||||
@@ -67,12 +68,6 @@ export default {
|
|||||||
type: 'input',
|
type: 'input',
|
||||||
label: 'type',
|
label: 'type',
|
||||||
disabled: false
|
disabled: false
|
||||||
}, {
|
|
||||||
id: 12,
|
|
||||||
name: this.$t('config.operationlog.userId'),
|
|
||||||
type: 'input',
|
|
||||||
label: 'userId',
|
|
||||||
disabled: false
|
|
||||||
}, {
|
}, {
|
||||||
id: 13,
|
id: 13,
|
||||||
name: this.$t('config.operationlog.operation'),
|
name: this.$t('config.operationlog.operation'),
|
||||||
@@ -114,7 +109,29 @@ export default {
|
|||||||
tabsActiveTow () {
|
tabsActiveTow () {
|
||||||
this.profileShow = false
|
this.profileShow = false
|
||||||
this.layout = []
|
this.layout = []
|
||||||
|
},
|
||||||
|
getTableData (params) {
|
||||||
|
this.$set(this.searchLabel, 'pageNo', this.pageObj.pageNo)
|
||||||
|
this.$set(this.searchLabel, 'pageSize', this.pageObj.pageSize)
|
||||||
|
this.$set(this.searchLabel, 'userId', localStorage.getItem('nz-user-id'))
|
||||||
|
this.tools.loading = true
|
||||||
|
this.$get(this.url, { ...this.searchLabel }).then(response => {
|
||||||
|
this.tools.loading = false
|
||||||
|
if (response.code === 200) {
|
||||||
|
for (let i = 0; i < response.data.list.length; i++) {
|
||||||
|
response.data.list[i].status = response.data.list[i].status + ''
|
||||||
}
|
}
|
||||||
|
this.tableData = response.data.list
|
||||||
|
this.pageObj.total = response.data.total
|
||||||
|
if (!this.scrollbarWrap) {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.scrollbarWrap = this.$refs.dataTable.$refs.dataTable.bodyWrapper
|
||||||
|
this.toTopBtnHandler(this.scrollbarWrap)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<div class="profile-left__center">
|
<div class="profile-left__center">
|
||||||
<span style="margin:0 10px 10px 0"><i class="nz-icon nz-icon-zhongzhi2FA" style="color: orange"></i></span>
|
<span style="margin:0 10px 10px 0"><i class="nz-icon nz-icon-zhongzhi2FA" style="color: orange"></i></span>
|
||||||
<div class="profile-left__center-title">
|
<div class="profile-left__center-title">
|
||||||
<div>{{$t('profile.towFactorAuthentication')}}</div>
|
<div>{{$t('profile.twoFactorAuthentication')}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="profile-left__button table-operation-items">
|
<div class="profile-left__button table-operation-items">
|
||||||
@@ -127,8 +127,8 @@ export default {
|
|||||||
this.tableProfile[0].prop = this.userList.roles[0].i18n
|
this.tableProfile[0].prop = this.userList.roles[0].i18n
|
||||||
this.tableProfile[1].prop = this.userList.email
|
this.tableProfile[1].prop = this.userList.email
|
||||||
this.tableProfile[2].prop = this.userList.mobile
|
this.tableProfile[2].prop = this.userList.mobile
|
||||||
console.log(this.tableProfile[2].prop)
|
|
||||||
this.tableProfile[3].prop = this.userList.source
|
this.tableProfile[3].prop = this.userList.source
|
||||||
|
localStorage.setItem('nz-user-id', this.userList.id)
|
||||||
}
|
}
|
||||||
resolve()
|
resolve()
|
||||||
})
|
})
|
||||||
@@ -215,6 +215,10 @@ export default {
|
|||||||
height: 80px;
|
height: 80px;
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
width: 200px;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
div:nth-of-type(1) {
|
div:nth-of-type(1) {
|
||||||
font-family: Roboto-Medium;
|
font-family: Roboto-Medium;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
@@ -237,6 +241,7 @@ export default {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
width: 42px;
|
width: 42px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
|
line-height: 25px;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
background-color: #ecf5ff;
|
background-color: #ecf5ff;
|
||||||
border-color: #d9ecff;
|
border-color: #d9ecff;
|
||||||
|
|||||||
Reference in New Issue
Block a user