| | |
| | | <el-table-column |
| | | label="序号" |
| | | align="center" |
| | | key="targetID" |
| | | prop="targetID" |
| | | key="targetid" |
| | | prop="targetid" |
| | | /> |
| | | <el-table-column |
| | | label="值类型" |
| | |
| | | // 疾病----------------------- |
| | | illnessUpdate(row) { |
| | | this.illnessVisible = true; |
| | | this.indexid = row.targetID; |
| | | this.indexid = row.targetid; |
| | | this.illnesslistapi = []; |
| | | const illnessqueryParams = { |
| | | pageNum: 1, |
| | |
| | | console.log(response); |
| | | this.optionsillness = response.rows; |
| | | }); |
| | | getillness({ outid: row.targetID, type: 1 }).then((res) => { |
| | | getillness({ outid: row.targetid, type: 1 }).then((res) => { |
| | | this.illnesslist = res.rows; |
| | | console.log(res); |
| | | }); |
| | |
| | | reset() { |
| | | this.indexform = { |
| | | suitWay: undefined, |
| | | targetID: undefined, |
| | | targetid: undefined, |
| | | targetdesc: undefined, |
| | | baseTagList: [], |
| | | targetoptionList: [], |
| | |
| | | }, |
| | | // 多选框选中数据 |
| | | handleSelectionChange(selection) { |
| | | this.ids = selection.map((item) => item.targetID); |
| | | this.ids = selection.map((item) => item.targetid); |
| | | this.single = selection.length != 1; |
| | | this.multiple = !selection.length; |
| | | }, |
| | |
| | | this.targetoptionList |
| | | ); |
| | | if (valid) { |
| | | if (this.indexform.targetID != undefined) { |
| | | if (this.indexform.targetid != undefined) { |
| | | this.indexform.isoperation = 2; |
| | | gettargetInfoedit(this.indexform).then((response) => { |
| | | this.$modal.msgSuccess("修改成功"); |
| | |
| | | }, |
| | | /** 删除按钮操作 */ |
| | | handleDelete(row) { |
| | | const userIds = row.targetID || this.ids; |
| | | const userIds = row.targetid || this.ids; |
| | | this.$modal |
| | | .confirm('是否确认删除指标名称为"' + row.targetname + '"的数据项?') |
| | | .then(function () { |