|
@@ -155,8 +155,8 @@ export default {
|
|
|
"ageBegin": this.dataPub.region8, //最小年龄
|
|
|
"ageEnd": this.dataPub.region9, //最大年龄
|
|
|
"textGenerate": this.form.currentOrder, //成文顺序 默认0
|
|
|
- "copyType": this.dataPub.region2 == 6 ? this.dataPub.region10 : (this.dataPub.region2 == 3 ? this.dataPub.region11 : ''), //是否复制
|
|
|
- "showAdd": 0, //是否显示加号血压
|
|
|
+ "copyType": this.dataPub.region10, //是否复制
|
|
|
+ "showAdd": this.dataPub.region11, //是否显示加号血压
|
|
|
"showInfo": 0,
|
|
|
"questionDetails": [],
|
|
|
"questionMappings": detailLis //映射关系,
|
|
@@ -168,7 +168,12 @@ export default {
|
|
|
this.showConfirmDialog('是否保存该标签组?', () => {
|
|
|
api.saveOrUpdate(param).then((res) => {
|
|
|
if (res.data.code === '0') {
|
|
|
- this.warning(res.data.msg || '保存成功', 'success')
|
|
|
+ this.warning(res.data.msg || '保存成功', 'success','1000')
|
|
|
+ setTimeout(() => {
|
|
|
+ this.$router.push({
|
|
|
+ path:'/admin/LT-YXSJWH-BQZWH'
|
|
|
+ })
|
|
|
+ }, 1000);
|
|
|
} else {
|
|
|
this.warning(res.data.msg)
|
|
|
}
|
|
@@ -185,11 +190,12 @@ export default {
|
|
|
resolve();
|
|
|
}).catch(() => {});
|
|
|
},
|
|
|
- warning(msg, type) {
|
|
|
+ warning(msg, type,time) {
|
|
|
this.$message({
|
|
|
showClose: true,
|
|
|
message: msg,
|
|
|
- type: type || 'warning'
|
|
|
+ type: type || 'warning',
|
|
|
+ duration:time || '3000'
|
|
|
})
|
|
|
},
|
|
|
},
|