修改
This commit is contained in:
parent
a9e60c1099
commit
acee2ed944
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
||||
// 查询护理站人员信息列表
|
||||
export function listPerson(query) {
|
||||
return request({
|
||||
url: 'system/person/getNurseStationPersonList',
|
||||
url: '/system/person/getNurseStationPersonList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
@ -11,7 +11,7 @@ export function listPerson(query) {
|
||||
// 查询护理站名称
|
||||
export function stationList(query) {
|
||||
return request({
|
||||
url: 'system/station/list',
|
||||
url: '/system/station/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
@ -20,7 +20,7 @@ export function stationList(query) {
|
||||
// 查询所属科室
|
||||
export function StationDepartmentList(query) {
|
||||
return request({
|
||||
url: 'system/StationDepartment/list',
|
||||
url: '/system/StationDepartment/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
@ -36,7 +36,7 @@ export function getPerson(id) {
|
||||
// 新增护理站人员信息
|
||||
export function addPerson(data) {
|
||||
return request({
|
||||
url: 'system/person/add',
|
||||
url: '/system/person/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
@ -45,7 +45,7 @@ export function addPerson(data) {
|
||||
// 修改护理站人员信息
|
||||
export function updatePerson(data) {
|
||||
return request({
|
||||
url: 'system/person/edit',
|
||||
url: '/system/person/edit',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
@ -58,3 +58,21 @@ export function delPerson(id) {
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 审核接口根据id查询护理站人员信息以及未审核的证书
|
||||
export function getNurseStationPersonCheck(id) {
|
||||
return request({
|
||||
url: '/system/person/getNurseStationPersonCheck/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
//审核确定接口
|
||||
export function updateNurseStationPersonChecks(data) {
|
||||
return request({
|
||||
url: '/system/person/updateNurseStationPersonChecks',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
@ -133,11 +133,20 @@
|
||||
<el-table-column label="居住地址" align="center" prop="address" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="订单收益总金额" align="center" prop="totalRevenueAmount" />
|
||||
<el-table-column label="星级评价" align="center" prop="evaluateStarCount" />
|
||||
<!-- <el-table-column label="审核状态" align="center" prop="modifyCheckStatus">
|
||||
<template slot-scope="scope">{{scope.row.modifyCheckStatus ?'已审核':'未审核'}}</template>
|
||||
</el-table-column>-->
|
||||
<el-table-column label="创建人" align="center" prop="createBy" />
|
||||
<el-table-column label="创建时间" align="center" prop="createTime" />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="text" icon="el-icon-s-check">审核</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-s-check"
|
||||
@click="handshenhe(scope.row)"
|
||||
v-if="scope.row.modifyInfoFlag==1"
|
||||
>审核</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
@ -459,6 +468,81 @@
|
||||
<el-button @click="upload.open = false">取 消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
<!-- 审核 -->
|
||||
<el-dialog
|
||||
:title="title"
|
||||
:visible.sync="templeopen"
|
||||
width="1100px"
|
||||
append-to-body
|
||||
:before-close="templeopenfalse"
|
||||
>
|
||||
<el-form ref="form" :model="form" label-width="100px" :inline="true">
|
||||
<el-form-item label="所属护理站">
|
||||
<div class="text">{{ form.nurseStationName }}</div>
|
||||
</el-form-item>
|
||||
<el-form-item label="所属科室">
|
||||
<div class="text">{{ form.departmentName }}</div>
|
||||
</el-form-item>
|
||||
<el-form-item label="姓名">
|
||||
<div class="text">{{ form.nursePersonName }}</div>
|
||||
</el-form-item>
|
||||
<el-form-item label="护理人职称">
|
||||
<div class="text">{{ form.nursePersonType }}</div>
|
||||
</el-form-item>
|
||||
<el-form-item label="性别">
|
||||
<div class="text">
|
||||
{{ form.sex=='MALE'?'男':'' }}
|
||||
{{ form.sex=='FEMALE'?'女':'' }}
|
||||
</div>
|
||||
</el-form-item>
|
||||
<el-form-item label="联系电话">
|
||||
<div class="text">{{ form.phone }}</div>
|
||||
</el-form-item>
|
||||
<el-form-item label="居住地址">
|
||||
<div class="text">{{ form.address }}</div>
|
||||
</el-form-item>
|
||||
<el-form-item label="职称级别">
|
||||
<div class="text">
|
||||
{{ form.positionalTitleLevelCheck=='PRIMARY_LEVEL'?'初级':'' }}
|
||||
{{ form.positionalTitleLevelCheck=='MIDDLE_LEVEL'?'中级':'' }}
|
||||
{{ form.positionalTitleLevelCheck=='HIGH_LEVEL'?'高级':'' }}
|
||||
</div>
|
||||
</el-form-item>
|
||||
<el-form-item label="证书资质">
|
||||
<el-table :data="form.nurseStationPersonCheckList" style="width: 1050px">
|
||||
<el-table-column property="consumableCount" label="证书名称" align="center" width="600px">
|
||||
<template slot-scope="scope">
|
||||
<div
|
||||
style="text-align:left;width:500px"
|
||||
class="text"
|
||||
>{{ scope.row.certificateName }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column property="certificateUrl" label="证书图片" align="center">
|
||||
<template slot-scope="scope">
|
||||
<img :src="baseurl+scope.row.certificateUrl" alt style="width:100px;height:100px" />
|
||||
<!-- <stationAcatar
|
||||
@imgUrl="imgUrl"
|
||||
@item="imgclassifyItem"
|
||||
:img="scope.row.certificateUrl"
|
||||
:item="scope.row"
|
||||
:type="'personCertificateUrl'"
|
||||
/>-->
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column property="sort" label="证书排序" align="center">
|
||||
<template slot-scope="scope">
|
||||
<div style="text-align:left;width:200px" class="text">{{ scope.row.sort }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="templesubmit">确 定</el-button>
|
||||
<el-button @click="templeopen=false">取 消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -474,4 +558,14 @@ export default indexjs;
|
||||
overflow: hidden;
|
||||
font-size: 14px;
|
||||
}
|
||||
.text {
|
||||
width: 400px;
|
||||
height: 40px;
|
||||
overflow: hidden;
|
||||
font-size: 14px;
|
||||
line-height: 40px;
|
||||
border-radius: 4px;
|
||||
padding-left: 20px;
|
||||
border: 1px solid #e6ebf5;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -6,10 +6,13 @@ import {
|
||||
updatePerson,
|
||||
stationList,
|
||||
StationDepartmentList,
|
||||
getNurseStationPersonCheck,
|
||||
updateNurseStationPersonChecks
|
||||
} from "@/api/system/person";
|
||||
import { getToken } from "@/utils/auth";
|
||||
import { getListByUser } from "@/api/system/userlist.js";
|
||||
import stationAcatar from "../stationAvatar/index.vue";
|
||||
import baseurl from '@/api/baseurl'
|
||||
export default {
|
||||
components: { stationAcatar },
|
||||
name: "Person",
|
||||
@ -43,6 +46,7 @@ export default {
|
||||
cb(new Error("请输入正确的联系电话"));
|
||||
};
|
||||
return {
|
||||
baseurl: null,
|
||||
//男女选择
|
||||
sexs: [{
|
||||
label: "男",
|
||||
@ -127,6 +131,7 @@ export default {
|
||||
title3: "",
|
||||
// 添加弹出层修改弹出层
|
||||
open: false,
|
||||
templeopen: false,
|
||||
//权限查询
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
@ -203,6 +208,7 @@ export default {
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.baseurl = baseurl
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
@ -481,6 +487,13 @@ export default {
|
||||
}
|
||||
});
|
||||
},
|
||||
// 审核
|
||||
handshenhe(row) {
|
||||
getNurseStationPersonCheck(row.id).then(res => {
|
||||
this.form = res.data;
|
||||
this.templeopen = true;
|
||||
})
|
||||
},
|
||||
/** 提交按钮 */
|
||||
submitForm() {
|
||||
this.$refs["form"].validate((valid) => {
|
||||
@ -503,6 +516,17 @@ export default {
|
||||
}
|
||||
});
|
||||
},
|
||||
// 审核提交
|
||||
templesubmit() {
|
||||
updateNurseStationPersonChecks(this.form).then(res => {
|
||||
this.$modal.msgSuccess("审核成功");
|
||||
this.getList();
|
||||
this.templeopen = false
|
||||
})
|
||||
},
|
||||
templeopenfalse() {
|
||||
this.templeopen = false
|
||||
},
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
const ids = row.id || this.ids;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user