|
@@ -46,6 +46,7 @@
|
|
|
style="minWidth: 240px"
|
|
|
@input="onchange"
|
|
|
@blur="onblur"
|
|
|
+ @clear="clear"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item :label="detail+'预览:'">
|
|
@@ -390,6 +391,10 @@ export default {
|
|
|
}
|
|
|
this.getTermMatching(type, name);
|
|
|
},
|
|
|
+ clear(){
|
|
|
+ const { hisName, hisDetailName } = this.form;
|
|
|
+ this.getTermMatching(1, hisName);
|
|
|
+ },
|
|
|
getTermMatching(type, name) {
|
|
|
let params = {
|
|
|
type: type ? type : this.type,
|