龚焕茏
2024-07-29 bcf74dfa254d842ff3527d44840b4172f879e55b
src/views/system/contract/contract/index.vue
@@ -474,11 +474,13 @@
    getRuleList(item) {
      getRuleListByContractId(item.id).then((response) => {
        this.ruleData = response.data;
        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;
      });