Commit 14fcbff7 by 杨北旺

企微关联选择修改

1 parent db06d81f
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
"axios": "^0.21.1", "axios": "^0.21.1",
"core-js": "^3.4.4", "core-js": "^3.4.4",
"el-tree-transfer": "^2.2.6", "el-tree-transfer": "^2.2.6",
"glsx-components": "^1.0.6",
"vue": "^2.6.10", "vue": "^2.6.10",
"vue-router": "^3.1.3", "vue-router": "^3.1.3",
"vuex": "^3.1.2" "vuex": "^3.1.2"
...@@ -29,6 +28,7 @@ ...@@ -29,6 +28,7 @@
"eslint-plugin-prettier": "^3.1.1", "eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-vue": "^5.0.0", "eslint-plugin-vue": "^5.0.0",
"glsx-common": "^1.4.6", "glsx-common": "^1.4.6",
"glsx-components": "^1.0.8",
"node-sass": "^4.14.1", "node-sass": "^4.14.1",
"prettier": "^1.19.1", "prettier": "^1.19.1",
"sass-loader": "^8.0.0", "sass-loader": "^8.0.0",
......
...@@ -4,7 +4,7 @@ import { fetchConfig } from '@/config' ...@@ -4,7 +4,7 @@ import { fetchConfig } from '@/config'
import { GLButton, GLTable, GLExternal } from 'glsx-components' //权限按钮 (根据权限动态创建) import { GLButton, GLTable, GLExternal } from 'glsx-components' //权限按钮 (根据权限动态创建)
import { getRoutes } from '@/router' import { getRoutes } from '@/router'
import render from './render' import render from './render'
import 'glsx-components/dist/glsx-components.css' import 'glsx-components/src/theme/theme.scss'
import ElementUI from 'element-ui' import ElementUI from 'element-ui'
let routes = [] let routes = []
let router = null let router = null
......
...@@ -74,6 +74,7 @@ export default { ...@@ -74,6 +74,7 @@ export default {
value: 'id', value: 'id',
label: 'label', label: 'label',
children: 'children', children: 'children',
checkStrictly: true,
disabled: 'entmicroName' disabled: 'entmicroName'
}, },
mypropsParam: { mypropsParam: {
...@@ -111,6 +112,7 @@ export default { ...@@ -111,6 +112,7 @@ export default {
merchantId: id, merchantId: id,
merchantName: curLabel merchantName: curLabel
} }
this.$refs.cascaderRef1.dropDownVisible = false
}, },
// 获取当前选择的部门 // 获取当前选择的部门
getCurDepartment(val) { getCurDepartment(val) {
...@@ -213,14 +215,15 @@ export default { ...@@ -213,14 +215,15 @@ export default {
[keyval]: val [keyval]: val
}) })
}) })
let all = [...arrpara1,...arrpara2,...arrpara3] let all = [...arrpara1, ...arrpara2, ...arrpara3]
let para = Object.assign({},...all) let para = Object.assign({}, ...all)
toGL(para).then(res => { toGL(para).then(res => {
if (res) { if (res) {
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success' type: 'success'
}) })
history.go(-1)
} }
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!