修复保存最近操作店铺失败
This commit is contained in:
@@ -130,9 +130,9 @@
|
||||
<script>
|
||||
import {
|
||||
patientInfo,
|
||||
recordList,
|
||||
prescripRecord
|
||||
recordListByDoctor,
|
||||
} from '@/api/all.js'
|
||||
import {prescripRecordByDoctor} from "../../api/all";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -242,11 +242,11 @@
|
||||
},
|
||||
async getList() {
|
||||
let res = {}
|
||||
this.current == 0 && (res = await recordList({
|
||||
this.current == 0 && (res = await recordListByDoctor({
|
||||
up_id: this.id,
|
||||
store_id: uni.getStorageSync('store_id') || '11001',
|
||||
}))
|
||||
this.current == 1 && (res = await prescripRecord({
|
||||
this.current == 1 && (res = await prescripRecordByDoctor({
|
||||
up_id: this.id,
|
||||
store_id: uni.getStorageSync('store_id') || '11001',
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user