diff --git a/src/components/customerOrg/ContactPerson.vue b/src/components/customerOrg/ContactPerson.vue index 191515d..b452833 100644 --- a/src/components/customerOrg/ContactPerson.vue +++ b/src/components/customerOrg/ContactPerson.vue @@ -1,18 +1,10 @@ - + - - + + @@ -53,11 +33,7 @@ - + @@ -78,17 +54,17 @@ - + + + + + @@ -96,6 +72,7 @@ 确 定 + + \ No newline at end of file diff --git a/src/components/unitGrouping/unitGroupingTable.vue b/src/components/unitGrouping/unitGroupingTable.vue new file mode 100644 index 0000000..d40deab --- /dev/null +++ b/src/components/unitGrouping/unitGroupingTable.vue @@ -0,0 +1,52 @@ + + \ No newline at end of file diff --git a/src/store/index.js b/src/store/index.js index 120f378..295bdbd 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -5,9 +5,9 @@ Vue.use(Vuex); export default new Vuex.Store({ state: { - set:'qqqq', - customerOrg:{ //体检单位设置 - customerOrgTree:[], //体检单位列表 + set: 'qqqq', + customerOrg: { //体检单位设置 + customerOrgTree: [], //体检单位列表 treeprops: { label: "displayName", value: "id", @@ -20,24 +20,24 @@ export default new Vuex.Store({ } }, getters: {}, - + mutations: {//同步更改状态 - //通用设置 state 值 option {key-value} add by pengjun - setData(state, option){ - let array = option.key.split('.') - switch(array.length){ - case 1: - state[array[0]] = option.value;break; - case 2: - state[array[0]][array[1]] = option.value;break; - case 3: - state[array[0]][array[1]][array[2]] = option.value;break; - case 4: - state[array[0]][array[1]][array[2]][array[3]] = option.value;break; - } + //通用设置 state 值 option {key-value} add by pengjun + setData(state, option) { + let array = option.key.split('.') + switch (array.length) { + case 1: + state[array[0]] = option.value; break; + case 2: + state[array[0]][array[1]] = option.value; break; + case 3: + state[array[0]][array[1]][array[2]] = option.value; break; + case 4: + state[array[0]][array[1]][array[2]][array[3]] = option.value; break; } + } }, - + actions: {}, modules: {}, }); diff --git a/src/views/customerOrg/customerOrgGroup.vue b/src/views/customerOrg/customerOrgGroup.vue index ef38bd1..347d454 100644 --- a/src/views/customerOrg/customerOrgGroup.vue +++ b/src/views/customerOrg/customerOrgGroup.vue @@ -1,1670 +1,56 @@ \ No newline at end of file diff --git a/src/views/fee-settings/SysParmType.vue b/src/views/fee-settings/SysParmType.vue index 39cf86d..f321972 100644 --- a/src/views/fee-settings/SysParmType.vue +++ b/src/views/fee-settings/SysParmType.vue @@ -33,8 +33,7 @@ - - + @@ -79,20 +78,19 @@ - - - - - - - - - - + + + + + + + + + 取 消 @@ -116,6 +114,7 @@ export default { form: { id: "", }, + organizationid:'' }; }, created() { @@ -128,6 +127,8 @@ export default { this.form = row; this.dialogVisible = true; console.log(row); + + // getapi('') }, //c每一列点击 rowclick(row) { @@ -146,6 +147,7 @@ export default { }, //组织下拉框值发生变化 changvalue(v) { + this.organizationid=v getapi(`/api/app/sys-parm/in-sys-parm-value-name/${v}`).then((res) => { this.tableData = res.data; console.log(res);