|
@@ -154,7 +154,8 @@ export default {
|
|
|
},
|
|
|
validatePass() { //验证成功回调,调取接口
|
|
|
//仍需验证标签明细是否选择
|
|
|
- if (JSON.stringify(this.sendIds) == '[[],[],[],[],[],[]]' && this.dataPub.region2 != 6 && this.dataPub.region2 != 7 && this.dataPub.region2 != 8) {
|
|
|
+ let type = this.dataPub.region1;
|
|
|
+ if (JSON.stringify(this.sendIds) == '[[],[],[],[],[],[]]' && type != 6 && type != 7 && type != 8) {
|
|
|
this.$message({
|
|
|
message: '请选择标签明细',
|
|
|
type: 'warning'
|
|
@@ -168,6 +169,7 @@ export default {
|
|
|
"controlType": 0, //控件类型(0:默认值 1:下拉单选 2:下拉多选 6:文本框 7:数字键盘文本框 99:联合推送)
|
|
|
"id": this.editData.id || '', //新增id空
|
|
|
"type": this.dataPub.region1, //标签归属
|
|
|
+ // "itemType":0, //0:是症状,1:不是症状
|
|
|
"tagType": this.dataPub.region2, //标签类型
|
|
|
"tagName": this.dataPub.region3, //系统名称
|
|
|
"name": this.dataPub.region4, //界面名称
|