diff --git a/src/api/udplat/udplatGoodsMatch.js b/src/api/udplat/udplatGoodsMatch.js new file mode 100644 index 0000000..1e739e9 --- /dev/null +++ b/src/api/udplat/udplatGoodsMatch.js @@ -0,0 +1,33 @@ +import request from "@/utils/request"; + +export function GetList(param) { + return request({ + url: "/udplat/goodsMatch/list", + method: "post", + data: param + }); +} + +export function GetProductlist(key) { + return request({ + url: "/udplat/goodsMatch/productlist", + method: "post", + params: {key} + }); +} + +export function GetProductDetail(uuid) { + return request({ + url: "/udplat/goodsMatch/productDetail", + method: "post", + params: {uuid} + }); +} + +export function Save(param) { + return request({ + url: "/udplat/goodsMatch/save", + method: "post", + data: param + }) +} diff --git a/src/router/index.js b/src/router/index.js index 270e935..b0365c1 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -79,6 +79,7 @@ import udplatHospital from '../views/udplat/udplatHospital'; import udplatManufacture from '../views/udplat/udplatManufacture'; import udplatGoods from '../views/udplat/udplatGoods'; import udplatLog from '../views/udplat/udplatLog'; +import udplatGoodsMatch from '../views/udplat/udplatGoodsMatch'; const err401 = r => require.ensure([], () => r(require("../views/error/err401.vue")), "home"); @@ -696,7 +697,7 @@ export const asyncRouterMap = [ }, }, { - name: "可选目录", + name: "产品目录", path: "udplatGoods", component: udplatGoods, meta: { @@ -710,6 +711,14 @@ export const asyncRouterMap = [ meta: { authRule: ["UDIDownload/udplatLog"] }, + }, + { + name: "产品对照表", + path: "udplatGoodsMatch", + component: udplatGoodsMatch, + meta: { + authRule: ["UDIDownload/udplatGoodsMatch"] + }, } ] } diff --git a/src/views/udplat/selectGoods.vue b/src/views/udplat/selectGoods.vue new file mode 100644 index 0000000..0de463a --- /dev/null +++ b/src/views/udplat/selectGoods.vue @@ -0,0 +1,142 @@ + + + + + diff --git a/src/views/udplat/udplatGoods.vue b/src/views/udplat/udplatGoods.vue index eb7f7e0..9c4d539 100644 --- a/src/views/udplat/udplatGoods.vue +++ b/src/views/udplat/udplatGoods.vue @@ -91,7 +91,8 @@ export default { this.$message.error(error); this.loading = false; }) - }, + } + } } diff --git a/src/views/udplat/udplatGoodsMatch.vue b/src/views/udplat/udplatGoodsMatch.vue new file mode 100644 index 0000000..7255708 --- /dev/null +++ b/src/views/udplat/udplatGoodsMatch.vue @@ -0,0 +1,345 @@ + + + + +