|
@@ -248,10 +248,12 @@
|
|
|
isAgreement: false,
|
|
isAgreement: false,
|
|
|
hasMore: true,
|
|
hasMore: true,
|
|
|
dataKey: '',
|
|
dataKey: '',
|
|
|
- dataPrescribeKey:''
|
|
|
|
|
|
|
+ dataPrescribeKey:'',
|
|
|
|
|
+ companyUserId:''
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
onLoad(option) {
|
|
onLoad(option) {
|
|
|
|
|
+ this.companyUserId = option.companyUserId|| ''
|
|
|
this.dataKey = option.dataKey || ''
|
|
this.dataKey = option.dataKey || ''
|
|
|
this.dataPrescribeKey = option.dataPrescribeKey || ''
|
|
this.dataPrescribeKey = option.dataPrescribeKey || ''
|
|
|
this.orderId=option.orderId
|
|
this.orderId=option.orderId
|
|
@@ -276,7 +278,7 @@
|
|
|
// 根据dataKey查询处方填写信息
|
|
// 根据dataKey查询处方填写信息
|
|
|
getSquareInformation() {
|
|
getSquareInformation() {
|
|
|
const param = {
|
|
const param = {
|
|
|
- userId: uni.getStorageSync('companyUserId'),
|
|
|
|
|
|
|
+ userId: this.companyUserId,
|
|
|
dataKey: this.dataPrescribeKey
|
|
dataKey: this.dataPrescribeKey
|
|
|
}
|
|
}
|
|
|
uni.showLoading({
|
|
uni.showLoading({
|
|
@@ -302,7 +304,8 @@
|
|
|
cacheOrderPrescription() {
|
|
cacheOrderPrescription() {
|
|
|
const param = {
|
|
const param = {
|
|
|
orderCode: this.orderId,
|
|
orderCode: this.orderId,
|
|
|
- dataKey: this.dataPrescribeKey
|
|
|
|
|
|
|
+ dataKey: this.dataPrescribeKey,
|
|
|
|
|
+ companyUserId: this.companyUserId
|
|
|
}
|
|
}
|
|
|
cacheOrderPrescription(param).then(res=>{
|
|
cacheOrderPrescription(param).then(res=>{
|
|
|
if(res.code==200) {
|
|
if(res.code==200) {
|