Commit 4281a85a authored by 黄奎's avatar 黄奎

新增修改领队调整

parent 0916a76a
...@@ -582,7 +582,7 @@ ...@@ -582,7 +582,7 @@
<el-input type="textarea" v-model="addMsg.Remarks" class="w210"></el-input> <el-input type="textarea" v-model="addMsg.Remarks" class="w210"></el-input>
</el-form-item> </el-form-item>
<el-form-item v-if="addMsg.LeaderGuidClass==1" :label="$t('admin.admin_password')"> <el-form-item v-if="addMsg.LeaderGuidClass==1" :label="$t('admin.admin_password')">
<el-input type="password" v-model="addMsg.EmPassword" class="w210"></el-input> <el-input type="password" v-model="addMsg.EmPassword" class="w210" auto-complete="new-password"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
...@@ -805,12 +805,6 @@ ...@@ -805,12 +805,6 @@
message: this.$t('rule.qsrzqsjh'), message: this.$t('rule.qsrzqsjh'),
} }
], ],
// SpareTel: [
// {
// pattern: this.$commonUtils.Regex.el_isInteger,
// message: "请输正确的电话"
// }
// ],
Passport: [{ Passport: [{
required: true, required: true,
message: this.$t('rule.qsrzqhzh'), message: this.$t('rule.qsrzqhzh'),
...@@ -873,10 +867,8 @@ ...@@ -873,10 +867,8 @@
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
this.loading2 = false this.loading2 = false;
}, });
err => {}
);
} }
}, },
//领队账户管理 //领队账户管理
...@@ -936,9 +928,7 @@ ...@@ -936,9 +928,7 @@
} else { } else {
that.Error(res.data.message); that.Error(res.data.message);
} }
}, });
err => {}
);
}, },
getCountry() { getCountry() {
//获取国家 //获取国家
...@@ -946,9 +936,7 @@ ...@@ -946,9 +936,7 @@
"dict_post_Destination_GetCountry", {}, "dict_post_Destination_GetCountry", {},
res => { res => {
this.countryList = res.data.data; this.countryList = res.data.data;
}, });
err => {}
);
}, },
//获取工作类型(值获取领兼地和导游) //获取工作类型(值获取领兼地和导游)
getWorkType() { getWorkType() {
...@@ -957,14 +945,10 @@ ...@@ -957,14 +945,10 @@
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
res.data.data.forEach(item => { res.data.data.forEach(item => {
// if (item.Value != 1) {
this.workTypeList.push(item); this.workTypeList.push(item);
// }
}); });
} }
}, });
err => {}
);
}, },
//获取中国下面的城市列表 //获取中国下面的城市列表
getCityList() { getCityList() {
...@@ -974,9 +958,7 @@ ...@@ -974,9 +958,7 @@
}, },
res => { res => {
this.cityList = res.data.data; this.cityList = res.data.data;
}, });
err => {}
);
}, },
//获取语言 //获取语言
getLanguage() { getLanguage() {
...@@ -984,9 +966,7 @@ ...@@ -984,9 +966,7 @@
"language_post_GetList", {}, "language_post_GetList", {},
res => { res => {
this.LanguageList = res.data.data; this.LanguageList = res.data.data;
}, });
err => {}
);
}, },
//获取员工列表获取账号 //获取员工列表获取账号
getEmployeeList() { getEmployeeList() {
...@@ -997,14 +977,9 @@ ...@@ -997,14 +977,9 @@
PostId: "", PostId: "",
IsLeave: "0" IsLeave: "0"
}; };
this.apipost( this.apipost("admin_get_EmployeeGetList", msg, res => {
"admin_get_EmployeeGetList", this.EmployeeList = res.data.data;
msg, });
res => {
this.EmployeeList = res.data.data;
},
err => {}
);
}, },
//获取公司列表 //获取公司列表
getBranchList() { getBranchList() {
...@@ -1013,14 +988,9 @@ ...@@ -1013,14 +988,9 @@
is_show: "", is_show: "",
RB_Group_Id: "" RB_Group_Id: ""
}; };
this.apipost( this.apipost("admin_get_BranchGetList", msg, res => {
"admin_get_BranchGetList", this.BranchList = res.data.data;
msg, });
res => {
this.BranchList = res.data.data;
},
err => {}
);
}, },
//获取部门 //获取部门
getDerpartMent(id) { getDerpartMent(id) {
...@@ -1093,9 +1063,7 @@ ...@@ -1093,9 +1063,7 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
that.getList(); that.getList();
} }
}, });
err => {}
);
}); });
}, },
initAddMsg() { initAddMsg() {
...@@ -1173,9 +1141,7 @@ ...@@ -1173,9 +1141,7 @@
} }
this.searchKey(this.addMsg.CityName) this.searchKey(this.addMsg.CityName)
this.addMsg.EmPassword = ""; this.addMsg.EmPassword = "";
}, });
err => {}
);
}, },
//弹出框关闭初始化弹框内表单 //弹出框关闭初始化弹框内表单
closeChangeMachie(done) { closeChangeMachie(done) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment