|
@@ -18,7 +18,7 @@
|
|
|
<div class="main">
|
|
|
<p class="title" v-if="dataPub.region2==1||dataPub.region2==2|| dataPub.region2==11">
|
|
|
<i>*</i> 标签明细:
|
|
|
- <i v-if='dataPub.region2==2' style="margin-left:70px;color: #22ccc8; font-size: 12px;">所有选项必须都有或者都没有同“伴”/“无”标记</i>
|
|
|
+ <i v-if='dataPub.region2==2' style="margin-left:70px;color: #48C5D7; font-size: 12px;">所有选项必须都有或者都没有同“伴”/“无”标记</i>
|
|
|
</p>
|
|
|
<SingleSelect v-if="dataPub.region2==1 || dataPub.region2==2 || dataPub.region2==11" :ascription="dataPub.region1" :sexType="dataPub.region7" :type="dataPub.region2" @pushValues="pushValues" :isEditOrCopy="isEditOrCopy" :options="editData.questionDetailList"></SingleSelect>
|
|
|
<div class="btn">
|
|
@@ -197,64 +197,6 @@
|
|
|
this.warning(err);
|
|
|
})
|
|
|
});
|
|
|
- // const h = this.$createElement;
|
|
|
- // const {isEdit} = this.$route.params;
|
|
|
- // const addMsg = h('div',{style:'padding-bottom:10px'},[
|
|
|
- // h('p',{style:'font-size:15px;margin-bottom:10px'},'是否保存该标签?')
|
|
|
- // ])
|
|
|
- // const modMsg = h('div',{style:'padding-bottom:10px'},[
|
|
|
- // h('p',{style:'font-size:15px;margin-bottom:10px'},'是否保存该标签?'),
|
|
|
- // h('span',{style:'color:red;font-size:12px'},'若标签系统名称已经改变,请去别名维护中修改相关信息'),
|
|
|
- // ])
|
|
|
- // this.$msgbox({
|
|
|
- // title:'提示',
|
|
|
- // message:isEdit?modMsg:addMsg,
|
|
|
- // showCancelButton: true,
|
|
|
- // distinguishCancelAndClose:true,
|
|
|
- // confirmButtonText: '确认并前往别名维护',
|
|
|
- // cancelButtonText:'确认',
|
|
|
- // // type: 'warning',
|
|
|
- // cancelButtonClass:'toast-cancel'
|
|
|
- // }).then(()=>{
|
|
|
- // api.saveOrUpdate(param).then((res) => {
|
|
|
- // if (res.data.code === '0') {
|
|
|
- // this.warning(res.data.msg || '保存成功', 'success');
|
|
|
- // // 判断是否已有别名--有(修改),无(新增)
|
|
|
- // const item = {'questionId':param.questionWrapper.id,'questionName':param.questionWrapper.tagName};
|
|
|
- // api.similarNameDetl(item).then((res)=>{
|
|
|
- // if(res.data.code=='0'){
|
|
|
- // this.$router.push({
|
|
|
- // name:'AddSimilarName',
|
|
|
- // params: {id:param.questionWrapper.id,name:param.questionWrapper.tagName}
|
|
|
- // })
|
|
|
- // }else{
|
|
|
- // this.$router.push({
|
|
|
- // name:'AddSimilarName',
|
|
|
- // params: {}
|
|
|
- // })
|
|
|
- // }
|
|
|
- // })
|
|
|
- // } else {
|
|
|
- // this.warning(res.data.msg)
|
|
|
- // }
|
|
|
- // }).catch((err) => {
|
|
|
- // this.warning(err);
|
|
|
- // })
|
|
|
- // }).catch((action)=>{
|
|
|
- // // action :cancel--取消,close--关闭
|
|
|
- // if(action=='cancel'){
|
|
|
- // api.saveOrUpdate(param).then((res) => {
|
|
|
- // if (res.data.code === '0') {
|
|
|
- // this.warning(res.data.msg || '保存成功', 'success');
|
|
|
- // this.$router.push("/admin/LT-YXSJWH-DLLXBQWH");
|
|
|
- // } else {
|
|
|
- // this.warning(res.data.msg)
|
|
|
- // }
|
|
|
- // }).catch((err) => {
|
|
|
- // this.warning(err);
|
|
|
- // })
|
|
|
- // }
|
|
|
- // })
|
|
|
},
|
|
|
showConfirmDialog(msg, resolve) {
|
|
|
this.$alert(msg, '提示', {
|
|
@@ -313,9 +255,5 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- .toast-cancel{
|
|
|
- color: #22ccc8 !important;
|
|
|
- // background: #22ccc8;
|
|
|
- }
|
|
|
</style>
|
|
|
|