2024-03-05 17:22:19 +08:00
|
|
|
|
<template>
|
2024-06-24 14:35:52 +08:00
|
|
|
|
<div class="app-container" ref="layout">
|
2024-06-13 16:02:09 +08:00
|
|
|
|
<el-row :gutter="20">
|
|
|
|
|
|
<el-col :span="5">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<DepartmentList
|
|
|
|
|
|
ref="DepartmentList"
|
|
|
|
|
|
@clickdepartment="clickdepartment"
|
|
|
|
|
|
:methods="'listServicePackageNum'"
|
|
|
|
|
|
>
|
2024-07-08 12:40:02 +08:00
|
|
|
|
</DepartmentList>
|
2024-06-13 16:02:09 +08:00
|
|
|
|
</el-col>
|
2024-06-14 15:30:24 +08:00
|
|
|
|
<el-col :span="19" :xs="24">
|
2024-06-16 15:31:29 +08:00
|
|
|
|
<div ref="topform" class="form">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-form
|
|
|
|
|
|
:model="queryParams"
|
|
|
|
|
|
ref="queryForms"
|
|
|
|
|
|
size="small"
|
|
|
|
|
|
:inline="true"
|
|
|
|
|
|
v-show="showSearch"
|
|
|
|
|
|
label-width="90px"
|
|
|
|
|
|
>
|
2024-06-14 15:30:24 +08:00
|
|
|
|
<el-form-item label="病种名称" prop="diseaseTypeName">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.diseaseTypeName"
|
|
|
|
|
|
placeholder="请输入病种名称"
|
|
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
2024-06-14 15:30:24 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="服务包名称" prop="packageName">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.packageName"
|
|
|
|
|
|
placeholder="请输入服务包名称"
|
|
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
2024-06-14 15:30:24 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="服务包版本" prop="packageVersion">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.packageVersion"
|
|
|
|
|
|
placeholder="请输入服务包版本"
|
|
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
2024-06-14 15:30:24 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="是否发布" prop="whetherRelease">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-select
|
|
|
|
|
|
v-model="queryParams.whetherRelease"
|
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
v-for="item in options"
|
|
|
|
|
|
:key="item.value"
|
|
|
|
|
|
:label="item.label"
|
|
|
|
|
|
:value="item.value"
|
|
|
|
|
|
>
|
2024-06-14 15:30:24 +08:00
|
|
|
|
</el-option>
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="服务包价格" prop="packagePrice">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-input
|
|
|
|
|
|
oninput="value=value.replace(/[^\d.]/g,'')"
|
|
|
|
|
|
v-model="queryParams.packagePrice"
|
|
|
|
|
|
placeholder="请输入服务包价格"
|
|
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
2024-06-14 15:30:24 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item>
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-button
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
icon="el-icon-search"
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
@click="handleQuery"
|
|
|
|
|
|
>搜索</el-button
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
|
|
|
|
|
|
>重置</el-button
|
|
|
|
|
|
>
|
2024-06-14 15:30:24 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-form>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div ref="mb8" class="mb8">
|
|
|
|
|
|
<el-row :gutter="10" class="">
|
|
|
|
|
|
<el-col :span="1.5">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-button
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
plain
|
|
|
|
|
|
icon="el-icon-plus"
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
@click="handleAdd"
|
2024-07-08 12:40:02 +08:00
|
|
|
|
:disabled="queryParams.hospitalAgencyId ? false : true"
|
2024-07-10 15:00:05 +08:00
|
|
|
|
v-hasPermi="['manage:servicepackage:add']"
|
|
|
|
|
|
>新增服务包</el-button
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
type="warning"
|
|
|
|
|
|
plain
|
|
|
|
|
|
icon="el-icon-upload2"
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
@click="handleUpload"
|
|
|
|
|
|
>导入</el-button
|
|
|
|
|
|
>
|
2024-06-14 15:30:24 +08:00
|
|
|
|
</el-col>
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<right-toolbar
|
|
|
|
|
|
:showSearch.sync="showSearch"
|
|
|
|
|
|
@queryTable="getList"
|
|
|
|
|
|
></right-toolbar>
|
2024-06-14 15:30:24 +08:00
|
|
|
|
</el-row>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div ref="table">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-table
|
|
|
|
|
|
:max-height="maxTableHeight"
|
|
|
|
|
|
v-loading="loading"
|
|
|
|
|
|
:data="servicepackageList"
|
|
|
|
|
|
@selection-change="handleSelectionChange"
|
|
|
|
|
|
>
|
2024-06-14 15:30:24 +08:00
|
|
|
|
<el-table-column label="序号" align="center" type="index" />
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
|
label="服务包名称"
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
prop="packageName"
|
|
|
|
|
|
:show-overflow-tooltip="true"
|
|
|
|
|
|
/>
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
label="版本号"
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
prop="packageVersion"
|
|
|
|
|
|
/>
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
label="服务期限"
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
prop="packageTermAndUnit"
|
|
|
|
|
|
/>
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
label="服务包简介"
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
prop="packageIntroduction"
|
|
|
|
|
|
:show-overflow-tooltip="true"
|
|
|
|
|
|
/>
|
2024-06-14 15:30:24 +08:00
|
|
|
|
<el-table-column label="备注" align="center" prop="packageRemark" />
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
|
label="是否发布"
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
prop="whetherRelease"
|
|
|
|
|
|
>
|
2024-06-14 15:30:24 +08:00
|
|
|
|
<template slot-scope="scope">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-tag type="warning" v-if="scope.row.whetherRelease == '0'"
|
|
|
|
|
|
>未发布</el-tag
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-tag
|
|
|
|
|
|
type="success"
|
|
|
|
|
|
v-else-if="scope.row.whetherRelease == '1'"
|
|
|
|
|
|
>已发布</el-tag
|
|
|
|
|
|
>
|
2024-06-14 15:30:24 +08:00
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
|
label="病种名称"
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
prop="diseaseTypeName"
|
|
|
|
|
|
/>
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
width="180"
|
|
|
|
|
|
label="操作"
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
class-name="small-padding fixed-width"
|
|
|
|
|
|
>
|
2024-06-14 15:30:24 +08:00
|
|
|
|
<template slot-scope="scope">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-button
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
type="text"
|
|
|
|
|
|
icon="el-icon-s-open"
|
|
|
|
|
|
@click="copy(scope.row)"
|
|
|
|
|
|
>复制</el-button
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
type="text"
|
|
|
|
|
|
icon="el-icon-s-promotion"
|
|
|
|
|
|
@click="release(scope.row)"
|
|
|
|
|
|
v-if="scope.row.whetherRelease == 0"
|
|
|
|
|
|
>发布</el-button
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
type="text"
|
|
|
|
|
|
icon="el-icon-notebook-2"
|
|
|
|
|
|
@click="detail(scope.row)"
|
|
|
|
|
|
>详情</el-button
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
type="text"
|
|
|
|
|
|
icon="el-icon-edit"
|
|
|
|
|
|
@click="handleUpdate(scope.row)"
|
|
|
|
|
|
v-hasPermi="['manage:servicepackage:edit']"
|
|
|
|
|
|
>修改</el-button
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
type="text"
|
|
|
|
|
|
icon="el-icon-delete"
|
|
|
|
|
|
@click="handleDelete(scope.row)"
|
|
|
|
|
|
v-hasPermi="['manage:servicepackage:remove']"
|
|
|
|
|
|
>删除</el-button
|
|
|
|
|
|
>
|
2024-06-14 15:30:24 +08:00
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
</el-table>
|
|
|
|
|
|
</div>
|
2024-06-24 14:35:52 +08:00
|
|
|
|
<!-- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
|
|
|
|
|
|
:limit.sync="queryParams.pageSize" @pagination="getList" /> -->
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<myPagination
|
|
|
|
|
|
v-show="total > 0"
|
|
|
|
|
|
:total="total"
|
|
|
|
|
|
:pageSize="queryParams.pageSize"
|
|
|
|
|
|
:indexFromWrap="queryParams.pageNum"
|
|
|
|
|
|
@updateCPage="updateCPage"
|
|
|
|
|
|
></myPagination>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</el-col>
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
<!-- 添加或修改服务包基础信息对话框 -->
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-dialog
|
|
|
|
|
|
:title="title"
|
|
|
|
|
|
:visible.sync="open"
|
|
|
|
|
|
width="1000px"
|
|
|
|
|
|
append-to-body
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-form
|
|
|
|
|
|
ref="form"
|
|
|
|
|
|
:model="form"
|
|
|
|
|
|
:rules="rules"
|
|
|
|
|
|
label-width="100px"
|
|
|
|
|
|
:inline="true"
|
|
|
|
|
|
>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
<el-form-item label="科室名称" prop="departmentId">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-button
|
|
|
|
|
|
@click="clickinnerVisible()"
|
|
|
|
|
|
style="
|
2024-07-08 14:33:13 +08:00
|
|
|
|
width: 208px;
|
2024-03-05 17:22:19 +08:00
|
|
|
|
text-align: left;
|
|
|
|
|
|
height: 36px;
|
|
|
|
|
|
overflow: hidden;
|
2024-07-10 15:00:05 +08:00
|
|
|
|
"
|
|
|
|
|
|
:style="
|
|
|
|
|
|
form.departmentName == '请选择科室' ? 'color: #c0c4cc;' : ''
|
|
|
|
|
|
"
|
|
|
|
|
|
>{{ form.departmentName }}</el-button
|
|
|
|
|
|
>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="病种名称" prop="diseaseTypeName">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-button
|
|
|
|
|
|
type=""
|
|
|
|
|
|
@click="clickdisease()"
|
|
|
|
|
|
:style="
|
|
|
|
|
|
form.diseaseTypeName == '请选择病种' ? 'color: #c0c4cc;' : ''
|
|
|
|
|
|
"
|
2024-07-08 12:40:02 +08:00
|
|
|
|
style="
|
2024-07-08 14:33:13 +08:00
|
|
|
|
width: 208px;
|
2024-03-05 17:22:19 +08:00
|
|
|
|
text-align: left;
|
|
|
|
|
|
height: 36px;
|
|
|
|
|
|
overflow: hidden;
|
2024-07-10 15:00:05 +08:00
|
|
|
|
"
|
|
|
|
|
|
>{{ form.diseaseTypeName }}</el-button
|
|
|
|
|
|
>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="服务包名称" prop="packageName">
|
|
|
|
|
|
<el-input v-model="form.packageName" placeholder="请输入服务包名称" />
|
|
|
|
|
|
</el-form-item>
|
2024-03-06 10:40:59 +08:00
|
|
|
|
<el-form-item label="服务包简介" prop="packageIntroduction">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="form.packageIntroduction"
|
|
|
|
|
|
placeholder="请输入服务包简介"
|
|
|
|
|
|
/>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="服务包价格" prop="packagePrice">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-input
|
|
|
|
|
|
oninput="value=value.replace(/[^\d.]/g,'')"
|
|
|
|
|
|
v-model="form.packagePrice"
|
|
|
|
|
|
placeholder="请输入服务包价格"
|
|
|
|
|
|
style="width: 208px"
|
|
|
|
|
|
>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
<template slot="append">元</template>
|
|
|
|
|
|
</el-input>
|
|
|
|
|
|
</el-form-item>
|
2024-03-06 10:40:59 +08:00
|
|
|
|
<el-form-item label="服务包版本" prop="packageVersion">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="form.packageVersion"
|
|
|
|
|
|
placeholder="请输入服务包版本"
|
|
|
|
|
|
/>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</el-form-item>
|
2024-03-06 10:40:59 +08:00
|
|
|
|
<el-form-item label="硬件类型" prop="hardwareType">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-select
|
|
|
|
|
|
v-model="form.hardwareType"
|
|
|
|
|
|
placeholder="请选择硬件类型"
|
|
|
|
|
|
style="width: 208px"
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
v-for="item in optionstype"
|
|
|
|
|
|
:key="item.value"
|
|
|
|
|
|
:label="item.label"
|
|
|
|
|
|
:value="item.value"
|
|
|
|
|
|
>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</el-option>
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="服务包期限" prop="packageTerm">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="form.packageTerm"
|
|
|
|
|
|
placeholder="请输入服务包期限"
|
|
|
|
|
|
style="width: 208px"
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
style="width: 60px"
|
|
|
|
|
|
slot="append"
|
|
|
|
|
|
v-model="form.packageTermUnit"
|
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
|
@change="$forceUpdate()"
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
v-for="item in optionstime"
|
|
|
|
|
|
:key="item.value"
|
|
|
|
|
|
:label="item.label"
|
|
|
|
|
|
:value="item.label"
|
|
|
|
|
|
>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</el-option>
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
</el-input>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<br />
|
|
|
|
|
|
<div v-for="(aitem, index) in form.voList" :key="index">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-form-item
|
|
|
|
|
|
label="服务包内容"
|
|
|
|
|
|
:rules="rules.voList.serviceWayName"
|
|
|
|
|
|
:prop="`voList.${index}.serviceWayName`"
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
v-model="aitem.serviceWayName"
|
|
|
|
|
|
placeholder="请选择服务方式"
|
|
|
|
|
|
@change="changeway($event, index)"
|
|
|
|
|
|
style="width: 208px"
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
v-for="item in optionsway"
|
|
|
|
|
|
:key="item.id"
|
|
|
|
|
|
:label="item.serviceWayName"
|
|
|
|
|
|
:value="item.serviceWayName"
|
|
|
|
|
|
>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</el-option>
|
|
|
|
|
|
</el-select>
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-form-item
|
|
|
|
|
|
label=""
|
|
|
|
|
|
:rules="rules.voList.serviceContent"
|
|
|
|
|
|
:prop="`voList.${index}.serviceContent`"
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
style="margin-left: 10px; width: 208px"
|
|
|
|
|
|
v-model="aitem.serviceContent"
|
|
|
|
|
|
placeholder="请选择服务内容"
|
|
|
|
|
|
@change="changcontent($event, index)"
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
v-for="item in optionscontent[index]"
|
|
|
|
|
|
:key="item.id"
|
|
|
|
|
|
:label="item.serviceContent"
|
|
|
|
|
|
:value="item.serviceContent"
|
|
|
|
|
|
>
|
2024-03-06 10:40:59 +08:00
|
|
|
|
</el-option>
|
|
|
|
|
|
</el-select>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</el-form-item>
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-form-item
|
|
|
|
|
|
label=""
|
|
|
|
|
|
:rules="rules.voList.serviceFrequencyText"
|
|
|
|
|
|
:prop="`voList.${index}.serviceFrequencyText`"
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
v-model="aitem.serviceFrequencyText"
|
|
|
|
|
|
placeholder="请选择服务频次"
|
|
|
|
|
|
style="width: 208px"
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
v-for="item in optionsfrequency[index]"
|
|
|
|
|
|
:key="item.id"
|
|
|
|
|
|
:label="item.serviceFrequencyText"
|
|
|
|
|
|
:value="item.serviceFrequencyText"
|
|
|
|
|
|
>
|
2024-03-06 10:40:59 +08:00
|
|
|
|
</el-option>
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
</el-form-item>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</el-form-item>
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-button
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
plain
|
|
|
|
|
|
icon="el-icon-circle-plus-outline"
|
|
|
|
|
|
style="margin-top: 2px; margin-left: 6px"
|
|
|
|
|
|
v-if="index == 0"
|
|
|
|
|
|
@click="addnurseClassifyitem"
|
|
|
|
|
|
></el-button>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
<!-- circle -->
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-button
|
|
|
|
|
|
type="danger"
|
|
|
|
|
|
icon="el-icon-delete"
|
|
|
|
|
|
plain
|
|
|
|
|
|
style="margin-top: 2px; margin-left: 6px"
|
|
|
|
|
|
v-if="index != 0"
|
|
|
|
|
|
@click="delnurseClassifyitem(index)"
|
|
|
|
|
|
></el-button>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
<br />
|
|
|
|
|
|
<el-form-item label="服务包备注" prop="packageRemark">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-input
|
|
|
|
|
|
style="width: 835px"
|
|
|
|
|
|
type="textarea"
|
|
|
|
|
|
v-model="form.packageRemark"
|
|
|
|
|
|
placeholder="请输入服务包备注"
|
|
|
|
|
|
/>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-form>
|
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-button
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
@click="submitFormadd"
|
|
|
|
|
|
v-if="title == '复制服务包基础信息'"
|
|
|
|
|
|
>确 定</el-button
|
|
|
|
|
|
>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
<el-button type="primary" @click="submitForm" v-else>确 定</el-button>
|
|
|
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
<!-- 科室弹框 -->
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-dialog
|
|
|
|
|
|
title=""
|
|
|
|
|
|
:visible.sync="innerVisibleshow"
|
|
|
|
|
|
width="1000px"
|
|
|
|
|
|
append-to-body
|
|
|
|
|
|
:before-close="innerVisiblecancel"
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-form
|
|
|
|
|
|
ref="queryForm"
|
|
|
|
|
|
:model="informationqueryParams"
|
|
|
|
|
|
:rules="rules"
|
|
|
|
|
|
label-width="80px"
|
|
|
|
|
|
:inline="true"
|
|
|
|
|
|
>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
<el-form-item label="科室名称" prop="departmentName" label-width="120">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="informationqueryParams.departmentName"
|
|
|
|
|
|
placeholder="请输入科室名称"
|
|
|
|
|
|
clearable
|
|
|
|
|
|
/>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item>
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-button
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
icon="el-icon-search"
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
@click="informationInfoinfo"
|
|
|
|
|
|
>搜索</el-button
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
icon="el-icon-refresh"
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
@click="addresetQuerylist"
|
|
|
|
|
|
>重置</el-button
|
|
|
|
|
|
>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-form>
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-table
|
|
|
|
|
|
:data="infolist"
|
|
|
|
|
|
@cell-dblclick="nurseclick"
|
|
|
|
|
|
v-loading="loading"
|
|
|
|
|
|
>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
<el-table-column label="请选择" width="100" align="center">
|
|
|
|
|
|
<template slot-scope="scope">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-button
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
style="width: 15px; height: 15px"
|
|
|
|
|
|
v-if="form.departmentId == 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>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
|
property="departmentName"
|
|
|
|
|
|
label="科室名称"
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
:show-overflow-tooltip="true"
|
|
|
|
|
|
>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</el-table-column>
|
|
|
|
|
|
</el-table>
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<myPagination
|
|
|
|
|
|
v-show="totaldepartment > 0"
|
|
|
|
|
|
:total="totaldepartment"
|
|
|
|
|
|
:pageSize="informationqueryParams.pageSize"
|
|
|
|
|
|
:indexFromWrap="informationqueryParams.pageNum"
|
|
|
|
|
|
@updateCPage="updateCPagetwo"
|
|
|
|
|
|
></myPagination>
|
2024-06-24 14:35:52 +08:00
|
|
|
|
<!-- <pagination v-show="totaldepartment > 0" :total="totaldepartment" :page.sync="informationqueryParams.pageNum"
|
|
|
|
|
|
:limit.sync="informationqueryParams.pageSize" @pagination="informationInfoinfo" /> -->
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</el-dialog>
|
|
|
|
|
|
<!-- 病种弹框 -->
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-dialog
|
|
|
|
|
|
title=""
|
|
|
|
|
|
:visible.sync="diseaseshowst"
|
|
|
|
|
|
width="1000px"
|
|
|
|
|
|
append-to-body
|
|
|
|
|
|
:before-close="canceldiseases"
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-form
|
|
|
|
|
|
ref="queryForm"
|
|
|
|
|
|
:model="querydisease"
|
|
|
|
|
|
:rules="rules"
|
|
|
|
|
|
label-width="80px"
|
|
|
|
|
|
:inline="true"
|
|
|
|
|
|
>
|
2024-03-06 11:56:58 +08:00
|
|
|
|
<el-form-item label="病种名称" prop="diseaseTypeName" label-width="120">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="querydisease.diseaseTypeName"
|
|
|
|
|
|
placeholder="请输入病种名称"
|
|
|
|
|
|
clearable
|
|
|
|
|
|
/>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item>
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-button
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
icon="el-icon-search"
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
@click="infodisease"
|
|
|
|
|
|
>搜索</el-button
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetdisease"
|
|
|
|
|
|
>重置</el-button
|
|
|
|
|
|
>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-form>
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-table
|
|
|
|
|
|
:data="listdisease"
|
|
|
|
|
|
@cell-dblclick="nurseclickdisease"
|
|
|
|
|
|
v-loading="loading"
|
|
|
|
|
|
>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
<el-table-column label="请选择" width="100" align="center">
|
|
|
|
|
|
<template slot-scope="scope">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-button
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
style="width: 15px; height: 15px"
|
|
|
|
|
|
v-if="form.diseaseTypeId == scope.row.id"
|
|
|
|
|
|
circle
|
|
|
|
|
|
@click="nurseclickdisease(scope.row)"
|
|
|
|
|
|
></el-button>
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
v-else
|
|
|
|
|
|
style="width: 15px; height: 15px"
|
|
|
|
|
|
circle
|
|
|
|
|
|
@click="nurseclickdisease(scope.row)"
|
|
|
|
|
|
></el-button>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
|
property="diseaseTypeName"
|
|
|
|
|
|
label="病种名称"
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
:show-overflow-tooltip="true"
|
|
|
|
|
|
>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</el-table-column>
|
|
|
|
|
|
</el-table>
|
2024-06-24 14:35:52 +08:00
|
|
|
|
<!-- <pagination v-show="diseasetotal > 0" :total="diseasetotal" :page.sync="querydisease.pageNum"
|
|
|
|
|
|
:limit.sync="querydisease.pageSize" @pagination="infodisease" /> -->
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<myPagination
|
|
|
|
|
|
v-show="diseasetotal > 0"
|
|
|
|
|
|
:total="diseasetotal"
|
|
|
|
|
|
:pageSize="querydisease.pageSize"
|
|
|
|
|
|
:indexFromWrap="querydisease.pageNum"
|
|
|
|
|
|
@updateCPage="updateCPagethree"
|
|
|
|
|
|
></myPagination>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</el-dialog>
|
|
|
|
|
|
<!-- 详情弹框 -->
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-dialog
|
|
|
|
|
|
title="详情"
|
|
|
|
|
|
:visible.sync="detailshow"
|
|
|
|
|
|
width="50%"
|
|
|
|
|
|
:before-close="handleClose"
|
|
|
|
|
|
>
|
|
|
|
|
|
<el-form
|
|
|
|
|
|
ref="form"
|
|
|
|
|
|
:model="formdetail"
|
|
|
|
|
|
label-width="150px"
|
|
|
|
|
|
:inline="true"
|
|
|
|
|
|
>
|
2024-03-06 10:40:59 +08:00
|
|
|
|
<el-form-item label="病种名称:" prop="packageVersion">
|
2024-07-08 12:40:02 +08:00
|
|
|
|
<span style="display: inline-block; width: 80px">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
{{ formdetail.diseaseTypeName }}</span
|
|
|
|
|
|
>
|
2024-03-06 10:40:59 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="服务包名称:" prop="packageVersion">
|
2024-04-10 09:20:19 +08:00
|
|
|
|
<div class="container">
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-tooltip
|
|
|
|
|
|
class="item"
|
|
|
|
|
|
effect="dark"
|
|
|
|
|
|
:content="formdetail.packageName"
|
|
|
|
|
|
placement="top-start"
|
|
|
|
|
|
>
|
2024-05-09 14:34:00 +08:00
|
|
|
|
<span>{{ formdetail.packageName }}</span>
|
|
|
|
|
|
</el-tooltip>
|
2024-04-10 09:20:19 +08:00
|
|
|
|
</div>
|
2024-03-06 10:40:59 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="价格:" prop="packageVersion">
|
2024-03-06 16:37:43 +08:00
|
|
|
|
<span>{{ formdetail.packagePrice }}元</span>
|
2024-03-06 10:40:59 +08:00
|
|
|
|
</el-form-item>
|
2024-03-28 10:02:08 +08:00
|
|
|
|
<br />
|
2024-03-06 10:40:59 +08:00
|
|
|
|
<el-form-item label="服务期限:" prop="packageVersion">
|
2024-07-08 12:40:02 +08:00
|
|
|
|
<span style="display: inline-block; width: 80px">
|
|
|
|
|
|
{{ formdetail.packageTermAndUnit }}
|
|
|
|
|
|
</span>
|
2024-03-06 10:40:59 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="硬件类型:" prop="packageVersion">
|
2024-07-08 12:40:02 +08:00
|
|
|
|
<span>
|
|
|
|
|
|
{{ formdetail.hardwareType == "BLOOD_PRESSURE" ? "血压仪" : "" }}
|
|
|
|
|
|
</span>
|
|
|
|
|
|
<span>
|
|
|
|
|
|
{{ formdetail.hardwareType == "GLUCOSE_METER" ? "血糖仪" : "" }}
|
|
|
|
|
|
</span>
|
|
|
|
|
|
<span>
|
|
|
|
|
|
{{ formdetail.hardwareType == "ELECTROCARDIOGRA" ? "心电仪" : "" }}
|
|
|
|
|
|
</span>
|
2024-03-06 10:40:59 +08:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-form>
|
|
|
|
|
|
<el-table v-loading="loading" :data="datailList">
|
|
|
|
|
|
<el-table-column label="序号" type="index" />
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-table-column
|
|
|
|
|
|
label="服务方式"
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
prop="serviceWayName"
|
|
|
|
|
|
/>
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
label="服务内容"
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
prop="serviceContent"
|
|
|
|
|
|
:show-overflow-tooltip="true"
|
|
|
|
|
|
/>
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
label="服务频次"
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
prop="serviceFrequencyText"
|
|
|
|
|
|
/>
|
2024-03-06 10:40:59 +08:00
|
|
|
|
</el-table>
|
|
|
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
|
|
|
<el-button @click="detailshow = false">关闭</el-button>
|
|
|
|
|
|
</span>
|
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
<!-- 发布弹框 -->
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<el-dialog
|
|
|
|
|
|
title="提示"
|
|
|
|
|
|
:visible.sync="dialogexamine"
|
|
|
|
|
|
width="30%"
|
|
|
|
|
|
:before-close="amineClose"
|
|
|
|
|
|
center
|
|
|
|
|
|
>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
<span style="font-size: 18px; margin-left: 55px">是否同意发布?</span>
|
|
|
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
|
|
|
<el-button @click="cancelamine">同意</el-button>
|
|
|
|
|
|
<el-button type="primary" @click="submitamine">不同意</el-button>
|
|
|
|
|
|
</span>
|
|
|
|
|
|
</el-dialog>
|
2024-07-10 15:00:05 +08:00
|
|
|
|
<!-- 导入弹框 -->
|
|
|
|
|
|
<el-dialog
|
|
|
|
|
|
title=""
|
|
|
|
|
|
:visible.sync="innerexport"
|
|
|
|
|
|
width="1000px"
|
|
|
|
|
|
append-to-body
|
|
|
|
|
|
:before-close="exportcancel"
|
|
|
|
|
|
>
|
|
|
|
|
|
<servicepackageexport
|
|
|
|
|
|
@submit="submit"
|
|
|
|
|
|
ref="childComponent"
|
|
|
|
|
|
></servicepackageexport>
|
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
|
|
<el-button type="primary" @click="submitexport">确 定</el-button>
|
|
|
|
|
|
<el-button @click="innerexport = false">取 消</el-button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</el-dialog>
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
<script>
|
2024-03-06 10:40:59 +08:00
|
|
|
|
import { listServicepackage, getServicepackage, delServicepackage, addServicepackage, updateServicepackage, serviceWayList, serviccontent, editReleaseStatus, listServicePackageNum } from "@/api/manage/servicepackage";
|
2024-03-05 17:22:19 +08:00
|
|
|
|
import { department, listDisease } from "@/api/manage/script";
|
2024-07-08 12:40:02 +08:00
|
|
|
|
import DepartmentList from '../../components/DepartmentList.vue'
|
2024-07-10 15:00:05 +08:00
|
|
|
|
import servicepackageexport from '@/views/manage/components/servicepackageexport.vue'
|
|
|
|
|
|
|
|
|
|
|
|
import { copyBaselnfo } from "@/api/system/exportinfo";
|
2024-03-05 17:22:19 +08:00
|
|
|
|
export default {
|
2024-07-08 12:40:02 +08:00
|
|
|
|
components: {
|
|
|
|
|
|
DepartmentList,
|
2024-07-10 15:00:05 +08:00
|
|
|
|
servicepackageexport
|
2024-07-08 12:40:02 +08:00
|
|
|
|
},
|
2024-03-05 17:22:19 +08:00
|
|
|
|
name: "Servicepackage",
|
|
|
|
|
|
data() {
|
|
|
|
|
|
return {
|
2024-07-10 15:00:05 +08:00
|
|
|
|
// 导入弹框
|
|
|
|
|
|
innerexport: false,
|
|
|
|
|
|
exportlist: [],
|
2024-03-05 17:22:19 +08:00
|
|
|
|
departmentName: null,
|
|
|
|
|
|
diseaseTypeName: null,
|
|
|
|
|
|
name: '',
|
|
|
|
|
|
departmentId: null,
|
|
|
|
|
|
count: '',//全部
|
|
|
|
|
|
DepartmentoList: [],//左侧数组
|
|
|
|
|
|
// 左侧传值
|
|
|
|
|
|
querydepartmen: {
|
|
|
|
|
|
departmentName: "",
|
|
|
|
|
|
// pageNum: 1,
|
|
|
|
|
|
// pageSize: 10,
|
|
|
|
|
|
},
|
2024-06-14 15:30:24 +08:00
|
|
|
|
maxTableHeight: undefined,
|
2024-03-05 17:22:19 +08:00
|
|
|
|
innerVisibleshow: false, //科室弹框
|
|
|
|
|
|
// 科室
|
|
|
|
|
|
informationqueryParams: {
|
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
|
departmentName: null,
|
|
|
|
|
|
},
|
|
|
|
|
|
infolist: [],
|
|
|
|
|
|
totaldepartment: 0,
|
|
|
|
|
|
diseaseshowst: false,//病种弹框
|
|
|
|
|
|
querydisease: {
|
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
|
pageSize: 10,
|
2024-03-06 16:37:43 +08:00
|
|
|
|
diseaseTypeName: null,
|
|
|
|
|
|
departmentId: null,
|
2024-03-05 17:22:19 +08:00
|
|
|
|
},
|
|
|
|
|
|
listdisease: [],
|
|
|
|
|
|
diseasetotal: 0,
|
|
|
|
|
|
options: [{
|
|
|
|
|
|
value: '0',
|
|
|
|
|
|
label: '否'
|
|
|
|
|
|
}, {
|
|
|
|
|
|
value: '1',
|
|
|
|
|
|
label: '是'
|
|
|
|
|
|
},],
|
|
|
|
|
|
value1: '',
|
|
|
|
|
|
value2: '',
|
|
|
|
|
|
value3: '',
|
|
|
|
|
|
// 服务方式
|
|
|
|
|
|
optionsway: [],
|
|
|
|
|
|
// 服务内容
|
|
|
|
|
|
|
2024-03-18 09:23:40 +08:00
|
|
|
|
optionscontent: {
|
2024-03-28 10:02:08 +08:00
|
|
|
|
'0': [],
|
|
|
|
|
|
'1': [],
|
|
|
|
|
|
'2': [],
|
|
|
|
|
|
'3': [],
|
|
|
|
|
|
'4': [],
|
2024-03-18 09:23:40 +08:00
|
|
|
|
},
|
2024-03-05 17:22:19 +08:00
|
|
|
|
// 服务频次
|
2024-03-28 10:02:08 +08:00
|
|
|
|
optionsfrequency: {
|
|
|
|
|
|
'0': [],
|
|
|
|
|
|
'1': [],
|
|
|
|
|
|
'2': [],
|
|
|
|
|
|
'3': [],
|
|
|
|
|
|
'4': [],
|
2024-03-18 09:23:40 +08:00
|
|
|
|
},
|
|
|
|
|
|
// optionsfrequency: [
|
2024-03-28 10:02:08 +08:00
|
|
|
|
// {
|
|
|
|
|
|
// value: '',
|
|
|
|
|
|
// label: ''
|
|
|
|
|
|
// }
|
2024-03-18 09:23:40 +08:00
|
|
|
|
// ],
|
2024-03-05 17:22:19 +08:00
|
|
|
|
|
|
|
|
|
|
optionstype: [{
|
|
|
|
|
|
value: 'BLOOD_PRESSURE',
|
|
|
|
|
|
label: '血压仪'
|
|
|
|
|
|
}, {
|
|
|
|
|
|
value: 'GLUCOSE_METER',
|
|
|
|
|
|
label: '血糖仪'
|
|
|
|
|
|
}, {
|
|
|
|
|
|
value: 'ELECTROCARDIOGRA',
|
|
|
|
|
|
label: '心电仪'
|
|
|
|
|
|
},],
|
|
|
|
|
|
optionstime: [
|
|
|
|
|
|
{
|
|
|
|
|
|
value: 'year',
|
|
|
|
|
|
label: '年'
|
|
|
|
|
|
}, {
|
|
|
|
|
|
value: 'mouth',
|
|
|
|
|
|
label: '月'
|
|
|
|
|
|
}, {
|
|
|
|
|
|
value: 'day',
|
|
|
|
|
|
label: '日'
|
|
|
|
|
|
},
|
|
|
|
|
|
],
|
2024-03-06 10:40:59 +08:00
|
|
|
|
value: 'year',
|
|
|
|
|
|
detailshow: false,
|
|
|
|
|
|
datailList: [],
|
2024-03-05 17:22:19 +08:00
|
|
|
|
dialogexamine: false,//发布
|
2024-03-06 10:40:59 +08:00
|
|
|
|
examineid: null,//发布id
|
2024-03-05 17:22:19 +08:00
|
|
|
|
idd: 0,
|
|
|
|
|
|
select: '',
|
|
|
|
|
|
// 遮罩层
|
|
|
|
|
|
loading: true,
|
|
|
|
|
|
// 选中数组
|
|
|
|
|
|
ids: [],
|
|
|
|
|
|
// 非单个禁用
|
|
|
|
|
|
single: true,
|
|
|
|
|
|
// 非多个禁用
|
|
|
|
|
|
multiple: true,
|
|
|
|
|
|
// 显示搜索条件
|
|
|
|
|
|
showSearch: true,
|
|
|
|
|
|
// 总条数
|
|
|
|
|
|
total: 0,
|
|
|
|
|
|
// 服务包基础信息表格数据
|
|
|
|
|
|
servicepackageList: [],
|
|
|
|
|
|
// 弹出层标题
|
|
|
|
|
|
title: "",
|
|
|
|
|
|
// 是否显示弹出层
|
|
|
|
|
|
open: false,
|
|
|
|
|
|
// 查询参数
|
|
|
|
|
|
queryParams: {
|
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
|
departmentId: null,
|
|
|
|
|
|
departmentName: null,
|
|
|
|
|
|
diseaseTypeId: null,
|
|
|
|
|
|
diseaseTypeName: null,
|
|
|
|
|
|
packageName: null,
|
|
|
|
|
|
packageIntroduction: null,
|
|
|
|
|
|
packageVersion: null,
|
|
|
|
|
|
packageTerm: null,
|
|
|
|
|
|
packageTermUnit: null,
|
|
|
|
|
|
packagePrice: null,
|
|
|
|
|
|
packageRemark: null,
|
|
|
|
|
|
hardwareType: null,
|
|
|
|
|
|
whetherRelease: null,
|
|
|
|
|
|
},
|
|
|
|
|
|
// 表单参数
|
|
|
|
|
|
form: {},
|
2024-03-06 10:40:59 +08:00
|
|
|
|
formdetail: {},
|
2024-03-05 17:22:19 +08:00
|
|
|
|
// 表单校验
|
|
|
|
|
|
rules: {
|
|
|
|
|
|
departmentId: [
|
2024-03-18 09:23:40 +08:00
|
|
|
|
{ required: true, message: "科室名称不能为空", trigger: "blur" }
|
2024-03-05 17:22:19 +08:00
|
|
|
|
],
|
2024-03-06 10:40:59 +08:00
|
|
|
|
packageIntroduction: [
|
|
|
|
|
|
{ required: true, message: "服务包简介不能为空", trigger: "blur" }
|
2024-03-05 17:22:19 +08:00
|
|
|
|
],
|
2024-03-06 10:40:59 +08:00
|
|
|
|
packagePrice: [
|
|
|
|
|
|
{ required: true, message: "服务包价格不能为空", trigger: "blur" }
|
2024-03-05 17:22:19 +08:00
|
|
|
|
],
|
2024-03-06 10:40:59 +08:00
|
|
|
|
packageVersion: [
|
|
|
|
|
|
{ required: true, message: "服务包版本不能为空", trigger: "blur" }
|
2024-03-05 17:22:19 +08:00
|
|
|
|
],
|
2024-03-06 10:40:59 +08:00
|
|
|
|
packageName: [
|
|
|
|
|
|
{ required: true, message: "服务包名称不能为空", trigger: "blur" }
|
2024-03-05 17:22:19 +08:00
|
|
|
|
],
|
2024-03-06 10:40:59 +08:00
|
|
|
|
packageTerm: [
|
|
|
|
|
|
{ required: true, message: "服务包期限不能为空", trigger: "blur" }
|
2024-03-05 17:22:19 +08:00
|
|
|
|
],
|
2024-03-06 10:40:59 +08:00
|
|
|
|
voList: {
|
2024-03-05 17:22:19 +08:00
|
|
|
|
serviceWayName: [
|
|
|
|
|
|
{
|
|
|
|
|
|
required: true,
|
|
|
|
|
|
message: "请选择服务方式",
|
|
|
|
|
|
trigger: "blur",
|
|
|
|
|
|
},
|
|
|
|
|
|
],
|
|
|
|
|
|
serviceContent: [
|
|
|
|
|
|
{
|
|
|
|
|
|
required: true,
|
|
|
|
|
|
message: "请选择服务内容",
|
|
|
|
|
|
trigger: "blur",
|
|
|
|
|
|
},
|
|
|
|
|
|
],
|
|
|
|
|
|
serviceFrequencyText: [
|
|
|
|
|
|
{
|
|
|
|
|
|
required: true,
|
|
|
|
|
|
message: "请选择服务频次",
|
|
|
|
|
|
trigger: "blur",
|
|
|
|
|
|
},
|
|
|
|
|
|
]
|
2024-03-06 10:40:59 +08:00
|
|
|
|
},
|
2024-03-18 09:23:40 +08:00
|
|
|
|
},
|
2024-03-05 17:22:19 +08:00
|
|
|
|
};
|
|
|
|
|
|
},
|
|
|
|
|
|
created() {
|
2024-07-08 17:36:48 +08:00
|
|
|
|
// this.getList();
|
2024-03-05 17:22:19 +08:00
|
|
|
|
},
|
2024-06-14 15:30:24 +08:00
|
|
|
|
mounted() {
|
|
|
|
|
|
this.getMaxTableHeight()
|
|
|
|
|
|
this.screenChange()
|
|
|
|
|
|
},
|
2024-03-05 17:22:19 +08:00
|
|
|
|
methods: {
|
2024-07-10 15:00:05 +08:00
|
|
|
|
submit(e) {
|
|
|
|
|
|
this.exportlist = e
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
// 导入确定按钮
|
|
|
|
|
|
submitexport() {
|
|
|
|
|
|
var obj = {
|
|
|
|
|
|
departmentId: this.queryParams.departmentId,
|
|
|
|
|
|
departmentName: this.departmentName,
|
|
|
|
|
|
type: 'SERVICEPACKAGE',
|
|
|
|
|
|
sourceTemplateIds: this.exportlist,
|
|
|
|
|
|
}
|
|
|
|
|
|
copyBaselnfo(obj).then(response => {
|
|
|
|
|
|
this.$modal.msgSuccess("导入成功");
|
|
|
|
|
|
this.innerexport = false
|
|
|
|
|
|
this.$refs.DepartmentList.Departmentlist()
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
|
|
|
|
|
// 导入按钮
|
|
|
|
|
|
handleUpload() {
|
|
|
|
|
|
if (this.queryParams.departmentId) {
|
|
|
|
|
|
this.innerexport = true
|
|
|
|
|
|
if (this.exportlist.length > 0) {
|
|
|
|
|
|
this.$refs.childComponent.resetTable();
|
|
|
|
|
|
}
|
|
|
|
|
|
this.Nameinfo = this.departmentName
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.$modal.msgError("请先选择左侧科室");
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
// 弹框取消
|
|
|
|
|
|
exportcancel() {
|
|
|
|
|
|
this.innerexport = false
|
|
|
|
|
|
},
|
2024-07-08 12:40:02 +08:00
|
|
|
|
//接收科室列表传值
|
|
|
|
|
|
clickdepartment(item) {
|
|
|
|
|
|
this.queryParams.hospitalAgencyId = item.hospitalAgencyId
|
|
|
|
|
|
this.queryParams.hospitalAgencyName = item.hospitalAgencyName
|
|
|
|
|
|
this.queryParams.departmentId = item.itemid
|
|
|
|
|
|
this.departmentName = item.itemName
|
|
|
|
|
|
this.informationqueryParams.hospitalAgencyId = item.hospitalAgencyId
|
|
|
|
|
|
if (item.hospitalAgencyId) {
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
}
|
|
|
|
|
|
this.$forceUpdate()
|
|
|
|
|
|
},
|
2024-03-06 10:40:59 +08:00
|
|
|
|
changepackageTermUnit(e) {
|
|
|
|
|
|
this.$set(this.form, 'packageTermUnit', e);
|
2024-03-05 17:22:19 +08:00
|
|
|
|
},
|
|
|
|
|
|
// 详情
|
2024-03-06 10:40:59 +08:00
|
|
|
|
detail(row) {
|
|
|
|
|
|
this.detailshow = true
|
2024-03-05 17:22:19 +08:00
|
|
|
|
getServicepackage(row.id).then(response => {
|
|
|
|
|
|
this.formdetail = response.data;
|
2024-03-06 10:40:59 +08:00
|
|
|
|
this.datailList = response.data.voList
|
|
|
|
|
|
this.datailList.forEach(el => {
|
|
|
|
|
|
if (el.serviceFrequencyEnd) {
|
|
|
|
|
|
el.serviceFrequencyText = el.serviceFrequencyStart + '~' + el.serviceFrequencyEnd
|
|
|
|
|
|
} else {
|
|
|
|
|
|
el.serviceFrequencyText = el.serviceFrequencyText
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
2024-03-05 17:22:19 +08:00
|
|
|
|
});
|
|
|
|
|
|
},
|
2024-03-06 09:53:08 +08:00
|
|
|
|
// 详情关闭
|
2024-03-06 10:40:59 +08:00
|
|
|
|
handleClose() {
|
|
|
|
|
|
this.detailshow = false
|
2024-03-05 17:22:19 +08:00
|
|
|
|
},
|
2024-03-06 10:40:59 +08:00
|
|
|
|
// 发布
|
|
|
|
|
|
release(row) {
|
2024-03-05 17:22:19 +08:00
|
|
|
|
this.examineid = row.id
|
|
|
|
|
|
this.dialogexamine = true
|
|
|
|
|
|
},
|
|
|
|
|
|
// 发布同意按钮
|
|
|
|
|
|
cancelamine() {
|
2024-03-06 10:40:59 +08:00
|
|
|
|
var propagandaStatus = 1
|
|
|
|
|
|
editReleaseStatus(this.examineid, propagandaStatus).then(response => {
|
2024-03-05 17:22:19 +08:00
|
|
|
|
this.$message({
|
|
|
|
|
|
type: "success",
|
|
|
|
|
|
message: "发布成功"
|
|
|
|
|
|
});
|
|
|
|
|
|
this.getList()
|
|
|
|
|
|
});
|
|
|
|
|
|
this.dialogexamine = false
|
|
|
|
|
|
},
|
|
|
|
|
|
// 发布关闭按钮
|
2024-03-06 09:53:08 +08:00
|
|
|
|
amineClose() {
|
2024-03-05 17:22:19 +08:00
|
|
|
|
this.dialogexamine = false
|
|
|
|
|
|
},
|
|
|
|
|
|
// 发布不同意按钮
|
|
|
|
|
|
submitamine() {
|
2024-03-06 10:40:59 +08:00
|
|
|
|
var propagandaStatus = 0
|
|
|
|
|
|
editReleaseStatus(this.examineid, propagandaStatus).then(response => {
|
2024-03-05 17:22:19 +08:00
|
|
|
|
this.$message({
|
|
|
|
|
|
type: "success",
|
|
|
|
|
|
message: "发布不通过"
|
|
|
|
|
|
});
|
|
|
|
|
|
this.getList()
|
|
|
|
|
|
});
|
|
|
|
|
|
this.dialogexamine = false
|
|
|
|
|
|
},
|
2024-03-06 10:40:59 +08:00
|
|
|
|
//添加时删除item
|
|
|
|
|
|
delnurseClassifyitem(index) {
|
2024-03-05 17:22:19 +08:00
|
|
|
|
this.form.voList.splice(index, 1);
|
2024-03-18 09:23:40 +08:00
|
|
|
|
var optionscontentPlus = []
|
|
|
|
|
|
this.optionscontent[index] = []
|
2024-03-28 10:02:08 +08:00
|
|
|
|
for (var i = 0; i < 5; i++) {
|
|
|
|
|
|
if (this.optionscontent[i] != []) {
|
2024-03-18 09:23:40 +08:00
|
|
|
|
optionscontentPlus.push(this.optionscontent[i])
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
this.optionscontent = {
|
2024-03-28 10:02:08 +08:00
|
|
|
|
'0': [],
|
|
|
|
|
|
'1': [],
|
|
|
|
|
|
'2': [],
|
|
|
|
|
|
'3': [],
|
|
|
|
|
|
'4': [],
|
2024-03-18 09:23:40 +08:00
|
|
|
|
}
|
2024-03-28 10:02:08 +08:00
|
|
|
|
for (var j = 0; j < optionscontentPlus.length; j++) {
|
2024-03-18 09:23:40 +08:00
|
|
|
|
this.optionscontent[j] = optionscontentPlus[j]
|
|
|
|
|
|
}
|
|
|
|
|
|
var optionsfrequencyPlus = []
|
|
|
|
|
|
this.optionsfrequency[index] = []
|
2024-03-28 10:02:08 +08:00
|
|
|
|
for (var i = 0; i < 5; i++) {
|
|
|
|
|
|
if (this.optionsfrequency[i] != []) {
|
2024-03-18 09:23:40 +08:00
|
|
|
|
optionsfrequencyPlus.push(this.optionsfrequency[i])
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
this.optionsfrequency = {
|
2024-03-28 10:02:08 +08:00
|
|
|
|
'0': [],
|
|
|
|
|
|
'1': [],
|
|
|
|
|
|
'2': [],
|
|
|
|
|
|
'3': [],
|
|
|
|
|
|
'4': [],
|
2024-03-18 09:23:40 +08:00
|
|
|
|
}
|
2024-03-28 10:02:08 +08:00
|
|
|
|
for (var j = 0; j < optionsfrequencyPlus.length; j++) {
|
2024-03-18 09:23:40 +08:00
|
|
|
|
this.optionsfrequency[j] = optionsfrequencyPlus[j]
|
|
|
|
|
|
}
|
2024-03-05 17:22:19 +08:00
|
|
|
|
},
|
|
|
|
|
|
//添加时新增item
|
|
|
|
|
|
addnurseClassifyitem() {
|
|
|
|
|
|
this.idd++;
|
|
|
|
|
|
var obj = {
|
|
|
|
|
|
serviceWayName: null,
|
|
|
|
|
|
serviceContent: null,
|
2024-03-28 10:02:08 +08:00
|
|
|
|
serviceFrequencyText: null,
|
2024-03-05 17:22:19 +08:00
|
|
|
|
idd: this.idd
|
|
|
|
|
|
};
|
|
|
|
|
|
if (this.form.voList.length == 5) {
|
|
|
|
|
|
this.$message.error("最多批量添加5条");
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.form.voList.push(obj);
|
|
|
|
|
|
}
|
2024-07-08 14:40:27 +08:00
|
|
|
|
this.$forceUpdate()
|
2024-03-05 17:22:19 +08:00
|
|
|
|
},
|
|
|
|
|
|
/** 查询服务包基础信息列表 */
|
|
|
|
|
|
getList() {
|
|
|
|
|
|
this.loading = true;
|
|
|
|
|
|
listServicepackage(this.queryParams).then(response => {
|
|
|
|
|
|
this.servicepackageList = response.rows;
|
|
|
|
|
|
this.total = response.total;
|
|
|
|
|
|
this.loading = false;
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
|
|
|
|
|
// 查询服务方式
|
2024-03-06 10:40:59 +08:00
|
|
|
|
getserviceWayList() {
|
2024-03-05 17:22:19 +08:00
|
|
|
|
serviceWayList().then(response => {
|
|
|
|
|
|
this.optionsway = response.data;
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
|
|
|
|
|
// 服务方式点击事件
|
2024-03-28 10:02:08 +08:00
|
|
|
|
changeway(e, index) {
|
2024-07-08 14:40:27 +08:00
|
|
|
|
let serviceWayId = this.optionsway.find(f => f.serviceWayName == e).id
|
|
|
|
|
|
serviccontent(serviceWayId).then(response => {
|
2024-03-18 09:23:40 +08:00
|
|
|
|
this.optionscontent[index] = response.rows;
|
2024-03-05 17:22:19 +08:00
|
|
|
|
});
|
2024-03-28 10:02:08 +08:00
|
|
|
|
this.form.voList[index].serviceContent = null
|
|
|
|
|
|
this.form.voList[index].serviceFrequencyText = null
|
2024-03-05 17:22:19 +08:00
|
|
|
|
},
|
|
|
|
|
|
// 服务内容点击事件
|
2024-03-28 10:02:08 +08:00
|
|
|
|
changcontent(e, index) {
|
2024-03-06 10:40:59 +08:00
|
|
|
|
var id = null
|
2024-03-18 09:23:40 +08:00
|
|
|
|
this.form.voList[index].serviceFrequencyText = null
|
|
|
|
|
|
id = this.optionscontent[index].find(f => f.serviceContent == e).id
|
|
|
|
|
|
this.optionsfrequency[index] = this.optionscontent[index].find(f => f.id == id).serviceWayFrequencyList
|
|
|
|
|
|
this.optionsfrequency[index].forEach(el => {
|
2024-03-06 10:40:59 +08:00
|
|
|
|
if (el.serviceFrequencyType == "DIGIT") {
|
|
|
|
|
|
el.serviceFrequencyText = el.serviceFrequencyStart + '~' + el.serviceFrequencyEnd
|
2024-03-28 10:02:08 +08:00
|
|
|
|
}
|
2024-03-18 09:23:40 +08:00
|
|
|
|
else if (el.serviceFrequencyType == "serviceFrequencyType") {
|
|
|
|
|
|
this.optionsfrequency[index] = this.optionscontent[index].find(f => f.id == e).serviceWayFrequencyList
|
2024-03-05 17:22:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
},
|
|
|
|
|
|
// 点击科室
|
|
|
|
|
|
clickinnerVisible() {
|
|
|
|
|
|
this.innerVisibleshow = true;
|
|
|
|
|
|
this.informationInfoinfo();
|
|
|
|
|
|
},
|
|
|
|
|
|
// 科室列表
|
|
|
|
|
|
informationInfoinfo() {
|
|
|
|
|
|
department(this.informationqueryParams).then((response) => {
|
|
|
|
|
|
this.infolist = response.rows;
|
|
|
|
|
|
this.totaldepartment = response.total;
|
|
|
|
|
|
this.loading = false;
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
|
|
|
|
|
// 科室名称重置
|
|
|
|
|
|
addresetQuerylist() {
|
|
|
|
|
|
this.informationqueryParams = {
|
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
|
};
|
|
|
|
|
|
this.informationInfoinfo();
|
|
|
|
|
|
},
|
|
|
|
|
|
innerVisiblecancel() {
|
|
|
|
|
|
this.innerVisibleshow = false;
|
|
|
|
|
|
},
|
2024-06-24 14:35:52 +08:00
|
|
|
|
updateCPage(index, size) {
|
|
|
|
|
|
this.queryParams.pageNum = index
|
|
|
|
|
|
this.queryParams.pageSize = size
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
},
|
|
|
|
|
|
updateCPagetwo(index, size) {
|
|
|
|
|
|
this.informationqueryParams.pageNum = index
|
|
|
|
|
|
this.informationqueryParams.pageSize = size
|
|
|
|
|
|
this.informationInfoinfo();
|
|
|
|
|
|
},
|
|
|
|
|
|
updateCPagethree(index, size) {
|
|
|
|
|
|
this.querydisease.pageNum = index
|
|
|
|
|
|
this.querydisease.pageSize = size
|
|
|
|
|
|
this.infodisease();
|
|
|
|
|
|
},
|
2024-03-05 17:22:19 +08:00
|
|
|
|
// 科室名称圆点按钮
|
|
|
|
|
|
nurseclick(row) {
|
2024-07-10 15:00:05 +08:00
|
|
|
|
this.form.departmentId = row.id;
|
2024-07-08 12:40:02 +08:00
|
|
|
|
this.form.departmentName = row.departmentName;
|
2024-03-05 17:22:19 +08:00
|
|
|
|
this.departmentName = row.departmentName;
|
2024-03-06 11:56:58 +08:00
|
|
|
|
this.form.diseaseTypeId = '';
|
2024-07-08 12:40:02 +08:00
|
|
|
|
this.form.diseaseTypeName = '请选择病种';
|
2024-03-05 17:22:19 +08:00
|
|
|
|
this.innerVisibleshow = false;
|
|
|
|
|
|
},
|
|
|
|
|
|
// 病种列表
|
|
|
|
|
|
infodisease() {
|
|
|
|
|
|
listDisease(this.querydisease).then((response) => {
|
|
|
|
|
|
this.listdisease = response.rows;
|
|
|
|
|
|
this.diseasetotal = response.total;
|
|
|
|
|
|
this.loading = false;
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
|
|
|
|
|
// 点击病种
|
|
|
|
|
|
clickdisease() {
|
2024-07-08 14:33:13 +08:00
|
|
|
|
if (this.form.departmentName == '请选择科室') {
|
2024-03-05 17:22:19 +08:00
|
|
|
|
this.$modal.msgError("请先选择科室");
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.querydisease.departmentId = this.form.departmentId
|
|
|
|
|
|
this.infodisease()
|
2024-07-08 12:40:02 +08:00
|
|
|
|
this.diseaseshowst = true;
|
2024-03-05 17:22:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
// 病种名称圆点按钮
|
|
|
|
|
|
nurseclickdisease(row) {
|
2024-05-09 13:51:29 +08:00
|
|
|
|
this.form.diseaseTypeId = row.id;
|
2024-07-08 12:40:02 +08:00
|
|
|
|
this.form.diseaseTypeName = row.diseaseTypeName;
|
2024-03-05 17:22:19 +08:00
|
|
|
|
this.diseaseshowst = false;
|
|
|
|
|
|
},
|
|
|
|
|
|
// 重置
|
|
|
|
|
|
resetdisease() {
|
2024-03-06 11:56:58 +08:00
|
|
|
|
this.querydisease = {
|
2024-03-05 17:22:19 +08:00
|
|
|
|
pageNum: 1,
|
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
|
};
|
|
|
|
|
|
this.infodisease()
|
|
|
|
|
|
},
|
|
|
|
|
|
canceldiseases() {
|
|
|
|
|
|
this.diseaseshowst = false;
|
|
|
|
|
|
},
|
|
|
|
|
|
// 取消按钮
|
|
|
|
|
|
cancel() {
|
|
|
|
|
|
this.open = false;
|
|
|
|
|
|
this.reset();
|
|
|
|
|
|
},
|
|
|
|
|
|
// 表单重置
|
|
|
|
|
|
reset() {
|
|
|
|
|
|
this.form = {
|
|
|
|
|
|
time: null,
|
|
|
|
|
|
id: null,
|
|
|
|
|
|
departmentId: null,
|
|
|
|
|
|
departmentName: null,
|
|
|
|
|
|
diseaseTypeId: null,
|
|
|
|
|
|
diseaseTypeName: null,
|
|
|
|
|
|
packageName: null,
|
|
|
|
|
|
packageIntroduction: null,
|
|
|
|
|
|
packageVersion: null,
|
|
|
|
|
|
packageTerm: null,
|
|
|
|
|
|
packageTermUnit: null,
|
|
|
|
|
|
packagePrice: null,
|
|
|
|
|
|
packageRemark: null,
|
|
|
|
|
|
hardwareType: null,
|
|
|
|
|
|
whetherRelease: 0,
|
|
|
|
|
|
createBy: null,
|
|
|
|
|
|
createTime: null,
|
|
|
|
|
|
updateBy: null,
|
2024-07-08 14:40:27 +08:00
|
|
|
|
updateTime: null,
|
|
|
|
|
|
voList: [{
|
|
|
|
|
|
serviceContent: null,
|
|
|
|
|
|
serviceFrequencyText: null,
|
|
|
|
|
|
serviceWayName: null,
|
|
|
|
|
|
}]
|
2024-03-05 17:22:19 +08:00
|
|
|
|
};
|
2024-03-07 10:04:27 +08:00
|
|
|
|
this.optionsway = [],
|
|
|
|
|
|
// 服务内容
|
2024-03-18 09:23:40 +08:00
|
|
|
|
// this.optionscontent = [],
|
|
|
|
|
|
this.optionscontent = {
|
2024-03-28 10:02:08 +08:00
|
|
|
|
'0': [],
|
|
|
|
|
|
'1': [],
|
|
|
|
|
|
'2': [],
|
|
|
|
|
|
'3': [],
|
|
|
|
|
|
'4': [],
|
|
|
|
|
|
},
|
|
|
|
|
|
this.optionsfrequency = {
|
|
|
|
|
|
'0': [],
|
|
|
|
|
|
'1': [],
|
|
|
|
|
|
'2': [],
|
|
|
|
|
|
'3': [],
|
|
|
|
|
|
'4': [],
|
|
|
|
|
|
}
|
|
|
|
|
|
// 服务频次
|
|
|
|
|
|
// this.optionsfrequency = [
|
|
|
|
|
|
// {
|
|
|
|
|
|
// value: '',
|
|
|
|
|
|
// label: ''
|
|
|
|
|
|
// }
|
|
|
|
|
|
// ],
|
|
|
|
|
|
this.resetForm("form");
|
2024-03-05 17:22:19 +08:00
|
|
|
|
},
|
|
|
|
|
|
/** 搜索按钮操作 */
|
|
|
|
|
|
handleQuery() {
|
|
|
|
|
|
this.queryParams.pageNum = 1;
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 重置按钮操作 */
|
|
|
|
|
|
resetQuery() {
|
2024-07-08 12:40:02 +08:00
|
|
|
|
this.informationqueryParams.hospitalAgencyId = JSON.parse(localStorage.getItem('user')).hospitalAgencyId
|
|
|
|
|
|
this.queryParams.hospitalAgencyId = JSON.parse(localStorage.getItem('user')).hospitalAgencyId
|
|
|
|
|
|
this.$refs.DepartmentList.resetQuery()
|
2024-07-08 14:33:13 +08:00
|
|
|
|
this.resetForm("queryForms");
|
2024-03-05 17:22:19 +08:00
|
|
|
|
this.handleQuery();
|
|
|
|
|
|
},
|
|
|
|
|
|
// 多选框选中数据
|
|
|
|
|
|
handleSelectionChange(selection) {
|
|
|
|
|
|
this.ids = selection.map(item => item.id)
|
|
|
|
|
|
this.single = selection.length !== 1
|
|
|
|
|
|
this.multiple = !selection.length
|
|
|
|
|
|
},
|
2024-03-06 10:40:59 +08:00
|
|
|
|
// 新增
|
2024-03-05 17:22:19 +08:00
|
|
|
|
handleAdd() {
|
|
|
|
|
|
this.reset();
|
|
|
|
|
|
this.getserviceWayList()
|
2024-07-08 12:40:02 +08:00
|
|
|
|
this.form.voList = [
|
|
|
|
|
|
{
|
|
|
|
|
|
serviceWayName: null,
|
|
|
|
|
|
serviceContent: null,
|
|
|
|
|
|
serviceFrequencyText: null,
|
|
|
|
|
|
serviceFrequencyStart: null,
|
|
|
|
|
|
serviceFrequencyEnd: null,
|
|
|
|
|
|
idd: this.idd,
|
|
|
|
|
|
},
|
|
|
|
|
|
]
|
|
|
|
|
|
if (this.queryParams.departmentId) {
|
2024-03-05 17:22:19 +08:00
|
|
|
|
this.form.departmentName = this.departmentName
|
2024-07-08 12:40:02 +08:00
|
|
|
|
this.form.departmentId = this.queryParams.departmentId
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.form.departmentName = '请选择科室'
|
2024-03-05 17:22:19 +08:00
|
|
|
|
}
|
2024-07-08 12:40:02 +08:00
|
|
|
|
this.form.diseaseTypeName = "请选择病种"
|
|
|
|
|
|
this.form.whetherRelease = 0
|
|
|
|
|
|
this.form.packageTermUnit = '年'
|
2024-03-05 17:22:19 +08:00
|
|
|
|
this.title = "添加服务包基础信息";
|
2024-07-08 12:40:02 +08:00
|
|
|
|
this.open = true;
|
2024-03-05 17:22:19 +08:00
|
|
|
|
},
|
|
|
|
|
|
// 修改
|
|
|
|
|
|
handleUpdate(row) {
|
2024-03-06 09:53:08 +08:00
|
|
|
|
this.getserviceWayList()
|
2024-03-05 17:22:19 +08:00
|
|
|
|
const id = row.id || this.ids
|
|
|
|
|
|
getServicepackage(id).then(response => {
|
|
|
|
|
|
this.form = response.data;
|
2024-03-06 10:40:59 +08:00
|
|
|
|
this.form.voList.forEach(el => {
|
|
|
|
|
|
if (!el.serviceFrequencyText) {
|
|
|
|
|
|
el.serviceFrequencyText = el.serviceFrequencyStart + '~' + el.serviceFrequencyEnd
|
|
|
|
|
|
} else {
|
|
|
|
|
|
el.serviceFrequencyText = el.serviceFrequencyText
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
2024-03-05 17:22:19 +08:00
|
|
|
|
this.departmentName = response.data.departmentName
|
|
|
|
|
|
this.open = true;
|
|
|
|
|
|
this.title = "修改服务包基础信息";
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
|
|
|
|
|
// 复制
|
2024-03-06 10:40:59 +08:00
|
|
|
|
copy(row) {
|
2024-03-05 17:22:19 +08:00
|
|
|
|
const id = row.id || this.ids
|
|
|
|
|
|
getServicepackage(id).then(response => {
|
|
|
|
|
|
this.form = response.data;
|
2024-03-06 10:40:59 +08:00
|
|
|
|
this.form.voList.forEach(el => {
|
|
|
|
|
|
if (!el.serviceFrequencyText) {
|
|
|
|
|
|
el.serviceFrequencyText = el.serviceFrequencyStart + '~' + el.serviceFrequencyEnd
|
|
|
|
|
|
} else {
|
|
|
|
|
|
el.serviceFrequencyText = el.serviceFrequencyText
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
2024-03-05 17:22:19 +08:00
|
|
|
|
this.departmentName = response.data.departmentName
|
|
|
|
|
|
this.open = true;
|
|
|
|
|
|
this.title = "复制服务包基础信息";
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
|
|
|
|
|
// 复制确定
|
2024-03-06 10:40:59 +08:00
|
|
|
|
submitFormadd() {
|
2024-03-05 17:22:19 +08:00
|
|
|
|
this.form.whetherRelease = 0
|
2024-03-07 10:04:27 +08:00
|
|
|
|
var obj = JSON.parse(JSON.stringify(this.form))
|
|
|
|
|
|
obj.voList.forEach(e => {
|
2024-03-06 10:40:59 +08:00
|
|
|
|
if (e.serviceFrequencyText.includes('~')) {
|
|
|
|
|
|
const str = e.serviceFrequencyText;
|
|
|
|
|
|
const parts = str.split('~');
|
|
|
|
|
|
e.serviceFrequencyStart = parts[0];
|
|
|
|
|
|
e.serviceFrequencyEnd = parts[1];
|
|
|
|
|
|
e.serviceFrequencyText = null
|
|
|
|
|
|
} else {
|
|
|
|
|
|
e.serviceFrequencyText = e.serviceFrequencyText
|
2024-03-05 17:22:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
})
|
2024-07-08 12:40:02 +08:00
|
|
|
|
if (this.form.diseaseTypeName == "请选择病种") {
|
|
|
|
|
|
this.form.diseaseTypeName = null
|
2024-03-06 10:40:59 +08:00
|
|
|
|
}
|
2024-03-07 10:04:27 +08:00
|
|
|
|
addServicepackage(obj).then(response => {
|
2024-03-06 10:40:59 +08:00
|
|
|
|
this.$modal.msgSuccess("复制成功");
|
|
|
|
|
|
this.open = false;
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
this.getlistcount()
|
|
|
|
|
|
});
|
2024-03-05 17:22:19 +08:00
|
|
|
|
},
|
2024-03-06 10:40:59 +08:00
|
|
|
|
// 提交
|
2024-03-05 17:22:19 +08:00
|
|
|
|
submitForm() {
|
2024-07-08 14:40:27 +08:00
|
|
|
|
this.form.hospitalAgencyId = this.queryParams.hospitalAgencyId
|
|
|
|
|
|
this.form.hospitalAgencyName = this.queryParams.hospitalAgencyName
|
2024-03-05 17:22:19 +08:00
|
|
|
|
this.$refs["form"].validate(valid => {
|
|
|
|
|
|
if (valid) {
|
2024-03-29 09:33:12 +08:00
|
|
|
|
if (this.form.id != null) {
|
2024-07-08 14:40:27 +08:00
|
|
|
|
if (!this.form.diseaseTypeId) {
|
|
|
|
|
|
this.form.diseaseTypeName = ''
|
|
|
|
|
|
}
|
2024-03-29 09:33:12 +08:00
|
|
|
|
if (this.form.voList) {
|
2024-03-28 10:02:08 +08:00
|
|
|
|
var obj = JSON.parse(JSON.stringify(this.form))
|
|
|
|
|
|
obj.voList.forEach(e => {
|
|
|
|
|
|
if (e.serviceFrequencyText.includes('~')) {
|
|
|
|
|
|
const str = e.serviceFrequencyText;
|
|
|
|
|
|
const parts = str.split('~');
|
|
|
|
|
|
e.serviceFrequencyStart = parts[0];
|
|
|
|
|
|
e.serviceFrequencyEnd = parts[1];
|
|
|
|
|
|
e.serviceFrequencyText = null
|
2024-03-06 10:40:59 +08:00
|
|
|
|
} else {
|
2024-03-28 10:02:08 +08:00
|
|
|
|
e.serviceFrequencyText = e.serviceFrequencyText
|
2024-03-06 10:40:59 +08:00
|
|
|
|
}
|
2024-03-28 10:02:08 +08:00
|
|
|
|
})
|
|
|
|
|
|
updateServicepackage(obj).then(response => {
|
|
|
|
|
|
this.$modal.msgSuccess("修改成功");
|
|
|
|
|
|
this.open = false;
|
|
|
|
|
|
this.getList();
|
2024-07-08 14:40:27 +08:00
|
|
|
|
this.$refs.DepartmentList.Departmentlist()
|
2024-03-28 10:02:08 +08:00
|
|
|
|
});
|
|
|
|
|
|
}
|
2024-03-29 09:33:12 +08:00
|
|
|
|
} else {
|
|
|
|
|
|
if (this.form.voList) {
|
2024-03-28 10:02:08 +08:00
|
|
|
|
var obj = JSON.parse(JSON.stringify(this.form))
|
|
|
|
|
|
obj.voList.forEach(e => {
|
|
|
|
|
|
if (e.serviceFrequencyText.includes('~')) {
|
|
|
|
|
|
const str = e.serviceFrequencyText;
|
|
|
|
|
|
const parts = str.split('~');
|
|
|
|
|
|
e.serviceFrequencyStart = parts[0];
|
|
|
|
|
|
e.serviceFrequencyEnd = parts[1];
|
|
|
|
|
|
e.serviceFrequencyText = null
|
|
|
|
|
|
} else {
|
|
|
|
|
|
e.serviceFrequencyText = e.serviceFrequencyText
|
2024-03-06 10:40:59 +08:00
|
|
|
|
}
|
2024-03-28 10:02:08 +08:00
|
|
|
|
})
|
|
|
|
|
|
addServicepackage(obj).then(response => {
|
|
|
|
|
|
this.$modal.msgSuccess("新增成功");
|
|
|
|
|
|
this.open = false;
|
|
|
|
|
|
this.getList();
|
2024-07-08 14:40:27 +08:00
|
|
|
|
this.$refs.DepartmentList.Departmentlist()
|
2024-03-28 10:02:08 +08:00
|
|
|
|
});
|
|
|
|
|
|
}
|
2024-03-05 17:22:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 删除按钮操作 */
|
|
|
|
|
|
handleDelete(row) {
|
|
|
|
|
|
const ids = row.id || this.ids;
|
|
|
|
|
|
this.$modal.confirm('是否确认删除该服务包基础信息?').then(function () {
|
|
|
|
|
|
return delServicepackage(ids);
|
|
|
|
|
|
}).then(() => {
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
this.$modal.msgSuccess("删除成功");
|
2024-07-08 14:40:27 +08:00
|
|
|
|
this.$refs.DepartmentList.Departmentlist()
|
2024-03-05 17:22:19 +08:00
|
|
|
|
}).catch(() => { });
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 导出按钮操作 */
|
|
|
|
|
|
handleExport() {
|
|
|
|
|
|
this.download('manage/servicepackage/export', {
|
|
|
|
|
|
...this.queryParams
|
|
|
|
|
|
}, `servicepackage_${new Date().getTime()}.xlsx`)
|
2024-06-14 15:30:24 +08:00
|
|
|
|
},
|
|
|
|
|
|
// 获取表格最高高度
|
|
|
|
|
|
getMaxTableHeight() {
|
|
|
|
|
|
const windowInnerHeight = window.innerHeight // 屏幕可视高度
|
|
|
|
|
|
const layoutDiv = this.$refs.layout
|
2024-06-16 15:31:29 +08:00
|
|
|
|
const formDiv = this.$refs.topform
|
2024-06-14 15:30:24 +08:00
|
|
|
|
const mb8Div = this.$refs.mb8
|
|
|
|
|
|
this.maxTableHeight =
|
|
|
|
|
|
windowInnerHeight - 134 -
|
|
|
|
|
|
this.getBoxPadding(layoutDiv) -
|
|
|
|
|
|
this.getBoxHeight(mb8Div) -
|
|
|
|
|
|
this.getBoxHeight(formDiv)
|
|
|
|
|
|
},
|
|
|
|
|
|
// 屏幕resize监听
|
|
|
|
|
|
screenChange() {
|
|
|
|
|
|
// 屏幕resize监听事件:一旦屏幕宽高发生变化,就会执行resize
|
|
|
|
|
|
window.addEventListener('resize', this.getMaxTableHeight, true)
|
|
|
|
|
|
// 将屏幕监听事件移除
|
|
|
|
|
|
// 这步是必须的。离开页面时不移除,再返回,或者进入到别的有相同元素的页面会报错
|
|
|
|
|
|
// 或者将这里的方法直接写在beforeDestroy函数中也可以
|
|
|
|
|
|
this.$once('hook:beforeDestroy', () => {
|
|
|
|
|
|
window.removeEventListener('resize', this.getMaxTableHeight, true)
|
|
|
|
|
|
})
|
|
|
|
|
|
},
|
2024-03-05 17:22:19 +08:00
|
|
|
|
}
|
|
|
|
|
|
};
|
|
|
|
|
|
</script>
|
2024-06-14 15:30:24 +08:00
|
|
|
|
<style lang="scss" scoped>
|
2024-06-24 14:35:52 +08:00
|
|
|
|
::v-deep .el-dialog__body {
|
|
|
|
|
|
padding-bottom: 60px !important;
|
2024-06-18 17:53:35 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2024-03-05 17:22:19 +08:00
|
|
|
|
::v-deep .el-input-group {
|
2024-07-08 14:33:13 +08:00
|
|
|
|
width: 208px !important;
|
2024-03-05 17:22:19 +08:00
|
|
|
|
}
|
2024-06-13 16:02:09 +08:00
|
|
|
|
|
2024-04-10 09:20:19 +08:00
|
|
|
|
.container {
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
width: 80px;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
|
|
|
|
// text-overflow:ellipsis
|
|
|
|
|
|
// white-space: nowrap;
|
|
|
|
|
|
// overflow: hidden;
|
|
|
|
|
|
}
|
2024-06-13 16:02:09 +08:00
|
|
|
|
|
2024-04-10 09:20:19 +08:00
|
|
|
|
// .container:hover {
|
2024-05-09 14:13:36 +08:00
|
|
|
|
// text-overflow:inherit;
|
|
|
|
|
|
// overflow: visible;
|
|
|
|
|
|
// white-space: pre-line;
|
2024-04-10 09:20:19 +08:00
|
|
|
|
|
|
|
|
|
|
// }
|
2024-06-14 15:30:24 +08:00
|
|
|
|
.app-container {
|
|
|
|
|
|
padding: 20px 0 0 20px !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
::v-deep .el-row {
|
|
|
|
|
|
height: 100% !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2024-03-06 16:37:43 +08:00
|
|
|
|
.leftserv {
|
2024-06-14 15:30:24 +08:00
|
|
|
|
height: calc(100vh - 119px);
|
2024-03-05 17:22:19 +08:00
|
|
|
|
overflow: auto;
|
2024-06-13 16:02:09 +08:00
|
|
|
|
|
2024-03-05 17:22:19 +08:00
|
|
|
|
.name {
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
}
|
2024-06-13 16:02:09 +08:00
|
|
|
|
|
2024-03-05 17:22:19 +08:00
|
|
|
|
.listitem {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 50px;
|
|
|
|
|
|
border-bottom: 1px solid #dcdfe6;
|
2024-06-13 16:02:09 +08:00
|
|
|
|
|
2024-03-05 17:22:19 +08:00
|
|
|
|
.count {
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
// right: -172px;
|
|
|
|
|
|
left: 210px;
|
|
|
|
|
|
color: #a4a6aa;
|
|
|
|
|
|
top: -35px;
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
}
|
2024-06-13 16:02:09 +08:00
|
|
|
|
|
2024-03-05 17:22:19 +08:00
|
|
|
|
.all {
|
|
|
|
|
|
height: 50px;
|
|
|
|
|
|
line-height: 50px;
|
|
|
|
|
|
padding-left: 13px;
|
|
|
|
|
|
}
|
2024-06-13 16:02:09 +08:00
|
|
|
|
|
2024-03-05 17:22:19 +08:00
|
|
|
|
.allactive {
|
|
|
|
|
|
background: #e8f4ff;
|
|
|
|
|
|
height: 50px;
|
|
|
|
|
|
line-height: 50px;
|
|
|
|
|
|
padding-left: 13px;
|
|
|
|
|
|
border-left: 3px solid #4d9de7;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-06-14 15:30:24 +08:00
|
|
|
|
|
|
|
|
|
|
.app-container {
|
|
|
|
|
|
padding: 20px 0 0 20px !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
::v-deep .el-row {
|
|
|
|
|
|
height: 100% !important;
|
|
|
|
|
|
}
|
2024-03-05 17:22:19 +08:00
|
|
|
|
</style>
|