| | |
| | | |
| | | <script> |
| | | import {getList, addSave, editSave, deleteSave} from "@/api/code/codeCharcter" |
| | | import {gridCodeRule} from "@/api/code/codeCharcter" |
| | | import {gridCodeRule} from "@/api/code/mdmrule" |
| | | |
| | | export default { |
| | | name: "usableCharacter", |
| | |
| | | async getCodeRule() { |
| | | try { |
| | | // 编码规则已发布数据源 |
| | | const res = await gridCodeRule({["conditionMap" + "[lcStatus_like]"]: "Released"}); |
| | | const res = await gridCodeRule(1,-1); |
| | | this.characterReleasedList = res.data.data.records; |
| | | this.queryReleasedList = this.characterReleasedList; |
| | | this.select = this.characterReleasedList[0].oid; |
| | |
| | | // const targetObject = this.characterReleasedList.find(obj => obj.oid === this.selectValue); |
| | | // const chartValue = targetObject.name; |
| | | getList({codeRuleId: this.select, chartType: "fillerChar", chartValue: this.characterValue}).then(res => { |
| | | console.log(res.data.data); |
| | | // console.log(res.data.data); |
| | | this.tableData = res.data.data; |
| | | this.loading = false; |
| | | }); |