Commit 5fad0ca3 authored by 刘予佳's avatar 刘予佳

审核标签

parent 4ec59f44
...@@ -44,6 +44,9 @@ export default { ...@@ -44,6 +44,9 @@ export default {
ReadForm ReadForm
}, },
props: { props: {
tabActive:{
type:String,
},
formDataList: { formDataList: {
type: Array, type: Array,
}, },
...@@ -719,7 +722,7 @@ export default { ...@@ -719,7 +722,7 @@ export default {
}, },
// formEdit:{ // formEdit:{
// }, // },
activeTab:0, activeTab:'0',
screenList: [ screenList: [
{ {
time: "2020-12-12 11:11:11", time: "2020-12-12 11:11:11",
...@@ -729,13 +732,13 @@ export default { ...@@ -729,13 +732,13 @@ export default {
], ],
} }
}, },
// watch:{ watch:{
// form(val){ tabActive(val){
// this.formEdit = val[this.activeTab] this.activeTab = val
// console.log("formReview",val) }
// } },
// },
computed:{ computed:{
//当前随访数据
formEdit:{ formEdit:{
get(){ get(){
return this.formDataList[this.activeTab] return this.formDataList[this.activeTab]
...@@ -825,9 +828,9 @@ export default { ...@@ -825,9 +828,9 @@ export default {
height: 100%; height: 100%;
background: #fafafa; background: #fafafa;
li { li {
padding: 20px 30px; padding: 16px;
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
cursor: pointer; // cursor: pointer;
.time { .time {
font-size: 14px; font-size: 14px;
margin-bottom: 8px; margin-bottom: 8px;
......
<template> <template>
<div> <div>
<el-dialog <el-dialog center :visible.sync="dialogVisible" width="40%" show-close @closed="cancelSubmit">
center
:visible.sync="dialogVisible"
width="40%"
show-close
@closed="cancelSubmit"
>
<slot name="content"></slot> <slot name="content"></slot>
<slot name="footer"></slot> <slot name="footer"></slot>
</el-dialog> </el-dialog>
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</div> </div>
</div> </div>
<div class="table-content p-24"> <div class="table-content p-24">
<follow-review :formDataList="formEdit"></follow-review> <follow-review :formDataList="formEdit" :tabActive="tabActive"></follow-review>
</div> </div>
<div class="choose-handle p-24"> <div class="choose-handle p-24">
<span v-if="!editStatus">请选择审核结果:</span> <span v-if="!editStatus">请选择审核结果:</span>
...@@ -68,6 +68,13 @@ ...@@ -68,6 +68,13 @@
></el-input> ></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
<div class="tag-form">
<el-tag
:key="index"
v-for="(item,index) in tagList"
:disable-transitions="false"
>{{item.text}}</el-tag>
</div>
</div> </div>
</div> </div>
<div class="btn"> <div class="btn">
...@@ -87,7 +94,10 @@ ...@@ -87,7 +94,10 @@
</div> </div>
<div v-if="curBtn != 1" class="showTips">该病例审核{{ curBtn == 2 ? "不合格原因" : "驳回修改建议" }}提交成功!</div> <div v-if="curBtn != 1" class="showTips">该病例审核{{ curBtn == 2 ? "不合格原因" : "驳回修改建议" }}提交成功!</div>
<div class="btn"> <div class="btn">
<el-button type="primary" @click="nextExample">下一例</el-button> <el-button type="primary" @click="nextExample" :loading="auditLoading">
<span v-if="tabActive < this.formEdit.length - 1">确认并进入下一列审核</span>
<span v-else>确 定</span>
</el-button>
</div> </div>
</template> </template>
</public-dialog> </public-dialog>
...@@ -104,6 +114,7 @@ export default { ...@@ -104,6 +114,7 @@ export default {
medicalCombination:'无锡市人民医院医联体', medicalCombination:'无锡市人民医院医联体',
mcCount:7, mcCount:7,
editStatus: false, //进入的状态是第一次审核还是修改审核,false为第一次,true为修改 editStatus: false, //进入的状态是第一次审核还是修改审核,false为第一次,true为修改
tabActive:'0', //当前随访病例
formEdit:[ formEdit:[
{ {
name:"djksh", name:"djksh",
...@@ -120,7 +131,8 @@ export default { ...@@ -120,7 +131,8 @@ export default {
G_17:"6" G_17:"6"
}, },
],//填报数据 ],//填报数据
form: {}, auditLoading:false,
form: {}, //审核表单
rules: { rules: {
reson: [{ required: true, message: "请填写", trigger: "blur" }], reson: [{ required: true, message: "请填写", trigger: "blur" }],
}, },
...@@ -142,6 +154,17 @@ export default { ...@@ -142,6 +154,17 @@ export default {
curBtn: 0, curBtn: 0,
curComponent: "followReview", curComponent: "followReview",
confirmStatus: false, confirmStatus: false,
tagList:[
{
text:"不合格原因"
},
{
text:"不合格原因不合格原因"
},
{
text:"不合格原因"
},
]
} }
}, },
watch: {}, watch: {},
...@@ -215,8 +238,13 @@ export default { ...@@ -215,8 +238,13 @@ export default {
this.$refs.publicDialog.dialogVisible = true this.$refs.publicDialog.dialogVisible = true
}, },
nextExample() { nextExample() {
if(Number(this.tabActive) < this.formEdit.length - 1){
this.tabActive=String(Number(this.tabActive) + 1)
}
console.log('tab激活',this.tabActive)
this.onCancel() this.onCancel()
}, },
//随访数据
async getDetail(){ async getDetail(){
this.loading = true this.loading = true
let res = await getFollowUnCheckDetail(this.unionId) let res = await getFollowUnCheckDetail(this.unionId)
...@@ -225,6 +253,21 @@ export default { ...@@ -225,6 +253,21 @@ export default {
} }
this.loading = false this.loading = false
}, },
//审核
async getDetail(){
this.auditLoading = true
let params={
id: "1",
checkStatus: this.curBtn,
checkNote: this.form.reason,
patientId: this.unionId
}
let res = await putFollowCheck(params)
if(res.code==1){
// this.formEdit=res.data[0] //调试注释
}
this.auditLoading = false
},
}, },
} }
</script> </script>
...@@ -298,7 +341,7 @@ export default { ...@@ -298,7 +341,7 @@ export default {
.btn { .btn {
margin-top: 20px; margin-top: 20px;
.el-button { .el-button {
width: 100px; // width: 100px;
height: 32px; height: 32px;
} }
} }
...@@ -322,4 +365,11 @@ export default { ...@@ -322,4 +365,11 @@ export default {
padding-top: 20px; padding-top: 20px;
padding-bottom: 20px; padding-bottom: 20px;
} }
.tag-form {
::v-deep {
.el-tag {
margin-right: 12px;
}
}
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment