|
@@ -205,6 +205,7 @@
|
|
:klRuleByIdSub="form.klRuleByIdSub"
|
|
:klRuleByIdSub="form.klRuleByIdSub"
|
|
:maxNum="subRuleMaxNum"
|
|
:maxNum="subRuleMaxNum"
|
|
:showMsg="showMsg"
|
|
:showMsg="showMsg"
|
|
|
|
+ :showMsg2="showMsg2"
|
|
:ruleTermCodeStr="ruleTermCodeStr"
|
|
:ruleTermCodeStr="ruleTermCodeStr"
|
|
@subTypeChange="subTypeChange"
|
|
@subTypeChange="subTypeChange"
|
|
@searchConcept="searchConcept"
|
|
@searchConcept="searchConcept"
|
|
@@ -733,6 +734,13 @@ export default {
|
|
}
|
|
}
|
|
return str;
|
|
return str;
|
|
},
|
|
},
|
|
|
|
+ ruleTermCodeStr2: function() {
|
|
|
|
+ const str = this.form.parRuleType + '-' + this.form.parLenCode+ "-" + 0;
|
|
|
|
+ if (str.length <= 1) {
|
|
|
|
+ return '';
|
|
|
|
+ }
|
|
|
|
+ return str;
|
|
|
|
+ },
|
|
ruleTermCodeStrs: function () {
|
|
ruleTermCodeStrs: function () {
|
|
const str = this.form.parRuleType + "-" + this.form.parLenCode;
|
|
const str = this.form.parRuleType + "-" + this.form.parLenCode;
|
|
if (str.length <= 1) {
|
|
if (str.length <= 1) {
|
|
@@ -746,6 +754,12 @@ export default {
|
|
this.msgDict.indexOf(this.ruleTermCodeStr) > -1
|
|
this.msgDict.indexOf(this.ruleTermCodeStr) > -1
|
|
);
|
|
);
|
|
},
|
|
},
|
|
|
|
+ showMsg2: function() {
|
|
|
|
+ return (
|
|
|
|
+ this.ruleTermCodeStr2.length > 2 &&
|
|
|
|
+ this.msgDict.indexOf(this.ruleTermCodeStr2) > -1
|
|
|
|
+ );
|
|
|
|
+ },
|
|
showHasSub() {
|
|
showHasSub() {
|
|
if (this.ruleTermCodeStrs.length > 2) {
|
|
if (this.ruleTermCodeStrs.length > 2) {
|
|
return this.subDict.indexOf(this.ruleTermCodeStrs) != -1;
|
|
return this.subDict.indexOf(this.ruleTermCodeStrs) != -1;
|