This commit is contained in:
zhangjun
2022-08-25 11:19:46 +08:00
parent fe5828ad2a
commit 465e4c2eae
2 changed files with 16 additions and 9 deletions
@@ -172,6 +172,7 @@
<el-dropdown-item v-btn-permission="'30db3b395deb5004266cd65d302c2776'" v-if="scope.row.disableFlag === '0'" :command="[scope.row, '禁用']">
禁用
</el-dropdown-item>
<el-dropdown-item v-btn-permission="'ce2d2b9bb8004e0d9efcabc42a9f354d'" :command="[scope.row, '配置岗位']">
配置岗位
</el-dropdown-item>
@@ -228,7 +229,7 @@
:expand-on-click-node="false"
show-checkbox>
</el-tree>
<pagination :page="page" :pageSize="pageSize" :total="total2" @pageChange="pageChange2" @pageSizeChange="pageSizeChange2"></pagination>
<pagination :page="page1" :pageSize="pageSize1" :total="total2" @pageChange="pageChange2" @pageSizeChange="pageSizeChange2"></pagination>
<div id="roleFormButton" class="demo-drawer-footer">
<el-button
size="mini"
@@ -277,6 +278,8 @@ export default {
total: 0,
total2: 0,
pageSize: this.$store.getters.userInfo.configContent,
page1:1,
pageSize1:20,
sideClose: false,
data: [], // table数据
treeLoading: false,
@@ -298,6 +301,7 @@ export default {
},
resetFormPost() {
this.modalPost = false
this.page1 = 1
},
PostSubmit() {
if (this.drawerTitle === '配置岗位') {
@@ -350,8 +354,8 @@ export default {
getTree2() {
this.$http.get('sarPosition/position', {
current: this.page,
pageSize: this.pageSize,
current: this.page1,
pageSize: this.pageSize1,
...this.sarPost,
}, {
_this: this,
@@ -368,6 +372,7 @@ export default {
})
this.nodeList = arr
this.modalPost = true
this.getTree2()
},
disableFlagEdit(row, type) {
let json = {}
@@ -519,12 +524,12 @@ export default {
this.getDatas()
}
},
pageChange2(page) {
this.page = page
pageChange2(page1) {
this.page1 = page1
this.getTree2()
},
pageSizeChange2(pageSize) {
this.pageSize = pageSize
pageSizeChange2(pageSize1) {
this.pageSize1 = pageSize1
this.getTree2()
},
+4 -2
View File
@@ -8,8 +8,10 @@
// const devInterfacePORT = '10005'
// const devIp = '192.168.1.42'
// const devInterfacePORT = '9999'
const devIp = '39.98.140.126'
const devInterfacePORT = '4201'
const devIp = 'localhost'
const devInterfacePORT = '10086'
// const devIp = '39.98.140.126'
// const devInterfacePORT = '4201'
// const devIp = '62.234.136.153'
// const devInterfacePORT = '8033'
// 配置 idm 认证