提交 28e983eb 编写于 作者: tao.wu's avatar tao.wu

1、隐藏变更预约按钮和变更预约状态按钮 2、判断是不是新量表

上级 6ad56abd
...@@ -185,8 +185,12 @@ ...@@ -185,8 +185,12 @@
window.open(url) window.open(url)
}, },
goToScale(val) { goToScale(val) {
this.$router.push({path: '/followup/record-manage/form-template', console.log(`goToScale`,val);
if(val.resourceId.indexOf('SCALE')>-1){
this.$router.push({path: '/followup/record-manage/form-template',
query: {doctorId: val.doctorId, scaleNo: val.resourceId, planPatientsTimesId: val.planPatientsTimesId,planTimesId : val.planTimesId, showBtn: 0}}); query: {doctorId: val.doctorId, scaleNo: val.resourceId, planPatientsTimesId: val.planPatientsTimesId,planTimesId : val.planTimesId, showBtn: 0}});
}
} }
}, },
watch: { watch: {
......
...@@ -149,8 +149,12 @@ ...@@ -149,8 +149,12 @@
this.$emit('closeDetail',false) this.$emit('closeDetail',false)
}, },
goToScale(val) { goToScale(val) {
this.$router.push({path: '/followup/record-manage/form-template', console.log(`goToScale`,val);
if(val.scaleNo.indexOf('SCALE')>-1){
this.$router.push({path: '/followup/record-manage/form-template',
query: {doctorId: this.enteringInfo.doctorId, scaleNo: val.scaleNo, planPatientsTimesId: this.enteringInfo.planPatientsTimesId,planTimesId : val.planTimesId, showBtn: 1}}); query: {doctorId: this.enteringInfo.doctorId, scaleNo: val.scaleNo, planPatientsTimesId: this.enteringInfo.planPatientsTimesId,planTimesId : val.planTimesId, showBtn: 1}});
}
} }
}, },
filters: { filters: {
......
...@@ -89,12 +89,12 @@ ...@@ -89,12 +89,12 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" fixed="right" align="center" min-width="210"> <el-table-column label="操作" fixed="right" align="center" min-width="210">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button class="btn-right-class" type="text" @click="editRow(scope.row)">履约录入</el-button>| <el-button class="btn-right-class" type="text" @click="editRow(scope.row)">履约录入</el-button>
<el-button <!-- <el-button
class="btn-right-class" class="btn-right-class"
type="text" type="text"
@click="changeStatusRow(scope.row)" @click="changeStatusRow(scope.row)"
>变更履约状态</el-button> >变更履约状态</el-button> -->
<!--|<el-button type="text" @click="sendRow(scope.row)">发送患教</el-button>--> <!--|<el-button type="text" @click="sendRow(scope.row)">发送患教</el-button>-->
</template> </template>
</el-table-column> </el-table-column>
...@@ -408,7 +408,11 @@ export default { ...@@ -408,7 +408,11 @@ export default {
}; };
this.scaleNo = item.resourceId; this.scaleNo = item.resourceId;
// this.patientIds = [this.ScaleData.patientId]; // this.patientIds = [this.ScaleData.patientId];
this.uniteValidateAction(); console.log('goFormView',item);
if(item.resourceId.indexOf('SCALE')>-1){
this.uniteValidateAction();
}
}, },
closeForm() { closeForm() {
this.selectFormShow = false; this.selectFormShow = false;
......
...@@ -112,8 +112,8 @@ ...@@ -112,8 +112,8 @@
label="操作" label="操作"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button class="btn-right-class" type="text" @click="sendReservationRow(scope.row)">发送预约</el-button>| <el-button class="btn-right-class" type="text" @click="sendReservationRow(scope.row)">发送预约</el-button>
<el-button class="btn-right-class" type="text" @click="changeReserveClick(scope.row)">变更预约</el-button> <!-- <el-button class="btn-right-class" type="text" @click="changeReserveClick(scope.row)">变更预约</el-button> -->
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册