提交 9f5d5c80 编写于 作者: guangjun.yang's avatar guangjun.yang

04BEB8CAF7DE4E1AB861FC487E7ADAC8

上级 6a351cc5
...@@ -55,8 +55,8 @@ service.interceptors.request.use(config => { ...@@ -55,8 +55,8 @@ service.interceptors.request.use(config => {
if( process.env.BUILD_ENV == "development" ){ // 本地开发环境 if( process.env.BUILD_ENV == "development" ){ // 本地开发环境
// console.log('环境变量>>>> ', process.env.BUILD_ENV); // console.log('环境变量>>>> ', process.env.BUILD_ENV);
// config.headers['token'] = 'BFD804F3A3194FBBBE113962222839F6'; // config.headers['token'] = 'BFD804F3A3194FBBBE113962222839F6';
config.headers['token'] = 'F8209898391C40A0B8DBC1ED9E157291'; // config.headers['token'] = 'F8209898391C40A0B8DBC1ED9E157291';
// config.headers['token'] = '1E04ECA4D0A84702AAD5080622EE139A'; config.headers['token'] = '04BEB8CAF7DE4E1AB861FC487E7ADAC8';
}else{ }else{
config.headers['token'] = localStorage.getItem('storageToken') config.headers['token'] = localStorage.getItem('storageToken')
......
...@@ -484,4 +484,12 @@ export const updateScalesStatus = ( data ) => { ...@@ -484,4 +484,12 @@ export const updateScalesStatus = ( data ) => {
}) })
} }
// 获取量表详情
export const getFirstAccess = () => {
return fetch({
url: getFollowUpSC(`/followup/overView/firstAccess`),
method: 'get',
data: {},
})
}
此差异已折叠。
...@@ -94,6 +94,7 @@ ...@@ -94,6 +94,7 @@
<select-patient <select-patient
:isShowSelectPatient="isShowSelectPatient" :isShowSelectPatient="isShowSelectPatient"
:selectPatientDialogTitle="baseInfo.hasSelectedNum ? '继续添加' : '选择居民'"
:patientIdList="baseInfo.patientIdList" :patientIdList="baseInfo.patientIdList"
@closeSelectPatient="closeSelectPatient" @closeSelectPatient="closeSelectPatient"
@sureSelectPatient="sureSelectPatient(arguments)" @sureSelectPatient="sureSelectPatient(arguments)"
......
...@@ -81,14 +81,23 @@ ...@@ -81,14 +81,23 @@
</div> </div>
</div> </div>
</div> </div>
<!-- 协议提醒 -->
<el-dialog class="prot-dialog" title="" :visible.sync="isShowProtocolDialog" width="30%" center :show-close=false>
<p class="prot-dialog-tips-1">根据相关规定,在您开展履约之前,需要居民授权同意《云鹊平台隐私协议》,否则将导致履约量表部分信息无法录入</p>
<span slot="footer" class="dialog-footer">
<el-button size="small" type="primary" @click="isShowProtocolDialog = false"> 我知道了 </el-button>
</span>
</el-dialog>
</div> </div>
</template> </template>
<script> <script>
import BreadCrumb from "@/components/breadcrumb"; import BreadCrumb from "@/components/breadcrumb";
import { mapState, mapActions} from 'vuex' import { mapState, mapActions } from 'vuex'
import {deletePlan, getVerifyStatus} from '@/utils/followup/followapis' import { deletePlan, getVerifyStatus } from '@/utils/followup/followapis'
import { getSaasDomain } from '@/utils/index' import { getSaasDomain } from '@/utils/index'
import { getFirstAccess } from '@/utils/followup/followapis'
// import { messageBox } from '@/utils/utils' // import { messageBox } from '@/utils/utils'
export default { export default {
components:{ components:{
...@@ -150,6 +159,7 @@ ...@@ -150,6 +159,7 @@
total: 0, total: 0,
pageSizes: [10,20,50,100] pageSizes: [10,20,50,100]
}, },
isShowProtocolDialog: false,
} }
}, },
computed: { computed: {
...@@ -160,6 +170,7 @@ ...@@ -160,6 +170,7 @@
created() { created() {
}, },
mounted() { mounted() {
this.isFirstEnter();
this.init(); this.init();
}, },
watch: {}, watch: {},
...@@ -167,32 +178,16 @@ ...@@ -167,32 +178,16 @@
...mapActions('planManage', ['getPlanList', 'setResidentCrumb', 'setPlanModifyCrumb']), ...mapActions('planManage', ['getPlanList', 'setResidentCrumb', 'setPlanModifyCrumb']),
// 验证是否首次进入 ################ // 验证是否首次进入 ################
isFirstEnter() { isFirstEnter() {
// getIsFirstEnter().then((res) => { getFirstAccess().then((res) => {
getVerifyStatus().then((res) => { if(res.code == '000000') {
if(res.code !== '000000') { this.isShowProtocolDialog = res.data
this.search(1);
} else {
// this.$alert('根据相关规定,在您开展履约项目前,需要居民授权同意\《云鹊平台隐私协议\》,否则将导致履约量表部分信息无法录入', '', {
// confirmButtonText: '我知道了 ',
// showClose: false,
// // center: true,
// roundButton: true,
// customClass: 'plan-list-alert',
// callback: action => {
// return;
// }
// });
} }
}) });
}, },
init() { init() {
getVerifyStatus().then((res) => { getVerifyStatus().then((res) => {
if(res.code === '000000') { if(res.code === '000000') {
// 验证是否首次进入 ################ this.search(1);
this.isFirstEnter()
// this.search(1);
}else if(res.code === '200008'){ }else if(res.code === '200008'){
this.$confirm(`${res.message}`, '提示', { this.$confirm(`${res.message}`, '提示', {
confirmButtonText: '去认证', confirmButtonText: '去认证',
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="resident-list"> <div class="resident-list">
<div class="bread-crumb"> <div class="bread-crumb">
<el-breadcrumb separator="/" > <el-breadcrumb separator="/" >
<el-breadcrumb-item v-for="item in residentCrumb"> <el-breadcrumb-item v-for="(item, index) in residentCrumb" :key="index">
<a v-if="item.href" :href="item.href">{{item.name}}</a> <a v-if="item.href" :href="item.href">{{item.name}}</a>
<span v-else >{{item.name}}</span> <span v-else >{{item.name}}</span>
</el-breadcrumb-item> </el-breadcrumb-item>
...@@ -142,7 +142,8 @@ ...@@ -142,7 +142,8 @@
<add-patient-time <add-patient-time
:showThisPage="showAddPatientTime" :showThisPage="showAddPatientTime"
:addPatientData="addPatientData" :addPatientData="addPatientData"
@closeAddPatientTime="closeAddPatientTime"></add-patient-time> @closeAddPatientTime="closeAddPatientTime">
</add-patient-time>
</div> </div>
</template> </template>
......
...@@ -136,6 +136,13 @@ ...@@ -136,6 +136,13 @@
<no-enough :isNoEnoughShow="isNoEnoughShow" @closeTipsDialog="closeTipsDialog"></no-enough> <no-enough :isNoEnoughShow="isNoEnoughShow" @closeTipsDialog="closeTipsDialog"></no-enough>
<change-reservation :isChangeReservation="isChangeReservation" @closeChangeReserve="closeChangeReserve" :reservationForm="needPara"></change-reservation> <change-reservation :isChangeReservation="isChangeReservation" @closeChangeReserve="closeChangeReserve" :reservationForm="needPara"></change-reservation>
<followup-detail :dialogFormVisible="dialogDetailShow" @closeDetail="closeDetail" :enteringInfo="enteringInfo"></followup-detail> <followup-detail :dialogFormVisible="dialogDetailShow" @closeDetail="closeDetail" :enteringInfo="enteringInfo"></followup-detail>
<!-- 协议提醒 -->
<el-dialog class="prot-dialog" title="" :visible.sync="isShowProtocolDialog" width="30%" center :show-close=false>
<p class="prot-dialog-tips-1">根据相关规定,在您开展履约之前,需要居民授权同意《云鹊平台隐私协议》,否则将导致履约量表部分信息无法录入</p>
<span slot="footer" class="dialog-footer">
<el-button size="small" type="primary" @click="isShowProtocolDialog = false"> 我知道了 </el-button>
</span>
</el-dialog>
</div> </div>
</template> </template>
...@@ -149,6 +156,7 @@ ...@@ -149,6 +156,7 @@
import NoEnough from './dialog/no-enough'; import NoEnough from './dialog/no-enough';
import ChangeReservation from "./dialog/change-reservation"; import ChangeReservation from "./dialog/change-reservation";
import followupDetail from "@/views/followup/record-manage/dialog/followupDetail"; import followupDetail from "@/views/followup/record-manage/dialog/followupDetail";
import { getFirstAccess } from '@/utils/followup/followapis'
export default { export default {
name: "reservation-list", name: "reservation-list",
components: { components: {
...@@ -199,6 +207,7 @@ ...@@ -199,6 +207,7 @@
return row.fuPlanPatientTimesId; return row.fuPlanPatientTimesId;
}, },
statusTotal: null, //每种状态的总数 statusTotal: null, //每种状态的总数
isShowProtocolDialog: false,
} }
}, },
created() { created() {
...@@ -208,6 +217,7 @@ ...@@ -208,6 +217,7 @@
// 验证是否首次进入 ################ // 验证是否首次进入 ################
// this.init(); // this.init();
this.isFirstEnter();
if(this.$route.query.planName && this.$route.query.appointTime && this.$route.query.status) { if(this.$route.query.planName && this.$route.query.appointTime && this.$route.query.status) {
this.searchData.planName = this.$route.query.planName; this.searchData.planName = this.$route.query.planName;
this.searchData.planTimes = [this.$route.query.appointTime,this.$route.query.appointTime]; this.searchData.planTimes = [this.$route.query.appointTime,this.$route.query.appointTime];
...@@ -237,6 +247,15 @@ ...@@ -237,6 +247,15 @@
methods: { methods: {
...mapActions('reservationManage', ['getReservationList','getCheckReservation']), ...mapActions('reservationManage', ['getReservationList','getCheckReservation']),
...mapActions('recordManage', [ 'getEnteringInfo']), ...mapActions('recordManage', [ 'getEnteringInfo']),
// 验证是否首次进入 ################
isFirstEnter() {
getFirstAccess().then((res) => {
if(res.code == '000000') {
this.isShowProtocolDialog1 = res.data
}
});
},
handleSizeChangePre(pageSize) { handleSizeChangePre(pageSize) {
this.getReservationList({ this.getReservationList({
pageSize, pageSize,
......
此差异已折叠。
此差异已折叠。
<template> <template>
<div class="select-patient-dialog"> <div class="select-patient-dialog">
<el-dialog <el-dialog
title="添加居民" :title="selectPatientDialogTitle"
:visible.sync="showSelectPatient" :visible.sync="showSelectPatient"
v-if="isShowSelectPatient" v-if="isShowSelectPatient"
:before-close="clickClose" :before-close="clickClose"
...@@ -297,6 +297,7 @@ ...@@ -297,6 +297,7 @@
getRowKeys(row) { getRowKeys(row) {
return row.patientId; return row.patientId;
}, },
// 添加居民
} }
}, },
props: { props: {
...@@ -309,6 +310,10 @@ ...@@ -309,6 +310,10 @@
required: false, required: false,
default: '', default: '',
}, },
selectPatientDialogTitle: {
type: String,
default: '添加居民'
}
}, },
watch: { watch: {
isShowSelectPatient(val){ isShowSelectPatient(val){
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册