diff --git a/src/views/basic/product/dict/UdiBasicProduct.vue b/src/views/basic/product/dict/UdiBasicProduct.vue index 1dd9553..0fd6e07 100644 --- a/src/views/basic/product/dict/UdiBasicProduct.vue +++ b/src/views/basic/product/dict/UdiBasicProduct.vue @@ -85,7 +85,7 @@ > diff --git a/src/views/basic/product/rel/UdiInfoSelectLocalUdi.vue b/src/views/basic/product/rel/UdiInfoSelectLocalUdi.vue index 90922d4..1e98792 100644 --- a/src/views/basic/product/rel/UdiInfoSelectLocalUdi.vue +++ b/src/views/basic/product/rel/UdiInfoSelectLocalUdi.vue @@ -377,6 +377,7 @@ export default { combineQuery: { companyId: null, keys: [], + products: [], }, checked: true, udidlList: [], @@ -616,6 +617,13 @@ export default { }); } else if (this.filterType == 2) {//注册企业医疗器械信息关联 + debugger + for (let uuid of this.combineQuery.keys) { + let data = { + uuid: uuid + }; + this.combineQuery.products.push(data); + } batchCombine(this.combineQuery) .then((response) => { this.combineLoading = false; diff --git a/src/views/basic/product/rel/UdiRlCompany.vue b/src/views/basic/product/rel/UdiRlCompany.vue index fe3a90b..e931339 100644 --- a/src/views/basic/product/rel/UdiRlCompany.vue +++ b/src/views/basic/product/rel/UdiRlCompany.vue @@ -18,7 +18,7 @@ > @@ -121,13 +121,14 @@ v-if="selectProductVisible" > { this.loading = false; - this.fromOptions = response.data || []; + this.fromOptions = response.data.list || []; }) .catch(() => { this.loading = false; diff --git a/src/views/basic/product/rel/productEdit.vue b/src/views/basic/product/rel/productEdit.vue index 86a9daa..59738ce 100644 --- a/src/views/basic/product/rel/productEdit.vue +++ b/src/views/basic/product/rel/productEdit.vue @@ -17,6 +17,7 @@ @@ -34,7 +35,33 @@ + + + + + + + + + + + + + + diff --git a/src/views/myLogin.vue b/src/views/myLogin.vue index b54a737..eedf3fb 100644 --- a/src/views/myLogin.vue +++ b/src/views/myLogin.vue @@ -13,12 +13,11 @@ label-position="left" > -
- element-logo +
+ element-logo
-

用户注册

- - +

企业注册

+ 注册 + >注册
@@ -91,8 +90,8 @@ import Verify from "vue2-verify"; import axios from "axios"; import Cookies from "js-cookie"; -import { decrypt, encrypt } from "@/utils/jsencrypt"; -import {checkCode,getCheckcode,encrypts} from "@/api/login"; +import {decrypt, encrypt} from "@/utils/jsencrypt"; +import {checkCode, getCheckcode, encrypts} from "@/api/login"; export default { data() { @@ -106,20 +105,20 @@ export default { } }; return { - yzm:"", - jmobile:"", - inputQuery :{ - mobile : "", - checkCode : "", + yzm: "", + jmobile: "", + inputQuery: { + mobile: "", + checkCode: "", }, rules: { tel: [ - { required: true, message: "请输入联系电话", trigger: "blur" }, - { validator: validatePhone, trigger: "blur" }, + {required: true, message: "请输入联系电话", trigger: "blur"}, + {validator: validatePhone, trigger: "blur"}, // { pattern:/^((0\d{2,3}-\d{7,8})|(1[3584]\d{9}))$/, message: "请输入正确的电话号码", trigger: "blur" } ], checkCode: [ - { required: true, message: "请输入手机验证码", trigger: "blur" }, + {required: true, message: "请输入手机验证码", trigger: "blur"}, ], }, isTimer: false, @@ -128,28 +127,28 @@ export default { }, - methods: { - handleLogin(){ - checkCode(this.inputQuery).then( (res) => { - if(res.code == 20000 ){ + methods: { + handleLogin() { + checkCode(this.inputQuery).then((res) => { + if (res.code == 20000) { //加密验证码 - this.jmobile=res.data; + this.jmobile = res.data; - let param={ - mobile:this.jmobile, - captcha:this.yzm, - key:"key", + let param = { + mobile: this.jmobile, + captcha: this.yzm, + key: "key", } - encrypts(param).then((res)=>{ - if(res.code == 20000){ + encrypts(param).then((res) => { + if (res.code == 20000) { //跳转到完善信息页面 - this.$router.push({path: "/improveInfo",query:{mobile:res.data.mobile,captcha:res.data.captcha}}); + this.$router.push({path: "/improveInfo", query: {mobile: res.data.mobile, captcha: res.data.captcha}}); - }else{ + } else { this.$message.error(res.message) } }) - }else{ + } else { this.$message.error(res.message); } }) @@ -163,7 +162,7 @@ export default { }; getCheckcode(tquery).then((response) => { if (response.code === 20000) { - this.yzm=response.data; + this.yzm = response.data; this.validateBtn(); } else { this.$message.error(response.message); @@ -188,9 +187,6 @@ export default { }, - - - }, components: { Verify, @@ -274,6 +270,7 @@ $light_gray: #eee; font-weight: bold; margin-bottom: 50px; } + .textTitle { width: 50%; font-size: 45px; @@ -285,6 +282,7 @@ $light_gray: #eee; margin-top: 132px; margin-bottom: -10px; } + .topSubtitle { color: #fcd38b; text-align: center;