修复保存最近操作店铺失败

This commit is contained in:
2024-10-25 14:28:04 +08:00
parent f507b3da98
commit 873c075600
3 changed files with 32 additions and 5 deletions

View File

@@ -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',
}))