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

审核标签

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