修改
This commit is contained in:
parent
9a62828749
commit
dea35c35ae
@ -10,9 +10,18 @@ export function getRouteNodeList(query) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//获取患者信息
|
//获取患者信息
|
||||||
export function getByPatientId(patientld) {
|
export function getByPatientId(patientId) {
|
||||||
return request({
|
return request({
|
||||||
url: `/manage/visitRecord/getByPatientId/${patientld}`,
|
url: `/manage/visitRecord/getByPatientId/${patientId}`,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
//审核
|
||||||
|
export function audit(data) {
|
||||||
|
return request({
|
||||||
|
url: `/manage/signnode/audit`,
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
}
|
}
|
||||||
@ -2,7 +2,7 @@
|
|||||||
<div style="background-color:#F1F3F5">
|
<div style="background-color:#F1F3F5">
|
||||||
<div slot="footer" style="float: right;padding:10px 10px 0 0;height:35px">
|
<div slot="footer" style="float: right;padding:10px 10px 0 0;height:35px">
|
||||||
<el-button size="mini" @click="cancel">取 消</el-button>
|
<el-button size="mini" @click="cancel">取 消</el-button>
|
||||||
<el-button size="mini" type="primary">审核通过</el-button>
|
<el-button size="mini" type="primary" @click="auditing">审核通过</el-button>
|
||||||
</div>
|
</div>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="cardleft">
|
<div class="cardleft">
|
||||||
@ -142,7 +142,8 @@
|
|||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getRouteNodeList,
|
getRouteNodeList,
|
||||||
getByPatientId
|
getByPatientId,
|
||||||
|
audit
|
||||||
} from '@/api/manage/Auditing.js'
|
} from '@/api/manage/Auditing.js'
|
||||||
import { getAge } from "@/utils/age";
|
import { getAge } from "@/utils/age";
|
||||||
export default {
|
export default {
|
||||||
@ -160,6 +161,35 @@ export default {
|
|||||||
this.info();
|
this.info();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
//审核
|
||||||
|
auditing() {
|
||||||
|
this.$prompt('请输入审核备注信息?', '提示', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
cancelButtonText: '取消',
|
||||||
|
}).then(({ value }) => {
|
||||||
|
let obj = {
|
||||||
|
routeCheckPerson: JSON.parse(localStorage.getItem('user')).nickName,
|
||||||
|
routeCheckRemark: value,
|
||||||
|
routeCheckStatus: 'AGREE',
|
||||||
|
manageRouteNodeIds: this.nodelist.map(e => e.manageRouteId)
|
||||||
|
}
|
||||||
|
audit(obj).then(res => {
|
||||||
|
this.$notify({
|
||||||
|
type: 'success',
|
||||||
|
title: '提示',
|
||||||
|
message: '审核通过,即将返回上一页',
|
||||||
|
duration: 3000
|
||||||
|
});
|
||||||
|
setTimeout(() => {
|
||||||
|
this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
|
||||||
|
this.$router.push({
|
||||||
|
path: "/task/manualReview",
|
||||||
|
});
|
||||||
|
})
|
||||||
|
}, 3000);
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
info() {
|
info() {
|
||||||
getByPatientId(this.$route.query.patientId).then(res => {
|
getByPatientId(this.$route.query.patientId).then(res => {
|
||||||
res.data.birthDate ? res.data.age = getAge(res.data.birthDate) : ''
|
res.data.birthDate ? res.data.age = getAge(res.data.birthDate) : ''
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user