Browse Source

2.0.2版本号与患者列表bug修改

master
aBin 3 years ago
parent
commit
9cdec002bb
  1. 10
      .env.development
  2. 2
      src/components/PatientList/PatientList.vue
  3. 2
      src/components/PrettyExchange/PrettyExchange.vue
  4. 29
      src/pages/patientLine/patientLine.vue
  5. 5
      src/pages/task-page/task-page.vue

10
.env.development

@ -1,8 +1,8 @@
VUE_APP_NODE_ENV=development VUE_APP_NODE_ENV=development
VUE_APP_BASE_URL=https://test.tall.wiki VUE_APP_BASE_URL=https://www.tall.wiki
VUE_APP_API_URL=https://test.tall.wiki/gateway VUE_APP_API_URL=https://www.tall.wiki/gateway
VUE_APP_MSG_URL=ws://test.tall.wiki/websocket/message/v4.0/ws VUE_APP_MSG_URL=ws://www.tall.wiki/websocket/message/v4.0/ws
VUE_APP_PROJECT_PATH=https://test.tall.wiki/carBasicTall VUE_APP_PROJECT_PATH=https://www.tall.wiki/carBasicTall
VUE_APP_QUESTION_PATH=https://test.tall.wiki/carbasics VUE_APP_QUESTION_PATH=https://www.tall.wiki/carbasics
VUE_APP_VERSION=v3.1.0 VUE_APP_VERSION=v3.1.0
VUE_APP_PUBLIC_PATH=/carBasicCalendar/ VUE_APP_PUBLIC_PATH=/carBasicCalendar/

2
src/components/PatientList/PatientList.vue

@ -374,7 +374,7 @@ export default {
beforeUpdate() {}, beforeUpdate() {},
// -- // --
updated() { updated() {
this.getData(true); // this.getData(true);
}, },
// --() // --()
activated() {}, activated() {},

2
src/components/PrettyExchange/PrettyExchange.vue

@ -111,7 +111,7 @@
<view class="border-80 bg-blue-500" v-if="item.showSubBorder"></view> <view class="border-80 bg-blue-500" v-if="item.showSubBorder"></view>
</view> </view>
</view> </view>
<view class="edition">v2.0.1</view> <view class="edition">v2.0.2</view>
</scroll-view> </scroll-view>
<!-- 移动悬浮 begin --> <!-- 移动悬浮 begin -->
<view v-if="showMoveImage"> <view v-if="showMoveImage">

29
src/pages/patientLine/patientLine.vue

@ -33,31 +33,31 @@ export default {
// //
{ {
name: '患者信息', name: '患者信息',
time: '11月24日 16:56', time: '',
code: '', code: '',
path: '/pages/patient/patient', path: '/pages/patient/patient',
}, },
{ {
name: '基本信息', name: '基本信息',
time: '11月24日 16:56', time: '',
code: '', code: '',
path: '/pages/info/info', path: '/pages/info/info',
}, },
{ {
name: '入院评估', name: '入院评估',
time: '11月24日 16:56', time: '',
code: 'RYPG', code: 'RYPG',
path: '/pages/inner/inner', path: '/pages/inner/inner',
}, },
{ {
name: '主要治疗操作', name: '主要治疗操作',
time: '11月24日 16:56', time: '',
code: 'SSXG', code: 'SSXG',
path: '/pages/inner/inner', path: '/pages/inner/inner',
}, },
{ {
name: '出院记录', name: '出院记录',
time: '11月24日 16:56', time: '',
code: 'CYJL', code: 'CYJL',
path: '/pages/inner/inner', path: '/pages/inner/inner',
}, },
@ -66,37 +66,37 @@ export default {
// //
{ {
name: '患者信息', name: '患者信息',
time: '11月24日 16:56', time: '',
code: '', code: '',
path: '/pages/patient/patient', path: '/pages/patient/patient',
}, },
{ {
name: '基本信息', name: '基本信息',
time: '11月24日 16:56', time: '',
code: '', code: '',
path: '/pages/info/info', path: '/pages/info/info',
}, },
{ {
name: '入院评估', name: '入院评估',
time: '11月24日 16:56', time: '',
code: 'RYPG', code: 'RYPG',
path: '/pages/outside/outside', path: '/pages/outside/outside',
}, },
{ {
name: '主要检查', name: '主要检查',
time: '11月24日 16:56', time: '',
code: 'ZYJC', code: 'ZYJC',
path: '/pages/outside/outside', path: '/pages/outside/outside',
}, },
{ {
name: '手术相关操作', name: '手术相关操作',
time: '11月24日 16:56', time: '',
code: 'SSXG', code: 'SSXG',
path: '/pages/outside/outside', path: '/pages/outside/outside',
}, },
{ {
name: '出院记录', name: '出院记录',
time: '11月24日 16:56', time: '',
code: 'CYJL', code: 'CYJL',
path: '/pages/outside/outside', path: '/pages/outside/outside',
}, },
@ -111,6 +111,13 @@ export default {
}, },
onLoad(options) { onLoad(options) {
this.caseType = options.caseType - 0; this.caseType = options.caseType - 0;
const time = this.$moment().format('MM') - 0 + this.$moment().format('月DD日 HH:mm');
for (let i = 0; i < this.innerList.length; i++) {
this.innerList[i].time = time;
}
for (let i = 0; i < this.outSideList.length; i++) {
this.outSideList[i].time = time;
}
this.showLine = true; this.showLine = true;
}, },
methods: { methods: {

5
src/pages/task-page/task-page.vue

@ -7,7 +7,7 @@
<Globals v-if="globals.length" /> <Globals v-if="globals.length" />
<!-- 任务详情 --> <!-- 任务详情 -->
<div v-if="globalData && permanents.length" class="flex flex-1"> <div v-if="globalData && permanents.length" class="flex flex-1">
<PatientList v-if="showPage === 'function'" class="flex flex-1" /> <PatientList ref="PatientList" v-if="showPage === 'function'" class="flex flex-1" />
<div v-else class="flex flex-1 items-center justify-center flex-col"> <div v-else class="flex flex-1 items-center justify-center flex-col">
<div>详情内容在详情页内查看</div> <div>详情内容在详情页内查看</div>
<div class="text-blue-500" @click="jumpDetail">点击此处跳转</div> <div class="text-blue-500" @click="jumpDetail">点击此处跳转</div>
@ -342,6 +342,9 @@ export default {
// --(not-nvue) // --(not-nvue)
onShow() { onShow() {
if (this.showPage === 'function' && this.$refs.PatientList) {
this.$refs.PatientList.getData(true);
}
if (this.isBack) { if (this.isBack) {
this.isBack = false; this.isBack = false;
setTimeout(() => { setTimeout(() => {

Loading…
Cancel
Save