|
@@ -45,7 +45,7 @@
|
|
|
<el-form ref="form" :model="form" :rules="showDesc?{}:rules" label-width="65px" class="add-desc-form">
|
|
|
<p class="top">
|
|
|
{{minTitle}}
|
|
|
- <span class="tip">(<br />代表换行符,如果需要可在需要处输入或者点击回车键)</span>
|
|
|
+ <span v-if="tip" class="tip">(<br />代表换行符,如果需要可在需要处输入或者点击回车键)</span>
|
|
|
<img src="../../images/close.png" height="12" width="12" @click="cancel">
|
|
|
</p>
|
|
|
<el-form-item label="标题:" prop="title">
|
|
@@ -114,7 +114,8 @@
|
|
|
minTitle:'',
|
|
|
showBox:false,
|
|
|
modiId:null,
|
|
|
- showDesc:false
|
|
|
+ showDesc:false,
|
|
|
+ tip:true
|
|
|
}
|
|
|
},
|
|
|
created(){
|
|
@@ -261,12 +262,14 @@
|
|
|
this.form.description = "";
|
|
|
this.modiId = null;
|
|
|
this.minTitle= "";
|
|
|
+ this.tip = true;
|
|
|
},
|
|
|
cancel(){
|
|
|
this.reset();
|
|
|
},
|
|
|
getDetail(item){//明细
|
|
|
this.minTitle='说明明细';
|
|
|
+ this.tip = false;
|
|
|
this.showDesc = true;
|
|
|
this.showBox = true;
|
|
|
this.form.title = item.title;
|