提交 d3308200 编写于 作者: yi.li's avatar yi.li

Merge branch 'dev-followUp-20190312' of...

Merge branch 'dev-followUp-20190312' of 192.168.110.53:com.pica.cloud.education.frontend/pica.cloud.web-education-admin into dev-followUp-20190312
...@@ -6,7 +6,8 @@ import {getPlanList, ...@@ -6,7 +6,8 @@ import {getPlanList,
getGroupList, getGroupList,
getResidentDetail, getResidentDetail,
getBasicData, getBasicData,
changePlan} from '../../utils/followup/followapis' changePlan,
createFollowPlan} from '../../utils/followup/followapis'
export default { export default {
namespaced: true, namespaced: true,
...@@ -65,6 +66,13 @@ export default { ...@@ -65,6 +66,13 @@ export default {
}, },
}, },
actions: { actions: {
setFollowPlan(context, payload) {
createFollowPlan({
...payload
}).then(({data})=> {
// console.log('成功',data)
})
},
getResidentList(context, payload) { getResidentList(context, payload) {
const { pageSize, pageNum } = context.state.residentList; const { pageSize, pageNum } = context.state.residentList;
getResidentList({ getResidentList({
......
...@@ -14,7 +14,7 @@ service.interceptors.request.use(config => { ...@@ -14,7 +14,7 @@ service.interceptors.request.use(config => {
if( config.headers['sysCode']==undefined) { if( config.headers['sysCode']==undefined) {
config.headers['sysCode'] = 12 config.headers['sysCode'] = 12
} }
config.headers['token'] = 'D74A6C7C61564EB1B3DC83251F33D173' config.headers['token'] = '807108DB003F4304A1037E8CD15BAA93'
//config.headers['token'] = localStorage.getItem('storageToken') //config.headers['token'] = localStorage.getItem('storageToken')
config.headers['deviceInfo'] = JSON.stringify({ "app_channel": "", "app_mac": "", "app_uuid": "", "app_version": "", "device_brand": "", "device_ip": "", "device_model": "", "device_net": "", "device_ops": "", "resolution_wh": "", "system_level": "", "device_type": '10' }) config.headers['deviceInfo'] = JSON.stringify({ "app_channel": "", "app_mac": "", "app_uuid": "", "app_version": "", "device_brand": "", "device_ip": "", "device_model": "", "device_net": "", "device_ops": "", "resolution_wh": "", "system_level": "", "device_type": '10' })
// if (config.data && config.data.setEntry) { // if (config.data && config.data.setEntry) {
...@@ -22,7 +22,7 @@ service.interceptors.request.use(config => { ...@@ -22,7 +22,7 @@ service.interceptors.request.use(config => {
// if(config.data.token){ // if(config.data.token){
// config.headers['token'] = config.data.token || '63C3FA92AF8A45A48B31EB7FD97B95EB' // config.headers['token'] = config.data.token || '63C3FA92AF8A45A48B31EB7FD97B95EB'
// } // }
// config.headers['deviceInfo'] = JSON.stringify({ "app_channel": "", "app_mac": "", "app_uuid": "", "app_version": "", "device_brand": "", "device_ip": "", "device_model": "", "device_net": "", "device_ops": "", "resolution_wh": "", "system_level": "", "device_type": '10' }) // config.headers['deviceInfo'] = JSON.stringify({ "app_channel": "", "app_mac": "", "app_uuid": "", "app_version": "", "device_brand": "", "device_ip": "", "device_model": "", "device_net": "", "device_ops": "", "resolution_wh": "", "system_level": "", "device_type": '10' })
// } // }
return config return config
...@@ -35,10 +35,10 @@ service.interceptors.request.use(config => { ...@@ -35,10 +35,10 @@ service.interceptors.request.use(config => {
service.interceptors.response.use( service.interceptors.response.use(
response => { response => {
const res = response.data const res = response.data
/* /*
baseUrl时,返回000000为成功 baseUrl时,返回000000为成功
apiUrl时,返回200为成功 apiUrl时,返回200为成功
*/ */
// if (res.code !== '000000') { // if (res.code !== '000000') {
// return Promise.reject('error') // return Promise.reject('error')
// } else { // } else {
......
...@@ -40,6 +40,15 @@ export const getTodayPlans = (params) => { ...@@ -40,6 +40,15 @@ export const getTodayPlans = (params) => {
}; };
/*计划管理*/ /*计划管理*/
export const createFollowPlan = (data) => {
return fetch({
headers,
url: getFollowUpSC(`/followup/plans`),
method: 'post',
data: data,
description: '新增、修改随访计划',
},)
}
export const getPlanList = (params) => { export const getPlanList = (params) => {
return fetch({ return fetch({
headers, headers,
...@@ -185,17 +194,6 @@ export const getEnteringInfo = (patientId, fuPlanPatientTimesId) => { ...@@ -185,17 +194,6 @@ export const getEnteringInfo = (patientId, fuPlanPatientTimesId) => {
},) },)
} }
//新增随访计划
export const createFollowPlan = (data) => {
return fetch({
headers,
url: getFollowUpSC(`/followup/plans`),
method: 'post',
data: data,
description: '新增随访计划',
},)
}
//获取新建计划居民列表 //获取新建计划居民列表
export const getPlanPatientsList = (data) =>{ export const getPlanPatientsList = (data) =>{
data = data || {} data = data || {}
......
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
<el-select v-model="timeForm.timeNo" placeholder="请选择"> <el-select v-model="timeForm.timeNo" placeholder="请选择">
<el-option <el-option
v-for="item in indexOptions" v-for="item in indexOptions"
:key="item.value" :key="item.no"
:label="item.label" :label="item.value"
:value="item.label"> :value="item.no">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -27,33 +27,35 @@ ...@@ -27,33 +27,35 @@
</el-form-item> </el-form-item>
<el-form-item label="随访方式" prop="type"> <el-form-item label="随访方式" prop="type">
<el-radio-group v-model="timeForm.type" size="small"> <el-radio-group v-model="timeForm.type" size="small">
<el-radio :label="1">门诊随访</el-radio> <el-radio v-for="item in followTypeList" :label="item.no">{{item.value}}</el-radio>
<el-radio :label="2">上门随访</el-radio>
<el-radio :label="3">电话随访</el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item label="提醒医生预约居民"> <el-form-item label="提醒医生预约居民">
<el-select <el-select
v-model="timeForm.remindList[0].startDays" v-model="timeForm.remindDay"
multiple multiple
:multiple-limit=3 :multiple-limit=3
placeholder="请选择"> placeholder="请选择">
<el-option <el-option
v-for="item in remindOptions" v-for="item in remindOptions"
:key="item.value" :key="item.no"
:label="item.label" :label="item.value"
:value="item.value"> :value="item.no">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="推送患教"> <el-form-item label="推送患教">
<div style="display: flex"> <div style="display: flex">
<el-select v-model="timeForm.pushContentList[0].startDays" placeholder="选择推送时间" clearable> <el-select
v-model="timeForm.pushDay"
placeholder="选择推送时间"
clearable
>
<el-option <el-option
v-for="item in pushTimeOptions" v-for="item in pushTimeOptions"
:key="item.value" :key="item.no"
:label="item.label" :label="item.value"
:value="item.value"> :value="item.no">
</el-option> </el-option>
</el-select> </el-select>
<el-button plain class="ml20" @click="goSelectCartoon" v-if="!timeForm.hasSelected">选择健康漫画</el-button> <el-button plain class="ml20" @click="goSelectCartoon" v-if="!timeForm.hasSelected">选择健康漫画</el-button>
...@@ -70,15 +72,15 @@ ...@@ -70,15 +72,15 @@
</div> </div>
<el-form-item label="随访登记表"> <el-form-item label="随访登记表">
<el-select <el-select
v-model="timeForm.followupList[0].resourceId" v-model="timeForm.followResourceId"
multiple multiple
:multiple-limit=2 :multiple-limit=2
placeholder="请选择"> placeholder="请选择">
<el-option <el-option
v-for="item in formOptions" v-for="item in formOptions"
:key="item.value" :key="item.no"
:label="item.label" :label="item.value"
:value="item.value"> :value="item.no">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -90,18 +92,6 @@ ...@@ -90,18 +92,6 @@
import _ from 'lodash'; import _ from 'lodash';
import SelectCartoon from '@/views/followup/plan-manage/dialog/select-cartoon'; import SelectCartoon from '@/views/followup/plan-manage/dialog/select-cartoon';
// const timeFormInit = {
// formRef: '',
// followupTime: '',
// followupMark: '',
// followupWay: '',
// pushTime: '',
// remindTime: [],
// followupForm: [],
// hasSelected: '',
// };
export default { export default {
components: { components: {
SelectCartoon}, SelectCartoon},
...@@ -110,59 +100,29 @@ ...@@ -110,59 +100,29 @@
isSelectCartoon: false, isSelectCartoon: false,
indexOptions: [ indexOptions: [
{ {
value: '0', no: 0,
label: '0' value: 0
}, {
value: '1',
label: '1'
}, {
value: '2',
label: '2'
}, {
value: '3',
label: '3'
},
],
remindOptions: [
{
value: '0',
label: '开始前30天'
}, { }, {
value: '1', no: 1,
label: '开始前20天' value: 1
}, }
{
value: '2',
label: '开始前10天'
},
],
pushTimeOptions: [
{
value: '0',
label: '开始前7天'
}, {
value: '1',
label: '开始前3天'
},
{
value: '2',
label: '当天'
},
], ],
formOptions: [ formOptions: [
{ {
value: '0', no: 0,
label: '随访登记表1' value: '随访登记表1'
}, { }, {
value: '1', no: 1,
label: '随访登记表2' value: '随访登记表2'
}, },
{ {
value: '2', no: 2,
label: '随访登记表3' value: '随访登记表3'
}, },
], ],
followResourceId: '',
pushDay: '',
remindDay: '',
timeFormRules: { timeFormRules: {
timeNo: [{ required: true, message: '请添加随访时间', trigger: 'change' }], timeNo: [{ required: true, message: '请添加随访时间', trigger: 'change' }],
timeUnit: [{ required: true, message: '请添加随访时间', trigger: 'change' }], timeUnit: [{ required: true, message: '请添加随访时间', trigger: 'change' }],
...@@ -175,22 +135,19 @@ ...@@ -175,22 +135,19 @@
type: Object, type: Object,
}, },
valBegin: Boolean, valBegin: Boolean,
markOptions:Array markOptions:Array,
followTypeList:Array,
remindOptions:Array,
pushTimeOptions:Array,
}, },
watch: { watch: {
valBegin(val){ valBegin(val){
if(val){ if(val){
// console.log('开始校验')
this.$refs[this.timeForm.formRef].validate((valid) => { this.$refs[this.timeForm.formRef].validate((valid) => {
// console.log(valid)
this.$emit('checkValid',valid) this.$emit('checkValid',valid)
}); });
} }
} }
},
created(){
}, },
methods: { methods: {
getNowTime() { getNowTime() {
......
...@@ -21,12 +21,15 @@ ...@@ -21,12 +21,15 @@
</div> </div>
<div class="form-div" v-if="activeTab != 'setNewRef'"> <div class="form-div" v-if="activeTab != 'setNewRef'">
<div :key="timeFormHas.formRef" v-for="(timeFormHas, index) in setTimeNodeList1" :label="index"> <div v-for="(timeFormHas, index) in setTimeNodeList1" :key="index" :label="index">
<set-time-form <set-time-form
v-if="index == activeTab" v-if="index == activeTab"
:timeForm="timeFormHas" :timeForm="timeFormHas"
:valBegin="valBegin" :valBegin="valBegin"
:markOptions="markOptions" :markOptions="markOptions"
:remindOptions="remindOptions"
:pushTimeOptions="pushTimeOptions"
:followTypeList="followTypeList"
@checkValid="checkValid" @checkValid="checkValid"
/> />
</div> </div>
...@@ -36,8 +39,11 @@ ...@@ -36,8 +39,11 @@
<set-time-form <set-time-form
:timeForm="timeForm" :timeForm="timeForm"
:valBegin="valBegin" :valBegin="valBegin"
@checkValid="checkValid"
:markOptions="markOptions" :markOptions="markOptions"
:remindOptions="remindOptions"
:pushTimeOptions="pushTimeOptions"
:followTypeList="followTypeList"
@checkValid="checkValid"
/> />
</div> </div>
</div> </div>
...@@ -59,30 +65,14 @@ ...@@ -59,30 +65,14 @@
type: '',//随访方式 type: '',//随访方式
timeNo: '',//随访时间 timeNo: '',//随访时间
timeUnit: '',//随访时间单位 timeUnit: '',//随访时间单位
remindList: [ //提醒医生预约提前天数 remindList: [],//提醒医生预约提前天数
{ pushContentList: [],//推送患教提前天数 漫画id
startDays:'' followupList: [],//随访量表id
}
],
pushContentList: [
{
resourceId: "",//漫画id
startDays: ""//推送患教提前天数
}
],
followupList: [//随访量表id
{
resourceId: "",//随访量表id
}
],
// followupTime: '',
// followupMark: '',
// followupWay: '',
// pushTime: '',
// remindTime: [],
// followupForm: [],
hasSelected: '', hasSelected: '',
isDisabled: false, isDisabled: false,
remindDay: '',
pushDay: '',
followResourceId: ''
}; };
...@@ -99,62 +89,10 @@ ...@@ -99,62 +89,10 @@
currentFormRef: 1, currentFormRef: 1,
showSetBtn: true, showSetBtn: true,
timeForm: _.cloneDeep(timeFormInit), timeForm: _.cloneDeep(timeFormInit),
indexOptions: [ markOptions: [],
{ followTypeList:[],
value: '0', remindOptions: [],
label: '0' pushTimeOptions: [],
}, {
value: '1',
label: '1'
}, {
value: '2',
label: '2'
}, {
value: '3',
label: '3'
},
],
markOptions: [
],
remindOptions: [
{
value: '0',
label: '开始前30天'
}, {
value: '1',
label: '开始前20天'
},
{
value: '2',
label: '开始前10天'
},
],
pushTimeOptions: [
{
value: '0',
label: '开始前7天'
}, {
value: '1',
label: '开始前3天'
},
{
value: '2',
label: '当天'
},
],
formOptions: [
{
value: '0',
label: '随访登记表1'
}, {
value: '1',
label: '随访登记表2'
},
{
value: '2',
label: '随访登记表3'
},
],
timeFormRules: { timeFormRules: {
timeNo: [{ required: true, message: '请添加随访时间', trigger: 'change' }], timeNo: [{ required: true, message: '请添加随访时间', trigger: 'change' }],
timeUnit: [{ required: true, message: '请添加随访时间', trigger: 'change' }], timeUnit: [{ required: true, message: '请添加随访时间', trigger: 'change' }],
...@@ -188,13 +126,7 @@ ...@@ -188,13 +126,7 @@
this.timeForm.isDisabled = true; this.timeForm.isDisabled = true;
this.timeForm.timeUnit = this.setTimeNodeList[0].timeUnit; this.timeForm.timeUnit = this.setTimeNodeList[0].timeUnit;
} }
// 随访时间节点单位 this.getConstdata()
getBasicData({
numList: 'P017'
}).then(res=>{
console.log(res)
this.markOptions = res.data['P017']
})
}, },
watch: { watch: {
valBegin(val){ valBegin(val){
...@@ -227,10 +159,45 @@ ...@@ -227,10 +159,45 @@
} }
}, },
methods: { methods: {
// 一次性获取常量接口数据
getConstdata(){
// 随访时间节点单位
getBasicData({numList: 'P017'}).then(res=>{
this.markOptions = res.data['P017']
})
// 随访方式
getBasicData({numList: 'P212'}).then(res=>{
this.followTypeList = res.data['P212']
})
// 提醒医生天数
getBasicData({numList: 'P213'}).then(res=>{
this.remindOptions = res.data['P213']
})
// 推送患教提醒天数
getBasicData({numList: 'P214'}).then(res=>{
this.pushTimeOptions = res.data['P214']
})
},
checkValid(val){ checkValid(val){
// console.log(val)
this.valBegin = false this.valBegin = false
if (val) { if (val) {
this.timeForm.remindDay.forEach((item)=>{
this.timeForm.remindList.push({
startDays: item
})
})
this.timeForm.pushContentList.push({
startDays: this.timeForm.pushDay,
resourceId: ''
})
this.timeForm.followResourceId.forEach((item)=>{
this.timeForm.followupList.push({
resourceId: item
})
})
this.setTimeNodeList.push(this.timeForm); this.setTimeNodeList.push(this.timeForm);
this.timeForm = _.cloneDeep(timeFormInit); this.timeForm = _.cloneDeep(timeFormInit);
this.timeForm.formRef = this.getNowTime(); this.timeForm.formRef = this.getNowTime();
......
...@@ -44,9 +44,9 @@ ...@@ -44,9 +44,9 @@
clearable> clearable>
<el-option <el-option
v-for="item in templateOptions" v-for="item in templateOptions"
:key="item.value" :key="item.no"
:label="item.label" :label="item.value"
:value="item.value"> :value="item.no">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -120,10 +120,6 @@ ...@@ -120,10 +120,6 @@
time:'',//随访开始时间 time:'',//随访开始时间
remarksStatus: '', remarksStatus: '',
fPlanTimeReqList: [],//时间节点列表 fPlanTimeReqList: [],//时间节点列表
// followupTemplate: '',
// startTime: '',
// followupKind: '',
hasSelectedNum: 0, hasSelectedNum: 0,
}, },
isShowSelectPatient: false, isShowSelectPatient: false,
...@@ -131,25 +127,11 @@ ...@@ -131,25 +127,11 @@
hasSelectedList: [], hasSelectedList: [],
templateOptions: [ templateOptions: [
{ {
value: '0', no: 0,
label: '随访模板一' value: '目前请选择自定义模板作为测试'
}, {
value: '1',
label: '随访模板二'
}, {
value: '2',
label: '随访模板三'
} }
], ],
kindOptions: [ kindOptions: [],
// {
// value: '0',
// label: '上门随访'
// }, {
// value: '1',
// label: '术后随访'
// }
],
rules: { rules: {
name: [{ required: true, message: '请输入随访计划名称', trigger: 'blur' }], name: [{ required: true, message: '请输入随访计划名称', trigger: 'blur' }],
hasSelectedNum: [{ required: true, message: '请添加随访居民', trigger: 'change' }], hasSelectedNum: [{ required: true, message: '请添加随访居民', trigger: 'change' }],
...@@ -163,7 +145,6 @@ ...@@ -163,7 +145,6 @@
getBasicData({ getBasicData({
numList: 'P211' numList: 'P211'
}).then(res=>{ }).then(res=>{
console.log(res)
this.kindOptions = res.data['P211'] this.kindOptions = res.data['P211']
}) })
}, },
...@@ -213,10 +194,12 @@ ...@@ -213,10 +194,12 @@
// 关闭弹层,继续创建 // 关闭弹层,继续创建
}).catch(() => { }).catch(() => {
// 确定放弃,跳出当前编辑页面 // 确定放弃,跳出当前编辑页面
this.getTimeNodeList([])
this.$router.push({path: '/followup/plan-manage/plan-list'}) this.$router.push({path: '/followup/plan-manage/plan-list'})
}); });
}, },
nextClick(formName) { nextClick(formName) {
this.getTimeNodeList([]);
//为方便调试,不做校验 //为方便调试,不做校验
// this.activeTab = 'second'; // this.activeTab = 'second';
//用作校验 //用作校验
...@@ -240,7 +223,6 @@ ...@@ -240,7 +223,6 @@
}, },
saveEdit() { saveEdit() {
this.baseInfo.fPlanTimeReqList = this.setTimeNodeList this.baseInfo.fPlanTimeReqList = this.setTimeNodeList
console.log(this.baseInfo)
createFollowPlan(this.baseInfo) createFollowPlan(this.baseInfo)
// console.log('保存setTimeNodeList1',this.$refs.getTimeNodeList.setTimeNodeList1) // console.log('保存setTimeNodeList1',this.$refs.getTimeNodeList.setTimeNodeList1)
// console.log('store中的setTimeNodeList数据为=>',JSON.stringify(this.setTimeNodeList)) // console.log('store中的setTimeNodeList数据为=>',JSON.stringify(this.setTimeNodeList))
......
...@@ -45,12 +45,14 @@ ...@@ -45,12 +45,14 @@
</div> </div>
</div> </div>
</div> </div>
<div class="time-nodes"> <div class="time-nodes" >
<p class="title">随访时间节点</p> <p class="title">随访时间节点</p>
<el-radio-group v-model="timeNodes" size="small"> <div class="node-div">
<el-radio-button :key="item.id" v-for="item in planDetail.fPlanTimeDtoList" :label="item.id">{{item.timeStr}}</el-radio-button> <el-radio-group v-model="timeNodes" size="small">
</el-radio-group> <el-radio-button :key="item.id" v-for="item in planDetail.fPlanTimeReqList" :label="item.id">{{item.timeStr}}</el-radio-button>
<div class="followup-contents"> </el-radio-group>
</div>
<div class="followup-contents" v-if="nodeContent.length">
<div class="content-div"> <div class="content-div">
<div class="c-title">随访方式:</div> <div class="c-title">随访方式:</div>
<div class="c-content">{{nodeContent[0].typeStr}}</div> <div class="c-content">{{nodeContent[0].typeStr}}</div>
...@@ -104,7 +106,7 @@ ...@@ -104,7 +106,7 @@
timeNodes: null,//时间节点 timeNodes: null,//时间节点
showFollowTime: false, //是否展示全部时间 showFollowTime: false, //是否展示全部时间
thisNodeContents: {}, thisNodeContents: {},
nodeContent: {}, //节点详情 nodeContent: [], //节点详情
} }
}, },
created() { created() {
...@@ -138,13 +140,15 @@ ...@@ -138,13 +140,15 @@
}, },
watch: { watch: {
planDetail(val) { planDetail(val) {
this.timeNodes = val.fPlanTimeDtoList[0].id if(val.fPlanTimeReqList.length){
this.timeNodes = val.fPlanTimeReqList[0].id
}
}, },
timeNodes(val) { timeNodes(val) {
this.nodeContent = this.planDetail.fPlanTimeDtoList.filter(function(item){ this.nodeContent = this.planDetail.fPlanTimeReqList.filter(function(item){
return item.id == val; return item.id == val;
}) });
console.log('this.nodeContent',this.nodeContent[0])
} }
} }
} }
...@@ -195,6 +199,20 @@ ...@@ -195,6 +199,20 @@
padding: 25px; padding: 25px;
} }
.node-div {
width: 100%;
overflow-x: scroll;
overflow-y: hidden;
white-space: nowrap;
&::-webkit-scrollbar{
height: 6px;
}
&::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
border-radius: 10px;
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
background: rgba(0,0,0,0.1);
}
}
} }
} }
} }
......
...@@ -129,7 +129,14 @@ ...@@ -129,7 +129,14 @@
}) })
}, },
methods: { methods: {
...mapActions('planManage', ['getPlanDetail', 'getNodeTimeList', 'getResidentList', 'getRemarkOption', 'getTimeNodeList']), ...mapActions('planManage', [
'getPlanDetail',
'getNodeTimeList',
'getResidentList',
'getRemarkOption',
'getTimeNodeList',
'setFollowPlan'
]),
selectPatientHandler() { selectPatientHandler() {
this.isShowSelectPatient = true; this.isShowSelectPatient = true;
}, },
...@@ -167,14 +174,15 @@ ...@@ -167,14 +174,15 @@
saveModify() { saveModify() {
this.$confirm('是否确认保存修改内容?', '', { this.$confirm('是否确认保存修改内容?', '', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
// 关闭弹层,继续创建 // 关闭弹层,继续创建
this.$message({ this.modifyFollowPlan(this.planDetail)
/*this.$message({
message: '修改成功!', message: '修改成功!',
type: 'success' type: 'success'
}); });*/
this.$router.back(-1) this.$router.back(-1)
}).catch(() => { }).catch(() => {
// 确定放弃,跳出当前编辑页面 // 确定放弃,跳出当前编辑页面
...@@ -194,8 +202,8 @@ ...@@ -194,8 +202,8 @@
watch: { watch: {
planDetail(val) { planDetail(val) {
// this.setTimeNodeList = val.fPlanTimeDtoList // this.setTimeNodeList = val.fPlanTimeDtoList
this.setTimeNodeListOnCom(val.fPlanTimeDtoList) this.setTimeNodeListOnCom(val.fPlanTimeReqList)
} },
} }
} }
</script> </script>
......
...@@ -64,9 +64,11 @@ ...@@ -64,9 +64,11 @@
</div> </div>
<div class="time-nodes"> <div class="time-nodes">
<p class="title">随访时间节点</p> <p class="title">随访时间节点</p>
<el-radio-group v-model="timeNodes" size="small"> <div class="node-div">
<el-radio-button :key="item.nodeId" v-for="item in timeNodeList" :label="item.nodeId">{{item.timeNodeContent}}</el-radio-button> <el-radio-group v-model="timeNodes" size="small">
</el-radio-group> <el-radio-button :key="item.nodeId" v-for="item in timeNodeList" :label="item.nodeId">{{item.timeNodeContent}}</el-radio-button>
</el-radio-group>
</div>
<div class="followup-contents"> <div class="followup-contents">
<div class="content-div"> <div class="content-div">
<div class="c-title">随访方式:</div> <div class="c-title">随访方式:</div>
...@@ -222,6 +224,20 @@ ...@@ -222,6 +224,20 @@
padding: 25px; padding: 25px;
} }
.node-div {
width: 100%;
overflow-x: scroll;
overflow-y: hidden;
white-space: nowrap;
&::-webkit-scrollbar{
height: 6px;
}
&::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
border-radius: 10px;
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
background: rgba(0,0,0,0.1);
}
}
} }
} }
} }
......
...@@ -179,7 +179,7 @@ export default { ...@@ -179,7 +179,7 @@ export default {
}, },
changeFollowStatus(row) { changeFollowStatus(row) {
this.statusForm = { this.statusForm = {
fuPlanPatientTimesId: row.fuPlanPatientTimesId, fuPlanPatientTimesId: row.planPatientTimesId,
patientId: row.patientId, patientId: row.patientId,
nickname: row.patientName, nickname: row.patientName,
status: row.status, status: row.status,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册