diff --git a/src/components/common/HcAsbitem.vue b/src/components/common/HcAsbitem.vue new file mode 100644 index 0000000..10ec162 --- /dev/null +++ b/src/components/common/HcAsbitem.vue @@ -0,0 +1,547 @@ + + + + + + + 项目类别 + + + + + + + + + + + + + + + + 添加 + + + 全部添加 + + + 移除 + + + 全部移除 + + + + + + + 快速选择 + + + + + + + + + + + + + + + + 确定 + + + + + + + + diff --git a/src/components/patientRegister/PatientRegisterItem.vue b/src/components/patientRegister/PatientRegisterItem.vue index 4cf04c9..2a662e0 100644 --- a/src/components/patientRegister/PatientRegisterItem.vue +++ b/src/components/patientRegister/PatientRegisterItem.vue @@ -198,7 +198,7 @@ export default { oldFormId: '', //配合登记人员复制新增使用 itemType: [], //项目类别 - // itemTypeIds: '', //被选中的项目类别ID + itemTypeIds: '', //被选中的项目类别ID // asbItem: [], //左侧显示的未选组合项目 // asbItemAll: [], //所有未选组合项目 diff --git a/src/views/fee-settings/Asbitem.vue b/src/views/fee-settings/Asbitem.vue index ad7ad8a..8f3cdc8 100644 --- a/src/views/fee-settings/Asbitem.vue +++ b/src/views/fee-settings/Asbitem.vue @@ -282,106 +282,10 @@ + - - - - - 项目类别 - - - - - - - - - - - - - - - - 添加 - - - 全部添加 - - - 移除 - - - - 全部移除 - - - - - - - - 快速选择 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -859,7 +763,12 @@ import { deletescombinationprojectid, combination, } from "@/request/commonapi"; + +import HcAsbitem from "../../components/common/HcAsbitem.vue"; export default { + components: { + HcAsbitem + }, data() { return { guiderules: { @@ -1189,12 +1098,14 @@ export default { id: "2", displayName: "不打印", }, - ], + ], + }; }, created() { // this.getlist(); this.gitprojectcategory(); + }, mounted() { this.rowDrop(); @@ -1208,11 +1119,11 @@ export default { }, computed: { ...mapState(["window", "dict"]), - tableHeight(){ - return this.window.pageHeight < 600 - ? 190 - : Math.floor((this.window.pageHeight - 260) / 2) - }, + // tableHeight(){ + // return this.window.pageHeight < 600 + // ? 190 + // : Math.floor((this.window.pageHeight - 260) / 2) + // }, }, methods: { dddw, @@ -2128,7 +2039,7 @@ export default { } }, rowick(row) { - this.curRow = { ...row }; + this.curRow = row; this.form = { ...row }; // asbitemgetid(row.id).then((res) => { // this.curRow = { ...res.data }; @@ -2180,6 +2091,7 @@ export default { } }); }, + }, };