修改禅道已知bug
This commit is contained in:
@@ -279,6 +279,11 @@ export default {
|
|||||||
/deep/.add-input{
|
/deep/.add-input{
|
||||||
min-height: 135px!important;
|
min-height: 135px!important;
|
||||||
}
|
}
|
||||||
|
::v-deep .page{
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<style lang='less'>
|
<style lang='less'>
|
||||||
.area-module {
|
.area-module {
|
||||||
@@ -292,9 +297,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.page{
|
|
||||||
display: flex;
|
|
||||||
justify-content: flex-end;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
@@ -240,6 +240,11 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
::v-deep .page{
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<style lang='less'>
|
<style lang='less'>
|
||||||
.area-module {
|
.area-module {
|
||||||
@@ -253,9 +258,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.page{
|
|
||||||
display: flex;
|
|
||||||
justify-content: flex-end;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
@@ -150,6 +150,11 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
::v-deep .page{
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<style lang='less'>
|
<style lang='less'>
|
||||||
.area-module {
|
.area-module {
|
||||||
@@ -163,9 +168,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.page{
|
|
||||||
display: flex;
|
|
||||||
justify-content: flex-end;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
@@ -348,6 +348,11 @@ export default {
|
|||||||
border: 1px #00B3BE solid;
|
border: 1px #00B3BE solid;
|
||||||
color: #00B3BE;
|
color: #00B3BE;
|
||||||
}
|
}
|
||||||
|
::v-deep .page{
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<style lang='less'>
|
<style lang='less'>
|
||||||
.area-module {
|
.area-module {
|
||||||
@@ -361,9 +366,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.page{
|
|
||||||
display: flex;
|
|
||||||
justify-content: flex-end;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
@@ -348,6 +348,11 @@ export default {
|
|||||||
border: 1px #00B3BE solid;
|
border: 1px #00B3BE solid;
|
||||||
color: #00B3BE;
|
color: #00B3BE;
|
||||||
}
|
}
|
||||||
|
::v-deep .page{
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<style lang='less'>
|
<style lang='less'>
|
||||||
.area-module {
|
.area-module {
|
||||||
@@ -361,9 +366,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.page{
|
|
||||||
display: flex;
|
|
||||||
justify-content: flex-end;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
+1
-1
@@ -37,7 +37,7 @@
|
|||||||
</a-table>
|
</a-table>
|
||||||
<div class="page" v-if="dataSource.length > 0">
|
<div class="page" v-if="dataSource.length > 0">
|
||||||
<a-pagination
|
<a-pagination
|
||||||
:show-total="total => $t('total')+`${total}`+$t('strip')"
|
:show-total="total => $t('total')+` ${total} `+$t('strip')"
|
||||||
show-quick-jumper
|
show-quick-jumper
|
||||||
show-size-changer
|
show-size-changer
|
||||||
:page-size.sync="pageSize "
|
:page-size.sync="pageSize "
|
||||||
|
|||||||
@@ -86,7 +86,7 @@
|
|||||||
size="middle"
|
size="middle"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:scroll="{x: '100%',y:'calc(100vh - 130px)'}"
|
:scroll="{x: '100%',y:'calc(100vh - 140px)'}"
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
:data-source="dataSource"
|
:data-source="dataSource"
|
||||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||||
|
|||||||
@@ -130,6 +130,11 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
::v-deep .page{
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<style lang='less'>
|
<style lang='less'>
|
||||||
.area-module {
|
.area-module {
|
||||||
@@ -143,9 +148,5 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.page{
|
|
||||||
display: flex;
|
|
||||||
justify-content: flex-end;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
@@ -41,19 +41,20 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { putAction, postAction, getAction, deleteAction } from '@/api/manage'
|
import { putAction, postAction, getAction, deleteAction } from '@/api/manage'
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
||||||
import { queryDepartTreeList, searchByKeywords, deleteByDepartId } from '@/api/api'
|
import { queryDepartTreeList, searchByKeywords, deleteByDepartId } from '@/api/api'
|
||||||
import pick from 'lodash.pick'
|
import pick from 'lodash.pick'
|
||||||
export default {
|
|
||||||
|
export default {
|
||||||
name: 'diolagArea',
|
name: 'diolagArea',
|
||||||
components: {},
|
components: {},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
checkedDepartNameString: '',
|
checkedDepartNameString: '',
|
||||||
token:Vue.ls.get(ACCESS_TOKEN),
|
token: Vue.ls.get(ACCESS_TOKEN),
|
||||||
title: this.$t('add'),
|
title: this.$t('add'),
|
||||||
total: 0,
|
total: 0,
|
||||||
selectedRowKeysDate: {},
|
selectedRowKeysDate: {},
|
||||||
@@ -81,7 +82,7 @@ export default {
|
|||||||
allTreeKeys: [],
|
allTreeKeys: [],
|
||||||
selectedKeys: [],
|
selectedKeys: [],
|
||||||
checkStrictly: true,
|
checkStrictly: true,
|
||||||
checkedKeys: [],
|
checkedKeys: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
@@ -121,7 +122,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
setThisExpandedKeys(node) {
|
setThisExpandedKeys(node) {
|
||||||
console.log(node,'setThisExpandedKeys')
|
console.log(node, 'setThisExpandedKeys')
|
||||||
if (node.children && node.children.length > 0) {
|
if (node.children && node.children.length > 0) {
|
||||||
this.iExpandedKeys.push(node.key)
|
this.iExpandedKeys.push(node.key)
|
||||||
for (let a = 0; a < node.children.length; a++) {
|
for (let a = 0; a < node.children.length; a++) {
|
||||||
@@ -130,7 +131,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
getAllKeys(node) {
|
getAllKeys(node) {
|
||||||
console.log('getAllKeys',node);
|
console.log('getAllKeys', node)
|
||||||
this.allTreeKeys.push(node.key)
|
this.allTreeKeys.push(node.key)
|
||||||
if (node.children && node.children.length > 0) {
|
if (node.children && node.children.length > 0) {
|
||||||
for (let a = 0; a < node.children.length; a++) {
|
for (let a = 0; a < node.children.length; a++) {
|
||||||
@@ -139,7 +140,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onExpand(expandedKeys) {
|
onExpand(expandedKeys) {
|
||||||
console.log(expandedKeys,'expandedKeys')
|
console.log(expandedKeys, 'expandedKeys')
|
||||||
this.iExpandedKeys = expandedKeys
|
this.iExpandedKeys = expandedKeys
|
||||||
},
|
},
|
||||||
// 触发onSelect事件时,为部门树右侧的form表单赋值
|
// 触发onSelect事件时,为部门树右侧的form表单赋值
|
||||||
@@ -162,7 +163,7 @@ export default {
|
|||||||
this.rightClickSelectedKey = node.node.eventKey
|
this.rightClickSelectedKey = node.node.eventKey
|
||||||
this.rightClickSelectedOrgCode = node.node.dataRef.orgCode
|
this.rightClickSelectedOrgCode = node.node.dataRef.orgCode
|
||||||
},
|
},
|
||||||
onCheck(checkedKeys,info) {
|
onCheck(checkedKeys, info) {
|
||||||
// console.log(checkedKeys,info)
|
// console.log(checkedKeys,info)
|
||||||
this.hiding = false
|
this.hiding = false
|
||||||
if (this.checkStrictly) {
|
if (this.checkStrictly) {
|
||||||
@@ -172,7 +173,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onSelect(selectedKeys, e) {
|
onSelect(selectedKeys, e) {
|
||||||
console.log(selectedKeys,e)
|
console.log(selectedKeys, e)
|
||||||
this.hiding = false
|
this.hiding = false
|
||||||
let record = e.node.dataRef
|
let record = e.node.dataRef
|
||||||
this.currSelected = Object.assign({}, record)
|
this.currSelected = Object.assign({}, record)
|
||||||
@@ -221,7 +222,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//保存
|
//保存
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
let param = {ids: this.selectedRowKeysArray.join(','), selecteddeparts: `${this.checkedKeys.join(',')}` }
|
let param = { ids: this.selectedRowKeysArray.join(','), selecteddeparts: `${this.checkedKeys.join(',')}` }
|
||||||
postAction('/sys/user/setDepart', param).then((res) => {
|
postAction('/sys/user/setDepart', param).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$emit('departmentvisible', false)
|
this.$emit('departmentvisible', false)
|
||||||
@@ -232,13 +233,13 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang='less' scoped>
|
<style lang='less' scoped>
|
||||||
@import '~@assets/less/common.less';
|
@import '~@assets/less/common.less';
|
||||||
|
|
||||||
.diolag-area {
|
.diolag-area {
|
||||||
.table-area {
|
.table-area {
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
|
|
||||||
@@ -250,14 +251,21 @@ export default {
|
|||||||
.table-del {
|
.table-del {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.drawer-bootom-button{
|
|
||||||
|
.drawer-bootom-button {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::v-deep .page {
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<style lang='less'>
|
<style lang='less'>
|
||||||
.area-module {
|
.area-module {
|
||||||
.ant-modal-wrap {
|
.ant-modal-wrap {
|
||||||
.ant-modal {
|
.ant-modal {
|
||||||
.ant-modal-content {
|
.ant-modal-content {
|
||||||
@@ -267,10 +275,5 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.page{
|
|
||||||
display: flex;
|
|
||||||
justify-content: flex-end;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user