Commit f9202f85 authored by 吴春's avatar 吴春

提交代码

parent 74013aab
......@@ -1065,6 +1065,8 @@
<el-radio @change="YfSelect1" style="padding-bottom:10px" class="yfradio" :label="1">
教育表单
</el-radio>
<el-radio v-for="(option, key) in customFormList" :key="key" :label="Id" class="yfradio" style="padding-bottom:10px">{{ option.FormName }}</el-radio>
</el-radio-group>
</div>
<span slot="footer" class="dialog-footer">
......@@ -1126,6 +1128,7 @@
return {
input:'',
ComTreeList: [],
CustomFormList:[],
thisType: 0,
tableData: [],
SpecificationList: [],
......@@ -1363,6 +1366,7 @@
} else {
this.getTree();
}
this.getCustomFormList();
if (this.currentUserInfo.IsOpenSchool == 0) {
this.isShowPlat = false
} else {
......@@ -1470,6 +1474,25 @@
}
});
},
getCustomFormList() {
let msg = {
FormType:0,
FormName:"",
};
this.apipost("/api/CustomForm/GetCustomFormList", msg, res => {
this.loading = false;
if (res.data.resultCode == 1) {
this.customFormList=res.data.data;
console.log("getCustomFormList", this.customFormList);
}
// var newList= { Id:'1', FormName:'教育表单'}
// this.customFormList.unshift(newList)
// var newList= { Id:'0', FormName:'默认商城'}
// this.customFormList.unshift(newList)
});
},
TbaleSelectionChange3(val) {
this.xxList = val;
},
......@@ -2201,6 +2224,14 @@
this.addMsg.FormsName = '默认商城'
} else if (this.addMsg.FormsId == 1) {
this.addMsg.FormsName = '教育表单'
}
else if (this.addMsg.FormsId == 1) {
this.CustomFormList.forEach(item => {
if(this.val1==item.Id){
this.addMsg.FormsName = item.FormName
}
});
}
this.memberList2 = this.addMsg.MemberPriceTreeList;
this.thisType = 1;
......
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