| | |
| | | getRuleList(item) { |
| | | getRuleListByContractId(item.id).then((response) => { |
| | | this.ruleData = response.data; |
| | | this.ruleName = this.ruleData.map((item) => { |
| | | return item.ruleName; |
| | | }); |
| | | this.ruleName = [...new Set(this.ruleName)]; |
| | | console.log('this.ruleName', this.ruleName); |
| | | if (this.ruleData) { |
| | | this.ruleName = this.ruleData.map((item) => { |
| | | return item.ruleName; |
| | | }); |
| | | this.ruleName = [...new Set(this.ruleName)]; |
| | | console.log('this.ruleName', this.ruleName); |
| | | } |
| | | this.form.id = item.id; |
| | | this.contractInfo = item; |
| | | }); |