|
|
|
@ -516,7 +516,7 @@ |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
import Sortable from "sortablejs"; |
|
|
|
import { getapi, postapi } from "@/api/api"; |
|
|
|
import { getapi, postapi, deletapi } from "@/api/api"; |
|
|
|
import { examinationgender, instrumentlist } from "@/request/systemapi"; |
|
|
|
import { |
|
|
|
groupsandlist, |
|
|
|
@ -775,10 +775,18 @@ export default { |
|
|
|
}, |
|
|
|
//指引信息删除 |
|
|
|
deleteguidelines() { |
|
|
|
if (this.guideform == "{}") { |
|
|
|
alert("1"); |
|
|
|
} |
|
|
|
console.log(this.guideform.asbitemId); |
|
|
|
if (this.guideform.asbitemId == "") { |
|
|
|
this.$message.warning("请选择删除的数据"); |
|
|
|
} else { |
|
|
|
deletapi( |
|
|
|
`/api/app/asbitem-guide?OrganizationUnitId=${this.guideform.organizationUnitId}&AsbitemId=${this.guideform.AsbitemId}&ForSexId=${this.guideform.forSexId}` |
|
|
|
).then((res) => { |
|
|
|
this.$message.warning(res.message); |
|
|
|
console.log(res); |
|
|
|
}); |
|
|
|
console.log(this.guideform); |
|
|
|
} |
|
|
|
}, |
|
|
|
//确定新增或者修改指引ruleForm |
|
|
|
determineguidelines() { |
|
|
|
@ -812,6 +820,7 @@ export default { |
|
|
|
//创建弹框 |
|
|
|
createabulletbox() { |
|
|
|
this.guidetitledialogVisible = true; |
|
|
|
this.guideform = {}; |
|
|
|
this.guidetitle = 1; |
|
|
|
this.publicapi(); |
|
|
|
}, |
|
|
|
|