Commit 16511632 authored by zhangyanni's avatar zhangyanni

根据销售区域查询

parent 0274d360
...@@ -99,6 +99,7 @@ ...@@ -99,6 +99,7 @@
wholeClik(){ wholeClik(){
this.checkboxGroup = []; this.checkboxGroup = [];
this.checkboxGroupchild = []; this.checkboxGroupchild = [];
this.checkboxGroupThirdChild =[];
this.wholecheck = [this.$t("listproject.unlimited")]; this.wholecheck = [this.$t("listproject.unlimited")];
this.checkboxIf = false; this.checkboxIf = false;
for ( let i in this.screenlist ) { for ( let i in this.screenlist ) {
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<el-col :span="7" v-if="ruleForm.receiverType=='RT007'&&ruleForm.orgId"> <el-col :span="7" v-if="ruleForm.receiverType=='RT007'&&ruleForm.orgId">
<el-form-item prop="empType"> <el-form-item prop="empType">
<el-select v-model="ruleForm.empType" <el-select v-model="ruleForm.empType"
:placeholder="$t('sendMessage.sendForm.placeholderType')"> :placeholder="$t('sendMessage.sendForm.placeholderType')" @change="handleChangeType">
<el-option <el-option
v-for="item in empTypeList" v-for="item in empTypeList"
:key="item.id" :key="item.id"
...@@ -246,6 +246,11 @@ ...@@ -246,6 +246,11 @@
} }
}, },
methods: { methods: {
handleChangeType(data){
},
validateEmailTitleZh(rule, value, callback) { validateEmailTitleZh(rule, value, callback) {
var reg1 = /^\s+$/g; var reg1 = /^\s+$/g;
var allEmpty = (this.ruleForm.chineseTitle === '' || reg1.test(this.ruleForm.chineseTitle)) && (this.ruleForm.chineseContent === '' || reg1.test(this.ruleForm.chineseContent)) && (this.ruleForm.otherTitle === '' || reg1.test(this.ruleForm.otherTitle)) && (this.ruleForm.otherContent === '' || reg1.test(this.ruleForm.otherContent)), var allEmpty = (this.ruleForm.chineseTitle === '' || reg1.test(this.ruleForm.chineseTitle)) && (this.ruleForm.chineseContent === '' || reg1.test(this.ruleForm.chineseContent)) && (this.ruleForm.otherTitle === '' || reg1.test(this.ruleForm.otherTitle)) && (this.ruleForm.otherContent === '' || reg1.test(this.ruleForm.otherContent)),
...@@ -518,7 +523,7 @@ ...@@ -518,7 +523,7 @@
otherTitle: this.ruleForm.otherTitle, otherTitle: this.ruleForm.otherTitle,
chineseContent: this.ruleForm.chineseContent, chineseContent: this.ruleForm.chineseContent,
otherContent: this.ruleForm.otherContent, otherContent: this.ruleForm.otherContent,
empType: !this.ruleForm.empType || this.ruleForm.empType == -1 ? null : this.ruleForm.empType, empType: (this.ruleForm.empType<0 || this.ruleForm.empType == -1 )? null : this.ruleForm.empType,
industryPid: !this.ruleForm.industryPid || this.ruleForm.industryPid == -1 ? null : this.ruleForm.industryPid, industryPid: !this.ruleForm.industryPid || this.ruleForm.industryPid == -1 ? null : this.ruleForm.industryPid,
orgId: !this.ruleForm.orgId || this.ruleForm.orgId == -1 ? null : this.ruleForm.orgId orgId: !this.ruleForm.orgId || this.ruleForm.orgId == -1 ? null : this.ruleForm.orgId
}; };
......
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