diff --git a/fuintAdmin_zt/src/views/Site/index.vue b/fuintAdmin_zt/src/views/Site/index.vue
index 8142aa0e1..b99ba7486 100644
--- a/fuintAdmin_zt/src/views/Site/index.vue
+++ b/fuintAdmin_zt/src/views/Site/index.vue
@@ -187,24 +187,55 @@
>{{dict.label}}
-
-
- {{dict.label}}
-
-
-
- {{dict.label}}
-
+
+
+ {{dict.label}}
+
+
+
+
+ {{dict.label}}
+
+
+
+
+ {{dict.label}}
+
+
+
+
+ {{dict.label}}
+
+
+
+
+ {{dict.label}}
+
+
@@ -213,7 +244,7 @@
-
+
无限制
@@ -776,6 +807,7 @@ export default {
storeNum: false,
isEditDept:true,
isTopDept:true,
+ parentDeptType:"",
timeFrame:[],
@@ -941,6 +973,12 @@ export default {
mobile: [
{ required: true, message: '手机号不能为空', trigger: 'blur' },
],
+ deptType: [
+ { required: true, message: '机构类型不能为空', trigger: 'blur' },
+ ],
+ turnoverType: [
+ { required: true, message: '计费方式不能为空', trigger: 'blur' },
+ ],
deptName: [
{ required: true, message: '请输入机构名称', trigger: 'blur' },
@@ -1296,6 +1334,7 @@ export default {
this.queryParams.deptId = data.id
this.queryParams1.storeId = data.id
this.deptType = data.deptType
+ this.parentDeptType = data.deptType
// 新增节点
this.appedit(data.id,data.label)
// 用户请求
@@ -1404,13 +1443,10 @@ export default {
// },
handleClick(tab, event) {
console.log(this.activeName)
- if (this.activeName=="list"){
+ if (this.activeName==="list"){
this.onlyGetUser()
}
- if (this.activeName=="duty"){
- this.getDutyList()
- }
- if (this.activeName=="info"){
+ if (this.activeName==="duty"){
this.getDutyList()
}
},
@@ -1425,8 +1461,8 @@ export default {
this.timeFrame = []
this.beginTime = ""
this.endTime = ""
-
- this.addNode(data.id,data.label)
+ this.parentDeptType = data.deptType
+ this.addNode(data.id,data.label,data.deptType)
// console.log(this.pdinfo)
event.stopPropagation();
@@ -1447,13 +1483,13 @@ export default {
}
},
// 新增数据
- addNode(id,label) {
+ addNode(id,label,deptType) {
let _this = this
// 默认类型
this.isClick = false
- this.ruleForm.deptType = "3"
+ this.ruleForm.deptType = deptType
this.$nextTick(() => {
- console.log("新增树的返回222", this.ruleForm);
+ console.log("新增树的返回222", this.ruleForm,id,label);
});
// _this.ruleForm.deptType = '1'