Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
e3e89ccbda
@ -29,12 +29,19 @@ export function addVisitRecord(data) {
|
|||||||
// 保存修改患者就诊记录基本信息
|
// 保存修改患者就诊记录基本信息
|
||||||
export function updateVisitRecord(data) {
|
export function updateVisitRecord(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/manage/patientInfo',
|
url: '/manage/patientInfo/updateBaseInfo',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 就诊记录修改保存
|
||||||
|
export function updateRecord(data) {
|
||||||
|
return request({
|
||||||
|
url: 'manage/visitRecord/updateRecord',
|
||||||
method: 'put',
|
method: 'put',
|
||||||
data: data
|
data: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除患者就诊记录基本信息
|
// 删除患者就诊记录基本信息
|
||||||
export function delVisitRecord(id) {
|
export function delVisitRecord(id) {
|
||||||
return request({
|
return request({
|
||||||
|
|||||||
@ -76,13 +76,13 @@
|
|||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
<el-collapse v-model="activeNames">
|
<el-collapse v-model="activeNames">
|
||||||
<el-collapse-item title="入院记录" name="-1">
|
<el-collapse-item title="入院记录" name="-1">
|
||||||
<div>{{ list.inHospitalInfo }}</div>
|
<div v-html="list.inHospitalInfo"></div>
|
||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
<el-collapse-item title="手术记录" name="-2" v-if="list.visitMethod != 'OUTPATIENT_SERVICE'">
|
<el-collapse-item title="手术记录" name="-2" v-if="list.visitMethod != 'OUTPATIENT_SERVICE'">
|
||||||
<div>{{ list.surgicalRecord }}</div>
|
<div v-html="list.surgicalRecord"></div>
|
||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
<el-collapse-item title="出院记录" name="-3" v-if="list.visitMethod != 'OUTPATIENT_SERVICE'">
|
<el-collapse-item title="出院记录" name="-3" v-if="list.visitMethod != 'OUTPATIENT_SERVICE'">
|
||||||
<div>{{ list.outHospitalInfo }}</div>
|
<div v-html="list.outHospitalInfo"></div>
|
||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
</el-collapse>
|
</el-collapse>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -74,13 +74,13 @@
|
|||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
<el-collapse v-model="activeNames">
|
<el-collapse v-model="activeNames">
|
||||||
<el-collapse-item title="入院记录" name="-1">
|
<el-collapse-item title="入院记录" name="-1">
|
||||||
<div>{{ list.inHospitalInfo }}</div>
|
<div v-html="list.inHospitalInfo"></div>
|
||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
<el-collapse-item title="手术记录" name="-2" v-if="list.visitMethod != 'OUTPATIENT_SERVICE'">
|
<el-collapse-item title="手术记录" name="-2" v-if="list.visitMethod != 'OUTPATIENT_SERVICE'">
|
||||||
<div>{{ list.surgicalRecord }}</div>
|
<div v-html="list.surgicalRecord"></div>
|
||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
<el-collapse-item title="出院记录" name="-3" v-if="list.visitMethod != 'OUTPATIENT_SERVICE'">
|
<el-collapse-item title="出院记录" name="-3" v-if="list.visitMethod != 'OUTPATIENT_SERVICE'">
|
||||||
<div>{{ list.outHospitalInfo }}</div>
|
<div v-html="list.outHospitalInfo"></div>
|
||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
</el-collapse>
|
</el-collapse>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -147,11 +147,11 @@
|
|||||||
align="center"
|
align="center"
|
||||||
prop="infoCategoryName"
|
prop="infoCategoryName"
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<!-- <el-table-column
|
||||||
label="资讯分类类型"
|
label="资讯分类类型"
|
||||||
align="center"
|
align="center"
|
||||||
prop="infoCategoryType"
|
prop="infoCategoryType"
|
||||||
/>
|
/> -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="资讯分类排序"
|
label="资讯分类排序"
|
||||||
align="center"
|
align="center"
|
||||||
|
|||||||
@ -49,16 +49,16 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="righttext" v-if="categoryItem">
|
<div class="righttext" v-if="categoryItem">
|
||||||
<div v-if="recordindex == 0">
|
<div v-if="recordindex == 0">
|
||||||
<p>{{ categoryItem.inHospitalInfo }}</p>
|
<p v-html="categoryItem.inHospitalInfo"></p>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="recordindex == 1">
|
<div v-if="recordindex == 1">
|
||||||
<p>{{ categoryItem.outHospitalInfo }}</p>
|
<p v-html="categoryItem.outHospitalInfo"></p>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="recordindex == 2">
|
<div v-if="recordindex == 2">
|
||||||
<p>{{ categoryItem.surgicalRecord }}</p>
|
<p v-html="categoryItem.surgicalRecord"></p>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="recordindex == 3">
|
<div v-if="recordindex == 3">
|
||||||
<p>{{ categoryItem.inHospitalInfo }}</p>
|
<p v-html="categoryItem.inHospitalInfo"></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,111 +1,51 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-form
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||||
:model="queryParams"
|
|
||||||
ref="queryForm"
|
|
||||||
size="small"
|
|
||||||
:inline="true"
|
|
||||||
v-show="showSearch"
|
|
||||||
label-width="68px"
|
|
||||||
>
|
|
||||||
<el-form-item label="资讯标题" prop="infoTitle">
|
<el-form-item label="资讯标题" prop="infoTitle">
|
||||||
<el-input
|
<el-input v-model="queryParams.infoTitle" placeholder="请输入资讯标题" maxlength="100" clearable
|
||||||
v-model="queryParams.infoTitle"
|
@keyup.enter.native="handleQuery" />
|
||||||
placeholder="请输入资讯标题"
|
|
||||||
maxlength="100"
|
|
||||||
clearable
|
|
||||||
@keyup.enter.native="handleQuery"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="资讯分类" prop="infoCategoryId">
|
<el-form-item label="资讯分类" prop="infoCategoryId">
|
||||||
<el-button
|
<el-button type="" v-if="infoCategoryName == '请选择资讯分类'" @click="clickitem()" style="
|
||||||
type=""
|
|
||||||
v-if="infoCategoryName == '请选择资讯分类'"
|
|
||||||
@click="clickitem()"
|
|
||||||
style="
|
|
||||||
width: 250px;
|
width: 250px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
color: #c0c4cc;
|
color: #c0c4cc;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
"
|
">{{ infoCategoryName }}</el-button>
|
||||||
>{{ infoCategoryName }}</el-button
|
<el-button @click="clickitem()" type="" v-else style="
|
||||||
>
|
|
||||||
<el-button
|
|
||||||
@click="clickitem()"
|
|
||||||
type=""
|
|
||||||
v-else
|
|
||||||
style="
|
|
||||||
width: 250px;
|
width: 250px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
padding-left: -10px;
|
padding-left: -10px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
"
|
">{{ infoCategoryName }}</el-button>
|
||||||
>{{ infoCategoryName }}</el-button
|
|
||||||
>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- </el-form-item> -->
|
<!-- </el-form-item> -->
|
||||||
<el-form-item label="资讯编码" prop="infoCode">
|
<el-form-item label="资讯编码" prop="infoCode">
|
||||||
<el-input
|
<el-input v-model="queryParams.infoCode" placeholder="请输入资讯编码" clearable @keyup.enter.native="handleQuery" />
|
||||||
v-model="queryParams.infoCode"
|
|
||||||
placeholder="请输入资讯编码"
|
|
||||||
clearable
|
|
||||||
@keyup.enter.native="handleQuery"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
|
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
||||||
type="primary"
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
||||||
icon="el-icon-search"
|
|
||||||
size="mini"
|
|
||||||
@click="handleQuery"
|
|
||||||
>搜索</el-button
|
|
||||||
>
|
|
||||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
|
|
||||||
>重置</el-button
|
|
||||||
>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<el-row :gutter="10" class="mb8">
|
<el-row :gutter="10" class="mb8">
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
|
||||||
type="primary"
|
v-hasPermi="['manage:info:add']">新增</el-button>
|
||||||
plain
|
|
||||||
icon="el-icon-plus"
|
|
||||||
size="mini"
|
|
||||||
@click="handleAdd"
|
|
||||||
v-hasPermi="['manage:info:add']"
|
|
||||||
>新增</el-button
|
|
||||||
>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
|
||||||
type="success"
|
v-hasPermi="['manage:info:edit']">修改</el-button>
|
||||||
plain
|
|
||||||
icon="el-icon-edit"
|
|
||||||
size="mini"
|
|
||||||
:disabled="single"
|
|
||||||
@click="handleUpdate"
|
|
||||||
v-hasPermi="['manage:info:edit']"
|
|
||||||
>修改</el-button
|
|
||||||
>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
|
||||||
type="danger"
|
v-hasPermi="['manage:info:remove']">删除</el-button>
|
||||||
plain
|
|
||||||
icon="el-icon-delete"
|
|
||||||
size="mini"
|
|
||||||
:disabled="multiple"
|
|
||||||
@click="handleDelete"
|
|
||||||
v-hasPermi="['manage:info:remove']"
|
|
||||||
>删除</el-button
|
|
||||||
>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
<!-- <el-col :span="1.5">
|
<!-- <el-col :span="1.5">
|
||||||
<el-button
|
<el-button
|
||||||
@ -117,17 +57,10 @@
|
|||||||
v-hasPermi="['manage:info:export']"
|
v-hasPermi="['manage:info:export']"
|
||||||
>导出</el-button>
|
>导出</el-button>
|
||||||
</el-col> -->
|
</el-col> -->
|
||||||
<right-toolbar
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
:showSearch.sync="showSearch"
|
|
||||||
@queryTable="getList"
|
|
||||||
></right-toolbar>
|
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-table
|
<el-table v-loading="loading" :data="infoList" @selection-change="handleSelectionChange">
|
||||||
v-loading="loading"
|
|
||||||
:data="infoList"
|
|
||||||
@selection-change="handleSelectionChange"
|
|
||||||
>
|
|
||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
<!-- <el-table-column label="主键id" align="center" prop="id" /> -->
|
<!-- <el-table-column label="主键id" align="center" prop="id" /> -->
|
||||||
<el-table-column label="资讯标题" align="center" prop="infoTitle" />
|
<el-table-column label="资讯标题" align="center" prop="infoTitle" />
|
||||||
@ -136,113 +69,53 @@
|
|||||||
|
|
||||||
<el-table-column label="资讯排序" align="center" prop="infoSort" />
|
<el-table-column label="资讯排序" align="center" prop="infoSort" />
|
||||||
|
|
||||||
<el-table-column
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||||
label="操作"
|
|
||||||
align="center"
|
|
||||||
class-name="small-padding fixed-width"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
||||||
size="mini"
|
v-hasPermi="['manage:info:edit']">修改</el-button>
|
||||||
type="text"
|
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
||||||
icon="el-icon-edit"
|
v-hasPermi="['manage:info:remove']">删除</el-button>
|
||||||
@click="handleUpdate(scope.row)"
|
|
||||||
v-hasPermi="['manage:info:edit']"
|
|
||||||
>修改</el-button
|
|
||||||
>
|
|
||||||
<el-button
|
|
||||||
size="mini"
|
|
||||||
type="text"
|
|
||||||
icon="el-icon-delete"
|
|
||||||
@click="handleDelete(scope.row)"
|
|
||||||
v-hasPermi="['manage:info:remove']"
|
|
||||||
>删除</el-button
|
|
||||||
>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
||||||
<pagination
|
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
||||||
v-show="total > 0"
|
@pagination="getList" />
|
||||||
:total="total"
|
|
||||||
:page.sync="queryParams.pageNum"
|
|
||||||
:limit.sync="queryParams.pageSize"
|
|
||||||
@pagination="getList"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<!-- 添加或修改资讯信息对话框 -->
|
<!-- 添加或修改资讯信息对话框 -->
|
||||||
<el-dialog :title="title" :visible.sync="open" width="900px" append-to-body>
|
<el-dialog :title="title" :visible.sync="open" width="900px" append-to-body>
|
||||||
<el-form
|
<el-form ref="form" :model="form" :rules="rules" label-width="140px" :inline="true">
|
||||||
ref="form"
|
|
||||||
:model="form"
|
|
||||||
:rules="rules"
|
|
||||||
label-width="140px"
|
|
||||||
:inline="true"
|
|
||||||
>
|
|
||||||
<el-form-item label="资讯标题" prop="infoTitle">
|
<el-form-item label="资讯标题" prop="infoTitle">
|
||||||
<el-input
|
<el-input v-model="form.infoTitle" maxlength="100" placeholder="请输入资讯标题" />
|
||||||
v-model="form.infoTitle"
|
|
||||||
maxlength="100"
|
|
||||||
placeholder="请输入资讯标题"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="资讯分类" prop="infoCategoryId">
|
<el-form-item label="资讯分类" prop="infoCategoryId">
|
||||||
<el-button
|
<el-button type="" v-if="form.infoCategoryName == '请选择资讯分类'" @click="clickinnerVisible()" style="
|
||||||
type=""
|
|
||||||
v-if="form.infoCategoryName == '请选择资讯分类'"
|
|
||||||
@click="clickinnerVisible()"
|
|
||||||
style="
|
|
||||||
width: 250px;
|
width: 250px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
color: #c0c4cc;
|
color: #c0c4cc;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
"
|
">{{ form.infoCategoryName }}</el-button>
|
||||||
>{{ form.infoCategoryName }}</el-button
|
<el-button @click="clickinnerVisible()" type="" v-else style="
|
||||||
>
|
|
||||||
<el-button
|
|
||||||
@click="clickinnerVisible()"
|
|
||||||
type=""
|
|
||||||
v-else
|
|
||||||
style="
|
|
||||||
width: 250px;
|
width: 250px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
padding-left: -10px;
|
padding-left: -10px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
"
|
">{{ form.infoCategoryName }}</el-button>
|
||||||
>{{ form.infoCategoryName }}</el-button
|
|
||||||
>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="资讯图标" prop="infoLargePictureUrl">
|
<el-form-item label="资讯图标" prop="infoLargePictureUrl">
|
||||||
<stationAcatar
|
<stationAcatar style="width: 208px" @imgUrl="imgUrl" :img="form.infoLargePictureUrl"
|
||||||
style="width: 208px"
|
:type="'infoMainThumbnailUrl'" />
|
||||||
@imgUrl="imgUrl"
|
|
||||||
:img="form.infoLargePictureUrl"
|
|
||||||
:type="'infoMainThumbnailUrl'"
|
|
||||||
/>
|
|
||||||
<!-- <el-input v-model="form.leadThumbnailUrl" placeholder="请输入资讯主缩略图地址" /> -->
|
<!-- <el-input v-model="form.leadThumbnailUrl" placeholder="请输入资讯主缩略图地址" /> -->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="显示顺序" prop="infoSort">
|
<el-form-item label="显示顺序" prop="infoSort">
|
||||||
<el-input
|
<el-input v-model="form.infoSort" placeholder="请输入显示顺序" style="width: 250px" type="number"
|
||||||
v-model="form.infoSort"
|
oninput="value=value.replace(/[^\d]/g,'')" maxLength="5" />
|
||||||
placeholder="请输入显示顺序"
|
|
||||||
style="width: 250px"
|
|
||||||
oninput="value=value.replace(/[^\d]/g,'')"
|
|
||||||
maxLength="5"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="资讯图文内容" prop="infoContent">
|
<el-form-item label="资讯图文内容" prop="infoContent">
|
||||||
<editor
|
<editor @imgs="imgs" maxlength="300" :min-height="102" placeholder="请输入资讯图文内容"
|
||||||
@imgs="imgs"
|
style="width: 80%; margin-left: 18%; margin-top: -5%" v-model="form.infoContent" />
|
||||||
maxlength="300"
|
|
||||||
:min-height="102"
|
|
||||||
placeholder="请输入资讯图文内容"
|
|
||||||
style="width: 80%; margin-left: 18%; margin-top: -5%"
|
|
||||||
v-model="form.infoContent"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
@ -251,92 +124,32 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!-- 选择资讯 -->
|
<!-- 选择资讯 -->
|
||||||
<el-dialog
|
<el-dialog title="选择资讯" :visible.sync="innerVisible" width="1000px" append-to-body
|
||||||
title="选择资讯"
|
:before-close="innerVisiblecancel">
|
||||||
:visible.sync="innerVisible"
|
<el-form ref="queryForm" :model="informationqueryParams" label-width="80px" :inline="true">
|
||||||
width="1000px"
|
<el-form-item label="资讯分类编码" prop="infoCategoryCode" label-width="120">
|
||||||
append-to-body
|
<el-input v-model="informationqueryParams.infoCategoryCode" placeholder="请输入资讯分类编码" clearable />
|
||||||
:before-close="innerVisiblecancel"
|
|
||||||
>
|
|
||||||
<el-form
|
|
||||||
ref="queryForm"
|
|
||||||
:model="informationqueryParams"
|
|
||||||
label-width="80px"
|
|
||||||
:inline="true"
|
|
||||||
>
|
|
||||||
<el-form-item
|
|
||||||
label="资讯分类编码"
|
|
||||||
prop="infoCategoryCode"
|
|
||||||
label-width="120"
|
|
||||||
>
|
|
||||||
<el-input
|
|
||||||
v-model="informationqueryParams.infoCategoryCode"
|
|
||||||
placeholder="请输入资讯分类编码"
|
|
||||||
clearable
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item
|
<el-form-item label="资讯分类名称" label-width="120">
|
||||||
label="资讯分类名称"
|
<el-input v-model="informationqueryParams.infoCategoryName" placeholder="请输入资讯分类名称" clearable />
|
||||||
|
|
||||||
label-width="120"
|
|
||||||
>
|
|
||||||
<el-input
|
|
||||||
v-model="informationqueryParams.infoCategoryName"
|
|
||||||
placeholder="请输入资讯分类名称"
|
|
||||||
clearable
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="informationInfoinfo">搜索</el-button>
|
||||||
type="primary"
|
<el-button icon="el-icon-refresh" size="mini" @click="addresetQuerylist">重置</el-button>
|
||||||
icon="el-icon-search"
|
|
||||||
size="mini"
|
|
||||||
@click="informationInfoinfo"
|
|
||||||
>搜索</el-button
|
|
||||||
>
|
|
||||||
<el-button
|
|
||||||
icon="el-icon-refresh"
|
|
||||||
size="mini"
|
|
||||||
@click="addresetQuerylist"
|
|
||||||
>重置</el-button
|
|
||||||
>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<el-table
|
<el-table :data="infolist" @cell-dblclick="nurseclick" v-loading="loading">
|
||||||
:data="infolist"
|
|
||||||
@cell-dblclick="nurseclick"
|
|
||||||
v-loading="loading"
|
|
||||||
>
|
|
||||||
<el-table-column label="请选择" width="100" align="center">
|
<el-table-column label="请选择" width="100" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button type="primary" style="width: 15px; height: 15px" v-if="form.infoCategoryId == scope.row.id"
|
||||||
type="primary"
|
circle @click="nurseclick(scope.row)"></el-button>
|
||||||
style="width: 15px; height: 15px"
|
<el-button v-else style="width: 15px; height: 15px" circle @click="nurseclick(scope.row)"></el-button>
|
||||||
v-if="form.infoCategoryId == scope.row.id"
|
|
||||||
circle
|
|
||||||
@click="nurseclick(scope.row)"
|
|
||||||
></el-button>
|
|
||||||
<el-button
|
|
||||||
v-else
|
|
||||||
style="width: 15px; height: 15px"
|
|
||||||
circle
|
|
||||||
@click="nurseclick(scope.row)"
|
|
||||||
></el-button>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column property="infoCategoryCode" label="资讯分类编码" align="center">
|
||||||
property="infoCategoryCode"
|
|
||||||
label="资讯分类编码"
|
|
||||||
align="center"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column property="infoCategoryName" label="资讯名称" align="center" :show-overflow-tooltip="true">
|
||||||
property="infoCategoryName"
|
|
||||||
label="资讯名称"
|
|
||||||
align="center"
|
|
||||||
:show-overflow-tooltip="true"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<!-- <el-table-column
|
<!-- <el-table-column
|
||||||
@ -360,109 +173,40 @@
|
|||||||
>
|
>
|
||||||
</el-table-column> -->
|
</el-table-column> -->
|
||||||
</el-table>
|
</el-table>
|
||||||
<pagination
|
<pagination v-show="total2 > 0" :total="total2" :page.sync="informationqueryParams.pageNum"
|
||||||
v-show="total2 > 0"
|
:limit.sync="informationqueryParams.pageSize" @pagination="informationInfoinfo" />
|
||||||
:total="total2"
|
|
||||||
:page.sync="informationqueryParams.pageNum"
|
|
||||||
:limit.sync="informationqueryParams.pageSize"
|
|
||||||
@pagination="informationInfoinfo"
|
|
||||||
/>
|
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!-- 搜索选择资讯 -->
|
<!-- 搜索选择资讯 -->
|
||||||
<el-dialog
|
<el-dialog title="选择资讯" :visible.sync="innerVisiblezx" width="1000px" append-to-body
|
||||||
title="选择资讯"
|
:before-close="innerVisiblecancelzx">
|
||||||
:visible.sync="innerVisiblezx"
|
<el-form ref="queryForm" :model="informationqueryParams" label-width="80px" :inline="true">
|
||||||
width="1000px"
|
<el-form-item label="资讯分类编码" prop="infoCategoryCode" label-width="120">
|
||||||
append-to-body
|
<el-input v-model="informationqueryParams.infoCategoryCode" placeholder="请输入资讯分类编码" clearable />
|
||||||
:before-close="innerVisiblecancelzx"
|
|
||||||
>
|
|
||||||
<el-form
|
|
||||||
ref="queryForm"
|
|
||||||
:model="informationqueryParams"
|
|
||||||
label-width="80px"
|
|
||||||
:inline="true"
|
|
||||||
>
|
|
||||||
<el-form-item
|
|
||||||
label="资讯分类编码"
|
|
||||||
prop="infoCategoryCode"
|
|
||||||
label-width="120"
|
|
||||||
>
|
|
||||||
<el-input
|
|
||||||
v-model="informationqueryParams.infoCategoryCode"
|
|
||||||
placeholder="请输入资讯分类编码"
|
|
||||||
clearable
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item
|
<el-form-item label="资讯分类名称" label-width="120">
|
||||||
label="资讯分类名称"
|
<el-input v-model="informationqueryParams.infoCategoryName" placeholder="请输入资讯分类名称" clearable />
|
||||||
label-width="120"
|
|
||||||
>
|
|
||||||
<el-input
|
|
||||||
v-model="informationqueryParams.infoCategoryName"
|
|
||||||
placeholder="请输入资讯分类名称"
|
|
||||||
clearable
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="informationInfoinfo">搜索</el-button>
|
||||||
type="primary"
|
<el-button icon="el-icon-refresh" size="mini" @click="addresetQuerylist">重置</el-button>
|
||||||
icon="el-icon-search"
|
|
||||||
size="mini"
|
|
||||||
@click="informationInfoinfo"
|
|
||||||
>搜索</el-button
|
|
||||||
>
|
|
||||||
<el-button
|
|
||||||
icon="el-icon-refresh"
|
|
||||||
size="mini"
|
|
||||||
@click="addresetQuerylist"
|
|
||||||
>重置</el-button
|
|
||||||
>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<el-table
|
<el-table :data="infolist" @cell-dblclick="nurseclickzx" v-loading="loading">
|
||||||
:data="infolist"
|
|
||||||
@cell-dblclick="nurseclickzx"
|
|
||||||
v-loading="loading"
|
|
||||||
>
|
|
||||||
<el-table-column label="请选择" width="100" align="center">
|
<el-table-column label="请选择" width="100" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button type="primary" style="width: 15px; height: 15px"
|
||||||
type="primary"
|
v-if="queryParams.infoCategoryId == scope.row.id" circle @click="nurseclickzx(scope.row)"></el-button>
|
||||||
style="width: 15px; height: 15px"
|
<el-button v-else style="width: 15px; height: 15px" circle @click="nurseclickzx(scope.row)"></el-button>
|
||||||
v-if="queryParams.infoCategoryId == scope.row.id"
|
|
||||||
circle
|
|
||||||
@click="nurseclickzx(scope.row)"
|
|
||||||
></el-button>
|
|
||||||
<el-button
|
|
||||||
v-else
|
|
||||||
style="width: 15px; height: 15px"
|
|
||||||
circle
|
|
||||||
@click="nurseclickzx(scope.row)"
|
|
||||||
></el-button>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column property="infoCategoryCode" label="资讯分类编码" align="center">
|
||||||
property="infoCategoryCode"
|
|
||||||
label="资讯分类编码"
|
|
||||||
align="center"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column property="infoCategoryName" label="资讯名称" align="center" :show-overflow-tooltip="true">
|
||||||
property="infoCategoryName"
|
|
||||||
label="资讯名称"
|
|
||||||
align="center"
|
|
||||||
:show-overflow-tooltip="true"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<pagination
|
<pagination v-show="total2 > 0" :total="total2" :page.sync="informationqueryParams.pageNum"
|
||||||
v-show="total2 > 0"
|
:limit.sync="informationqueryParams.pageSize" @pagination="informationInfoinfo" />
|
||||||
:total="total2"
|
|
||||||
:page.sync="informationqueryParams.pageNum"
|
|
||||||
:limit.sync="informationqueryParams.pageSize"
|
|
||||||
@pagination="informationInfoinfo"
|
|
||||||
/>
|
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -483,11 +227,11 @@ export default {
|
|||||||
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
||||||
innerVisible: false,
|
innerVisible: false,
|
||||||
innerVisiblezx: false,
|
innerVisiblezx: false,
|
||||||
imgs:'',
|
imgs: '',
|
||||||
infoCategoryName:'请选择资讯分类',
|
infoCategoryName: '请选择资讯分类',
|
||||||
informationqueryParams: {
|
informationqueryParams: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
@ -519,8 +263,8 @@ export default {
|
|||||||
queryParams: {
|
queryParams: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
infoCategoryName:"",
|
infoCategoryName: "",
|
||||||
|
|
||||||
infoCategoryId: null,
|
infoCategoryId: null,
|
||||||
infoTitle: null,
|
infoTitle: null,
|
||||||
infoCode: null,
|
infoCode: null,
|
||||||
@ -586,20 +330,20 @@ export default {
|
|||||||
this.getList();
|
this.getList();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 新增按钮
|
// 新增按钮
|
||||||
clickinnerVisible() {
|
clickinnerVisible() {
|
||||||
this.informationInfoinfo();
|
this.informationInfoinfo();
|
||||||
this.innerVisible = true;
|
this.innerVisible = true;
|
||||||
},
|
},
|
||||||
imgUrl(imgUrl) {
|
imgUrl(imgUrl) {
|
||||||
console.log(imgUrl,'imgUrl')
|
console.log(imgUrl, 'imgUrl')
|
||||||
this.form.infoLargePictureUrl = imgUrl;
|
this.form.infoLargePictureUrl = imgUrl;
|
||||||
},
|
},
|
||||||
// imgs(item) {
|
// imgs(item) {
|
||||||
// this.imgsurl.pictureUrlList.push(item);
|
// this.imgsurl.pictureUrlList.push(item);
|
||||||
// },
|
// },
|
||||||
|
|
||||||
|
|
||||||
innerVisiblecancel() {
|
innerVisiblecancel() {
|
||||||
this.innerVisible = false;
|
this.innerVisible = false;
|
||||||
},
|
},
|
||||||
@ -615,7 +359,7 @@ export default {
|
|||||||
informationTitle: "",
|
informationTitle: "",
|
||||||
infoCategoryName: "",
|
infoCategoryName: "",
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
this.getList();
|
this.getList();
|
||||||
},
|
},
|
||||||
@ -687,18 +431,18 @@ export default {
|
|||||||
/** 搜索按钮操作 */
|
/** 搜索按钮操作 */
|
||||||
handleQuery() {
|
handleQuery() {
|
||||||
|
|
||||||
this.queryParams.pageNum= 1
|
this.queryParams.pageNum = 1
|
||||||
this.getList();
|
this.getList();
|
||||||
},
|
},
|
||||||
/** 重置按钮操作 */
|
/** 重置按钮操作 */
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.resetForm("queryForm");
|
this.resetForm("queryForm");
|
||||||
this.queryParams= {
|
this.queryParams = {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
infoCategoryName:null,
|
infoCategoryName: null,
|
||||||
infoCategoryId:null,
|
infoCategoryId: null,
|
||||||
|
|
||||||
infoCategoryId: null,
|
infoCategoryId: null,
|
||||||
infoTitle: null,
|
infoTitle: null,
|
||||||
infoCode: null,
|
infoCode: null,
|
||||||
@ -714,7 +458,7 @@ export default {
|
|||||||
infoReviser: null,
|
infoReviser: null,
|
||||||
infoModifyTime: null
|
infoModifyTime: null
|
||||||
}
|
}
|
||||||
this.infoCategoryName="请选择资讯分类"
|
this.infoCategoryName = "请选择资讯分类"
|
||||||
this.getList();
|
this.getList();
|
||||||
|
|
||||||
|
|
||||||
@ -731,7 +475,7 @@ export default {
|
|||||||
this.reset();
|
this.reset();
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "添加资讯信息";
|
this.title = "添加资讯信息";
|
||||||
this.form.infoCategoryName= "请选择资讯分类";
|
this.form.infoCategoryName = "请选择资讯分类";
|
||||||
|
|
||||||
},
|
},
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
@ -746,8 +490,9 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 提交按钮 */
|
/** 提交按钮 */
|
||||||
submitForm() {
|
submitForm() {
|
||||||
console.log(this.form,'this.form')
|
if (this.form.infoSort) {
|
||||||
// return
|
this.form.infoSort = Number(this.form.infoSort)
|
||||||
|
}
|
||||||
this.$refs["form"].validate(valid => {
|
this.$refs["form"].validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
if (this.form.id != null) {
|
if (this.form.id != null) {
|
||||||
|
|||||||
@ -162,6 +162,7 @@
|
|||||||
:title="title"
|
:title="title"
|
||||||
:visible.sync="open"
|
:visible.sync="open"
|
||||||
width="1200px"
|
width="1200px"
|
||||||
|
v-if="open"
|
||||||
append-to-body
|
append-to-body
|
||||||
>
|
>
|
||||||
<el-form
|
<el-form
|
||||||
|
|||||||
@ -433,7 +433,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
style="width: 15px; height: 15px"
|
style="width: 15px; height: 15px"
|
||||||
v-if="form.departmentId == scope.row.departmentCode"
|
v-if="form.departmentId == scope.row.id"
|
||||||
circle
|
circle
|
||||||
@click="nurseclick(scope.row)"
|
@click="nurseclick(scope.row)"
|
||||||
></el-button>
|
></el-button>
|
||||||
@ -508,7 +508,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
style="width: 15px; height: 15px"
|
style="width: 15px; height: 15px"
|
||||||
v-if="form.diseaseTypeId == scope.row.diseaseTypeCode"
|
v-if="form.diseaseTypeId == scope.row.id"
|
||||||
circle
|
circle
|
||||||
@click="nurseclickdisease(scope.row)"
|
@click="nurseclickdisease(scope.row)"
|
||||||
></el-button>
|
></el-button>
|
||||||
@ -786,7 +786,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 科室名称圆点按钮
|
// 科室名称圆点按钮
|
||||||
nurseclick(row) {
|
nurseclick(row) {
|
||||||
this.form.departmentId = row.departmentCode;
|
this.form.departmentId = row.id;
|
||||||
this.departmentName = row.departmentName;
|
this.departmentName = row.departmentName;
|
||||||
this.form.diseaseTypeId = '';
|
this.form.diseaseTypeId = '';
|
||||||
this.diseaseTypeName = '请选择病种';
|
this.diseaseTypeName = '请选择病种';
|
||||||
@ -819,7 +819,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 病种名称圆点按钮
|
// 病种名称圆点按钮
|
||||||
nurseclickdisease(row) {
|
nurseclickdisease(row) {
|
||||||
this.form.diseaseTypeId = row.diseaseTypeCode;
|
this.form.diseaseTypeId = row.id;
|
||||||
this.diseaseTypeName = row.diseaseTypeName;
|
this.diseaseTypeName = row.diseaseTypeName;
|
||||||
this.diseaseshowst = false;
|
this.diseaseshowst = false;
|
||||||
console.log(this.diseaseTypeName, '1121000')
|
console.log(this.diseaseTypeName, '1121000')
|
||||||
@ -909,7 +909,11 @@ export default {
|
|||||||
// this.getDisease();
|
// this.getDisease();
|
||||||
getMessage(id).then(response => {
|
getMessage(id).then(response => {
|
||||||
this.form = response.data;
|
this.form = response.data;
|
||||||
this.diseaseTypeName = response.data.diseaseTypeName
|
if (!response.data.diseaseTypeName || response.data.diseaseTypeName == "") {
|
||||||
|
this.diseaseTypeName = "请选择病种"
|
||||||
|
} else {
|
||||||
|
this.diseaseTypeName = response.data.diseaseTypeName
|
||||||
|
}
|
||||||
this.departmentName = response.data.departmentName
|
this.departmentName = response.data.departmentName
|
||||||
this.form.suitTaskTypeIds = response.data.suitTaskTypeIds
|
this.form.suitTaskTypeIds = response.data.suitTaskTypeIds
|
||||||
if (!this.form.textMessageSort) {
|
if (!this.form.textMessageSort) {
|
||||||
@ -933,7 +937,12 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
if (this.form.id != null) {
|
if (this.form.id != null) {
|
||||||
this.form.departmentName = this.departmentName
|
this.form.departmentName = this.departmentName
|
||||||
|
if (this.diseaseTypeName == "请选择病种") {
|
||||||
|
this.form.diseaseTypeName = null
|
||||||
|
|
||||||
|
} else {
|
||||||
this.form.diseaseTypeName = this.diseaseTypeName
|
this.form.diseaseTypeName = this.diseaseTypeName
|
||||||
|
}
|
||||||
updateMessage(this.form).then(response => {
|
updateMessage(this.form).then(response => {
|
||||||
this.$modal.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
this.open = false;
|
this.open = false;
|
||||||
@ -941,7 +950,7 @@ export default {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if (this.diseaseTypeName == "请选择病种") {
|
if (this.diseaseTypeName == "请选择病种") {
|
||||||
this.form.diseaseTypeName == null
|
this.form.diseaseTypeName = null
|
||||||
} else {
|
} else {
|
||||||
this.form.diseaseTypeName = this.diseaseTypeName
|
this.form.diseaseTypeName = this.diseaseTypeName
|
||||||
}
|
}
|
||||||
|
|||||||
@ -619,7 +619,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
style="width: 15px; height: 15px"
|
style="width: 15px; height: 15px"
|
||||||
v-if="form.diseaseTypeId == scope.row.diseaseTypeCode"
|
v-if="form.diseaseTypeId == scope.row.id"
|
||||||
circle
|
circle
|
||||||
@click="nurseclickdisease(scope.row)"
|
@click="nurseclickdisease(scope.row)"
|
||||||
></el-button>
|
></el-button>
|
||||||
@ -1099,7 +1099,7 @@ export default {
|
|||||||
// 科室点击事件
|
// 科室点击事件
|
||||||
changeDepartment(e) {
|
changeDepartment(e) {
|
||||||
this.form.departmentId = e
|
this.form.departmentId = e
|
||||||
this.form.departmentName = this.Departmentdata.find(f => f.departmentCode == e).departmentName
|
this.form.departmentName = this.Departmentdata.find(f => f.id == e).departmentName
|
||||||
this.diseaseTypeName = '请选择病种'
|
this.diseaseTypeName = '请选择病种'
|
||||||
this.form.diseaseTypeId = '';
|
this.form.diseaseTypeId = '';
|
||||||
console.log(this.form)
|
console.log(this.form)
|
||||||
@ -1368,7 +1368,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 病种名称圆点按钮
|
// 病种名称圆点按钮
|
||||||
nurseclickdisease(row) {
|
nurseclickdisease(row) {
|
||||||
this.form.diseaseTypeId = row.diseaseTypeCode;
|
this.form.diseaseTypeId = row.id;
|
||||||
this.diseaseTypeName = row.diseaseTypeName;
|
this.diseaseTypeName = row.diseaseTypeName;
|
||||||
this.diseaseshowst = false;
|
this.diseaseshowst = false;
|
||||||
},
|
},
|
||||||
@ -1469,7 +1469,11 @@ export default {
|
|||||||
getPropaganda(id).then(response => {
|
getPropaganda(id).then(response => {
|
||||||
this.form = response.data;
|
this.form = response.data;
|
||||||
this.form.suitTaskTypeIds = response.data.suitTaskTypeIds
|
this.form.suitTaskTypeIds = response.data.suitTaskTypeIds
|
||||||
this.diseaseTypeName = response.data.diseaseTypeName
|
if (!response.data.diseaseTypeName || response.data.diseaseTypeName == "") {
|
||||||
|
this.diseaseTypeName = "请选择病种"
|
||||||
|
} else {
|
||||||
|
this.diseaseTypeName = response.data.diseaseTypeName
|
||||||
|
}
|
||||||
// this.form.agencyName = response.data.hospitalAgencyName
|
// this.form.agencyName = response.data.hospitalAgencyName
|
||||||
this.form.imgPath = response.data.materialsInfoList[0]?.materialsFilePath
|
this.form.imgPath = response.data.materialsInfoList[0]?.materialsFilePath
|
||||||
this.querymaterial.materialsType = response.data.materialsInfoList[0]?.materialsType
|
this.querymaterial.materialsType = response.data.materialsInfoList[0]?.materialsType
|
||||||
@ -1500,8 +1504,12 @@ export default {
|
|||||||
this.$refs["form"].validate(valid => {
|
this.$refs["form"].validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
if (this.form.id != null) {
|
if (this.form.id != null) {
|
||||||
|
if (this.diseaseTypeName == "请选择病种") {
|
||||||
|
this.form.diseaseTypeName = null
|
||||||
|
|
||||||
this.form.diseaseTypeName = this.diseaseTypeName
|
} else {
|
||||||
|
this.form.diseaseTypeName = this.diseaseTypeName
|
||||||
|
}
|
||||||
updatePropaganda(this.form).then(response => {
|
updatePropaganda(this.form).then(response => {
|
||||||
this.$modal.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
this.open = false;
|
this.open = false;
|
||||||
|
|||||||
@ -225,7 +225,6 @@
|
|||||||
:visible.sync="open"
|
:visible.sync="open"
|
||||||
width="700px"
|
width="700px"
|
||||||
append-to-body
|
append-to-body
|
||||||
v-if="open"
|
|
||||||
>
|
>
|
||||||
<el-form
|
<el-form
|
||||||
ref="form"
|
ref="form"
|
||||||
@ -418,7 +417,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
style="width: 15px; height: 15px"
|
style="width: 15px; height: 15px"
|
||||||
v-if="form.departmentId == scope.row.departmentCode"
|
v-if="form.departmentId == scope.row.id"
|
||||||
circle
|
circle
|
||||||
@click="nurseclick(scope.row)"
|
@click="nurseclick(scope.row)"
|
||||||
></el-button>
|
></el-button>
|
||||||
@ -493,7 +492,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
style="width: 15px; height: 15px"
|
style="width: 15px; height: 15px"
|
||||||
v-if="form.diseaseTypeId == scope.row.diseaseTypeCode"
|
v-if="form.diseaseTypeId == scope.row.id"
|
||||||
circle
|
circle
|
||||||
@click="nurseclickdisease(scope.row)"
|
@click="nurseclickdisease(scope.row)"
|
||||||
></el-button>
|
></el-button>
|
||||||
@ -822,7 +821,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 科室名称圆点按钮
|
// 科室名称圆点按钮
|
||||||
nurseclick(row) {
|
nurseclick(row) {
|
||||||
this.form.departmentId = row.departmentCode;
|
this.form.departmentId = row.id;
|
||||||
this.departmentName = row.departmentName;
|
this.departmentName = row.departmentName;
|
||||||
this.form.diseaseTypeId = '';
|
this.form.diseaseTypeId = '';
|
||||||
this.diseaseTypeName = '请选择病种';
|
this.diseaseTypeName = '请选择病种';
|
||||||
@ -852,7 +851,7 @@ export default {
|
|||||||
// 病种名称圆点按钮
|
// 病种名称圆点按钮
|
||||||
nurseclickdisease(row) {
|
nurseclickdisease(row) {
|
||||||
// this.diseaseshowst = false;
|
// this.diseaseshowst = false;
|
||||||
this.form.diseaseTypeId = row.diseaseTypeCode;
|
this.form.diseaseTypeId = row.id;
|
||||||
this.diseaseTypeName = row.diseaseTypeName;
|
this.diseaseTypeName = row.diseaseTypeName;
|
||||||
this.diseaseshowst = false;
|
this.diseaseshowst = false;
|
||||||
},
|
},
|
||||||
@ -1020,7 +1019,11 @@ export default {
|
|||||||
// this.getDisease();
|
// this.getDisease();
|
||||||
getScript(id).then(response => {
|
getScript(id).then(response => {
|
||||||
this.form = response.data;
|
this.form = response.data;
|
||||||
this.diseaseTypeName = response.data.diseaseTypeName
|
if (!response.data.diseaseTypeName || response.data.diseaseTypeName == "") {
|
||||||
|
this.diseaseTypeName = "请选择病种"
|
||||||
|
} else {
|
||||||
|
this.diseaseTypeName = response.data.diseaseTypeName
|
||||||
|
}
|
||||||
this.departmentName = response.data.departmentName
|
this.departmentName = response.data.departmentName
|
||||||
if (!this.form.scriptSort) {
|
if (!this.form.scriptSort) {
|
||||||
this.form.scriptSort = undefined
|
this.form.scriptSort = undefined
|
||||||
@ -1041,7 +1044,13 @@ export default {
|
|||||||
}else{
|
}else{
|
||||||
if (this.form.id != null) {
|
if (this.form.id != null) {
|
||||||
this.form.departmentName = this.departmentName
|
this.form.departmentName = this.departmentName
|
||||||
this.form.diseaseTypeName = this.diseaseTypeName
|
// this.form.diseaseTypeName = this.diseaseTypeName
|
||||||
|
if (this.diseaseTypeName == "请选择病种") {
|
||||||
|
this.form.diseaseTypeName = null
|
||||||
|
|
||||||
|
} else {
|
||||||
|
this.form.diseaseTypeName = this.diseaseTypeName
|
||||||
|
}
|
||||||
updateScript(this.form).then(response => {
|
updateScript(this.form).then(response => {
|
||||||
this.$modal.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
this.open = false;
|
this.open = false;
|
||||||
@ -1049,7 +1058,7 @@ export default {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if (this.diseaseTypeName == "请选择病种") {
|
if (this.diseaseTypeName == "请选择病种") {
|
||||||
this.form.diseaseTypeName == null
|
this.form.diseaseTypeName = null
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.form.diseaseTypeName = this.diseaseTypeName
|
this.form.diseaseTypeName = this.diseaseTypeName
|
||||||
@ -1062,6 +1071,8 @@ export default {
|
|||||||
this.form.departmentName = this.departmentName
|
this.form.departmentName = this.departmentName
|
||||||
|
|
||||||
}
|
}
|
||||||
|
// console.log(this.form,'this.form')
|
||||||
|
// return
|
||||||
addScript(this.form).then(response => {
|
addScript(this.form).then(response => {
|
||||||
this.$modal.msgSuccess("新增成功");
|
this.$modal.msgSuccess("新增成功");
|
||||||
this.open = false;
|
this.open = false;
|
||||||
|
|||||||
@ -544,7 +544,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
style="width: 15px; height: 15px"
|
style="width: 15px; height: 15px"
|
||||||
v-if="form.departmentId == scope.row.departmentCode"
|
v-if="form.departmentId == scope.row.id"
|
||||||
circle
|
circle
|
||||||
@click="nurseclick(scope.row)"
|
@click="nurseclick(scope.row)"
|
||||||
></el-button>
|
></el-button>
|
||||||
@ -619,7 +619,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
style="width: 15px; height: 15px"
|
style="width: 15px; height: 15px"
|
||||||
v-if="form.diseaseTypeId == scope.row.diseaseTypeCode"
|
v-if="form.diseaseTypeId == scope.row.id"
|
||||||
circle
|
circle
|
||||||
@click="nurseclickdisease(scope.row)"
|
@click="nurseclickdisease(scope.row)"
|
||||||
></el-button>
|
></el-button>
|
||||||
@ -667,21 +667,24 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="服务包名称:" prop="packageVersion">
|
<el-form-item label="服务包名称:" prop="packageVersion">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<el-tooltip class="item" effect="dark" :content="formdetail.packageName" placement="top-start">
|
<el-tooltip
|
||||||
<span >{{ formdetail.packageName }}</span>
|
class="item"
|
||||||
|
effect="dark"
|
||||||
</el-tooltip>
|
:content="formdetail.packageName"
|
||||||
|
placement="top-start"
|
||||||
|
>
|
||||||
|
<span>{{ formdetail.packageName }}</span>
|
||||||
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- <span class="container" v-tooltip="formdetail.packageName">{{ formdetail.packageName }}</span> -->
|
<!-- <span class="container" v-tooltip="formdetail.packageName">{{ formdetail.packageName }}</span> -->
|
||||||
<!-- <span class="container">
|
<!-- <span class="container">
|
||||||
<el-tooltip>
|
<el-tooltip>
|
||||||
|
|
||||||
<template slot="title">
|
<template slot="title">
|
||||||
{{ formdetail.packageName ? formdetail.packageName : '-' }}
|
{{ formdetail.packageName ? formdetail.packageName : '-' }}
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
{{ formdetail.packageName ? formdetail.packageName : '-' }}
|
{{ formdetail.packageName ? formdetail.packageName : '-' }}
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</span> -->
|
</span> -->
|
||||||
@ -1185,7 +1188,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 科室名称圆点按钮
|
// 科室名称圆点按钮
|
||||||
nurseclick(row) {
|
nurseclick(row) {
|
||||||
this.form.departmentId = row.departmentCode;
|
this.form.departmentId = row.id;
|
||||||
this.departmentName = row.departmentName;
|
this.departmentName = row.departmentName;
|
||||||
this.form.diseaseTypeId = '';
|
this.form.diseaseTypeId = '';
|
||||||
this.diseaseTypeName = '请选择病种';
|
this.diseaseTypeName = '请选择病种';
|
||||||
@ -1214,7 +1217,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 病种名称圆点按钮
|
// 病种名称圆点按钮
|
||||||
nurseclickdisease(row) {
|
nurseclickdisease(row) {
|
||||||
this.form.diseaseTypeId = row.diseaseTypeCode;
|
this.form.diseaseTypeId = row.id;
|
||||||
this.diseaseTypeName = row.diseaseTypeName;
|
this.diseaseTypeName = row.diseaseTypeName;
|
||||||
this.diseaseshowst = false;
|
this.diseaseshowst = false;
|
||||||
},
|
},
|
||||||
@ -1343,13 +1346,15 @@ export default {
|
|||||||
this.form.voList.forEach(el => {
|
this.form.voList.forEach(el => {
|
||||||
if (!el.serviceFrequencyText) {
|
if (!el.serviceFrequencyText) {
|
||||||
el.serviceFrequencyText = el.serviceFrequencyStart + '~' + el.serviceFrequencyEnd
|
el.serviceFrequencyText = el.serviceFrequencyStart + '~' + el.serviceFrequencyEnd
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
el.serviceFrequencyText = el.serviceFrequencyText
|
el.serviceFrequencyText = el.serviceFrequencyText
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.diseaseTypeName = response.data.diseaseTypeName
|
if (!response.data.diseaseTypeName || response.data.diseaseTypeName == "") {
|
||||||
|
this.diseaseTypeName = "请选择病种"
|
||||||
|
} else {
|
||||||
|
this.diseaseTypeName = response.data.diseaseTypeName
|
||||||
|
}
|
||||||
this.departmentName = response.data.departmentName
|
this.departmentName = response.data.departmentName
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "修改服务包基础信息";
|
this.title = "修改服务包基础信息";
|
||||||
@ -1420,7 +1425,11 @@ export default {
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
if (this.form.id != null) {
|
if (this.form.id != null) {
|
||||||
this.form.departmentName = this.departmentName
|
this.form.departmentName = this.departmentName
|
||||||
this.form.diseaseTypeName = this.diseaseTypeName
|
if (this.diseaseTypeName == "请选择病种") {
|
||||||
|
this.form.diseaseTypeName = null
|
||||||
|
} else {
|
||||||
|
this.form.diseaseTypeName = this.diseaseTypeName
|
||||||
|
}
|
||||||
if (this.form.voList) {
|
if (this.form.voList) {
|
||||||
var obj = JSON.parse(JSON.stringify(this.form))
|
var obj = JSON.parse(JSON.stringify(this.form))
|
||||||
obj.voList.forEach(e => {
|
obj.voList.forEach(e => {
|
||||||
@ -1443,7 +1452,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (this.diseaseTypeName == "请选择病种") {
|
if (this.diseaseTypeName == "请选择病种") {
|
||||||
this.form.diseaseTypeName == null
|
this.form.diseaseTypeName = null
|
||||||
} else {
|
} else {
|
||||||
this.form.diseaseTypeName = this.diseaseTypeName
|
this.form.diseaseTypeName = this.diseaseTypeName
|
||||||
}
|
}
|
||||||
@ -1513,12 +1522,11 @@ export default {
|
|||||||
// text-overflow:ellipsis
|
// text-overflow:ellipsis
|
||||||
// white-space: nowrap;
|
// white-space: nowrap;
|
||||||
// overflow: hidden;
|
// overflow: hidden;
|
||||||
|
|
||||||
}
|
}
|
||||||
// .container:hover {
|
// .container:hover {
|
||||||
// text-overflow:inherit;
|
// text-overflow:inherit;
|
||||||
// overflow: visible;
|
// overflow: visible;
|
||||||
// white-space: pre-line;
|
// white-space: pre-line;
|
||||||
|
|
||||||
// }
|
// }
|
||||||
.leftserv {
|
.leftserv {
|
||||||
|
|||||||
@ -360,7 +360,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
style="width: 15px; height: 15px"
|
style="width: 15px; height: 15px"
|
||||||
v-if="form.departmentId == scope.row.departmentCode"
|
v-if="form.departmentId == scope.row.id"
|
||||||
circle
|
circle
|
||||||
@click="nurseclick(scope.row)"
|
@click="nurseclick(scope.row)"
|
||||||
></el-button>
|
></el-button>
|
||||||
@ -435,7 +435,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
style="width: 15px; height: 15px"
|
style="width: 15px; height: 15px"
|
||||||
v-if="form.diseaseTypeId == scope.row.diseaseTypeCode"
|
v-if="form.diseaseTypeId == scope.row.id"
|
||||||
circle
|
circle
|
||||||
@click="nurseclickdisease(scope.row)"
|
@click="nurseclickdisease(scope.row)"
|
||||||
></el-button>
|
></el-button>
|
||||||
@ -720,7 +720,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 科室名称圆点按钮
|
// 科室名称圆点按钮
|
||||||
nurseclick(row) {
|
nurseclick(row) {
|
||||||
this.form.departmentId = row.departmentCode;
|
this.form.departmentId = row.id;
|
||||||
this.departmentName = row.departmentName;
|
this.departmentName = row.departmentName;
|
||||||
this.form.diseaseTypeId = '';
|
this.form.diseaseTypeId = '';
|
||||||
this.diseaseTypeName = '请选择病种';
|
this.diseaseTypeName = '请选择病种';
|
||||||
@ -747,7 +747,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 病种名称圆点按钮
|
// 病种名称圆点按钮
|
||||||
nurseclickdisease(row) {
|
nurseclickdisease(row) {
|
||||||
this.form.diseaseTypeId = row.diseaseTypeCode;
|
this.form.diseaseTypeId = row.id;
|
||||||
this.diseaseTypeName = row.diseaseTypeName;
|
this.diseaseTypeName = row.diseaseTypeName;
|
||||||
this.diseaseshowst = false;
|
this.diseaseshowst = false;
|
||||||
|
|
||||||
@ -837,7 +837,11 @@ export default {
|
|||||||
getTemplate(id).then(response => {
|
getTemplate(id).then(response => {
|
||||||
this.form = response.data;
|
this.form = response.data;
|
||||||
this.form.suitTaskTypeIds = response.data.suitTaskTypeIds
|
this.form.suitTaskTypeIds = response.data.suitTaskTypeIds
|
||||||
this.diseaseTypeName = response.data.diseaseTypeName
|
if (!response.data.diseaseTypeName || response.data.diseaseTypeName == "") {
|
||||||
|
this.diseaseTypeName = "请选择病种"
|
||||||
|
} else {
|
||||||
|
this.diseaseTypeName = response.data.diseaseTypeName
|
||||||
|
}
|
||||||
this.departmentName = response.data.departmentName
|
this.departmentName = response.data.departmentName
|
||||||
if (!this.form.templateSort) {
|
if (!this.form.templateSort) {
|
||||||
this.form.templateSort = undefined
|
this.form.templateSort = undefined
|
||||||
@ -862,16 +866,23 @@ export default {
|
|||||||
if (this.form.id != null) {
|
if (this.form.id != null) {
|
||||||
this.form.departmentName = this.departmentName
|
this.form.departmentName = this.departmentName
|
||||||
this.form.diseaseTypeName = this.diseaseTypeName
|
this.form.diseaseTypeName = this.diseaseTypeName
|
||||||
|
if (this.diseaseTypeName == "请选择病种") {
|
||||||
|
this.form.diseaseTypeName = null
|
||||||
|
} else {
|
||||||
|
this.form.diseaseTypeName = this.diseaseTypeName
|
||||||
|
}
|
||||||
|
console.log(this.form,'this.form')
|
||||||
|
// return
|
||||||
updateTemplate(this.form).then(response => {
|
updateTemplate(this.form).then(response => {
|
||||||
this.$modal.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
this.open = false;
|
this.open = false;
|
||||||
this.getList();
|
this.getList();
|
||||||
this.Departmentlist();
|
this.Departmentlist();
|
||||||
});
|
});
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (this.diseaseTypeName == "请选择病种") {
|
if (this.diseaseTypeName == "请选择病种") {
|
||||||
this.form.diseaseTypeName == null
|
this.form.diseaseTypeName = null
|
||||||
} else {
|
} else {
|
||||||
this.form.diseaseTypeName = this.diseaseTypeName
|
this.form.diseaseTypeName = this.diseaseTypeName
|
||||||
}
|
}
|
||||||
@ -887,7 +898,7 @@ export default {
|
|||||||
this.getList();
|
this.getList();
|
||||||
this.Departmentlist();
|
this.Departmentlist();
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -283,7 +283,7 @@
|
|||||||
<el-input v-model="form.surgicalName" placeholder="请输入手术名称" style="width:200px" />
|
<el-input v-model="form.surgicalName" placeholder="请输入手术名称" style="width:200px" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="手术记录" prop="surgicalRecord" v-if="form.visitMethod == 'BE_IN_HOSPITAL'">
|
<el-form-item label="手术记录" prop="surgicalRecord" v-if="form.visitMethod == 'BE_IN_HOSPITAL'">
|
||||||
<el-input type="textarea" v-model="form.surgicalRecord" style="width:800px" placeholder="请输入手术记录" :rows="8" />
|
<editor v-model="form.surgicalRecord" :min-height="192" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="病历内容">
|
<el-form-item label="病历内容">
|
||||||
<editor v-model="form.inHospitalInfo" :min-height="192" />
|
<editor v-model="form.inHospitalInfo" :min-height="192" />
|
||||||
|
|||||||
@ -301,7 +301,7 @@
|
|||||||
<el-input v-model="form.surgicalName" placeholder="请输入手术名称" style="width:200px" />
|
<el-input v-model="form.surgicalName" placeholder="请输入手术名称" style="width:200px" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="手术记录" prop="surgicalRecord" v-if="form.visitMethod == 'BE_IN_HOSPITAL'">
|
<el-form-item label="手术记录" prop="surgicalRecord" v-if="form.visitMethod == 'BE_IN_HOSPITAL'">
|
||||||
<el-input type="textarea" v-model="form.surgicalRecord" style="width:800px" placeholder="请输入手术记录" :rows="8" />
|
<editor v-model="form.surgicalRecord" :min-height="192" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="入院病历">
|
<el-form-item label="入院病历">
|
||||||
<editor v-model="form.inHospitalInfo" :min-height="192" />
|
<editor v-model="form.inHospitalInfo" :min-height="192" />
|
||||||
|
|||||||
@ -167,9 +167,9 @@ export default {
|
|||||||
this.$emit("on-template", { templateId: '', templateName: '', templateContent: "" });
|
this.$emit("on-template", { templateId: '', templateName: '', templateContent: "" });
|
||||||
},
|
},
|
||||||
handleselect(item) {
|
handleselect(item) {
|
||||||
this.handleselectId = item.textMessageId
|
this.handleselectId = item.id
|
||||||
this.handleselectName = item.textMessageName
|
this.handleselectName = item.textMessageName
|
||||||
this.$emit("on-template", { templateId: item.textMessageId, templateName: item.textMessageName, templateContent: item.templateContent });
|
this.$emit("on-template", { templateId: item.id, templateName: item.textMessageName, templateContent: item.templateContent });
|
||||||
this.classificationOpen = false
|
this.classificationOpen = false
|
||||||
},
|
},
|
||||||
classificationOpenfalse() {
|
classificationOpenfalse() {
|
||||||
|
|||||||
@ -170,9 +170,9 @@ export default {
|
|||||||
this.$emit("on-template", { templateId: '', templateName: '', templateContent: "" });
|
this.$emit("on-template", { templateId: '', templateName: '', templateContent: "" });
|
||||||
},
|
},
|
||||||
handleselect(item) {
|
handleselect(item) {
|
||||||
this.handleselectId = item.templateId
|
this.handleselectId = item.id
|
||||||
this.handleselectName = item.wechatTemplateName
|
this.handleselectName = item.wechatTemplateName
|
||||||
this.$emit("on-template", { templateId: item.templateId, templateName: item.wechatTemplateName, templateContent: item.textMessageContent });
|
this.$emit("on-template", { templateId: item.id, templateName: item.wechatTemplateName, templateContent: item.textMessageContent });
|
||||||
this.classificationOpen = false
|
this.classificationOpen = false
|
||||||
},
|
},
|
||||||
/** 查询微信模板信息列表 */
|
/** 查询微信模板信息列表 */
|
||||||
|
|||||||
@ -170,9 +170,9 @@ export default {
|
|||||||
this.$emit("on-template", { templateId: '', templateName: '', templateContent: "" });
|
this.$emit("on-template", { templateId: '', templateName: '', templateContent: "" });
|
||||||
},
|
},
|
||||||
handleselect(item) {
|
handleselect(item) {
|
||||||
this.handleselectId = item.templateId
|
this.handleselectId = item.id
|
||||||
this.handleselectName = item.wechatTemplateName
|
this.handleselectName = item.wechatTemplateName
|
||||||
this.$emit("on-template", { templateId: item.templateId, templateName: item.wechatTemplateName, templateContent: item.textMessageContent });
|
this.$emit("on-template", { templateId: item.id, templateName: item.wechatTemplateName, templateContent: item.textMessageContent });
|
||||||
this.classificationOpen = false
|
this.classificationOpen = false
|
||||||
},
|
},
|
||||||
/** 查询微信模板信息列表 */
|
/** 查询微信模板信息列表 */
|
||||||
|
|||||||
@ -13,282 +13,150 @@
|
|||||||
/>
|
/>
|
||||||
</div>-->
|
</div>-->
|
||||||
<div class="head-container" style="height: 580px; width: 100%">
|
<div class="head-container" style="height: 580px; width: 100%">
|
||||||
<el-tree
|
<el-tree :data="deptOptions" :props="defaultProps" :expand-on-click-node="false"
|
||||||
:data="deptOptions"
|
:filter-node-method="filterNode" ref="tree" highlight-current @node-click="handleNodeClick" />
|
||||||
:props="defaultProps"
|
|
||||||
:expand-on-click-node="false"
|
|
||||||
:filter-node-method="filterNode"
|
|
||||||
ref="tree"
|
|
||||||
highlight-current
|
|
||||||
@node-click="handleNodeClick"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="20" :xs="24">
|
<el-col :span="20" :xs="24">
|
||||||
<el-form
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"
|
||||||
:model="queryParams"
|
label-width="68px">
|
||||||
ref="queryForm"
|
|
||||||
size="small"
|
|
||||||
:inline="true"
|
|
||||||
v-show="showSearch"
|
|
||||||
label-width="68px"
|
|
||||||
>
|
|
||||||
<el-form-item label="科室名称" prop="departmentName">
|
<el-form-item label="科室名称" prop="departmentName">
|
||||||
<el-input
|
<el-input maxlength="100" v-model="queryParams.departmentName" placeholder="请输入科室名称" clearable
|
||||||
maxlength="100"
|
@keyup.enter.native="handleQuery" />
|
||||||
v-model="queryParams.departmentName"
|
|
||||||
placeholder="请输入科室名称"
|
|
||||||
clearable
|
|
||||||
@keyup.enter.native="handleQuery"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="科室代码" prop="departmentCode">
|
<el-form-item label="科室代码" prop="departmentCode">
|
||||||
<el-input
|
<el-input maxlength="30" v-model="queryParams.departmentCode" placeholder="请输入科室代码" clearable
|
||||||
maxlength="30"
|
@keyup.enter.native="handleQuery" />
|
||||||
v-model="queryParams.departmentCode"
|
|
||||||
placeholder="请输入科室代码"
|
|
||||||
clearable
|
|
||||||
@keyup.enter.native="handleQuery"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
||||||
type="primary"
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
||||||
icon="el-icon-search"
|
|
||||||
size="mini"
|
|
||||||
@click="handleQuery"
|
|
||||||
>搜索</el-button
|
|
||||||
>
|
|
||||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
|
|
||||||
>重置</el-button
|
|
||||||
>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<el-row :gutter="10" class="mb8">
|
<el-row :gutter="10" class="mb8">
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
|
||||||
type="primary"
|
v-hasPermi="['system:department:add']">新增</el-button>
|
||||||
plain
|
|
||||||
icon="el-icon-plus"
|
|
||||||
size="mini"
|
|
||||||
@click="handleAdd"
|
|
||||||
v-hasPermi="['system:department:add']"
|
|
||||||
>新增</el-button
|
|
||||||
>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
|
||||||
type="success"
|
v-hasPermi="['system:department:edit']">修改</el-button>
|
||||||
plain
|
|
||||||
icon="el-icon-edit"
|
|
||||||
size="mini"
|
|
||||||
:disabled="single"
|
|
||||||
@click="handleUpdate"
|
|
||||||
v-hasPermi="['system:department:edit']"
|
|
||||||
>修改</el-button
|
|
||||||
>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
|
||||||
type="danger"
|
v-hasPermi="['system:department:remove']">删除</el-button>
|
||||||
plain
|
|
||||||
icon="el-icon-delete"
|
|
||||||
size="mini"
|
|
||||||
:disabled="multiple"
|
|
||||||
@click="handleDelete"
|
|
||||||
v-hasPermi="['system:department:remove']"
|
|
||||||
>删除</el-button
|
|
||||||
>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button type="info" plain icon="el-icon-upload2" size="mini" @click="handleImport"
|
||||||
type="info"
|
v-hasPermi="['system:person:importStationPerson']">导入</el-button>
|
||||||
plain
|
|
||||||
icon="el-icon-upload2"
|
|
||||||
size="mini"
|
|
||||||
@click="handleImport"
|
|
||||||
v-hasPermi="['system:person:importStationPerson']"
|
|
||||||
>导入</el-button
|
|
||||||
>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"
|
||||||
type="warning"
|
v-hasPermi="['system:department:export']">导出</el-button>
|
||||||
plain
|
|
||||||
icon="el-icon-download"
|
|
||||||
size="mini"
|
|
||||||
@click="handleExport"
|
|
||||||
v-hasPermi="['system:department:export']"
|
|
||||||
>导出</el-button
|
|
||||||
>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
<right-toolbar
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
:showSearch.sync="showSearch"
|
|
||||||
@queryTable="getList"
|
|
||||||
></right-toolbar>
|
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-table
|
<el-table v-loading="loading" :data="departmentList" @selection-change="handleSelectionChange">
|
||||||
v-loading="loading"
|
|
||||||
:data="departmentList"
|
|
||||||
@selection-change="handleSelectionChange"
|
|
||||||
>
|
|
||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
<!-- <el-table-column label="主键id" align="center" prop="id" /> -->
|
<!-- <el-table-column label="主键id" align="center" prop="id" /> -->
|
||||||
<!-- <el-table-column label="上级科室id" align="center" prop="parentDepartmentId" />
|
<!-- <el-table-column label="上级科室id" align="center" prop="parentDepartmentId" />
|
||||||
<el-table-column label="所属机构id" align="center" prop="hospitalAgencyId" /> -->
|
<el-table-column label="所属机构id" align="center" prop="hospitalAgencyId" /> -->
|
||||||
<!-- <el-table-column label="所属机构名称" align="center" prop="agencyName" /> -->
|
<!-- <el-table-column label="所属机构名称" align="center" prop="agencyName" /> -->
|
||||||
<el-table-column
|
<el-table-column label="科室名称" align="center" prop="departmentName" />
|
||||||
label="科室名称"
|
<el-table-column label="科室代码" align="center" prop="departmentCode" />
|
||||||
align="center"
|
<el-table-column label="科室类型" align="center" prop="departmentType">
|
||||||
prop="departmentName"
|
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
label="科室代码"
|
|
||||||
align="center"
|
|
||||||
prop="departmentCode"
|
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
label="科室类型"
|
|
||||||
align="center"
|
|
||||||
prop="departmentType"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{
|
{{
|
||||||
scope.row.departmentType == "ADMINISTRATION_LOGISTICS"
|
scope.row.departmentType == "ADMINISTRATION_LOGISTICS"
|
||||||
? "行政后勤类"
|
? "行政后勤类"
|
||||||
: ""
|
: ""
|
||||||
}}
|
}}
|
||||||
{{
|
{{
|
||||||
scope.row.departmentType == "MEDICAL_ASSISTANCE"
|
scope.row.departmentType == "MEDICAL_ASSISTANCE"
|
||||||
? "医疗辅助类"
|
? "医疗辅助类"
|
||||||
: ""
|
: ""
|
||||||
}}
|
}}
|
||||||
{{
|
{{
|
||||||
scope.row.departmentType == "MEDICAL_TECHNOLOGY"
|
scope.row.departmentType == "MEDICAL_TECHNOLOGY"
|
||||||
? "医疗技术类"
|
? "医疗技术类"
|
||||||
: ""
|
: ""
|
||||||
}}
|
}}
|
||||||
{{
|
{{
|
||||||
scope.row.departmentType == "CLINICAL_SERVICES"
|
scope.row.departmentType == "CLINICAL_SERVICES"
|
||||||
? "临床服务类"
|
? "临床服务类"
|
||||||
: ""
|
: ""
|
||||||
}}
|
}}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column label="提供服务类别" align="center" prop="provideServiceCategory">
|
||||||
label="提供服务类别"
|
<template slot-scope="scope">{{
|
||||||
align="center"
|
scope.row.provideServiceCategory == "OUTPATIENT_SERVICE"
|
||||||
prop="provideServiceCategory"
|
? "门诊"
|
||||||
>
|
: ""
|
||||||
<template slot-scope="scope"
|
}}
|
||||||
>{{
|
|
||||||
scope.row.provideServiceCategory == "OUTPATIENT_SERVICE"
|
|
||||||
? "门诊"
|
|
||||||
: ""
|
|
||||||
}}
|
|
||||||
{{
|
{{
|
||||||
scope.row.provideServiceCategory == "EMERGENCY_TREATMENT"
|
scope.row.provideServiceCategory == "EMERGENCY_TREATMENT"
|
||||||
? "急诊"
|
? "急诊"
|
||||||
: ""
|
: ""
|
||||||
}}
|
}}
|
||||||
{{
|
{{
|
||||||
scope.row.provideServiceCategory == "BE_HOSPITALIZED"
|
scope.row.provideServiceCategory == "BE_HOSPITALIZED"
|
||||||
? "住院"
|
? "住院"
|
||||||
: ""
|
: ""
|
||||||
}}
|
}}
|
||||||
|
|
||||||
{{ scope.row.provideServiceCategory == "WARD" ? "病区" : "" }}
|
{{ scope.row.provideServiceCategory == "WARD" ? "病区" : "" }}
|
||||||
{{
|
{{
|
||||||
scope.row.provideServiceCategory == "MEDICAL_TECHNOLOGY"
|
scope.row.provideServiceCategory == "MEDICAL_TECHNOLOGY"
|
||||||
? "医技"
|
? "医技"
|
||||||
: ""
|
: ""
|
||||||
}}
|
}}
|
||||||
|
|
||||||
{{ scope.row.provideServiceCategory == "DRUG" ? "药剂" : "" }}
|
{{ scope.row.provideServiceCategory == "DRUG" ? "药剂" : "" }}
|
||||||
{{ scope.row.provideServiceCategory == "FINANCE" ? "财务" : "" }}
|
{{ scope.row.provideServiceCategory == "FINANCE" ? "财务" : "" }}
|
||||||
{{
|
{{
|
||||||
scope.row.provideServiceCategory == "ADMINISTRATION"
|
scope.row.provideServiceCategory == "ADMINISTRATION"
|
||||||
? "行政"
|
? "行政"
|
||||||
: ""
|
: ""
|
||||||
}}
|
}}
|
||||||
{{ scope.row.provideServiceCategory == "PHARMACY" ? "药房" : "" }}
|
{{ scope.row.provideServiceCategory == "PHARMACY" ? "药房" : "" }}
|
||||||
{{
|
{{
|
||||||
scope.row.provideServiceCategory == "DRUG_STORAGE" ? "药库" : ""
|
scope.row.provideServiceCategory == "DRUG_STORAGE" ? "药库" : ""
|
||||||
}}
|
}}
|
||||||
{{
|
{{
|
||||||
scope.row.provideServiceCategory == "PUBLIC_HEALTH"
|
scope.row.provideServiceCategory == "PUBLIC_HEALTH"
|
||||||
? "公卫"
|
? "公卫"
|
||||||
: ""
|
: ""
|
||||||
}}
|
}}
|
||||||
</template></el-table-column
|
</template></el-table-column>
|
||||||
>
|
|
||||||
<!-- <el-table-column label="细分类别id" align="center" prop="subdivisionCategoryId" />
|
<!-- <el-table-column label="细分类别id" align="center" prop="subdivisionCategoryId" />
|
||||||
<el-table-column label="细分类别名称" align="center" prop="subdivisionCategoryName" />
|
<el-table-column label="细分类别名称" align="center" prop="subdivisionCategoryName" />
|
||||||
<el-table-column label="标准科室对照id" align="center" prop="normDepartmentCompareId" />
|
<el-table-column label="标准科室对照id" align="center" prop="normDepartmentCompareId" />
|
||||||
<el-table-column label="标准科室对照名称" align="center" prop="normDepartmentCompareName" />
|
<el-table-column label="标准科室对照名称" align="center" prop="normDepartmentCompareName" />
|
||||||
<el-table-column label="编制床位数" align="center" prop="prepareBedsCount" /> -->
|
<el-table-column label="编制床位数" align="center" prop="prepareBedsCount" /> -->
|
||||||
<el-table-column
|
<el-table-column label="科室电话" align="center" prop="departmentPhone" />
|
||||||
label="科室电话"
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||||
align="center"
|
|
||||||
prop="departmentPhone"
|
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
label="操作"
|
|
||||||
align="center"
|
|
||||||
class-name="small-padding fixed-width"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
||||||
size="mini"
|
v-hasPermi="['system:department:edit']">修改</el-button>
|
||||||
type="text"
|
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
||||||
icon="el-icon-edit"
|
v-hasPermi="['system:department:remove']">删除</el-button>
|
||||||
@click="handleUpdate(scope.row)"
|
|
||||||
v-hasPermi="['system:department:edit']"
|
|
||||||
>修改</el-button
|
|
||||||
>
|
|
||||||
<el-button
|
|
||||||
size="mini"
|
|
||||||
type="text"
|
|
||||||
icon="el-icon-delete"
|
|
||||||
@click="handleDelete(scope.row)"
|
|
||||||
v-hasPermi="['system:department:remove']"
|
|
||||||
>删除</el-button
|
|
||||||
>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
||||||
<pagination
|
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
|
||||||
v-show="total > 0"
|
:limit.sync="queryParams.pageSize" @pagination="getList" />
|
||||||
:total="total"
|
|
||||||
:page.sync="queryParams.pageNum"
|
|
||||||
:limit.sync="queryParams.pageSize"
|
|
||||||
@pagination="getList"
|
|
||||||
/>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<!-- 导入 -->
|
<!-- 导入 -->
|
||||||
<el-dialog
|
<el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
|
||||||
:title="upload.title"
|
<el-upload ref="upload" :limit="1" accept=".xlsx, .xls" :headers="upload.headers" :action="upload.url"
|
||||||
:visible.sync="upload.open"
|
:disabled="upload.isUploading" :on-progress="handleFileUploadProgress" :on-success="handleFileSuccess"
|
||||||
width="400px"
|
:auto-upload="false" drag>
|
||||||
append-to-body
|
|
||||||
>
|
|
||||||
<el-upload
|
|
||||||
ref="upload"
|
|
||||||
:limit="1"
|
|
||||||
accept=".xlsx, .xls"
|
|
||||||
:headers="upload.headers"
|
|
||||||
:action="upload.url"
|
|
||||||
:disabled="upload.isUploading"
|
|
||||||
:on-progress="handleFileUploadProgress"
|
|
||||||
:on-success="handleFileSuccess"
|
|
||||||
:auto-upload="false"
|
|
||||||
drag
|
|
||||||
>
|
|
||||||
<i class="el-icon-upload"></i>
|
<i class="el-icon-upload"></i>
|
||||||
<div class="el-upload__text">
|
<div class="el-upload__text">
|
||||||
将文件拖到此处,或
|
将文件拖到此处,或
|
||||||
@ -296,13 +164,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="el-upload__tip text-center" slot="tip">
|
<div class="el-upload__tip text-center" slot="tip">
|
||||||
<span>仅允许导入xls、xlsx格式文件。</span>
|
<span>仅允许导入xls、xlsx格式文件。</span>
|
||||||
<el-link
|
<el-link type="primary" :underline="false" style="font-size: 12px; vertical-align: baseline"
|
||||||
type="primary"
|
@click="importTemplate">下载模板</el-link>
|
||||||
:underline="false"
|
|
||||||
style="font-size: 12px; vertical-align: baseline"
|
|
||||||
@click="importTemplate"
|
|
||||||
>下载模板</el-link
|
|
||||||
>
|
|
||||||
</div>
|
</div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
@ -311,19 +174,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!-- 添加或修改科室信息对话框 -->
|
<!-- 添加或修改科室信息对话框 -->
|
||||||
<el-dialog
|
<el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body>
|
||||||
:title="title"
|
<el-form ref="form" :model="form" :rules="rules" label-width="120px" :inline="true">
|
||||||
:visible.sync="open"
|
|
||||||
width="1000px"
|
|
||||||
append-to-body
|
|
||||||
>
|
|
||||||
<el-form
|
|
||||||
ref="form"
|
|
||||||
:model="form"
|
|
||||||
:rules="rules"
|
|
||||||
label-width="120px"
|
|
||||||
:inline="true"
|
|
||||||
>
|
|
||||||
<!-- <el-form-item label="上级科室id" prop="parentDepartmentId">
|
<!-- <el-form-item label="上级科室id" prop="parentDepartmentId">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.parentDepartmentId"
|
v-model="form.parentDepartmentId"
|
||||||
@ -342,40 +194,19 @@
|
|||||||
<div class="nameinformation">基本信息</div>
|
<div class="nameinformation">基本信息</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<el-form-item label="科室名称" prop="departmentName">
|
<el-form-item label="科室名称" prop="departmentName">
|
||||||
<el-input
|
<el-input maxlength="100" v-model="form.departmentName" placeholder="请输入科室名称" />
|
||||||
maxlength="100"
|
|
||||||
v-model="form.departmentName"
|
|
||||||
placeholder="请输入科室名称"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="科室代码" prop="departmentCode">
|
<el-form-item label="科室代码" prop="departmentCode">
|
||||||
<el-input
|
<el-input maxlength="30" onKeyUp="value=value.replace(/[\W]/g,'')" v-model="form.departmentCode"
|
||||||
maxlength="30"
|
placeholder="请输入科室代码" />
|
||||||
onKeyUp="value=value.replace(/[\W]/g,'')"
|
|
||||||
v-model="form.departmentCode"
|
|
||||||
placeholder="请输入科室代码"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="科室简称" prop="departmentAbbreviation">
|
<el-form-item label="科室简称" prop="departmentAbbreviation">
|
||||||
<el-input
|
<el-input maxlength="100" v-model="form.departmentAbbreviation" placeholder="请输入科室简称" />
|
||||||
maxlength="100"
|
|
||||||
v-model="form.departmentAbbreviation"
|
|
||||||
placeholder="请输入科室简称"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="科室类型" prop="departmentType">
|
<el-form-item label="科室类型" prop="departmentType">
|
||||||
<el-select
|
<el-select v-model="form.departmentType" placeholder="请选择" style="width: 205px" clearable="">
|
||||||
v-model="form.departmentType"
|
<el-option v-for="item in departmentoptions" :key="item.dictValue" :label="item.dictLabel"
|
||||||
placeholder="请选择"
|
:value="item.dictValue">
|
||||||
style="width: 205px"
|
|
||||||
clearable=""
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item in departmentoptions"
|
|
||||||
:key="item.dictValue"
|
|
||||||
:label="item.dictLabel"
|
|
||||||
:value="item.dictValue"
|
|
||||||
>
|
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@ -386,58 +217,26 @@
|
|||||||
/>
|
/>
|
||||||
</el-form-item> -->
|
</el-form-item> -->
|
||||||
<el-form-item label="科室负责人姓名" prop="departmentPersonName">
|
<el-form-item label="科室负责人姓名" prop="departmentPersonName">
|
||||||
<el-input
|
<el-input maxlength="20" v-model="form.departmentPersonName" placeholder="请输入科室负责人姓名" />
|
||||||
maxlength="20"
|
|
||||||
v-model="form.departmentPersonName"
|
|
||||||
placeholder="请输入科室负责人姓名"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="节点类型" prop="nodeType">
|
<el-form-item label="节点类型" prop="nodeType">
|
||||||
<el-select
|
<el-select v-model="form.nodeType" placeholder="请选择" style="width: 205px" clearable>
|
||||||
v-model="form.nodeType"
|
<el-option v-for="item in nodeTypeoptions" :key="item.dictValue" :label="item.dictLabel"
|
||||||
placeholder="请选择"
|
:value="item.dictValue">
|
||||||
style="width: 205px"
|
|
||||||
clearable
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item in nodeTypeoptions"
|
|
||||||
:key="item.dictValue"
|
|
||||||
:label="item.dictLabel"
|
|
||||||
:value="item.dictValue"
|
|
||||||
>
|
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="所属机构" prop="hospitalAgencyName">
|
<el-form-item label="所属机构" prop="hospitalAgencyName">
|
||||||
<el-cascader
|
<el-cascader clearable :props="{ checkStrictly: true }" :options="treeOptions" @change="change"
|
||||||
clearable
|
style="width: 205px; color: black" v-model="form.hospitalAgencyIdtwo" :show-all-levels="false"
|
||||||
:props="{ checkStrictly: true }"
|
:placeholder="form.hospitalAgencyName ? form.hospitalAgencyName : ''" ref="cascader"
|
||||||
:options="treeOptions"
|
:key="isResouceShow"></el-cascader>
|
||||||
@change="change($event)"
|
|
||||||
style="width: 205px; color: black"
|
|
||||||
v-model="form.hospitalAgencyId"
|
|
||||||
:show-all-levels="false"
|
|
||||||
:placeholder="
|
|
||||||
form.hospitalAgencyName ? form.hospitalAgencyName : '请选择所属机构'
|
|
||||||
"
|
|
||||||
ref="cascader"
|
|
||||||
:key="isResouceShow"
|
|
||||||
></el-cascader>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="上级科室" prop="parentDepartmentId">
|
<el-form-item label="上级科室" prop="parentDepartmentId">
|
||||||
<el-select
|
<el-select v-model="form.parentDepartmentName" placeholder="请选择" style="width: 205px"
|
||||||
v-model="form.parentDepartmentName"
|
@change="changeparentDepartment" clearable>
|
||||||
placeholder="请选择"
|
<el-option v-for="item in optionsparentDepartment" :key="item.id" :label="item.departmentName"
|
||||||
style="width: 205px"
|
:value="item.id">
|
||||||
@change="changeparentDepartment"
|
|
||||||
clearable
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item in optionsparentDepartment"
|
|
||||||
:key="item.id"
|
|
||||||
:label="item.departmentName"
|
|
||||||
:value="item.departmentCode"
|
|
||||||
>
|
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
<!-- <el-cascader
|
<!-- <el-cascader
|
||||||
@ -460,35 +259,16 @@
|
|||||||
<div class="nameinformation">扩展信息</div>
|
<div class="nameinformation">扩展信息</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<el-form-item label="提供服务类别" prop="provideServiceCategory">
|
<el-form-item label="提供服务类别" prop="provideServiceCategory">
|
||||||
<el-select
|
<el-select clearable v-model="form.provideServiceCategory" placeholder="请选择" style="width: 205px">
|
||||||
clearable
|
<el-option v-for="item in options" :key="item.dictValue" :label="item.dictLabel" :value="item.dictValue">
|
||||||
v-model="form.provideServiceCategory"
|
|
||||||
placeholder="请选择"
|
|
||||||
style="width: 205px"
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item in options"
|
|
||||||
:key="item.dictValue"
|
|
||||||
:label="item.dictLabel"
|
|
||||||
:value="item.dictValue"
|
|
||||||
>
|
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="细分类别" prop="subdivisionCategoryId">
|
<el-form-item label="细分类别" prop="subdivisionCategoryId">
|
||||||
<el-select
|
<el-select v-model="form.subdivisionCategoryName" placeholder="请选择" style="width: 205px" clearable
|
||||||
v-model="form.subdivisionCategoryName"
|
@change="optionsubdivision">
|
||||||
placeholder="请选择"
|
<el-option v-for="item in optionsubdivisionCategory" :key="item.subdivisionCategoryCode"
|
||||||
style="width: 205px"
|
:label="item.subdivisionCategoryName" :value="item.subdivisionCategoryCode">
|
||||||
clearable
|
|
||||||
@change="optionsubdivision"
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item in optionsubdivisionCategory"
|
|
||||||
:key="item.subdivisionCategoryCode"
|
|
||||||
:label="item.subdivisionCategoryName"
|
|
||||||
:value="item.subdivisionCategoryCode"
|
|
||||||
>
|
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@ -499,18 +279,9 @@
|
|||||||
/>
|
/>
|
||||||
</el-form-item> -->
|
</el-form-item> -->
|
||||||
<el-form-item label="标准科室对照" prop="normDepartmentCompareId">
|
<el-form-item label="标准科室对照" prop="normDepartmentCompareId">
|
||||||
<el-select
|
<el-select v-model="form.normDepartmentCompareId" placeholder="请选择" style="width: 205px" clearable>
|
||||||
v-model="form.normDepartmentCompareId"
|
<el-option v-for="item in compareList" :key="item.departmentId" :label="item.departmentName"
|
||||||
placeholder="请选择"
|
:value="item.departmentId">
|
||||||
style="width: 205px"
|
|
||||||
clearable
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item in compareList"
|
|
||||||
:key="item.departmentId"
|
|
||||||
:label="item.departmentName"
|
|
||||||
:value="item.departmentId"
|
|
||||||
>
|
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
<!-- <el-input
|
<!-- <el-input
|
||||||
@ -525,48 +296,24 @@
|
|||||||
/>
|
/>
|
||||||
</el-form-item> -->
|
</el-form-item> -->
|
||||||
<el-form-item label="编制床位数" prop="prepareBedsCount">
|
<el-form-item label="编制床位数" prop="prepareBedsCount">
|
||||||
<el-input
|
<el-input maxlength="8" onKeyUp="value=value.replace(/[\W]/g,'')" v-model="form.prepareBedsCount"
|
||||||
maxlength="8"
|
placeholder="请输入编制床位数" />
|
||||||
onKeyUp="value=value.replace(/[\W]/g,'')"
|
|
||||||
v-model="form.prepareBedsCount"
|
|
||||||
placeholder="请输入编制床位数"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="科室电话" prop="departmentPhone">
|
<el-form-item label="科室电话" prop="departmentPhone">
|
||||||
<el-input
|
<el-input maxlength="12" onKeyUp="value=value.replace(/[\W]/g,'')" v-model="form.departmentPhone"
|
||||||
maxlength="12"
|
placeholder="请输入科室电话" />
|
||||||
onKeyUp="value=value.replace(/[\W]/g,'')"
|
|
||||||
v-model="form.departmentPhone"
|
|
||||||
placeholder="请输入科室电话"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="科室邮箱" prop="departmentMail">
|
<el-form-item label="科室邮箱" prop="departmentMail">
|
||||||
<el-input
|
<el-input maxlength="20" v-model="form.departmentMail" placeholder="请输入科室邮箱" />
|
||||||
maxlength="20"
|
|
||||||
v-model="form.departmentMail"
|
|
||||||
placeholder="请输入科室邮箱"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="成立日期" prop="establishDate">
|
<el-form-item label="成立日期" prop="establishDate">
|
||||||
<el-date-picker
|
<el-date-picker clearable v-model="form.establishDate" type="date" style="width: 205px"
|
||||||
clearable
|
value-format="yyyy-MM-dd" placeholder="请选择成立日期">
|
||||||
v-model="form.establishDate"
|
|
||||||
type="date"
|
|
||||||
style="width: 205px"
|
|
||||||
value-format="yyyy-MM-dd"
|
|
||||||
placeholder="请选择成立日期"
|
|
||||||
>
|
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="撤销日期" prop="revokeDate">
|
<el-form-item label="撤销日期" prop="revokeDate">
|
||||||
<el-date-picker
|
<el-date-picker clearable v-model="form.revokeDate" type="date" style="width: 205px"
|
||||||
clearable
|
value-format="yyyy-MM-dd" placeholder="请选择撤销日期">
|
||||||
v-model="form.revokeDate"
|
|
||||||
type="date"
|
|
||||||
style="width: 205px"
|
|
||||||
value-format="yyyy-MM-dd"
|
|
||||||
placeholder="请选择撤销日期"
|
|
||||||
>
|
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
@ -775,17 +522,14 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
optionsubdivision(e) {
|
optionsubdivision(e) {
|
||||||
console.log(e);
|
|
||||||
// this.form.subdivisionCategoryId = this.optionsubdivisionCategory.find(
|
// this.form.subdivisionCategoryId = this.optionsubdivisionCategory.find(
|
||||||
// (e) => e.id == this.form.subdivisionCategoryId
|
// (e) => e.id == this.form.subdivisionCategoryId
|
||||||
// ).subdivisionCategoryName;
|
// ).subdivisionCategoryName;
|
||||||
// console.log(this.form.subdivisionCategoryName)
|
// console.log(this.form.subdivisionCategoryName)
|
||||||
|
|
||||||
},
|
},
|
||||||
// 上级科室
|
// 上级科室
|
||||||
changeparentDepartment(e) {
|
changeparentDepartment(e) {
|
||||||
this.form.parentDepartmentId = e;
|
this.form.parentDepartmentId = e;
|
||||||
console.log(e);
|
|
||||||
},
|
},
|
||||||
/** 查询标准科室对照信息列表 */
|
/** 查询标准科室对照信息列表 */
|
||||||
infocompare() {
|
infocompare() {
|
||||||
@ -805,7 +549,6 @@ export default {
|
|||||||
// 上级科室
|
// 上级科室
|
||||||
getinfo() {
|
getinfo() {
|
||||||
getDepartmentList().then((res) => {
|
getDepartmentList().then((res) => {
|
||||||
console.log(res, "666");
|
|
||||||
this.optionsparentDepartment = res.data;
|
this.optionsparentDepartment = res.data;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -832,20 +575,28 @@ export default {
|
|||||||
},
|
},
|
||||||
// 所属机构
|
// 所属机构
|
||||||
change(e) {
|
change(e) {
|
||||||
console.log(e, "78");
|
console.log(this.form.hospitalAgencyIdtwo)
|
||||||
if (e) {
|
if (e) {
|
||||||
this.form.hospitalAgencyId = e[e.length - 1];
|
this.form.hospitalAgencyId = e[e.length - 1];
|
||||||
if (this.form.hospitalAgencyId) {
|
if (this.form.hospitalAgencyId) {
|
||||||
const arr = this.$refs["cascader"].getCheckedNodes()[0].pathLabels;
|
const arr = this.$refs["cascader"].getCheckedNodes()[0].pathLabels;
|
||||||
// console.log(arr, "5555555");
|
|
||||||
this.form.hospitalAgencyName = arr.slice(-1).join(",");
|
this.form.hospitalAgencyName = arr.slice(-1).join(",");
|
||||||
// console.log(this.form.agencyName);
|
this.gethaveinfo(e[e.length - 1])
|
||||||
|
this.form.parentDepartmentId = ''
|
||||||
|
this.form.parentDepartmentName = ''
|
||||||
} else {
|
} else {
|
||||||
|
this.form.parentDepartmentId = ''
|
||||||
this.form.hospitalAgencyName = "";
|
this.form.hospitalAgencyName = "";
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.getinfo();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
gethaveinfo(id) {
|
||||||
|
getDepartmentList({ hospitalAgencyId: id }).then((res) => {
|
||||||
|
this.optionsparentDepartment = res.data;
|
||||||
|
});
|
||||||
|
},
|
||||||
// changeagencyCategoryId(e) {
|
// changeagencyCategoryId(e) {
|
||||||
// this.form.parentDepartmentId = e[e.length - 1];
|
// this.form.parentDepartmentId = e[e.length - 1];
|
||||||
// },
|
// },
|
||||||
@ -880,7 +631,6 @@ export default {
|
|||||||
`科室下载模板.xlsx`
|
`科室下载模板.xlsx`
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
// 提交上传文件
|
// 提交上传文件
|
||||||
submitFileForm() {
|
submitFileForm() {
|
||||||
this.$refs.upload.submit();
|
this.$refs.upload.submit();
|
||||||
@ -892,8 +642,8 @@ export default {
|
|||||||
this.$refs.upload.clearFiles();
|
this.$refs.upload.clearFiles();
|
||||||
this.$alert(
|
this.$alert(
|
||||||
"<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" +
|
"<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" +
|
||||||
response.msg +
|
response.msg +
|
||||||
"</div>",
|
"</div>",
|
||||||
"导入结果",
|
"导入结果",
|
||||||
{ dangerouslyUseHTMLString: true }
|
{ dangerouslyUseHTMLString: true }
|
||||||
);
|
);
|
||||||
@ -903,7 +653,6 @@ export default {
|
|||||||
handleFileUploadProgress(event, file, fileList) {
|
handleFileUploadProgress(event, file, fileList) {
|
||||||
this.upload.isUploading = true;
|
this.upload.isUploading = true;
|
||||||
},
|
},
|
||||||
|
|
||||||
// 筛选节点
|
// 筛选节点
|
||||||
filterNode(value, data) {
|
filterNode(value, data) {
|
||||||
if (!value) return true;
|
if (!value) return true;
|
||||||
@ -935,6 +684,7 @@ export default {
|
|||||||
id: null,
|
id: null,
|
||||||
parentDepartmentId: null,
|
parentDepartmentId: null,
|
||||||
hospitalAgencyId: null,
|
hospitalAgencyId: null,
|
||||||
|
hospitalAgencyIdtwo: null,
|
||||||
hospitalAgencyName: null,
|
hospitalAgencyName: null,
|
||||||
departmentName: null,
|
departmentName: null,
|
||||||
departmentCode: null,
|
departmentCode: null,
|
||||||
@ -981,6 +731,7 @@ export default {
|
|||||||
this.reset();
|
this.reset();
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "添加科室信息";
|
this.title = "添加科室信息";
|
||||||
|
this.getinfo()
|
||||||
},
|
},
|
||||||
/** 修改按钮操作 */
|
/** 修改按钮操作 */
|
||||||
handleUpdate(row) {
|
handleUpdate(row) {
|
||||||
@ -988,8 +739,10 @@ export default {
|
|||||||
const id = row.id || this.ids;
|
const id = row.id || this.ids;
|
||||||
getDepartment(id).then((response) => {
|
getDepartment(id).then((response) => {
|
||||||
this.form = response.data;
|
this.form = response.data;
|
||||||
|
this.form.hospitalAgencyIdtwo = this.form.hospitalAgencyId
|
||||||
this.form.parentDepartmentName = response.data.parentDepartmentName;
|
this.form.parentDepartmentName = response.data.parentDepartmentName;
|
||||||
this.open = true;
|
this.open = true;
|
||||||
|
this.gethaveinfo(this.form.hospitalAgencyId)
|
||||||
this.title = "修改科室信息";
|
this.title = "修改科室信息";
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -997,10 +750,10 @@ export default {
|
|||||||
submitForm() {
|
submitForm() {
|
||||||
let reg = new RegExp("-", "g");
|
let reg = new RegExp("-", "g");
|
||||||
if (this.form.establishDate && this.form.revokeDate && new Date(this.form.establishDate.replace(reg, "/")) >
|
if (this.form.establishDate && this.form.revokeDate && new Date(this.form.establishDate.replace(reg, "/")) >
|
||||||
new Date(this.form.revokeDate.replace(reg, "/"))) {
|
new Date(this.form.revokeDate.replace(reg, "/"))) {
|
||||||
this.$message.error("撤销日期要大于成立日期");
|
this.$message.error("撤销日期要大于成立日期");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this.$refs["form"].validate((valid) => {
|
this.$refs["form"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
if (this.form.id != null) {
|
if (this.form.id != null) {
|
||||||
@ -1032,7 +785,7 @@ export default {
|
|||||||
this.getList();
|
this.getList();
|
||||||
this.$modal.msgSuccess("删除成功");
|
this.$modal.msgSuccess("删除成功");
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => { });
|
||||||
},
|
},
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
handleExport() {
|
handleExport() {
|
||||||
@ -1051,6 +804,7 @@ export default {
|
|||||||
.el-cascader .el-input input::-webkit-input-placeholder {
|
.el-cascader .el-input input::-webkit-input-placeholder {
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nameinformation {
|
.nameinformation {
|
||||||
border-left: 3px solid #4d9de7;
|
border-left: 3px solid #4d9de7;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
@ -1060,6 +814,7 @@ export default {
|
|||||||
// margin-top: 8px;
|
// margin-top: 8px;
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
margin: 22px;
|
margin: 22px;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -395,7 +395,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
style="width: 15px; height: 15px"
|
style="width: 15px; height: 15px"
|
||||||
v-if="form.departmentId == scope.row.departmentCode"
|
v-if="form.departmentId == scope.row.id"
|
||||||
circle
|
circle
|
||||||
@click="nurseclick(scope.row)"
|
@click="nurseclick(scope.row)"
|
||||||
></el-button>
|
></el-button>
|
||||||
@ -563,9 +563,8 @@ export default {
|
|||||||
},
|
},
|
||||||
// 科室名称圆点按钮
|
// 科室名称圆点按钮
|
||||||
nurseclick(row) {
|
nurseclick(row) {
|
||||||
this.form.departmentId = row.departmentCode;
|
this.form.departmentId = row.id;
|
||||||
this.form.departmentName = row.departmentName;
|
this.form.departmentName = row.departmentName;
|
||||||
// console.log(this.departmentName, "0000");
|
|
||||||
this.innerVisibleshow = false;
|
this.innerVisibleshow = false;
|
||||||
},
|
},
|
||||||
// 科室列表
|
// 科室列表
|
||||||
|
|||||||
@ -1,248 +1,104 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-form
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
|
||||||
:model="queryParams"
|
|
||||||
ref="queryForm"
|
|
||||||
size="small"
|
|
||||||
:inline="true"
|
|
||||||
v-show="showSearch"
|
|
||||||
label-width="100px"
|
|
||||||
>
|
|
||||||
<el-form-item label="任务细分名称" prop="taskPartitionName">
|
<el-form-item label="任务细分名称" prop="taskPartitionName">
|
||||||
<el-input
|
<el-input v-model="queryParams.taskPartitionName" placeholder="请输入任务细分名称" clearable
|
||||||
v-model="queryParams.taskPartitionName"
|
@keyup.enter.native="handleQuery" />
|
||||||
placeholder="请输入任务细分名称"
|
|
||||||
clearable
|
|
||||||
@keyup.enter.native="handleQuery"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="任务细分编码" prop="taskPartitionCode">
|
<el-form-item label="任务细分编码" prop="taskPartitionCode">
|
||||||
<el-input
|
<el-input v-model="queryParams.taskPartitionCode" placeholder="请输入任务细分编码" clearable
|
||||||
v-model="queryParams.taskPartitionCode"
|
@keyup.enter.native="handleQuery" />
|
||||||
placeholder="请输入任务细分编码"
|
|
||||||
clearable
|
|
||||||
@keyup.enter.native="handleQuery"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
||||||
type="primary"
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
||||||
icon="el-icon-search"
|
|
||||||
size="mini"
|
|
||||||
@click="handleQuery"
|
|
||||||
>搜索</el-button
|
|
||||||
>
|
|
||||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
|
|
||||||
>重置</el-button
|
|
||||||
>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<el-row :gutter="10" class="mb8">
|
<el-row :gutter="10" class="mb8">
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
|
||||||
type="primary"
|
v-hasPermi="['system:partition:add']">新增</el-button>
|
||||||
plain
|
|
||||||
icon="el-icon-plus"
|
|
||||||
size="mini"
|
|
||||||
@click="handleAdd"
|
|
||||||
v-hasPermi="['system:partition:add']"
|
|
||||||
>新增</el-button
|
|
||||||
>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
|
||||||
type="success"
|
v-hasPermi="['system:partition:edit']">修改</el-button>
|
||||||
plain
|
|
||||||
icon="el-icon-edit"
|
|
||||||
size="mini"
|
|
||||||
:disabled="single"
|
|
||||||
@click="handleUpdate"
|
|
||||||
v-hasPermi="['system:partition:edit']"
|
|
||||||
>修改</el-button
|
|
||||||
>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
|
||||||
type="danger"
|
v-hasPermi="['system:partition:remove']">删除</el-button>
|
||||||
plain
|
|
||||||
icon="el-icon-delete"
|
|
||||||
size="mini"
|
|
||||||
:disabled="multiple"
|
|
||||||
@click="handleDelete"
|
|
||||||
v-hasPermi="['system:partition:remove']"
|
|
||||||
>删除</el-button
|
|
||||||
>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<right-toolbar
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
:showSearch.sync="showSearch"
|
|
||||||
@queryTable="getList"
|
|
||||||
></right-toolbar>
|
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-table
|
<el-table v-loading="loading" :data="partitionList" @selection-change="handleSelectionChange">
|
||||||
v-loading="loading"
|
|
||||||
:data="partitionList"
|
|
||||||
@selection-change="handleSelectionChange"
|
|
||||||
>
|
|
||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
<!-- <el-table-column label="主键id" align="center" prop="id" /> -->
|
<!-- <el-table-column label="主键id" align="center" prop="id" /> -->
|
||||||
<!-- <el-table-column label="任务类型表id" align="center" prop="taskTypeId" /> -->
|
<!-- <el-table-column label="任务类型表id" align="center" prop="taskTypeId" /> -->
|
||||||
<el-table-column
|
<el-table-column label="任务类型名称" align="center" prop="taskTypeName" />
|
||||||
label="任务类型名称"
|
<el-table-column label="任务细分名称" align="center" prop="taskPartitionName" />
|
||||||
align="center"
|
<el-table-column label="任务细分编码" align="center" prop="taskPartitionCode" />
|
||||||
prop="taskTypeName"
|
<el-table-column label="二级分类描述" align="center" prop="secondClassifyDescribe" :show-overflow-tooltip="true" />
|
||||||
/>
|
<el-table-column label="执行时间" align="center" prop="executionTime" width="180">
|
||||||
<el-table-column
|
|
||||||
label="任务细分名称"
|
|
||||||
align="center"
|
|
||||||
prop="taskPartitionName"
|
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
label="任务细分编码"
|
|
||||||
align="center"
|
|
||||||
prop="taskPartitionCode"
|
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
label="二级分类描述"
|
|
||||||
align="center"
|
|
||||||
prop="secondClassifyDescribe"
|
|
||||||
:show-overflow-tooltip="true"
|
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
label="执行时间"
|
|
||||||
align="center"
|
|
||||||
prop="executionTime"
|
|
||||||
width="180"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column label="任务细分排序" align="center" prop="taskPartitionSort" />
|
||||||
label="任务细分排序"
|
<el-table-column label="任务细分备注" align="center" prop="taskPartitionRemark" :show-overflow-tooltip="true" />
|
||||||
align="center"
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||||
prop="taskPartitionSort"
|
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
label="任务细分备注"
|
|
||||||
align="center"
|
|
||||||
prop="taskPartitionRemark"
|
|
||||||
:show-overflow-tooltip="true"
|
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
label="操作"
|
|
||||||
align="center"
|
|
||||||
class-name="small-padding fixed-width"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
||||||
size="mini"
|
v-hasPermi="['system:partition:edit']">修改</el-button>
|
||||||
type="text"
|
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
||||||
icon="el-icon-edit"
|
v-hasPermi="['system:partition:remove']">删除</el-button>
|
||||||
@click="handleUpdate(scope.row)"
|
|
||||||
v-hasPermi="['system:partition:edit']"
|
|
||||||
>修改</el-button
|
|
||||||
>
|
|
||||||
<el-button
|
|
||||||
size="mini"
|
|
||||||
type="text"
|
|
||||||
icon="el-icon-delete"
|
|
||||||
@click="handleDelete(scope.row)"
|
|
||||||
v-hasPermi="['system:partition:remove']"
|
|
||||||
>删除</el-button
|
|
||||||
>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
||||||
<pagination
|
@pagination="getList" />
|
||||||
v-show="total > 0"
|
|
||||||
:total="total"
|
|
||||||
:page.sync="queryParams.pageNum"
|
|
||||||
:limit.sync="queryParams.pageSize"
|
|
||||||
@pagination="getList"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<!-- 添加或修改任务细分字典对话框 -->
|
<!-- 添加或修改任务细分字典对话框 -->
|
||||||
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="110px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="110px">
|
||||||
<!-- <el-form-item label="任务类型表id" prop="taskTypeId">
|
<!-- <el-form-item label="任务类型表id" prop="taskTypeId">
|
||||||
<el-input v-model="form.taskTypeId" placeholder="请输入任务类型表id" />
|
<el-input v-model="form.taskTypeId" placeholder="请输入任务类型表id" />
|
||||||
</el-form-item> -->
|
</el-form-item> -->
|
||||||
<el-form-item
|
<el-form-item label="任务细分编码" prop="taskPartitionCode" v-if="form.taskPartitionCode">
|
||||||
label="任务细分编码"
|
<el-input disabled v-model="form.taskPartitionCode" placeholder="请输入任务细分编码" />
|
||||||
prop="taskPartitionCode"
|
|
||||||
v-if="form.taskPartitionCode"
|
|
||||||
>
|
|
||||||
<el-input
|
|
||||||
disabled
|
|
||||||
v-model="form.taskPartitionCode"
|
|
||||||
placeholder="请输入任务细分编码"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="任务类型名称" prop="taskTypeName">
|
<el-form-item label="任务类型名称" prop="taskTypeName">
|
||||||
<el-select
|
<el-select v-model="form.taskTypeId" placeholder="请选择" @change="change" style="width: 350px">
|
||||||
v-model="form.taskTypeId"
|
<el-option v-for="item in options" :key="item.id" :label="item.taskTypeName" :value="item.id">
|
||||||
placeholder="请选择"
|
|
||||||
@change="change"
|
|
||||||
style="width: 350px"
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item in options"
|
|
||||||
:key="item.id"
|
|
||||||
:label="item.taskTypeName"
|
|
||||||
:value="item.id"
|
|
||||||
>
|
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="任务细分名称" prop="taskPartitionName">
|
<el-form-item label="任务细分名称" prop="taskPartitionName">
|
||||||
<el-input
|
<el-input v-model="form.taskPartitionName" placeholder="请输入任务细分名称" />
|
||||||
v-model="form.taskPartitionName"
|
|
||||||
placeholder="请输入任务细分名称"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="执行时间" prop="executionTime">
|
<el-form-item label="执行时间" prop="executionTime">
|
||||||
<el-time-select
|
<el-time-select style="width: 350px" placeholder="执行时间" v-model="form.executionTime" :picker-options="{
|
||||||
style="width: 350px"
|
start: '08:00',
|
||||||
placeholder="执行时间"
|
step: '00:30',
|
||||||
v-model="form.executionTime"
|
end: '23:30',
|
||||||
:picker-options="{
|
}"></el-time-select>
|
||||||
start: '08:00',
|
|
||||||
step: '00:30',
|
|
||||||
end: '23:30',
|
|
||||||
}"
|
|
||||||
></el-time-select>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="任务细分排序" prop="taskPartitionSort">
|
<el-form-item label="任务细分排序" prop="taskPartitionSort">
|
||||||
<el-input-number
|
<el-input-number v-model="form.taskPartitionSort" controls-position="right" :min="0" placeholder="请输入任务细分排序"
|
||||||
v-model="form.taskPartitionSort"
|
style="width: 350px" />
|
||||||
controls-position="right"
|
|
||||||
:min="0"
|
|
||||||
placeholder="请输入任务细分排序"
|
|
||||||
style="width: 350px"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="任务细分备注" prop="taskPartitionRemark">
|
<el-form-item label="任务细分备注" prop="taskPartitionRemark">
|
||||||
<el-input
|
<el-input v-model="form.taskPartitionRemark" placeholder="请输入任务细分备注" />
|
||||||
v-model="form.taskPartitionRemark"
|
</el-form-item>
|
||||||
placeholder="请输入任务细分备注"
|
<el-form-item label="模板类型" prop="templateType">
|
||||||
/>
|
<el-select v-model="form.templateType" placeholder="请选择模板类型" style="width: 350px;">
|
||||||
|
<el-option v-for="dict in dict.type.template_type" :key="dict.value" :label="dict.label"
|
||||||
|
:value="dict.value"></el-option>
|
||||||
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="二级分类描述" prop="secondClassifyDescribe">
|
<el-form-item label="二级分类描述" prop="secondClassifyDescribe">
|
||||||
<el-input
|
<el-input type="textarea" v-model="form.secondClassifyDescribe" placeholder="请输入二级分类描述" />
|
||||||
type="textarea"
|
|
||||||
v-model="form.secondClassifyDescribe"
|
|
||||||
placeholder="请输入二级分类描述"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<div class="textareanew">
|
<div class="textareanew">
|
||||||
<el-form-item label="文本类型" prop="taskPartitionContent">
|
<el-form-item label="文本类型" prop="taskPartitionContent">
|
||||||
<el-input
|
<el-input type="textarea" v-model="form.taskPartitionContent" placeholder="请输入文本类型" />
|
||||||
type="textarea"
|
|
||||||
v-model="form.taskPartitionContent"
|
|
||||||
placeholder="请输入文本类型"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
</el-form>
|
</el-form>
|
||||||
@ -259,6 +115,7 @@ import { listPartition, getPartition, delPartition, addPartition, updatePartitio
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Partition",
|
name: "Partition",
|
||||||
|
dicts: ['template_type'],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
// 遮罩层
|
// 遮罩层
|
||||||
@ -297,6 +154,9 @@ export default {
|
|||||||
options: [],
|
options: [],
|
||||||
// 表单校验
|
// 表单校验
|
||||||
rules: {
|
rules: {
|
||||||
|
templateType: [
|
||||||
|
{ required: true, message: "模板类型不能为空", trigger: "blur" }
|
||||||
|
],
|
||||||
taskTypeId: [
|
taskTypeId: [
|
||||||
{ required: true, message: "任务细分名称不能为空", trigger: "blur" }
|
{ required: true, message: "任务细分名称不能为空", trigger: "blur" }
|
||||||
],
|
],
|
||||||
@ -439,6 +299,7 @@ export default {
|
|||||||
.el-input-number .el-input__inner {
|
.el-input-number .el-input__inner {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textareanew .el-textarea__inner {
|
.textareanew .el-textarea__inner {
|
||||||
height: 100px;
|
height: 100px;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -308,6 +308,7 @@ export default {
|
|||||||
this.$modal.confirm('是否确认删除问卷?').then(function () {
|
this.$modal.confirm('是否确认删除问卷?').then(function () {
|
||||||
return delQuestion(ids);
|
return delQuestion(ids);
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
this.getTreeselect();
|
||||||
this.getList();
|
this.getList();
|
||||||
this.$modal.msgSuccess("删除成功");
|
this.$modal.msgSuccess("删除成功");
|
||||||
}).catch(() => { });
|
}).catch(() => { });
|
||||||
|
|||||||
@ -2,18 +2,8 @@
|
|||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="topheader">
|
<div class="topheader">
|
||||||
<div class="user">
|
<div class="user">
|
||||||
<img
|
<img class="headsculpture" src="../../../assets/manage/touxiang.png" alt="" v-if="list.sex == 'MALE'" />
|
||||||
class="headsculpture"
|
<img class="headsculpture" src="../../../assets/manage/nvtouxiang.png" alt="" v-if="list.sex == 'FEMALE'" />
|
||||||
src="../../../assets/manage/touxiang.png"
|
|
||||||
alt=""
|
|
||||||
v-if="list.sex == 'MALE'"
|
|
||||||
/>
|
|
||||||
<img
|
|
||||||
class="headsculpture"
|
|
||||||
src="../../../assets/manage/nvtouxiang.png"
|
|
||||||
alt=""
|
|
||||||
v-if="list.sex == 'FEMALE'"
|
|
||||||
/>
|
|
||||||
<div class="name">
|
<div class="name">
|
||||||
{{ list.patientName }}
|
{{ list.patientName }}
|
||||||
</div>
|
</div>
|
||||||
@ -24,31 +14,16 @@
|
|||||||
{{ list.age }}
|
{{ list.age }}
|
||||||
</div>
|
</div>
|
||||||
<div class="source">
|
<div class="source">
|
||||||
<div
|
<div class="item" style="color: #00e06e; border-color: #00e06e"
|
||||||
class="item"
|
v-if="list.patientSource == 'WE_CHAT_OFFICIAL_ACCOUNT'">
|
||||||
style="color: #00e06e; border-color: #00e06e"
|
<img src="../../../assets/manage/gzh.png" alt="" style="width: 24px" />
|
||||||
v-if="list.patientSource == 'WE_CHAT_OFFICIAL_ACCOUNT'"
|
|
||||||
>
|
|
||||||
<img
|
|
||||||
src="../../../assets/manage/gzh.png"
|
|
||||||
alt=""
|
|
||||||
style="width: 24px"
|
|
||||||
/>
|
|
||||||
<div>公众号</div>
|
<div>公众号</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div class="item" style="color: #339de5; border-color: #339de5" v-if="list.patientSource == 'WE_CHAT_APPLET'">
|
||||||
class="item"
|
|
||||||
style="color: #339de5; border-color: #339de5"
|
|
||||||
v-if="list.patientSource == 'WE_CHAT_APPLET'"
|
|
||||||
>
|
|
||||||
<img src="../../../assets/manage/xcx.png" alt="" />
|
<img src="../../../assets/manage/xcx.png" alt="" />
|
||||||
<div>小程序</div>
|
<div>小程序</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div class="item" style="color: #f4881f; border-color: #f4881f" v-if="list.patientSource == 'MANAGE_END'">
|
||||||
class="item"
|
|
||||||
style="color: #f4881f; border-color: #f4881f"
|
|
||||||
v-if="list.patientSource == 'MANAGE_END'"
|
|
||||||
>
|
|
||||||
<img src="../../../assets/manage/gld.png" alt="" />
|
<img src="../../../assets/manage/gld.png" alt="" />
|
||||||
<div>管理端</div>
|
<div>管理端</div>
|
||||||
</div>
|
</div>
|
||||||
@ -105,15 +80,13 @@
|
|||||||
<div style="width: 30%; overflow: auto">
|
<div style="width: 30%; overflow: auto">
|
||||||
<el-tabs v-model="activeName" @tab-click="handleClick">
|
<el-tabs v-model="activeName" @tab-click="handleClick">
|
||||||
<el-tab-pane label="入院记录" name="first">
|
<el-tab-pane label="入院记录" name="first">
|
||||||
<div>
|
<div v-html="list.inHospitalInfo"></div>
|
||||||
{{ list.inHospitalInfo }}
|
|
||||||
</div></el-tab-pane
|
|
||||||
>
|
|
||||||
<el-tab-pane label="手术记录" name="second">
|
|
||||||
<div>{{ list.surgicalRecord }}</div>
|
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="出院记录" name="third"
|
<el-tab-pane label="手术记录" name="second">
|
||||||
><div>{{ list.outHospitalInfo }}</div>
|
<div v-html="list.surgicalRecord"></div>
|
||||||
|
</el-tab-pane>
|
||||||
|
<el-tab-pane label="出院记录" name="third">
|
||||||
|
<div v-html="list.outHospitalInfo"></div>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
</div>
|
</div>
|
||||||
@ -127,202 +100,88 @@
|
|||||||
{{ formview.propagandaContent }}
|
{{ formview.propagandaContent }}
|
||||||
</div>
|
</div>
|
||||||
<img :src="baseUrl + formview.propagandaCoverPath" alt="" />
|
<img :src="baseUrl + formview.propagandaCoverPath" alt="" />
|
||||||
<video
|
<video v-if="materialsType == 'VIDEO'" ref="myVideo" :src="baseUrl + materialsFilePath" controls></video>
|
||||||
v-if="materialsType == 'VIDEO'"
|
|
||||||
ref="myVideo"
|
|
||||||
:src="baseUrl + materialsFilePath"
|
|
||||||
controls
|
|
||||||
></video>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 问卷模板 -->
|
<!-- 问卷模板 -->
|
||||||
<div
|
<div class="right" v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE' ||
|
||||||
class="right"
|
$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'
|
||||||
v-if="
|
">
|
||||||
$route.query.taskType == 'QUESTIONNAIRE_SCALE' ||
|
<div style="float: right; margin-top: 20px" v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE' ||
|
||||||
$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'
|
$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'
|
||||||
"
|
">
|
||||||
>
|
<el-form :inline="true" class="demo-form-inline" :model="questiondata" ref="questiondata">
|
||||||
<div
|
|
||||||
style="float: right; margin-top: 20px"
|
|
||||||
v-if="
|
|
||||||
$route.query.taskType == 'QUESTIONNAIRE_SCALE' ||
|
|
||||||
$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<el-form
|
|
||||||
:inline="true"
|
|
||||||
class="demo-form-inline"
|
|
||||||
:model="questiondata"
|
|
||||||
ref="questiondata"
|
|
||||||
>
|
|
||||||
<el-form-item label="任务处理信息" prop="routeHandleRemark">
|
<el-form-item label="任务处理信息" prop="routeHandleRemark">
|
||||||
<el-input
|
<el-input type="textarea" disabled placeholder="请输入任务处理信息" v-model="questiondata.routeHandleRemark" />
|
||||||
type="textarea"
|
|
||||||
disabled
|
|
||||||
placeholder="请输入任务处理信息"
|
|
||||||
v-model="questiondata.routeHandleRemark"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div class="sport" v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE'">
|
||||||
class="sport"
|
|
||||||
v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE'"
|
|
||||||
>
|
|
||||||
问卷模板: Barthel指数评定问卷
|
问卷模板: Barthel指数评定问卷
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div class="words" v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE'">
|
||||||
class="words"
|
|
||||||
v-if="$route.query.taskType == 'QUESTIONNAIRE_SCALE'"
|
|
||||||
>
|
|
||||||
您好!本问卷用于评估日常生活能力,请根据自身日常实际表现选择合适的选项。
|
您好!本问卷用于评估日常生活能力,请根据自身日常实际表现选择合适的选项。
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div class="sport" v-if="$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'">
|
||||||
class="sport"
|
|
||||||
v-if="$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'"
|
|
||||||
>
|
|
||||||
人工随访模板: 神经内科人工随访
|
人工随访模板: 神经内科人工随访
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div class="words" v-if="$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'">
|
||||||
class="words"
|
|
||||||
v-if="$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'"
|
|
||||||
>
|
|
||||||
**您好!
|
**您好!
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div class="words" v-if="$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'">
|
||||||
class="words"
|
|
||||||
v-if="$route.query.taskType == 'ARTIFICIAL_FOLLOW_UP'"
|
|
||||||
>
|
|
||||||
我是✕✕医院的工作人员,今天给您打电话想要了解一下您的恢复情况。
|
我是✕✕医院的工作人员,今天给您打电话想要了解一下您的恢复情况。
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div class="words" v-for="(item, index) in questiondata.subjectResultList" :key="index">
|
||||||
class="words"
|
|
||||||
v-for="(item, index) in questiondata.subjectResultList"
|
|
||||||
:key="index"
|
|
||||||
>
|
|
||||||
{{ index + 1 }}.{{ item.questionName }}
|
{{ index + 1 }}.{{ item.questionName }}
|
||||||
<span v-if="item.questionType == 'MULTIPLE_CHOICE'"
|
<span v-if="item.questionType == 'MULTIPLE_CHOICE'">(单选题)</span>
|
||||||
>(单选题)</span
|
<span v-if="item.questionType == 'MULTIPLE_CHOICE_QUESTIONS'">(多选题)</span>
|
||||||
>
|
<span v-if="item.questionType == 'SCORING_QUESTIONS'">(打分题)</span>
|
||||||
<span v-if="item.questionType == 'MULTIPLE_CHOICE_QUESTIONS'"
|
<span v-if="item.questionType == 'COMBINATION_RADIO_SUBJECT'">(组合单选题)</span>
|
||||||
>(多选题)</span
|
<span v-if="item.questionType == 'COMBINATION_MULTIPLE_SUBJECT'">(组合多选题)</span>
|
||||||
>
|
<span v-if="item.questionType == 'COMBINATION_BLANKS_SUBJECT'">(组合填空题)</span>
|
||||||
<span v-if="item.questionType == 'SCORING_QUESTIONS'"
|
<span v-if="item.questionType == 'FILL_IN_THE_BLANKS'">(填空题)</span>
|
||||||
>(打分题)</span
|
<span v-if="item.questionType == 'COMBINATION_SCORING_SUBJECT'">(组合打分题)</span>
|
||||||
>
|
<span v-if="item.questionType == 'DATE_BLANKS_SUBJECT'">(日期填空题)</span>
|
||||||
<span v-if="item.questionType == 'COMBINATION_RADIO_SUBJECT'"
|
<span v-if="item.questionType == 'TIME_BLANKS_SUBJECT'">(时间填空题)</span>
|
||||||
>(组合单选题)</span
|
<el-radio-group v-if="item.questionType == 'MULTIPLE_CHOICE' ||
|
||||||
>
|
item.questionType == 'COMBINATION_RADIO_SUBJECT' ||
|
||||||
<span v-if="item.questionType == 'COMBINATION_MULTIPLE_SUBJECT'"
|
item.questionType == 'SCORING_QUESTIONS' ||
|
||||||
>(组合多选题)</span
|
item.questionType == 'COMBINATION_SCORING_SUBJECT'
|
||||||
>
|
" v-model="item.checked" class="custom-radio-group" @change="radioGroupChange($event, item)">
|
||||||
<span v-if="item.questionType == 'COMBINATION_BLANKS_SUBJECT'"
|
<el-radio disabled class="custom" v-for="(aitem, aindex) in item.optionResults" :key="aindex"
|
||||||
>(组合填空题)</span
|
:label="aitem.id" @change="radioChange($event, aitem, index)">{{ aitem.optionName }}</el-radio>
|
||||||
>
|
|
||||||
<span v-if="item.questionType == 'FILL_IN_THE_BLANKS'"
|
|
||||||
>(填空题)</span
|
|
||||||
>
|
|
||||||
<span v-if="item.questionType == 'COMBINATION_SCORING_SUBJECT'"
|
|
||||||
>(组合打分题)</span
|
|
||||||
>
|
|
||||||
<span v-if="item.questionType == 'DATE_BLANKS_SUBJECT'"
|
|
||||||
>(日期填空题)</span
|
|
||||||
>
|
|
||||||
<span v-if="item.questionType == 'TIME_BLANKS_SUBJECT'"
|
|
||||||
>(时间填空题)</span
|
|
||||||
>
|
|
||||||
<el-radio-group
|
|
||||||
v-if="
|
|
||||||
item.questionType == 'MULTIPLE_CHOICE' ||
|
|
||||||
item.questionType == 'COMBINATION_RADIO_SUBJECT' ||
|
|
||||||
item.questionType == 'SCORING_QUESTIONS' ||
|
|
||||||
item.questionType == 'COMBINATION_SCORING_SUBJECT'
|
|
||||||
"
|
|
||||||
v-model="item.checked"
|
|
||||||
class="custom-radio-group"
|
|
||||||
@change="radioGroupChange($event, item)"
|
|
||||||
>
|
|
||||||
<el-radio
|
|
||||||
disabled
|
|
||||||
class="custom"
|
|
||||||
v-for="(aitem, aindex) in item.optionResults"
|
|
||||||
:key="aindex"
|
|
||||||
:label="aitem.id"
|
|
||||||
@change="radioChange($event, aitem, index)"
|
|
||||||
>{{ aitem.optionName }}</el-radio
|
|
||||||
>
|
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
<!-- 多选、组合多选 -->
|
<!-- 多选、组合多选 -->
|
||||||
<el-checkbox-group
|
<el-checkbox-group v-model="checkeddata" @change="radioGroupChange($event, item, 'checkbox')" v-if="item.questionType == 'MULTIPLE_CHOICE_QUESTIONS' ||
|
||||||
v-model="checkeddata"
|
item.questionType == 'COMBINATION_MULTIPLE_SUBJECT'
|
||||||
@change="radioGroupChange($event, item, 'checkbox')"
|
">
|
||||||
v-if="
|
<el-checkbox disabled v-for="(aitem, aindex) in item.optionResults" :key="aindex" :label="aitem.id"
|
||||||
item.questionType == 'MULTIPLE_CHOICE_QUESTIONS' ||
|
@change="radioChangecheck($event, aitem, index, aindex)">{{ aitem.optionName }}</el-checkbox>
|
||||||
item.questionType == 'COMBINATION_MULTIPLE_SUBJECT'
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<el-checkbox
|
|
||||||
disabled
|
|
||||||
v-for="(aitem, aindex) in item.optionResults"
|
|
||||||
:key="aindex"
|
|
||||||
:label="aitem.id"
|
|
||||||
@change="radioChangecheck($event, aitem, index, aindex)"
|
|
||||||
>{{ aitem.optionName }}</el-checkbox
|
|
||||||
>
|
|
||||||
</el-checkbox-group>
|
</el-checkbox-group>
|
||||||
<!-- 填空题、组合填空 -->
|
<!-- 填空题、组合填空 -->
|
||||||
<div
|
<div v-if="item.questionType == 'FILL_IN_THE_BLANKS' ||
|
||||||
v-if="
|
item.questionType == 'COMBINATION_BLANKS_SUBJECT'
|
||||||
item.questionType == 'FILL_IN_THE_BLANKS' ||
|
" class="tk">
|
||||||
item.questionType == 'COMBINATION_BLANKS_SUBJECT'
|
<el-input disabled v-model="item.fillBlanksAnswer" placeholder="请输入答案" type="textarea" />
|
||||||
"
|
|
||||||
class="tk"
|
|
||||||
>
|
|
||||||
<el-input
|
|
||||||
disabled
|
|
||||||
v-model="item.fillBlanksAnswer"
|
|
||||||
placeholder="请输入答案"
|
|
||||||
type="textarea"
|
|
||||||
/>
|
|
||||||
<!-- <el-input></el-input> -->
|
<!-- <el-input></el-input> -->
|
||||||
</div>
|
</div>
|
||||||
<!-- 日期填空题、 -->
|
<!-- 日期填空题、 -->
|
||||||
<div
|
<div v-if="item.questionType == 'DATE_BLANKS_SUBJECT'" style="margin: 20px 0 10px 30px">
|
||||||
v-if="item.questionType == 'DATE_BLANKS_SUBJECT'"
|
<el-date-picker disabled @change="timepicker($event, index)" clearable v-model="item.fillBlanksAnswer"
|
||||||
style="margin: 20px 0 10px 30px"
|
type="date" value-format="yyyy-MM-dd" placeholder="选择日期">
|
||||||
>
|
|
||||||
<el-date-picker
|
|
||||||
disabled
|
|
||||||
@change="timepicker($event, index)"
|
|
||||||
clearable
|
|
||||||
v-model="item.fillBlanksAnswer"
|
|
||||||
type="date"
|
|
||||||
value-format="yyyy-MM-dd"
|
|
||||||
placeholder="选择日期"
|
|
||||||
>
|
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</div>
|
</div>
|
||||||
<!-- 时间填空题 -->
|
<!-- 时间填空题 -->
|
||||||
<div
|
<div style="margin: 20px 0 10px 30px" v-if="item.questionType == 'TIME_BLANKS_SUBJECT'">
|
||||||
style="margin: 20px 0 10px 30px"
|
<el-time-select disabled @change="timepickerselect($event, index)" clearable
|
||||||
v-if="item.questionType == 'TIME_BLANKS_SUBJECT'"
|
v-model="item.fillBlanksAnswer" :picker-options="{
|
||||||
>
|
start: '08:30',
|
||||||
<el-time-select
|
step: '00:30',
|
||||||
disabled
|
end: '23:30',
|
||||||
@change="timepickerselect($event, index)"
|
}" placeholder="选择时间">
|
||||||
clearable
|
|
||||||
v-model="item.fillBlanksAnswer"
|
|
||||||
:picker-options="{
|
|
||||||
start: '08:30',
|
|
||||||
step: '00:30',
|
|
||||||
end: '23:30',
|
|
||||||
}"
|
|
||||||
placeholder="选择时间"
|
|
||||||
>
|
|
||||||
</el-time-select>
|
</el-time-select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -332,43 +191,20 @@
|
|||||||
<div class="sport">电话外呼</div>
|
<div class="sport">电话外呼</div>
|
||||||
|
|
||||||
<div class="nexttime">
|
<div class="nexttime">
|
||||||
<el-form
|
<el-form ref="form" :model="formlist" label-width="110px" :inline="true">
|
||||||
ref="form"
|
|
||||||
:model="formlist"
|
|
||||||
label-width="110px"
|
|
||||||
:inline="true"
|
|
||||||
>
|
|
||||||
<el-form-item label="话术名称" prop="scriptName">
|
<el-form-item label="话术名称" prop="scriptName">
|
||||||
<el-input
|
<el-input disabled v-model="formlist.scriptName" placeholder="请输入话术名称" />
|
||||||
disabled
|
|
||||||
v-model="formlist.scriptName"
|
|
||||||
placeholder="请输入话术名称"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<br />
|
<br />
|
||||||
<el-form-item label="通用话术名称" prop="commonScriptName">
|
<el-form-item label="通用话术名称" prop="commonScriptName">
|
||||||
<el-input
|
<el-input disabled v-model="formlist.commonScriptName" placeholder="请输入通用话术名称" />
|
||||||
disabled
|
|
||||||
v-model="formlist.commonScriptName"
|
|
||||||
placeholder="请输入通用话术名称"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<br />
|
<br />
|
||||||
<el-form-item label="话术简介" prop="scriptIntroduction">
|
<el-form-item label="话术简介" prop="scriptIntroduction">
|
||||||
<el-input
|
<el-input disabled type="textarea" v-model="formlist.scriptIntroduction" placeholder="请输入话术简介" />
|
||||||
disabled
|
|
||||||
type="textarea"
|
|
||||||
v-model="formlist.scriptIntroduction"
|
|
||||||
placeholder="请输入话术简介"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="任务处理信息" prop="routeHandleRemark">
|
<el-form-item label="任务处理信息" prop="routeHandleRemark">
|
||||||
<el-input
|
<el-input type="textarea" disabled placeholder="请输入任务处理信息" v-model="formlist.routeHandleRemark" />
|
||||||
type="textarea"
|
|
||||||
disabled
|
|
||||||
placeholder="请输入任务处理信息"
|
|
||||||
v-model="formlist.routeHandleRemark"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
@ -378,20 +214,10 @@
|
|||||||
<div class="sport">文字提醒</div>
|
<div class="sport">文字提醒</div>
|
||||||
|
|
||||||
<div class="nexttime">
|
<div class="nexttime">
|
||||||
<el-form
|
<el-form ref="form" :model="formlists" label-width="110px" :inline="true">
|
||||||
ref="form"
|
|
||||||
:model="formlists"
|
|
||||||
label-width="110px"
|
|
||||||
:inline="true"
|
|
||||||
>
|
|
||||||
<el-form-item label="提醒内容" prop="textRemindContent">
|
<el-form-item label="提醒内容" prop="textRemindContent">
|
||||||
<el-input
|
<el-input disabled type="textarea" style="width: 500px" v-model="formlists.textRemindContent"
|
||||||
disabled
|
placeholder="请输入提醒内容" />
|
||||||
type="textarea"
|
|
||||||
style="width: 500px"
|
|
||||||
v-model="formlists.textRemindContent"
|
|
||||||
placeholder="请输入提醒内容"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
@ -401,7 +227,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getPropaganda } from "@/api/manage/propaganda";
|
import { getPropaganda } from "@/api/manage/propaganda";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@ -520,7 +346,7 @@ export default {
|
|||||||
this.questiondata.questionSubjectList[index].optionAnswer = e;
|
this.questiondata.questionSubjectList[index].optionAnswer = e;
|
||||||
},
|
},
|
||||||
|
|
||||||
radioGroupChange(e, item) {},
|
radioGroupChange(e, item) { },
|
||||||
// 选中某个单选框时,由radio时触发
|
// 选中某个单选框时,由radio时触发
|
||||||
radioChange(e, item, index) {
|
radioChange(e, item, index) {
|
||||||
console.log(e, item, index, "选中某个单选框时");
|
console.log(e, item, index, "选中某个单选框时");
|
||||||
@ -561,40 +387,48 @@ export default {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.tk {
|
.tk {
|
||||||
::v-deep .el-textarea__inner {
|
::v-deep .el-textarea__inner {
|
||||||
margin: 20px 0 10px 30px;
|
margin: 20px 0 10px 30px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .el-radio {
|
::v-deep .el-radio {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .el-checkbox-group {
|
::v-deep .el-checkbox-group {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 10px 0px 10px 24px;
|
padding: 10px 0px 10px 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .el-checkbox {
|
::v-deep .el-checkbox {
|
||||||
padding: 10px 0 10px 0px;
|
padding: 10px 0 10px 0px;
|
||||||
// padding: 10px;
|
// padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-radio-group {
|
.custom-radio-group {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 10px 0 10px 10px;
|
padding: 10px 0 10px 10px;
|
||||||
|
|
||||||
.custom {
|
.custom {
|
||||||
padding: 10px 0 10px 10px;
|
padding: 10px 0 10px 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-radio-group {
|
.custom-radio-group {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 10px 0 10px 10px;
|
padding: 10px 0 10px 10px;
|
||||||
|
|
||||||
.custom {
|
.custom {
|
||||||
padding: 10px 0 10px 10px;
|
padding: 10px 0 10px 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.bodytop {
|
.bodytop {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 20px;
|
top: 20px;
|
||||||
@ -604,37 +438,45 @@ export default {
|
|||||||
// background: red;f
|
// background: red;f
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
border: 1px solid #e2e2e2;
|
border: 1px solid #e2e2e2;
|
||||||
|
|
||||||
.titledata {
|
.titledata {
|
||||||
margin: 30px 0px 15px 30px;
|
margin: 30px 0px 15px 30px;
|
||||||
top: 14px;
|
top: 14px;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.audiotop {
|
.audiotop {
|
||||||
margin: 10px 0px 10px 30px;
|
margin: 10px 0px 10px 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
// width: 362px;
|
// width: 362px;
|
||||||
// height: 127px;
|
// height: 127px;
|
||||||
margin: 0px 0px 0px 30px;
|
margin: 0px 0px 0px 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
video {
|
video {
|
||||||
margin: 0px 0px 0px 30px;
|
margin: 0px 0px 0px 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.know {
|
.know {
|
||||||
margin: 11px 0px 10px 30px;
|
margin: 11px 0px 10px 30px;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: 550;
|
font-weight: 550;
|
||||||
}
|
}
|
||||||
|
|
||||||
.knowlist {
|
.knowlist {
|
||||||
margin: 10px 0px 10px 30px;
|
margin: 10px 0px 10px 30px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.right {
|
.right {
|
||||||
width: 70%;
|
width: 70%;
|
||||||
height: 500px;
|
height: 500px;
|
||||||
// background: yellow;
|
// background: yellow;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
background-color: #f1f3f5;
|
background-color: #f1f3f5;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
@ -653,15 +495,18 @@ export default {
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
margin: 10px auto;
|
margin: 10px auto;
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
|
|
||||||
.sport {
|
.sport {
|
||||||
padding: 10px 50px 10px 10px;
|
padding: 10px 50px 10px 10px;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.words {
|
.words {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
padding: 10px 50px 10px 10px;
|
padding: 10px 50px 10px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sports {
|
.sports {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
@ -669,21 +514,25 @@ export default {
|
|||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.word {
|
.word {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 550;
|
font-weight: 550;
|
||||||
padding: 50px 50px 10px 10px;
|
padding: 50px 50px 10px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.videoleft {
|
.videoleft {
|
||||||
width: 40%;
|
width: 40%;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
background: red;
|
background: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
.time {
|
.time {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: 550;
|
font-weight: 550;
|
||||||
padding: 10px 50px 10px 10px;
|
padding: 10px 50px 10px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.number {
|
.number {
|
||||||
width: 25px;
|
width: 25px;
|
||||||
height: 25px;
|
height: 25px;
|
||||||
@ -693,21 +542,25 @@ export default {
|
|||||||
background: blue;
|
background: blue;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nexttime {
|
.nexttime {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
padding: 10px 50px 10px 10px;
|
padding: 10px 50px 10px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.images {
|
.images {
|
||||||
width: 53%;
|
width: 53%;
|
||||||
height: 241px;
|
height: 241px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
background: red;
|
background: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
.attention {
|
.attention {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 550;
|
font-weight: 550;
|
||||||
padding: 10px 50px 10px 10px;
|
padding: 10px 50px 10px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// .videobottom
|
// .videobottom
|
||||||
// {
|
// {
|
||||||
// font-size: 14px;
|
// font-size: 14px;
|
||||||
|
|||||||
@ -497,6 +497,9 @@ export default {
|
|||||||
loading.close();
|
loading.close();
|
||||||
this.$modal.msgSuccess("暂存成功!");
|
this.$modal.msgSuccess("暂存成功!");
|
||||||
})
|
})
|
||||||
|
setTimeout(() => {
|
||||||
|
loading.close();
|
||||||
|
}, 3000);
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//问卷传值
|
//问卷传值
|
||||||
|
|||||||
@ -45,7 +45,6 @@
|
|||||||
</el-form-item>-->
|
</el-form-item>-->
|
||||||
<el-form-item label="发布状态" prop="releaseStatus">
|
<el-form-item label="发布状态" prop="releaseStatus">
|
||||||
<el-select v-model="queryParams.releaseStatus" placeholder="请选择">
|
<el-select v-model="queryParams.releaseStatus" placeholder="请选择">
|
||||||
<el-option label="全部" value="ALL" />
|
|
||||||
<el-option label="已发布" value="PUBLISHED" />
|
<el-option label="已发布" value="PUBLISHED" />
|
||||||
<el-option label="未发布" value="UNPUBLISHED" />
|
<el-option label="未发布" value="UNPUBLISHED" />
|
||||||
</el-select>
|
</el-select>
|
||||||
@ -262,9 +261,6 @@ export default {
|
|||||||
routeSort: [
|
routeSort: [
|
||||||
{ required: true, message: "排序不能为空", trigger: "blur" }
|
{ required: true, message: "排序不能为空", trigger: "blur" }
|
||||||
],
|
],
|
||||||
routeRemark: [
|
|
||||||
{ required: true, message: "备注信息不能为空", trigger: "blur" }
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
DepartmentoList: [],
|
DepartmentoList: [],
|
||||||
departmentName: '',
|
departmentName: '',
|
||||||
|
|||||||
@ -86,20 +86,16 @@
|
|||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="手术记录" prop="surgicalRecord" v-if="form.visitMethod == 'BE_IN_HOSPITAL'">
|
<el-form-item label="手术记录" prop="surgicalRecord" v-if="form.visitMethod == 'BE_IN_HOSPITAL'">
|
||||||
<el-input type="textarea" v-model="form.surgicalRecord" style="width:800px"
|
<editor v-model="form.surgicalRecord" :min-height="192" />
|
||||||
:rows="8"></el-input>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="入院病历" prop="inHospitalInfo" v-if="form.visitMethod == 'BE_IN_HOSPITAL'">
|
<el-form-item label="入院病历" prop="inHospitalInfo" v-if="form.visitMethod == 'BE_IN_HOSPITAL'">
|
||||||
<el-input type="textarea" v-model="form.inHospitalInfo" style="width:800px"
|
<editor v-model="form.inHospitalInfo" :min-height="192" />
|
||||||
:rows="8"></el-input>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="门诊病历" prop="inHospitalInfo" v-if="form.visitMethod == 'OUTPATIENT_SERVICE'">
|
<el-form-item label="门诊病历" prop="inHospitalInfo" v-if="form.visitMethod == 'OUTPATIENT_SERVICE'">
|
||||||
<el-input type="textarea" v-model="form.inHospitalInfo" style="width:800px"
|
<editor v-model="form.inHospitalInfo" :min-height="192" />
|
||||||
:rows="8"></el-input>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="出院病历" prop="outHospitalInfo" v-if="form.visitMethod == 'BE_IN_HOSPITAL'">
|
<el-form-item label="出院病历" prop="outHospitalInfo" v-if="form.visitMethod == 'BE_IN_HOSPITAL'">
|
||||||
<el-input type="textarea" v-model="form.outHospitalInfo" style="width:800px"
|
<editor v-model="form.outHospitalInfo" :min-height="192" />
|
||||||
:rows="8"></el-input>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
@ -108,7 +104,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getList, usergetList, updateVisitRecord, saveRecord } from "@/api/unitconfig/patientConfiguration";
|
import { getList, usergetList, updateRecord, saveRecord } from "@/api/unitconfig/patientConfiguration";
|
||||||
import { getDepartmentList } from "@/api/manage/selectAgencyList";
|
import { getDepartmentList } from "@/api/manage/selectAgencyList";
|
||||||
export default {
|
export default {
|
||||||
name: "PatientConfigurationVisitRecords",
|
name: "PatientConfigurationVisitRecords",
|
||||||
@ -212,7 +208,7 @@ export default {
|
|||||||
this.form.attendingPhysicianName = this.attendingPhysicianlist.find(e => e.userId == this.form.attendingPhysicianId)?.nickName
|
this.form.attendingPhysicianName = this.attendingPhysicianlist.find(e => e.userId == this.form.attendingPhysicianId)?.nickName
|
||||||
}
|
}
|
||||||
if (this.form.id) {
|
if (this.form.id) {
|
||||||
updateVisitRecord(this.form).then(res => {
|
updateRecord(this.form).then(res => {
|
||||||
this.$modal.msgSuccess("保存就诊记录成功");
|
this.$modal.msgSuccess("保存就诊记录成功");
|
||||||
this.info();
|
this.info();
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user