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