|
@@ -257,7 +257,7 @@ export default {
|
|
|
createBy: null,
|
|
|
updateTime: null,
|
|
|
updateBy: null,
|
|
|
- deeptId: null,
|
|
|
+ deptId: null,
|
|
|
},
|
|
|
// 表单参数
|
|
|
form: {},
|
|
@@ -283,7 +283,7 @@ export default {
|
|
|
trigger: "change",
|
|
|
},
|
|
|
],
|
|
|
- deeptId: [
|
|
|
+ deptId: [
|
|
|
{ required: true, message: "部门主键不能为空", trigger: "blur" },
|
|
|
],
|
|
|
},
|
|
@@ -307,7 +307,7 @@ export default {
|
|
|
|
|
|
// 企业选择
|
|
|
handleNodeClick(data) {
|
|
|
- this.$set(this.form, "deeptId", data.deptId);
|
|
|
+ this.$set(this.form, "deptId", data.deptId);
|
|
|
this.$set(this.form, "enterpriseName", data.deptName);
|
|
|
},
|
|
|
|
|
@@ -328,7 +328,7 @@ export default {
|
|
|
|
|
|
selectDept(i) {
|
|
|
this.form.enterpriseName = this.deptList[i].deptName;
|
|
|
- this.form.deeptId = this.deptList[i].deptId;
|
|
|
+ this.form.deptId = this.deptList[i].deptId;
|
|
|
},
|
|
|
// 表单重置
|
|
|
reset() {
|
|
@@ -336,7 +336,7 @@ export default {
|
|
|
enterpriseName: null,
|
|
|
providerName: null,
|
|
|
providerType: null,
|
|
|
- deeptId: null,
|
|
|
+ deptId: null,
|
|
|
};
|
|
|
this.resetForm("form");
|
|
|
},
|
|
@@ -379,7 +379,7 @@ export default {
|
|
|
submitForm() {
|
|
|
console.log(this.form, "---");
|
|
|
this.$refs["form"].validate((valid) => {
|
|
|
- // this.form.deeptId = this.userData.deptId;
|
|
|
+ // this.form.deptId = this.userData.deptId;
|
|
|
if (valid) {
|
|
|
if (this.form.id != null) {
|
|
|
updateENTERPRISESCREENDATA(this.form).then((response) => {
|