提交 22517712 编写于 作者: Yuanzhao.dai's avatar Yuanzhao.dai

工作台fixed

上级 088673c7
......@@ -12,7 +12,8 @@ export default {
// state.todayPlansList = payload.data
state.todayPlansList = [
{
planName: 'wewe',
patientName: 'wewe',
status: 1,
appointTime: '2019-03-05'
}
]
......
......@@ -10,7 +10,7 @@
<span class="type-button" :style="{background:(planBtn?'rgba(68,146,132,0.06)':'#ffffff')}" @click="changeTodayPlansList(0)">未完成</span>
<span class="type-button" :style="{background:(!planBtn?'rgba(68,146,132,0.06)':'#ffffff')}" @click="changeTodayPlansList(1)">已过期</span>
</div>
<span class="visitor-more" @click="lookMore">查看更多</span>
<span class="visitor-more" @click="lookMore(1)">查看更多</span>
</div>
<div class="visitor-info">
<el-table
......@@ -21,7 +21,7 @@
<el-table-column prop="style" label="随访方式"></el-table-column>
<el-table-column prop="content" label="操作">
<template slot-scope="scope">
<span class="text-btn">随访录入</span> | <span class="text-btn">变更随访状态</span>
<span class="text-btn">随访录入</span> | <span class="text-btn" @click="changeFollowStatus(scope.row)">变更随访状态</span>
</template>
</el-table-column>
</el-table>
......@@ -33,7 +33,7 @@
<span class="type-button" :style="{background:(appointBtn?'rgba(68,146,132,0.06)':'#ffffff')}" @click="changeTodayAppointsList(0)" style="margin-left: 10px;">未完成</span>
<span class="type-button" :style="{background:(!appointBtn?'rgba(68,146,132,0.06)':'#ffffff')}" @click="changeTodayAppointsList(1)" >已过期</span>
</div>
<span class="visitor-more" @click="lookMore">查看更多</span>
<span class="visitor-more" @click="lookMore(2)">查看更多</span>
</div>
<div class="visitor-info">
<el-table
......@@ -73,16 +73,22 @@
</el-col>
</el-row>
</div>
<change-followup-status :isShowChangeDialog="isShowChangeDialog" :statusForm="statusForm" @closeChangeStatus="closeChangeStatus()"></change-followup-status>
</div>
</template>
<script>
import BreadCrumb from '../components/breadcrumb.vue'
import { setTimeout, setInterval } from 'timers'
import ChangeFollowupStatus from "./followup/record-manage/dialog/change-followup-status";
import { mapGetters, mapState, mapActions } from 'vuex'
let vm = null
export default {
components: {
BreadCrumb
BreadCrumb,
ChangeFollowupStatus
},
data() {
return {
......@@ -94,6 +100,8 @@ export default {
messageList:[],
planBtn: true,
appointBtn: true,
isShowChangeDialog: false,
statusForm: {},
}
},
created() {
......@@ -122,8 +130,12 @@ export default {
methods: {
...mapActions('workbench', ['getTodayPlansList', 'getTodayAppointsList', 'getTodayOverview']),
// 查看更多
lookMore() {
lookMore(type) {
if(type==1) {
this.$router.push('/followup/record-manage/record-list');
} else if(type == 2) {
this.$router.push('/followup/reservation-manage/reservation-list');
}
},
// 获取系统消息数据
getSystemData() {
......@@ -157,6 +169,16 @@ export default {
},
goToReservation(planName, appointTime) {
this.$router.push({path: '/followup/reservation-manage/reservation-list', query: {planName: planName, appointTime:appointTime}});
},
closeChangeStatus(val){
this.isShowChangeDialog = val;
},
changeFollowStatus(row) {
this.statusForm = {
nickname: row.patientName,
status: row.status,
}
this.isShowChangeDialog = true
}
}
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册