Compare commits
11 Commits
c0b1100f74
...
8630988938
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8630988938 | ||
|
|
cf0e02ded8 | ||
|
|
ee96c52b31 | ||
|
|
ce74525fbd | ||
|
|
150d4ea390 | ||
|
|
f1ac5a7268 | ||
|
|
0ae2200751 | ||
|
|
852e363eae | ||
|
|
3a43410152 | ||
|
|
f82fabcba3 | ||
|
|
66ea32162a |
@ -41,4 +41,21 @@ export function directOutbound(data) {
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取医院外呼时间起止详细信息
|
||||
export function selectDialTime() {
|
||||
return request({
|
||||
url: `/manage/patientInfoimportmain/selectDialTime`,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
// 新增医院外呼时间起止
|
||||
export function addDialTime(data) {
|
||||
return request({
|
||||
url: `/manage/patientInfoimportmain/addDialTime`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
BIN
src/assets/manage/tx.png
Normal file
BIN
src/assets/manage/tx.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.3 KiB |
@ -225,7 +225,6 @@ export default {
|
||||
deep: true,
|
||||
immediate: true,
|
||||
},
|
||||
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
@ -1,70 +1,29 @@
|
||||
<template>
|
||||
<Form
|
||||
ref="form"
|
||||
:label-width="labelWidth"
|
||||
:size="size"
|
||||
style="display: flex"
|
||||
class="item-search-form"
|
||||
>
|
||||
<div
|
||||
id="searchFilter"
|
||||
ref="searchFilter"
|
||||
:gutter="10"
|
||||
style="display: flex; flex-wrap: wrap"
|
||||
:style="{ width: widths + '%' }"
|
||||
>
|
||||
<Form ref="form" :label-width="labelWidth" :size="size" style="display: flex" class="item-search-form">
|
||||
<div id="searchFilter" ref="searchFilter" :gutter="10" style="display: flex; flex-wrap: wrap"
|
||||
:style="{ width: widths + '%' }">
|
||||
<slot></slot>
|
||||
</div>
|
||||
<div
|
||||
style="width: 20%; text-align: right; padding-right: 18px"
|
||||
:style="{
|
||||
width:
|
||||
this.$router.currentRoute.path == '/patient/Patientmanagement'
|
||||
? '27%'
|
||||
: '20%',
|
||||
}"
|
||||
>
|
||||
<div style="width: 20%; text-align: right; padding-right: 18px" :style="{
|
||||
width: this.$router.currentRoute.path == '/patient/patientinfoimport' ? '30%' : this.$router.currentRoute.path == '/patient/Patientmanagement' ? '27%' : '20%',
|
||||
}">
|
||||
<Button type="primary" @click="handleQuery" size="mini">搜索</Button>
|
||||
<Button @click="handleReset" size="mini">重置</Button>
|
||||
<el-button
|
||||
type="warning"
|
||||
plain
|
||||
icon="el-icon-upload2"
|
||||
size="mini"
|
||||
@click="handleUpload"
|
||||
v-if="patientUploadButtonVisible == 'true'"
|
||||
>导入</el-button
|
||||
>
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
size="mini"
|
||||
@click="handleback"
|
||||
v-if="this.$router.currentRoute.path == '/patient/ImportDetails'"
|
||||
>返回</el-button
|
||||
>
|
||||
<el-button
|
||||
type="warning"
|
||||
plain
|
||||
icon="el-icon-download"
|
||||
size="mini"
|
||||
@click="handleExport"
|
||||
v-if="this.$router.currentRoute.path == '/task/Satisfactionsurvey'"
|
||||
>导出</el-button
|
||||
>
|
||||
<Button
|
||||
v-show="collapsiable"
|
||||
type="text"
|
||||
@click="shiftCollapsiable"
|
||||
size="mini"
|
||||
>
|
||||
<el-button type="warning" plain icon="el-icon-upload2" size="mini" @click="handleUpload"
|
||||
v-if="patientUploadButtonVisible == 'true'">导入</el-button>
|
||||
<el-button type="info" plain size="mini" @click="timelimitopentrue"
|
||||
v-if="patientUploadButtonVisible == 'true'">时间限制</el-button>
|
||||
<el-button type="primary" plain size="mini" @click="handleback"
|
||||
v-if="this.$router.currentRoute.path == '/patient/ImportDetails'">返回</el-button>
|
||||
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"
|
||||
v-if="this.$router.currentRoute.path == '/task/Satisfactionsurvey'">导出</el-button>
|
||||
<Button v-show="collapsiable" type="text" @click="shiftCollapsiable" size="mini">
|
||||
<span>
|
||||
{{ fold ? "收起" : "展开" }}
|
||||
<i :class="fold ? 'el-icon-arrow-up' : 'el-icon-arrow-down'"></i>
|
||||
</span>
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<!-- 导入添加-->
|
||||
<el-dialog title="导入" :visible.sync="open" width="600px" append-to-body>
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="110px">
|
||||
@ -73,27 +32,13 @@
|
||||
<template slot="label">
|
||||
{{ item.deptAlias }}
|
||||
</template>
|
||||
<el-select
|
||||
v-model="item.departmentName"
|
||||
placeholder="请选择科室"
|
||||
style="width: 208px"
|
||||
@change="changeway($event, index)"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in form.departments"
|
||||
:key="item.id"
|
||||
:label="item.departmentName"
|
||||
:value="item.departmentName"
|
||||
>
|
||||
<el-select v-model="item.departmentName" placeholder="请选择科室" style="width: 208px"
|
||||
@change="changeway($event, index)">
|
||||
<el-option v-for="item in form.departments" :key="item.id" :label="item.departmentName"
|
||||
:value="item.departmentName">
|
||||
</el-option>
|
||||
</el-select>
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
style="margin-left: 8px"
|
||||
@click="additem(item, index)"
|
||||
>添加</el-button
|
||||
>
|
||||
<el-button type="primary" plain style="margin-left: 8px" @click="additem(item, index)">添加</el-button>
|
||||
</el-form-item>
|
||||
</div>
|
||||
</el-form>
|
||||
@ -103,45 +48,26 @@
|
||||
</div>
|
||||
</el-dialog>
|
||||
<!-- //导入 -->
|
||||
<el-dialog
|
||||
title="导入"
|
||||
:visible.sync="uploadopen"
|
||||
width="400px"
|
||||
append-to-body
|
||||
>
|
||||
<el-upload
|
||||
drag
|
||||
class="upload-demo"
|
||||
ref="upload"
|
||||
:action="action.url"
|
||||
:headers="action.headers"
|
||||
:on-preview="handlePreview"
|
||||
:on-remove="handleRemove"
|
||||
:file-list="fileList"
|
||||
:auto-upload="false"
|
||||
:on-success="handleAvatarSuccess"
|
||||
:data="action.data"
|
||||
:on-exceed="exceedFile"
|
||||
:limit="1"
|
||||
>
|
||||
<el-dialog title="导入" :visible.sync="uploadopen" width="400px" append-to-body>
|
||||
<el-form :model="action.data" ref="queryForm" size="small" :inline="true" label-width="110px">
|
||||
<el-form-item label="批次名称" prop="importName">
|
||||
<el-input v-model="action.data.importName" placeholder="请输入批次名称" />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-upload drag class="upload-demo" ref="upload" :action="action.url" :headers="action.headers"
|
||||
:on-preview="handlePreview" :on-remove="handleRemove" :file-list="fileList" :auto-upload="false"
|
||||
:on-success="handleAvatarSuccess" :data="action.data" :on-exceed="exceedFile" :limit="1">
|
||||
<i class="el-icon-upload"></i>
|
||||
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
|
||||
<div class="el-upload__tip" slot="tip" style="line-height: 25px">
|
||||
<div>
|
||||
1.
|
||||
<span
|
||||
style="color: #1890ff; cursor: pointer"
|
||||
@click="importTemplate"
|
||||
>下载导入模板</span
|
||||
>
|
||||
1.<span style="color: #1890ff; cursor: pointer" @click="importTemplate">下载导入模板</span>
|
||||
</div>
|
||||
<div>2.最大支持2MB的xls/xlsx文件</div>
|
||||
<div>3.一次导入患者数量不能超过5000</div>
|
||||
<div>4.同一手机号每月可最多拔打{{ countsum }}次</div>
|
||||
|
||||
<el-checkbox v-model="isDistinct" style="font-size: 12px"
|
||||
>自动去除当日重复记录</el-checkbox
|
||||
>
|
||||
<el-checkbox v-model="action.data.isDistinct" :true-label="1" :false-label="0"
|
||||
style="font-size: 12px">自动去除当日重复记录</el-checkbox>
|
||||
</div>
|
||||
</el-upload>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
@ -150,19 +76,8 @@
|
||||
</div>
|
||||
</el-dialog>
|
||||
<!-- 添加或修改科室信息对话框 -->
|
||||
<el-dialog
|
||||
title="添加"
|
||||
:visible.sync="openadd"
|
||||
width="1000px"
|
||||
append-to-body
|
||||
>
|
||||
<el-form
|
||||
ref="formadd"
|
||||
:model="formadd"
|
||||
:rules="rulesadd"
|
||||
label-width="120px"
|
||||
:inline="true"
|
||||
>
|
||||
<el-dialog title="添加" :visible.sync="openadd" width="1000px" append-to-body>
|
||||
<el-form ref="formadd" :model="formadd" :rules="rulesadd" label-width="120px" :inline="true">
|
||||
<!-- <el-form-item label="上级科室id" prop="parentDepartmentId">
|
||||
<el-input
|
||||
v-model="form.parentDepartmentId"
|
||||
@ -181,73 +96,32 @@
|
||||
<div class="nameinformation">基本信息</div>
|
||||
<div class="content">
|
||||
<el-form-item label="科室名称" prop="departmentName">
|
||||
<el-input
|
||||
maxlength="100"
|
||||
v-model="formadd.departmentName"
|
||||
placeholder="请输入科室名称"
|
||||
/>
|
||||
<el-input maxlength="100" v-model="formadd.departmentName" placeholder="请输入科室名称" />
|
||||
</el-form-item>
|
||||
<el-form-item label="科室代码" prop="departmentCode">
|
||||
<el-input
|
||||
maxlength="30"
|
||||
onKeyUp="value=value.replace(/[\W]/g,'')"
|
||||
v-model="formadd.departmentCode"
|
||||
placeholder="请输入科室代码"
|
||||
/>
|
||||
<el-input maxlength="30" onKeyUp="value=value.replace(/[\W]/g,'')" v-model="formadd.departmentCode"
|
||||
placeholder="请输入科室代码" />
|
||||
</el-form-item>
|
||||
<el-form-item label="所属机构" prop="hospitalAgencyName">
|
||||
<el-cascader
|
||||
class="custom-cascader"
|
||||
clearable
|
||||
:props="{ checkStrictly: true }"
|
||||
:options="treeOptions"
|
||||
@change="change"
|
||||
style="width: 205px; color: black"
|
||||
v-model="formadd.hospitalAgencyIdtwo"
|
||||
:show-all-levels="false"
|
||||
:placeholder="
|
||||
formadd.hospitalAgencyName ? formadd.hospitalAgencyName : ''
|
||||
"
|
||||
ref="cascader"
|
||||
:key="isResouceShow"
|
||||
></el-cascader>
|
||||
<el-cascader class="custom-cascader" clearable :props="{ checkStrictly: true }" :options="treeOptions"
|
||||
@change="change" style="width: 205px; color: black" v-model="formadd.hospitalAgencyIdtwo"
|
||||
:show-all-levels="false" :placeholder="formadd.hospitalAgencyName ? formadd.hospitalAgencyName : ''
|
||||
" ref="cascader" :key="isResouceShow"></el-cascader>
|
||||
</el-form-item>
|
||||
<el-form-item label="节点类型" prop="nodeType">
|
||||
<el-select
|
||||
v-model="formadd.nodeType"
|
||||
placeholder="请选择"
|
||||
style="width: 205px"
|
||||
clearable
|
||||
>
|
||||
<el-option
|
||||
v-for="item in nodeTypeoptions"
|
||||
:key="item.dictValue"
|
||||
:label="item.dictLabel"
|
||||
:value="item.dictValue"
|
||||
>
|
||||
<el-select v-model="formadd.nodeType" placeholder="请选择" style="width: 205px" clearable>
|
||||
<el-option v-for="item in nodeTypeoptions" :key="item.dictValue" :label="item.dictLabel"
|
||||
:value="item.dictValue">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="科室简称" prop="departmentAbbreviation">
|
||||
<el-input
|
||||
maxlength="100"
|
||||
v-model="formadd.departmentAbbreviation"
|
||||
placeholder="请输入科室简称"
|
||||
/>
|
||||
<el-input maxlength="100" v-model="formadd.departmentAbbreviation" placeholder="请输入科室简称" />
|
||||
</el-form-item>
|
||||
<el-form-item label="科室类型" prop="departmentType">
|
||||
<el-select
|
||||
v-model="formadd.departmentType"
|
||||
placeholder="请选择"
|
||||
style="width: 205px"
|
||||
clearable=""
|
||||
>
|
||||
<el-option
|
||||
v-for="item in departmentoptions"
|
||||
:key="item.dictValue"
|
||||
:label="item.dictLabel"
|
||||
:value="item.dictValue"
|
||||
>
|
||||
<el-select v-model="formadd.departmentType" placeholder="请选择" style="width: 205px" clearable="">
|
||||
<el-option v-for="item in departmentoptions" :key="item.dictValue" :label="item.dictLabel"
|
||||
:value="item.dictValue">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
@ -258,27 +132,13 @@
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<el-form-item label="科室负责人姓名" prop="departmentPersonName">
|
||||
<el-input
|
||||
maxlength="20"
|
||||
v-model="formadd.departmentPersonName"
|
||||
placeholder="请输入科室负责人姓名"
|
||||
/>
|
||||
<el-input maxlength="20" v-model="formadd.departmentPersonName" placeholder="请输入科室负责人姓名" />
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="上级科室" prop="parentDepartmentId">
|
||||
<el-select
|
||||
v-model="formadd.parentDepartmentName"
|
||||
placeholder="请选择"
|
||||
style="width: 205px"
|
||||
@change="changeparentDepartment"
|
||||
clearable
|
||||
>
|
||||
<el-option
|
||||
v-for="item in optionsparentDepartment"
|
||||
:key="item.id"
|
||||
:label="item.departmentName"
|
||||
:value="item.id"
|
||||
>
|
||||
<el-select v-model="formadd.parentDepartmentName" placeholder="请选择" style="width: 205px"
|
||||
@change="changeparentDepartment" clearable>
|
||||
<el-option v-for="item in optionsparentDepartment" :key="item.id" :label="item.departmentName"
|
||||
:value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
@ -286,97 +146,45 @@
|
||||
<div class="nameinformation">扩展信息</div>
|
||||
<div class="content">
|
||||
<el-form-item label="提供服务类别" prop="provideServiceCategory">
|
||||
<el-select
|
||||
clearable
|
||||
v-model="formadd.provideServiceCategory"
|
||||
placeholder="请选择"
|
||||
style="width: 205px"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in options"
|
||||
:key="item.dictValue"
|
||||
:label="item.dictLabel"
|
||||
:value="item.dictValue"
|
||||
>
|
||||
<el-select clearable v-model="formadd.provideServiceCategory" placeholder="请选择" style="width: 205px">
|
||||
<el-option v-for="item in options" :key="item.dictValue" :label="item.dictLabel" :value="item.dictValue">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="细分类别" prop="subdivisionCategoryId">
|
||||
<el-select
|
||||
v-model="formadd.subdivisionCategoryName"
|
||||
placeholder="请选择"
|
||||
style="width: 205px"
|
||||
clearable
|
||||
@change="optionsubdivision"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in optionsubdivisionCategory"
|
||||
:key="item.subdivisionCategoryCode"
|
||||
:label="item.subdivisionCategoryName"
|
||||
:value="item.subdivisionCategoryCode"
|
||||
>
|
||||
<el-select v-model="formadd.subdivisionCategoryName" placeholder="请选择" style="width: 205px" clearable
|
||||
@change="optionsubdivision">
|
||||
<el-option v-for="item in optionsubdivisionCategory" :key="item.subdivisionCategoryCode"
|
||||
:label="item.subdivisionCategoryName" :value="item.subdivisionCategoryCode">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="标准科室对照" prop="normDepartmentCompareId">
|
||||
<el-select
|
||||
v-model="formadd.normDepartmentCompareId"
|
||||
placeholder="请选择"
|
||||
style="width: 205px"
|
||||
clearable
|
||||
>
|
||||
<el-option
|
||||
v-for="item in compareList"
|
||||
:key="item.departmentId"
|
||||
:label="item.departmentName"
|
||||
:value="item.departmentId"
|
||||
>
|
||||
<el-select v-model="formadd.normDepartmentCompareId" placeholder="请选择" style="width: 205px" clearable>
|
||||
<el-option v-for="item in compareList" :key="item.departmentId" :label="item.departmentName"
|
||||
:value="item.departmentId">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="编制床位数" prop="prepareBedsCount">
|
||||
<el-input
|
||||
maxlength="8"
|
||||
onKeyUp="value=value.replace(/[\W]/g,'')"
|
||||
v-model="formadd.prepareBedsCount"
|
||||
placeholder="请输入编制床位数"
|
||||
/>
|
||||
<el-input maxlength="8" onKeyUp="value=value.replace(/[\W]/g,'')" v-model="formadd.prepareBedsCount"
|
||||
placeholder="请输入编制床位数" />
|
||||
</el-form-item>
|
||||
<el-form-item label="科室电话" prop="departmentPhone">
|
||||
<el-input
|
||||
maxlength="12"
|
||||
onKeyUp="value=value.replace(/[\W]/g,'')"
|
||||
v-model="formadd.departmentPhone"
|
||||
placeholder="请输入科室电话"
|
||||
/>
|
||||
<el-input maxlength="12" onKeyUp="value=value.replace(/[\W]/g,'')" v-model="formadd.departmentPhone"
|
||||
placeholder="请输入科室电话" />
|
||||
</el-form-item>
|
||||
<el-form-item label="科室邮箱" prop="departmentMail">
|
||||
<el-input
|
||||
maxlength="20"
|
||||
v-model="formadd.departmentMail"
|
||||
placeholder="请输入科室邮箱"
|
||||
/>
|
||||
<el-input maxlength="20" v-model="formadd.departmentMail" placeholder="请输入科室邮箱" />
|
||||
</el-form-item>
|
||||
<el-form-item label="成立日期" prop="establishDate">
|
||||
<el-date-picker
|
||||
clearable
|
||||
v-model="formadd.establishDate"
|
||||
type="date"
|
||||
style="width: 205px"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择成立日期"
|
||||
>
|
||||
<el-date-picker clearable v-model="formadd.establishDate" type="date" style="width: 205px"
|
||||
value-format="yyyy-MM-dd" placeholder="请选择成立日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="撤销日期" prop="revokeDate">
|
||||
<el-date-picker
|
||||
clearable
|
||||
v-model="formadd.revokeDate"
|
||||
type="date"
|
||||
style="width: 205px"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择撤销日期"
|
||||
>
|
||||
<el-date-picker clearable v-model="formadd.revokeDate" type="date" style="width: 205px"
|
||||
value-format="yyyy-MM-dd" placeholder="请选择撤销日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</div>
|
||||
@ -387,23 +195,12 @@
|
||||
</div>
|
||||
</el-dialog>
|
||||
<!-- 手机号 -->
|
||||
<el-dialog
|
||||
:title="titlemsg"
|
||||
:visible.sync="openphone"
|
||||
width="900px"
|
||||
append-to-body
|
||||
class="titleMSG"
|
||||
>
|
||||
<el-dialog :title="titlemsg" :visible.sync="openphone" width="900px" append-to-body class="titleMSG">
|
||||
<el-table v-loading="loading" :data="patientInfoList">
|
||||
<el-table-column label="科室名称" align="center" prop="deptAlias" />
|
||||
<el-table-column label="就诊时间" align="center" prop="visitDate" />
|
||||
<el-table-column label="姓名" align="center" prop="patientName" />
|
||||
<el-table-column
|
||||
label="联系电话"
|
||||
align="center"
|
||||
prop="patientPhone"
|
||||
width="120"
|
||||
/>
|
||||
<el-table-column label="联系电话" align="center" prop="patientPhone" width="120" />
|
||||
<el-table-column label="年龄" align="center" prop="age" />
|
||||
<el-table-column label="诊断" align="center" prop="mainDiagnosis" />
|
||||
</el-table>
|
||||
@ -425,11 +222,36 @@
|
||||
<div class="text">导入中,请稍等</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 时间限制 -->
|
||||
<el-dialog title="外呼时间限制" :visible.sync="timelimitopen" width="400px" append-to-body>
|
||||
<el-form :model="timelimitlist" size="small" :inline="true" label-width="110px" :rules="timelimitrules">
|
||||
<el-form-item label="开始时间" prop="dialStartTime">
|
||||
<el-time-select placeholder="开始时间" v-model="timelimitlist.dialStartTime" :picker-options="{
|
||||
start: '06:00',
|
||||
step: '00:05',
|
||||
end: '21:00',
|
||||
}">
|
||||
</el-time-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="结束时间" prop="dialEndTime">
|
||||
<el-time-select placeholder="结束时间" v-model="timelimitlist.dialEndTime" :picker-options="{
|
||||
start: '07:00',
|
||||
step: '00:05',
|
||||
end: '22:00',
|
||||
minTime: timelimitlist.dialStartTime
|
||||
}">
|
||||
</el-time-select>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="timelimitsubmitForm">确 定</el-button>
|
||||
<el-button @click="timelimitopencancel">取 消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</Form>
|
||||
</template>
|
||||
<script>
|
||||
import { Form, FormItem, Button } from 'element-ui'
|
||||
import { faL, fas } from '@fortawesome/free-solid-svg-icons'
|
||||
import { listCompare } from "@/api/system/compare";
|
||||
import { listSubdivision } from "@/api/system/subdivision";
|
||||
import { agencyList, getAgencytype } from "@/api/system/agency";
|
||||
@ -440,6 +262,7 @@ import {
|
||||
secondaryUpload,
|
||||
count
|
||||
} from "@/api/system/department";
|
||||
import { selectDialTime, addDialTime } from '@/api/manage/patientInfoImport'
|
||||
export default {
|
||||
name: 'SearchFilter',
|
||||
components: { Form, FormItem, Button },
|
||||
@ -467,17 +290,13 @@ export default {
|
||||
query: {
|
||||
type: Object,
|
||||
default: () => ({})
|
||||
|
||||
|
||||
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
titlemsg:"",//手机号标题
|
||||
titlemsg: "",//手机号标题
|
||||
countsum: "",//数量
|
||||
querlist: {},//导出
|
||||
departmentsshow: false,//添加按钮
|
||||
loading: false,
|
||||
patientInfoList: [],
|
||||
datalist: [],
|
||||
@ -485,13 +304,11 @@ export default {
|
||||
form: {},
|
||||
uploadopen: false,
|
||||
fileList: [],
|
||||
isDistinct: true,//是否自动去重,true表示去重
|
||||
|
||||
action: {
|
||||
data: {
|
||||
isDistinct: '',
|
||||
isDistinct: undefined,
|
||||
importName: "",
|
||||
},
|
||||
|
||||
headers: {
|
||||
Authorization: "Bearer " + getToken(),
|
||||
},
|
||||
@ -508,10 +325,8 @@ export default {
|
||||
deptAliasVOS: {
|
||||
departmentName: [
|
||||
{ required: true, message: "1111111", trigger: "blur", }
|
||||
|
||||
]
|
||||
},
|
||||
|
||||
},
|
||||
treeOptions: [],
|
||||
// 细分
|
||||
@ -556,6 +371,20 @@ export default {
|
||||
},
|
||||
],
|
||||
},
|
||||
//时间限制
|
||||
timelimitopen: false,
|
||||
timelimitlist: {
|
||||
dialStartTime: undefined,
|
||||
dialEndTime: undefined
|
||||
},
|
||||
timelimitrules: {
|
||||
dialStartTime: [
|
||||
{ required: true, message: "开始时间不能为空", trigger: "blur" },
|
||||
],
|
||||
dialEndTime: [
|
||||
{ required: true, message: "结束时间不能为空", trigger: "blur" },
|
||||
],
|
||||
},
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@ -566,15 +395,11 @@ export default {
|
||||
this.minShowCtrol()
|
||||
this.$emit('fold', this.fold)
|
||||
const currentRoute = this.$router.currentRoute;
|
||||
console.log(currentRoute, 'currentRoute')
|
||||
|
||||
},
|
||||
watch: {
|
||||
query: {
|
||||
handler(val) {
|
||||
console.log(val, 'val')
|
||||
this.querlist = val
|
||||
|
||||
},
|
||||
deep: true,
|
||||
immediate: true,
|
||||
@ -590,27 +415,48 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
|
||||
timelimitsubmitForm() {
|
||||
addDialTime(this.timelimitlist).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.timelimitopen = false
|
||||
this.$modal.msgSuccess(res.msg);
|
||||
} else {
|
||||
this.timelimitopen = false
|
||||
this.$modal.msgError(res.msg);
|
||||
}
|
||||
})
|
||||
},
|
||||
timelimitopencancel() {
|
||||
this.timelimitopen = false
|
||||
this.timelimitlist.dialStartTime = undefined
|
||||
this.timelimitlist.dialEndTime = undefined
|
||||
},
|
||||
timelimitopentrue() {
|
||||
selectDialTime().then((res) => {
|
||||
if (res.data) {
|
||||
this.timelimitlist.dialStartTime = res.data.dialStartTime
|
||||
this.timelimitlist.dialEndTime = res.data.dialEndTime
|
||||
} else {
|
||||
this.timelimitlist.dialStartTime = undefined
|
||||
this.timelimitlist.dialEndTime = undefined
|
||||
}
|
||||
this.timelimitopen = true
|
||||
})
|
||||
},
|
||||
exceedFile(files, fileList) {
|
||||
console.log(files, fileList, 'shangchuan')
|
||||
// this.$modal.msgSuccess("添加成功");
|
||||
|
||||
this.$message.warning(
|
||||
`只允许上传一个.xls/.xlsx文件!!`
|
||||
);
|
||||
|
||||
},
|
||||
|
||||
handleAvatarSuccess(response, file, fileList) {
|
||||
console.log(response, file, fileList, 'response, file, fileList')
|
||||
if (response.code == 500 && !response.data) {
|
||||
this.$modal.msgError(response.msg);
|
||||
|
||||
} else if (response.code == 5002) {
|
||||
this.openphone = true;
|
||||
this.patientInfoList = response.data
|
||||
this.titlemsg=response.msg
|
||||
this.titlemsg = response.msg
|
||||
// this.$modal.msgError(response.msg);
|
||||
} else if (response.code == 500 && response.data) {
|
||||
if (response.data.departments) {
|
||||
@ -618,32 +464,24 @@ export default {
|
||||
} else {
|
||||
this.form.deptAliasVOS = response.data.deptAliasVOS
|
||||
this.form.departments = []
|
||||
this.departmentsshow = true
|
||||
}
|
||||
this.open = true;
|
||||
}
|
||||
else if (response.code == 200 && !response.data) {
|
||||
// this.open = true;
|
||||
} else if (response.code == 200 && !response.data) {
|
||||
this.$modal.msgSuccess(response.msg);
|
||||
this.$emit('handleRules')
|
||||
} else if (response.code == 200 && response.data) {
|
||||
this.form = response.data
|
||||
this.open = true;
|
||||
// this.open = true;
|
||||
}
|
||||
this.uploadcancel();
|
||||
this.fileList = [];
|
||||
},
|
||||
handleRemove(file, fileList) {
|
||||
console.log(file, fileList);
|
||||
},
|
||||
handlePreview(file) {
|
||||
},
|
||||
//导入相关的方法
|
||||
submitUpload() {
|
||||
if (this.isDistinct == true) {
|
||||
this.action.data.isDistinct = 1
|
||||
} else {
|
||||
this.action.data.isDistinct = 0
|
||||
}
|
||||
this.$refs.upload.submit();
|
||||
},
|
||||
//取消导入
|
||||
@ -684,7 +522,7 @@ export default {
|
||||
handleUpload() {
|
||||
this.getcount()
|
||||
this.uploadopen = true;
|
||||
this.isDistinct = true;
|
||||
this.action.data.isDistinct = 1;
|
||||
this.fileList = [];
|
||||
this.form = {};
|
||||
|
||||
@ -726,32 +564,23 @@ export default {
|
||||
if (localStorage.getItem('roleKey') != 'admin') {
|
||||
this.getLeafIds(this.treeOptions)
|
||||
}
|
||||
console.log(item, index, 'item')
|
||||
// this.$emit('additem',item,index)
|
||||
|
||||
},
|
||||
// 点击事件
|
||||
changeway(e, index) {
|
||||
console.log(e, index, 'e')
|
||||
// this.$set(this.form.deptAliasVOS[this.indexadd], 'departmentName', this.formadd.departmentName)
|
||||
|
||||
// this.form.deptAliasVOS[index].departmentName = this.form.departments.find(f => f.id == e).departmentName
|
||||
// this.form.deptAliasVOS[index].departmentId = e
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.$forceUpdate()
|
||||
})
|
||||
},
|
||||
getLeafIds(nodes) {
|
||||
console.log(nodes, ';node')
|
||||
this.formadd.hospitalAgencyIdtwo = JSON.parse(localStorage.getItem('user')).hospitalAgencyId;
|
||||
let leafIds = [];
|
||||
nodes.forEach(node => {
|
||||
|
||||
if (node.id == this.formadd.hospitalAgencyIdtwo) {
|
||||
this.formadd.hospitalAgencyName = node.label;
|
||||
|
||||
|
||||
} else {
|
||||
if (node.children) {
|
||||
// 如果有子节点,递归调用getLeafIds
|
||||
@ -760,9 +589,7 @@ export default {
|
||||
// 如果没有子节点,取当前节点的id
|
||||
leafIds.push(node.id);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
return leafIds;
|
||||
},
|
||||
@ -783,7 +610,6 @@ export default {
|
||||
},
|
||||
// 所属机构
|
||||
change(e) {
|
||||
console.log(this.formadd.hospitalAgencyIdtwo)
|
||||
if (e) {
|
||||
this.formadd.hospitalAgencyId = e[e.length - 1];
|
||||
if (this.formadd.hospitalAgencyId) {
|
||||
@ -861,7 +687,6 @@ export default {
|
||||
// this.form.subdivisionCategoryId = this.optionsubdivisionCategory.find(
|
||||
// (e) => e.id == this.form.subdivisionCategoryId
|
||||
// ).subdivisionCategoryName;
|
||||
// console.log(this.form.subdivisionCategoryName)
|
||||
},
|
||||
// 表单重置
|
||||
reset() {
|
||||
@ -913,12 +738,9 @@ export default {
|
||||
departmentName: this.formadd.departmentName,
|
||||
id: ''
|
||||
}
|
||||
console.log(this.formadd, 'this.formadd')
|
||||
console.log(this.form, 'this.form')
|
||||
addDepartment(this.formadd).then((response) => {
|
||||
this.$modal.msgSuccess("添加成功");
|
||||
this.form.departments.push(obj)
|
||||
console.log(this.form.deptAliasVOS)
|
||||
// this.form.deptAliasVOS[this.indexadd].departmentName = this.formadd.departmentName
|
||||
this.$set(this.form.deptAliasVOS[this.indexadd], 'departmentName', this.formadd.departmentName)
|
||||
this.openadd = false;
|
||||
@ -933,7 +755,6 @@ export default {
|
||||
// this.$forceUpdate()
|
||||
var emptyItems = []
|
||||
emptyItems = this.form.deptAliasVOS.filter(f => f.departmentName == "" || f.departmentName == null)
|
||||
console.log(emptyItems, 'this.emptyItems')
|
||||
if (emptyItems.length > 0) {
|
||||
this.$modal.msgError("必填项请填写完整,再进行提交");
|
||||
} else {
|
||||
@ -971,7 +792,7 @@ export default {
|
||||
this.maxShow = Math.floor(this.$refs.searchFilter.offsetWidth / this.labelWidths)
|
||||
const group = window.document.querySelectorAll(`#searchFilter .el-form-item.el-form-item--${this.size}`)
|
||||
const len = group?.length ? group?.length - 1 : 0
|
||||
if (this.maxShow < len) {
|
||||
if (this.maxShow <= len) {
|
||||
group.forEach((item, index) => {
|
||||
item.hidden = false
|
||||
if (index > this.maxShow - 1) {
|
||||
@ -995,8 +816,8 @@ export default {
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.titleMSG ::v-deep .el-dialog__title{
|
||||
color:red;
|
||||
.titleMSG ::v-deep .el-dialog__title {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.item-search-form {
|
||||
@ -1004,16 +825,21 @@ export default {
|
||||
height: 28px !important;
|
||||
}
|
||||
}
|
||||
|
||||
::v-deep .el-checkbox__label {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
::v-deep .el-checkbox__inner {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.custom-cascader ::v-deep .el-input__inner::placeholder {
|
||||
color: #606266; /* 你想要的颜色 */
|
||||
color: #606266;
|
||||
/* 你想要的颜色 */
|
||||
}
|
||||
|
||||
.nameinformation {
|
||||
border-left: 3px solid #4d9de7;
|
||||
width: 200px;
|
||||
@ -1027,6 +853,7 @@ export default {
|
||||
.content {
|
||||
margin: 22px;
|
||||
}
|
||||
|
||||
.el-cascader .el-input input::-webkit-input-placeholder {
|
||||
color: #686a6d;
|
||||
}
|
||||
@ -1038,11 +865,14 @@ export default {
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(255, 255, 255, 0.7); /* 半透明背景 */
|
||||
background-color: rgba(255, 255, 255, 0.7);
|
||||
/* 半透明背景 */
|
||||
// display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 1000; /* 确保遮罩层在顶部 */
|
||||
z-index: 1000;
|
||||
|
||||
/* 确保遮罩层在顶部 */
|
||||
.maskimg {
|
||||
position: absolute;
|
||||
// top: 49%;
|
||||
@ -1050,6 +880,7 @@ export default {
|
||||
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
.text {
|
||||
position: absolute;
|
||||
left: 19%;
|
||||
@ -1057,6 +888,7 @@ export default {
|
||||
// color: #1989fa;
|
||||
color: #f28e01;
|
||||
}
|
||||
|
||||
// 加载
|
||||
.newloding {
|
||||
margin-top: 10px;
|
||||
@ -1068,6 +900,7 @@ export default {
|
||||
// background: beige;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
position: absolute;
|
||||
top: 23px;
|
||||
@ -1075,6 +908,7 @@ export default {
|
||||
height: 12px;
|
||||
border-radius: 6px;
|
||||
background-color: rgb(255, 237, 212);
|
||||
|
||||
.inner {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@ -1089,12 +923,14 @@ export default {
|
||||
background-image: url(~@/assets/images/jd.png);
|
||||
}
|
||||
}
|
||||
|
||||
.progress {
|
||||
width: 0%;
|
||||
height: 100%;
|
||||
background-color: #00aaff;
|
||||
transition: width 1s ease-in-out;
|
||||
}
|
||||
|
||||
.runner {
|
||||
width: 60px;
|
||||
height: 24px;
|
||||
@ -1111,23 +947,28 @@ export default {
|
||||
0% {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
100% {
|
||||
left: var(--left);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes changeWidth {
|
||||
0% {
|
||||
width: 0;
|
||||
}
|
||||
|
||||
100% {
|
||||
width: var(--left);
|
||||
background-position: 40px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes shrink {
|
||||
0% {
|
||||
background-position: 0 0;
|
||||
}
|
||||
|
||||
100% {
|
||||
background-position: 40px 0;
|
||||
}
|
||||
|
||||
@ -58,23 +58,20 @@
|
||||
<el-option v-for="item in wardlist" :key="item.id" :label="item.departmentName" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="主治医生" prop="attendingPhysicianId">
|
||||
</el-form-item>
|
||||
<el-form-item label="主治医生" prop="attendingPhysicianId">
|
||||
<el-select v-model="queryParams.attendingPhysicianId" style="width: 200px" filterable placeholder="请选择主治医生"
|
||||
clearable>
|
||||
<el-option v-for="item in attendingPhysicianlist" :key="item.userId" :label="item.nickName"
|
||||
:value="item.userId">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item> -->
|
||||
|
||||
<!-- <el-form-item>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<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>
|
||||
</el-form-item> -->
|
||||
</SearchFilter>
|
||||
|
||||
|
||||
</div>
|
||||
<div ref="table">
|
||||
<el-table :max-height="maxTableHeight" v-loading="loading" :data="patientInfoList">
|
||||
@ -90,9 +87,6 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="诊断" align="center" prop="mainDiagnosis" />
|
||||
|
||||
|
||||
|
||||
<!-- <el-table-column label="性别" align="center" prop="sex">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.sex == "MALE" ? "男" : "" }}
|
||||
@ -100,7 +94,6 @@
|
||||
</template>
|
||||
</el-table-column> -->
|
||||
<!-- <el-table-column label="出生日期" align="center" prop="birthDate" width="130" />
|
||||
|
||||
<el-table-column label="院区" align="center" prop="campusAgencyName" width="130" />
|
||||
<el-table-column label="病区名称" align="center" prop="wardName" width="130" />
|
||||
<el-table-column label="住院/门诊号" align="center" prop="inHospitalNumber" width="130" />
|
||||
@ -126,13 +119,12 @@
|
||||
<el-button size="mini" type="text" @click="handleAuthRole(scope.row)">详情</el-button>
|
||||
<el-button size="mini" type="text" @click="handleDelete(scope.row)">删除</el-button>
|
||||
<!-- <el-button size="mini" type="text" @click="handleedit(scope.row)">画像编辑</el-button> -->
|
||||
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
<!-- <myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
|
||||
:indexFromWrap="queryParams.pageNum" :indexFrom="indexFrom" @updateCPage="updateCPage"></myPagination> -->
|
||||
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
|
||||
:indexFromWrap="queryParams.pageNum" :indexFrom="queryParams.pageSize" @updateCPage="updateCPage"></myPagination>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -155,7 +147,6 @@ export default {
|
||||
components: { SearchFilter, cardlist },
|
||||
data() {
|
||||
return {
|
||||
indexFrom: 100,
|
||||
searchData: {},
|
||||
maxTableHeight: undefined,
|
||||
attendingPhysicianlist: [],
|
||||
@ -167,8 +158,8 @@ export default {
|
||||
patientInfoList: [],
|
||||
// 查询参数
|
||||
queryParams: {
|
||||
// pageNum: 1,
|
||||
// pageSize: 100,
|
||||
pageNum: 1,
|
||||
pageSize: 100,
|
||||
sn: this.$route.query.sn,
|
||||
patientName: null,
|
||||
patientPhone: null,
|
||||
@ -501,12 +492,7 @@ export default {
|
||||
const layoutDiv = this.$refs.layout;
|
||||
const formDiv = this.$refs.topform;
|
||||
const mb8Div = this.$refs.mb8;
|
||||
this.maxTableHeight =
|
||||
windowInnerHeight -
|
||||
134 -
|
||||
this.getBoxPadding(layoutDiv) -
|
||||
this.getBoxHeight(mb8Div) -
|
||||
this.getBoxHeight(formDiv);
|
||||
this.maxTableHeight = windowInnerHeight - 134 - this.getBoxPadding(layoutDiv) - this.getBoxHeight(mb8Div) - this.getBoxHeight(formDiv);
|
||||
},
|
||||
// 屏幕resize监听
|
||||
screenChange() {
|
||||
|
||||
@ -146,7 +146,7 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
|
||||
:indexFromWrap="queryParams.pageNum" :indexFrom="indexFrom" @updateCPage="updateCPage"></myPagination>
|
||||
:indexFromWrap="queryParams.pageNum" :indexFrom="queryParams.pageSize" @updateCPage="updateCPage"></myPagination>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -162,12 +162,11 @@ import { usergetList } from "@/api/unitconfig/patientConfiguration";
|
||||
import SearchFilter from "../../components/SearchForm.vue";
|
||||
import cardlist from "../components/cardlist.vue";
|
||||
export default {
|
||||
name: "PatientInfo",
|
||||
name: "Patientmanagement",
|
||||
dicts: ["patient_type", "visit_method", "sign_status", "patient_source"],
|
||||
components: { SearchFilter, cardlist },
|
||||
data() {
|
||||
return {
|
||||
indexFrom: 100,
|
||||
searchData: {},
|
||||
maxTableHeight: undefined,
|
||||
attendingPhysicianlist: [],
|
||||
@ -222,9 +221,8 @@ export default {
|
||||
handler(val) {
|
||||
// if (val == "table") {
|
||||
// this.queryParams.pageSize = 10;
|
||||
// this.indexFrom = "";
|
||||
// } else if (val == "card") {
|
||||
// this.indexFrom = 100;
|
||||
// this.queryParams.pageSize = 100;
|
||||
// }
|
||||
},
|
||||
deep: true,
|
||||
|
||||
@ -3,19 +3,24 @@
|
||||
<div ref="topform" class="form">
|
||||
<SearchFilter labelWidth="100px" :labelWidths="310" size="small" @search="handleQuery" @reset="resetQuery"
|
||||
@minShowCtrol="getMaxTableHeight" :query="queryParams" v-show="showSearch">
|
||||
<el-form-item label="患者姓名" prop="patientName">
|
||||
<el-input v-model="queryParams.patientName" placeholder="请输入患者姓名" clearable @keyup.enter.native="handleQuery"
|
||||
style="width: 220px" />
|
||||
</el-form-item>
|
||||
<el-form-item label="患者电话" prop="patientPhone">
|
||||
<el-input v-model="queryParams.patientPhone" placeholder="请输入患者电话" clearable @keyup.enter.native="handleQuery"
|
||||
style="width: 220px" />
|
||||
<el-form-item label="批次" prop="sn">
|
||||
<span>
|
||||
<sn @on-template="messageontemplateword" :templateId="queryParams.sn"></sn>
|
||||
</span>
|
||||
</el-form-item>
|
||||
<el-form-item label="外呼时间" prop="startTime">
|
||||
<el-date-picker v-model="dischargeTime" type="daterange" range-separator="至" start-placeholder="开始日期"
|
||||
style="width: 220px" value-format="yyyy-MM-dd" end-placeholder="结束日期" @change="changeTime">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="患者电话" prop="patientPhone">
|
||||
<el-input v-model="queryParams.patientPhone" placeholder="请输入患者电话" clearable @keyup.enter.native="handleQuery"
|
||||
style="width: 220px" />
|
||||
</el-form-item>
|
||||
<el-form-item label="患者姓名" prop="patientName">
|
||||
<el-input v-model="queryParams.patientName" placeholder="请输入患者姓名" clearable @keyup.enter.native="handleQuery"
|
||||
style="width: 220px" />
|
||||
</el-form-item>
|
||||
<el-form-item label="问卷名称" prop="questionnaireName">
|
||||
<el-select v-model="queryParams.questionInfoId" placeholder="请选择问卷名称" clearable style="width: 220px">
|
||||
<el-option v-for="item in questionnaireList" :key="item.id" :label="item.questionnaireName"
|
||||
@ -61,11 +66,6 @@
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="批次" prop="sn">
|
||||
<span>
|
||||
<sn @on-template="messageontemplateword" :templateId="queryParams.sn"></sn>
|
||||
</span>
|
||||
</el-form-item>
|
||||
<el-form-item label="通话状态" prop="phoneNodeExecuteResultStatus">
|
||||
<el-select v-model="queryParams.phoneNodeExecuteResultStatus" placeholder="请选择通话状态" clearable
|
||||
style="width: 220px">
|
||||
@ -80,14 +80,16 @@
|
||||
@selection-change="handleSelectionChange">
|
||||
<!-- <el-table-column type="selection" width="55" /> -->
|
||||
<el-table-column label="序号" type="index" width="48" align="center" />
|
||||
<el-table-column label="患者姓名" align="center" prop="patientName" width="110" />
|
||||
<el-table-column label="患者电话" align="center" prop="patientPhone" width="110" />
|
||||
<el-table-column label="路径名称" align="center" prop="manageRouteName" width="110" />
|
||||
<el-table-column label="流水号" align="center" prop="sn" width="150" />
|
||||
<el-table-column label="患者姓名" align="center" prop="patientName" width="120" />
|
||||
<el-table-column label="患者电话" align="center" prop="patientPhone" width="120" />
|
||||
<el-table-column label="执行时间" align="center" prop="nodePlanTime" width="120" />
|
||||
<el-table-column label="路径名称" align="center" prop="manageRouteName" width="120" />
|
||||
<el-table-column label="问卷模板名称" align="center" prop="questionnaireName" width="120" />
|
||||
<el-table-column label="话术名称" align="center" prop="scriptTemplateName" width="120" />
|
||||
<el-table-column label="医院" align="center" prop="hospitalAgencyName" width="110" />
|
||||
<el-table-column label="科室名称" align="center" prop="departmentName" width="110" />
|
||||
<el-table-column label="执行状态" align="center" prop="nodeExecuteStatus" width="150">
|
||||
<el-table-column label="医院" align="center" prop="hospitalAgencyName" width="120" />
|
||||
<el-table-column label="科室名称" align="center" prop="departmentName" width="120" />
|
||||
<el-table-column label="执行状态" align="center" prop="nodeExecuteStatus" width="120">
|
||||
<template slot-scope="scope">
|
||||
<span style="color: #67c23a">
|
||||
{{ scope.row.nodeExecuteStatus == "EXECUTED" ? "已执行" : "" }}
|
||||
@ -97,7 +99,7 @@
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="通话状态" align="center" prop="phoneNodeExecuteResultStatus" width="150">
|
||||
<el-table-column label="通话状态" align="center" prop="phoneNodeExecuteResultStatus" width="120">
|
||||
<template slot-scope="scope">
|
||||
<span style="color: #67c23a" v-if="scope.row.phoneNodeExecuteResultStatus == 'SUCCESS'">
|
||||
已接通
|
||||
@ -110,8 +112,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="反馈意见" align="center" prop="fillBlanksAnswer" width="150"
|
||||
:show-overflow-tooltip="true" />
|
||||
<el-table-column label="就诊时间" align="center" prop="visitDate" width="150" />
|
||||
<el-table-column label="执行时间" align="center" prop="nodePlanTime" width="150" />
|
||||
<!-- <el-table-column label="就诊时间" align="center" prop="visitDate" width="150" /> -->
|
||||
<el-table-column label="调查结果" align="center" prop="contentedFlag" />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" width="150">
|
||||
<template slot-scope="scope">
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<div class="app-container" ref="layout">
|
||||
<div ref="topform" class="form">
|
||||
<SearchFilter labelWidth="90px" :labelWidths="310" size="small" @search="handleQuery"
|
||||
@reset="resetQuery" @minShowCtrol="getMaxTableHeight">
|
||||
<SearchFilter labelWidth="90px" :labelWidths="310" size="small" @search="handleQuery" @reset="resetQuery"
|
||||
@minShowCtrol="getMaxTableHeight">
|
||||
<el-form-item label="姓名" prop="patientName">
|
||||
<el-input style="width: 220px" v-model="queryParams.patientName" placeholder="请输入患者姓名" clearable
|
||||
@keyup.enter.native="handleQuery" />
|
||||
@ -12,7 +12,7 @@
|
||||
@keyup.enter.native="handleQuery" />
|
||||
</el-form-item>
|
||||
<el-form-item label="异常原因" prop="abnormalCauseValue">
|
||||
<el-select v-model="queryParams.abnormalCauseValue" filterable placeholder="请输入异常原因" style="width:220px"
|
||||
<el-select v-model="queryParams.abnormalCauseValue" filterable placeholder="请输入异常原因" style="width:220px"
|
||||
clearable>
|
||||
<el-option v-for="item in abnormalCauselist" :key="item.id" :label="item.abnormalCauseValue"
|
||||
:value="item.id">
|
||||
|
||||
@ -8,8 +8,8 @@
|
||||
@click="handleAuth(item, index)" />
|
||||
<img v-if="item.sex == 'MALE'" src="../../../assets/manage/touxiang.png" alt="" class="img"
|
||||
@click="handleAuth(item, index)" />
|
||||
<img v-if="!item.sex" src="../../../assets/manage/touxiang.png" alt="" class="img"
|
||||
@click="handleAuth(item, index)" />
|
||||
<img v-if="!item.sex" src="../../../assets/manage/tx.png" alt="" class="img"
|
||||
style="height: 46px;margin-top: 15px;" @click="handleAuth(item, index)" />
|
||||
<el-tooltip class="name" effect="dark" :content="item.patientName" placement="top">
|
||||
<span @click="handleAuth(item, index)">
|
||||
{{ item.patientName }}
|
||||
@ -18,7 +18,7 @@
|
||||
<div class="agesex">
|
||||
{{ item.sex == "MALE" ? "男" : "" }}
|
||||
{{ item.sex == "FEMALE" ? "女" : "" }}
|
||||
<span style="padding: 0 1px">|</span>
|
||||
<span style="padding: 0 1px" v-if="item.sex">|</span>
|
||||
<span v-if="item.age"> {{ item.age }}岁 </span>
|
||||
<span class="zy" v-if="item.patientType == 'IN_HOSPITAL_PATIENT'">在院</span>
|
||||
<span class="cy" v-if="item.patientType == 'DISCHARGED_PATIENT'">出院</span>
|
||||
@ -26,7 +26,9 @@
|
||||
<span class="mz" v-if="item.patientType == 'OUTPATIENT'">门诊</span>
|
||||
<!-- <span class="mz" v-if="item.patientType == 'CONTRACTED_PATIENT'">签约</span> -->
|
||||
</div>
|
||||
<div class="diagnosis">诊断名称:{{ item.mainDiagnosis }}</div>
|
||||
<el-tooltip class="diagnosis" effect="dark" :content="item.mainDiagnosis" placement="right">
|
||||
<span>诊断名称:{{ item.mainDiagnosis }}</span>
|
||||
</el-tooltip>
|
||||
<div class="diagnosi">诊断状态:{{ item.patientSignStatus }}</div>
|
||||
<div class="formitembutton" @click.stop="handleedit(item)">
|
||||
画像编辑
|
||||
@ -100,25 +102,25 @@ export default {
|
||||
},
|
||||
// 双击进入详情
|
||||
handleAuthRole(item, index) {
|
||||
//这里写你实现双击后的逻辑代码
|
||||
this.$router.push({
|
||||
path: "/patient/patientdetails",
|
||||
query: {
|
||||
path: "/patient/patientInfo",
|
||||
patientId: item.id,
|
||||
cardNo: item.cardNo,
|
||||
patientName: item.patientName,
|
||||
patientPhone: item.patientPhone,
|
||||
sex: item.sex,
|
||||
birthDate: item.birthDate,
|
||||
familyMemberPhone: item.familyMemberPhone,
|
||||
address: item.address,
|
||||
patientSource: item.patientSource,
|
||||
createTime: item.createTime,
|
||||
age: item.birthDate ? getAge(item.birthDate) : "",
|
||||
},
|
||||
});
|
||||
|
||||
//这里写你实现双击后的逻辑代码
|
||||
this.$router.push({
|
||||
path: "/patient/patientdetails",
|
||||
query: {
|
||||
path: "/patient/patientInfo",
|
||||
patientId: item.id,
|
||||
cardNo: item.cardNo,
|
||||
patientName: item.patientName,
|
||||
patientPhone: item.patientPhone,
|
||||
sex: item.sex,
|
||||
birthDate: item.birthDate,
|
||||
familyMemberPhone: item.familyMemberPhone,
|
||||
address: item.address,
|
||||
patientSource: item.patientSource,
|
||||
createTime: item.createTime,
|
||||
age: item.birthDate ? getAge(item.birthDate) : "",
|
||||
},
|
||||
});
|
||||
|
||||
},
|
||||
// 画像编辑
|
||||
handleedit(item) {
|
||||
@ -289,9 +291,8 @@ export default {
|
||||
left: 70px;
|
||||
top: 42px;
|
||||
font-size: 12px;
|
||||
height: 32px;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-line-clamp: 1;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
padding-right: 4px;
|
||||
|
||||
@ -1,142 +1,133 @@
|
||||
<template>
|
||||
<div class="app-containers">
|
||||
<el-button
|
||||
size="small"
|
||||
@click="classificationOpen = true"
|
||||
style="
|
||||
<el-button size="small" @click="classificationOpen = true" style="
|
||||
width: 220px;
|
||||
font-size: 14px;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
"
|
||||
:style="handleselectId ? 'color:black' : 'color:#C0C4CC'"
|
||||
>{{ handleselectId ? handleselectId : "请选择批次" }}</el-button
|
||||
>
|
||||
<el-dialog
|
||||
title="批次选择"
|
||||
:visible.sync="classificationOpen"
|
||||
width="70%"
|
||||
:before-close="classificationOpenfalse"
|
||||
>
|
||||
" :style="handleselectId ? 'color:black' : 'color:#C0C4CC'">
|
||||
{{ handleselectId ? handleselectId : "请选择批次" }}
|
||||
</el-button>
|
||||
<el-dialog title="批次选择" :visible.sync="classificationOpen" width="70%" :before-close="classificationOpenfalse">
|
||||
<el-row :gutter="20">
|
||||
<!--用户数据-->
|
||||
<el-col :span="24" :xs="24">
|
||||
<el-form
|
||||
:model="queryParams"
|
||||
ref="queryForm"
|
||||
size="small"
|
||||
:inline="true"
|
||||
v-show="showSearch"
|
||||
label-width="100px"
|
||||
>
|
||||
<el-form-item label="导入日期" prop="" label-width="120px">
|
||||
<el-date-picker v-model="createTime" type="daterange" range-separator="至" start-placeholder="开始日期"
|
||||
style="width: 220px" value-format="yyyy-MM-dd" end-placeholder="结束日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="医院" prop="">
|
||||
<el-select v-model="queryParams.hospitalAgencyId" filterable placeholder="请选择医院" style="width:220px" clearable
|
||||
@clear="clearhospitalAgency" @change="changehospitalAgency">
|
||||
<el-option v-for="item in hospitalAgencylist" :key="item.id" :label="item.agencyName" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="院区" prop="">
|
||||
<el-select v-model="queryParams.campusAgencyId" filterable placeholder="请选择院区" style="width:220px" clearable
|
||||
@clear="clearcampusAgency" >
|
||||
<el-option v-for="item in campusAgencylist" :key="item.id" :label="item.agencyName" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"
|
||||
label-width="110px">
|
||||
<el-form-item label="导入日期" prop="">
|
||||
<el-date-picker v-model="createTime" type="daterange" range-separator="至" start-placeholder="开始日期"
|
||||
style="width: 220px" value-format="yyyy-MM-dd" end-placeholder="结束日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="流水号" prop="sn">
|
||||
<el-input v-model="queryParams.sn" placeholder="请输入流水号" clearable style="width: 200px" />
|
||||
</el-form-item>
|
||||
<el-form-item label="批次名称" prop="importName">
|
||||
<el-input v-model="queryParams.importName" placeholder="请输入批次名称" clearable style="width: 200px" />
|
||||
</el-form-item>
|
||||
<el-form-item label="医院" prop="">
|
||||
<el-select v-model="queryParams.hospitalAgencyId" filterable placeholder="请选择医院" style="width:220px"
|
||||
clearable @clear="clearhospitalAgency" @change="changehospitalAgency">
|
||||
<el-option v-for="item in hospitalAgencylist" :key="item.id" :label="item.agencyName" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="院区" prop="">
|
||||
<el-select v-model="queryParams.campusAgencyId" filterable placeholder="请选择院区" style="width:220px"
|
||||
clearable @clear="clearcampusAgency">
|
||||
<el-option v-for="item in campusAgencylist" :key="item.id" :label="item.agencyName" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item> -->
|
||||
<el-form-item>
|
||||
<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
|
||||
>
|
||||
<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>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
:data="PatientInfoImportBatchlist"
|
||||
@row-dblclick="handleselect"
|
||||
>
|
||||
<el-table-column
|
||||
label="序号"
|
||||
type="index"
|
||||
width="48"
|
||||
align="center"
|
||||
/>
|
||||
<el-table v-loading="loading" :data="PatientInfoImportBatchlist" @row-dblclick="handleselect">
|
||||
<el-table-column label="序号" type="index" width="50" align="center" />
|
||||
<el-table-column label="流水号" prop="sn" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="text" @click="handsn(scope.row)">{{
|
||||
scope.row.sn
|
||||
}}</el-button>
|
||||
<el-button size="mini" type="text" @click="handsn(scope.row)">
|
||||
{{ scope.row.sn }}
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column
|
||||
label="患者数"
|
||||
align="center"
|
||||
prop="patientCount"
|
||||
width="150"
|
||||
/>
|
||||
<el-table-column label="操作人" align="center" prop="createBy" />
|
||||
<el-table-column label="批次名称" align="center" prop="importName" />
|
||||
<el-table-column label="患者数" align="center" prop="patientCount" />
|
||||
<!-- <el-table-column label="操作人" align="center" prop="createBy" /> -->
|
||||
<el-table-column label="导入日期" align="center" prop="createTime">
|
||||
<template slot-scope="scope">
|
||||
<span>{{
|
||||
parseTime(scope.row.createTime, "{y}-{m}-{d}")
|
||||
}}</span>
|
||||
<span>
|
||||
{{ parseTime(scope.row.createTime, "{y}-{m}-{d}") }}
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="操作"
|
||||
align="center"
|
||||
class-name="small-padding fixed-width"
|
||||
>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
@click="handleselect(scope.row)"
|
||||
v-if="handleselectId != scope.row.sn"
|
||||
>选择</el-button
|
||||
>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
@click="nohandleselect(scope.row)"
|
||||
v-if="handleselectId == scope.row.sn"
|
||||
>取消选择</el-button
|
||||
>
|
||||
<el-button size="mini" type="text" @click="handleselect(scope.row)"
|
||||
v-if="handleselectId != scope.row.sn">选择</el-button>
|
||||
<el-button size="mini" type="text" @click="nohandleselect(scope.row)"
|
||||
v-if="handleselectId == scope.row.sn">取消选择</el-button>
|
||||
<el-button size="mini" type="text" @click="handsn(scope.row)">明细</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<pagination
|
||||
v-show="total > 0"
|
||||
:total="total"
|
||||
:page.sync="queryParams.pageNum"
|
||||
:limit.sync="queryParams.pageSize"
|
||||
@pagination="getlist"
|
||||
/>
|
||||
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
||||
@pagination="getlist" />
|
||||
</el-dialog>
|
||||
<el-dialog title="导入明细" :visible.sync="ImportDetailsopen" width="70%" :before-close="ImportDetailsopenfalse">
|
||||
<!-- <el-form :model="ImportDetailqueryParams" size="small" :inline="true" label-width="100px" @submit.prevent>
|
||||
<el-form-item label="姓名" prop="patientName">
|
||||
<el-input v-model="ImportDetailqueryParams.patientName" placeholder="请输入姓名" clearable style="width: 200px" />
|
||||
</el-form-item>
|
||||
<el-form-item label="联系电话" prop="patientPhone">
|
||||
<el-input v-model="ImportDetailqueryParams.patientPhone" placeholder="请输入联系电话" clearable
|
||||
style="width: 200px" />
|
||||
</el-form-item>
|
||||
<el-form-item label="医院" prop="hospitalAgencyId">
|
||||
<el-select v-model="ImportDetailqueryParams.hospitalAgencyId" filterable placeholder="请选择医院"
|
||||
style="width: 200px" clearable @clear="clearhospitalAgency(1)" @change="changehospitalAgency($event, 1)">
|
||||
<el-option v-for="item in hospitalAgencylist" :key="item.id" :label="item.agencyName" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="科室" prop="departmentId">
|
||||
<el-select v-model="ImportDetailqueryParams.departmentId" filterable placeholder="请选择科室" style="width: 200px"
|
||||
clearable>
|
||||
<el-option v-for="item in departmentlist" :key="item.id" :label="item.departmentName" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="ImportDetailhandleQuery">搜索</el-button>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="ImportDetailresetQuery">重置</el-button>
|
||||
</el-form-item>
|
||||
</el-form> -->
|
||||
<el-table :data="patientInfoList">
|
||||
<el-table-column label="序号" type="index" width="50" align="center" />
|
||||
<el-table-column label="姓名" align="center" prop="patientName" />
|
||||
<el-table-column label="联系电话" align="center" prop="patientPhone" />
|
||||
<el-table-column label="年龄" align="center" prop="age" />
|
||||
<el-table-column label="医院" align="center" prop="hospitalAgencyName" />
|
||||
<el-table-column label="科室名称" align="center" prop="departmentName" />
|
||||
<el-table-column label="诊断" align="center" prop="mainDiagnosis" />
|
||||
</el-table>
|
||||
<pagination v-show="ImportDetailtotal > 0" :total="ImportDetailtotal" :page.sync="ImportDetailqueryParams.pageNum"
|
||||
:limit.sync="ImportDetailqueryParams.pageSize" @pagination="getsn" />
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { patientInfoImportBatchlist} from "@/api/manage/patientInfoImport";
|
||||
|
||||
<script>
|
||||
import { patientInfoImportBatchlist } from "@/api/manage/patientInfoImport";
|
||||
import stationAcatar from "../../system/stationAvatar/index.vue";
|
||||
import { selectAgencyList, getAgencyList } from "@/api/manage/selectAgencyList";
|
||||
import { getPatientList } from "@/api/manage/patientInfo";
|
||||
import { usergetList } from "@/api/unitconfig/patientConfiguration";
|
||||
|
||||
export default {
|
||||
props: ["templateId"],
|
||||
@ -144,12 +135,12 @@ export default {
|
||||
name: "Script",
|
||||
data() {
|
||||
return {
|
||||
createTime:"",
|
||||
//医院list
|
||||
createTime: "",
|
||||
//医院list
|
||||
hospitalAgencylist: [],
|
||||
// 院区list
|
||||
campusAgencylist: [],
|
||||
// 导入列表
|
||||
// 导入列表
|
||||
PatientInfoImportBatchlist: [],
|
||||
lookshow: false,
|
||||
phoneNodeContent: {
|
||||
@ -160,6 +151,7 @@ export default {
|
||||
},
|
||||
handleselectId: "",
|
||||
classificationOpen: false,
|
||||
ImportDetailsopen: false,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
// 选中数组
|
||||
@ -177,33 +169,85 @@ export default {
|
||||
// 是否显示弹出层
|
||||
open: false,
|
||||
// 查询参数
|
||||
queryParams: {
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
hospitalAgencyId: null,
|
||||
importTimeStart: "",
|
||||
importTimeEnd: "",
|
||||
campusAgencyId: null,
|
||||
importName: null,
|
||||
sn: null,
|
||||
},
|
||||
patientInfoList: [],
|
||||
departmentlist: [],
|
||||
ImportDetailtotal: 0,
|
||||
ImportDetailqueryParams: {
|
||||
sn: null,
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
patientName: null,
|
||||
patientPhone: null,
|
||||
patientType: null,
|
||||
visitMethod: null,
|
||||
mainDiagnosis: null,
|
||||
attendingPhysicianId: null,
|
||||
hospitalAgencyId: null,
|
||||
hospitalAgencyName: null,
|
||||
campusAgencyId: null,
|
||||
campusAgencyName: null,
|
||||
departmentId: null,
|
||||
departmentName: null,
|
||||
wardId: null,
|
||||
wardName: null,
|
||||
surgicalName: null,
|
||||
outpatientNumber: null,
|
||||
dischargeMethod: null,
|
||||
patientSource: null,
|
||||
}
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.getlist();
|
||||
this.selectAgencyinfo();
|
||||
|
||||
},
|
||||
mounted() {
|
||||
this.handleselectId = this.templateId;
|
||||
},
|
||||
watch: {
|
||||
|
||||
templateId(newValue, oldValue) {
|
||||
this.handleselectId = newValue;
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
//获取医院list
|
||||
selectAgencyinfo() {
|
||||
/** 搜索按钮操作 */
|
||||
ImportDetailhandleQuery() {
|
||||
this.ImportDetailqueryParams.pageNum = 1;
|
||||
this.getsn();
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
ImportDetailresetQuery() {
|
||||
this.ImportDetailqueryParams = {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
sn: this.ImportDetailqueryParams.sn
|
||||
};
|
||||
this.getsn();
|
||||
},
|
||||
getsn() {
|
||||
getPatientList(this.ImportDetailqueryParams).then((response) => {
|
||||
this.patientInfoList = response.rows;
|
||||
this.ImportDetailtotal = response.total;
|
||||
});
|
||||
},
|
||||
// 流水号/明细
|
||||
async handsn(row) {
|
||||
this.ImportDetailqueryParams.sn = row.sn;
|
||||
await this.getsn()
|
||||
this.ImportDetailsopen = true
|
||||
},
|
||||
//获取医院list
|
||||
selectAgencyinfo() {
|
||||
let query = {
|
||||
agencyStatus: 'ON',
|
||||
nodeType: 'HOSPITAL',
|
||||
@ -221,17 +265,13 @@ export default {
|
||||
query.hospitalId = id
|
||||
} else if (nodeType == 'CAMPUS') {
|
||||
query.campusId = id
|
||||
}
|
||||
}
|
||||
getAgencyList(query).then(res => {
|
||||
// if (type)
|
||||
console.log(nodeType );
|
||||
console.log(res.data.campusList);
|
||||
{
|
||||
if (nodeType == 'HOSPITAL') {
|
||||
this.campusAgencylist = res.data.campusList;
|
||||
|
||||
}
|
||||
}
|
||||
// if (type) {
|
||||
if (nodeType == 'HOSPITAL') {
|
||||
this.campusAgencylist = res.data.campusList;
|
||||
}
|
||||
// }
|
||||
})
|
||||
},
|
||||
//选中医院获取院区
|
||||
@ -245,13 +285,24 @@ export default {
|
||||
// selectAgencyList(query).then(res => {
|
||||
if (type) {
|
||||
if (!typetwo) {
|
||||
this.form.campusAgencyId = null
|
||||
this.queryParams.campusAgencyId = null
|
||||
}
|
||||
} else {
|
||||
this.queryParams.campusAgencyId = null
|
||||
this.ImportDetailqueryParams.campusAgencyId = null
|
||||
}
|
||||
//医生
|
||||
this.usergetListinfo();
|
||||
// })
|
||||
},
|
||||
//主治医生
|
||||
usergetListinfo() {
|
||||
usergetList({
|
||||
hospitalAgencyId: this.queryParams.hospitalAgencyId,
|
||||
postName: "DOCTOR",
|
||||
}).then((res) => {
|
||||
this.attendingPhysicianlist = res.data;
|
||||
});
|
||||
},
|
||||
//选中院区获取科室
|
||||
changecampusAgency(id, type, typetwo) {
|
||||
this.getAgencyListinfo('CAMPUS', id, type)
|
||||
@ -259,9 +310,9 @@ export default {
|
||||
//清空医院
|
||||
clearhospitalAgency(type) {
|
||||
if (type) {
|
||||
this.form.campusAgencyId = null
|
||||
this.form.departmentId = null
|
||||
this.form.wardId = null
|
||||
this.ImportDetailqueryParams.campusAgencyId = null
|
||||
this.ImportDetailqueryParams.departmentId = null
|
||||
this.ImportDetailqueryParams.wardId = null
|
||||
} else {
|
||||
this.queryParams.campusAgencyId = null
|
||||
this.queryParams.departmentId = null
|
||||
@ -271,9 +322,9 @@ export default {
|
||||
//清空院区
|
||||
clearcampusAgency(type) {
|
||||
if (type) {
|
||||
this.form.departmentId = null
|
||||
this.form.wardId = null
|
||||
this.getAgencyListinfo('HOSPITAL', this.form.hospitalAgencyId, type)
|
||||
this.ImportDetailqueryParams.departmentId = null
|
||||
this.ImportDetailqueryParams.wardId = null
|
||||
this.getAgencyListinfo('HOSPITAL', this.ImportDetailqueryParams.hospitalAgencyId, type)
|
||||
} else {
|
||||
this.queryParams.departmentId = null
|
||||
this.queryParams.wardId = null
|
||||
@ -289,7 +340,6 @@ export default {
|
||||
},
|
||||
// 选择
|
||||
handleselect(item) {
|
||||
console.log(item,'0000000000');
|
||||
this.handleselectId = item.sn;
|
||||
this.$emit("on-template", {
|
||||
sn: item.sn,
|
||||
@ -299,17 +349,20 @@ export default {
|
||||
classificationOpenfalse() {
|
||||
this.classificationOpen = false;
|
||||
},
|
||||
ImportDetailsopenfalse() {
|
||||
this.ImportDetailsopen = false;
|
||||
},
|
||||
/** 查询话术信息列表 */
|
||||
getlist() {
|
||||
this.loading = true;
|
||||
this.loading = true;
|
||||
patientInfoImportBatchlist(this.queryParams).then(response => {
|
||||
this.PatientInfoImportBatchlist = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
this.queryParams.pageNum = 1;
|
||||
if (this.createTime?.length > 0) {
|
||||
this.queryParams.importTimeStart = this.createTime[0];
|
||||
@ -324,15 +377,21 @@ export default {
|
||||
resetQuery() {
|
||||
this.queryParams = {
|
||||
pageNum: 1,
|
||||
pageSize: 10
|
||||
pageSize: 10,
|
||||
importName: null,
|
||||
hospitalAgencyId: null,
|
||||
importTimeStart: "",
|
||||
importTimeEnd: "",
|
||||
campusAgencyId: null,
|
||||
sn: null,
|
||||
}
|
||||
this.createTime ='';
|
||||
this.createTime = '';
|
||||
this.handleQuery();
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
::v-deep .el-input-number .el-input__inner {
|
||||
text-align: left;
|
||||
}
|
||||
@ -399,5 +458,4 @@ export default {
|
||||
left: 20px;
|
||||
top: -11px;
|
||||
}
|
||||
</style>
|
||||
|
||||
</style>
|
||||
@ -10,15 +10,8 @@
|
||||
{{ $route.query.patientName }}
|
||||
</div>
|
||||
<div class="gender">
|
||||
{{
|
||||
$route.query.sex == "MALE"
|
||||
? "男"
|
||||
: $route.query.sex == "FEMALE"
|
||||
? "女"
|
||||
: ""
|
||||
}}
|
||||
{{ $route.query.sex == "MALE" ? "男" : $route.query.sex == "FEMALE" ? "女" : "" }}
|
||||
</div>
|
||||
|
||||
<div class="source">
|
||||
<div class="item" style="color: #00e06e; border-color: #00e06e"
|
||||
v-if="$route.query.patientSource == 'WE_CHAT_OFFICIAL_ACCOUNT'">
|
||||
@ -36,11 +29,10 @@
|
||||
<div>管理端</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="age">
|
||||
{{ $route.query.age }}
|
||||
</div>
|
||||
<div class="age">身份证号:{{ $route.query.patientPhone }}</div>
|
||||
<div class="age">身份证号:{{ $route.query.cardNo }}</div>
|
||||
<div class="age">患者电话:{{ $route.query.patientPhone }}</div>
|
||||
<div class="age">出生日期:{{ $route.query.birthDate }}</div>
|
||||
<div class="age">预约时间:{{ $route.query.appointmentDate }}</div>
|
||||
|
||||
@ -153,7 +153,7 @@
|
||||
<cardlist :maxTableHeight="maxTableHeight" :patientInfoList="patientInfoList"></cardlist>
|
||||
</div>
|
||||
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
|
||||
:indexFromWrap="queryParams.pageNum" :indexFrom="indexFrom" @updateCPage="updateCPage"></myPagination>
|
||||
:indexFromWrap="queryParams.pageNum" :indexFrom="queryParams.pageSize" @updateCPage="updateCPage"></myPagination>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -175,7 +175,6 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
type: "card",
|
||||
indexFrom: "",
|
||||
searchData: {},
|
||||
maxTableHeight: undefined,
|
||||
attendingPhysicianlist: [],
|
||||
@ -230,9 +229,8 @@ export default {
|
||||
handler(val) {
|
||||
if (val == "table") {
|
||||
this.queryParams.pageSize = 10;
|
||||
this.indexFrom = "";
|
||||
} else if (val == "card") {
|
||||
this.indexFrom = 100;
|
||||
this.queryParams.pageSize = 100;
|
||||
}
|
||||
},
|
||||
deep: true,
|
||||
@ -329,7 +327,6 @@ export default {
|
||||
response.rows.forEach((e) => {
|
||||
e.birthDate ? (e.age = getAge(e.birthDate)) : e.age;
|
||||
});
|
||||
|
||||
this.patientInfoList = response.rows;
|
||||
this.total = response.total;
|
||||
loading.close();
|
||||
|
||||
@ -1,27 +1,35 @@
|
||||
<template>
|
||||
<div class="app-container" ref="layout">
|
||||
<div ref="topform" class="form">
|
||||
<SearchFilter labelWidth="90px" :labelWidths="310" size="small" @search="handleQuery" @handleRules="getList"
|
||||
patientUploadButtonVisible="true" @reset="resetQuery" @minShowCtrol="getMaxTableHeight">
|
||||
<el-form-item label="导入日期" prop="" label-width="120px">
|
||||
<SearchFilter :labelWidths="310" :widths="70" size="small" @search="handleQuery" @handleRules="getList"
|
||||
patientUploadButtonVisible="true" @reset="resetQuery" @minShowCtrol="getMaxTableHeight" v-show="showSearch">
|
||||
<el-form-item label="导入日期" prop="" label-width="90px">
|
||||
<el-date-picker v-model="createTime" type="daterange" range-separator="至" start-placeholder="开始日期"
|
||||
style="width: 220px" value-format="yyyy-MM-dd" end-placeholder="结束日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="医院" prop="">
|
||||
<el-form-item label="流水号" prop="sn" label-width="90px">
|
||||
<el-input v-model="queryParams.sn" placeholder="请输入流水号" style="width: 220px" clearable>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="批次名称" prop="importName" label-width="90px">
|
||||
<el-input v-model="queryParams.importName" placeholder="请输入批次名称" style="width: 220px" clearable>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="医院" prop="" label-width="90px">
|
||||
<el-select v-model="queryParams.hospitalAgencyId" filterable placeholder="请选择医院" style="width: 220px"
|
||||
clearable @clear="clearhospitalAgency" @change="changehospitalAgency">
|
||||
<el-option v-for="item in hospitalAgencylist" :key="item.id" :label="item.agencyName" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="院区" prop="">
|
||||
<!-- <el-form-item label="院区" prop="">
|
||||
<el-select v-model="queryParams.campusAgencyId" filterable placeholder="请选择院区" style="width: 220px" clearable
|
||||
@clear="clearcampusAgency">
|
||||
<el-option v-for="item in campusAgencylist" :key="item.id" :label="item.agencyName" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-form-item> -->
|
||||
</SearchFilter>
|
||||
</div>
|
||||
<!-- <div ref="mb8" class="mb8">
|
||||
@ -49,7 +57,7 @@
|
||||
<el-table :max-height="maxTableHeight" v-loading="loading" :data="PatientInfoImportBatchlist"
|
||||
@selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column label="序号" type="index" width="48" align="center" />
|
||||
<el-table-column label="序号" type="index" width="50" align="center" />
|
||||
<el-table-column label="流水号" prop="sn" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="text" @click="handsn(scope.row)">
|
||||
@ -57,7 +65,8 @@
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="患者数" align="center" prop="patientCount" width="150" />
|
||||
<el-table-column label="批次名称" align="center" prop="importName" />
|
||||
<el-table-column label="患者数" align="center" prop="patientCount" />
|
||||
<el-table-column label="操作人" align="center" prop="createBy" />
|
||||
<el-table-column label="导入日期" align="center" prop="createTime">
|
||||
<template slot-scope="scope">
|
||||
@ -84,8 +93,8 @@
|
||||
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
|
||||
<el-dialog title="立即外呼" :visible.sync="open" width="500px" append-to-body>
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
|
||||
<el-form-item label="任务名称" prop="routeName">
|
||||
<el-input v-model="form.routeName" placeholder="请输入任务名称" />
|
||||
<el-form-item label="任务名称" prop="manageRouteName">
|
||||
<el-input v-model="form.manageRouteName" placeholder="请输入任务名称" />
|
||||
</el-form-item>
|
||||
<el-descriptions title="上次外呼数据简介" />
|
||||
<el-form-item label="流水号" prop="sn">
|
||||
@ -194,6 +203,8 @@ export default {
|
||||
importTimeStart: "",
|
||||
importTimeEnd: "",
|
||||
campusAgencyId: null,
|
||||
sn: "",
|
||||
importName: "",
|
||||
},
|
||||
// 表单参数
|
||||
form: {},
|
||||
@ -201,7 +212,7 @@ export default {
|
||||
optionslisttime: [],
|
||||
// 表单校验
|
||||
rules: {
|
||||
routeName: [
|
||||
manageRouteName: [
|
||||
{ required: true, message: '请输入任务名称', trigger: 'change' }
|
||||
],
|
||||
}
|
||||
@ -326,7 +337,13 @@ export default {
|
||||
resetQuery() {
|
||||
this.queryParams = {
|
||||
pageNum: 1,
|
||||
pageSize: 10
|
||||
pageSize: 10,
|
||||
hospitalAgencyId: null,
|
||||
importTimeStart: "",
|
||||
importTimeEnd: "",
|
||||
campusAgencyId: null,
|
||||
sn: "",
|
||||
importName: "",
|
||||
}
|
||||
this.createTime = '';
|
||||
// this.resetForm("queryForm");
|
||||
|
||||
@ -216,7 +216,7 @@
|
||||
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
|
||||
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
|
||||
<!-- 添加或修改患者信息对话框 -->
|
||||
<el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body :before-close="handleClose">
|
||||
<el-dialog :title="title" :visible.sync="open" width="1100px" append-to-body :before-close="handleClose">
|
||||
<el-form ref="openform" :model="form" :rules="rules" label-width="100px" :inline="true">
|
||||
<div class="titlenew">基本信息</div>
|
||||
<el-form-item label="患者姓名" prop="patientName">
|
||||
@ -326,13 +326,13 @@
|
||||
<el-input v-model="form.surgicalName" placeholder="请输入手术名称" style="width: 220px" />
|
||||
</el-form-item>
|
||||
<el-form-item label="手术记录" prop="surgicalRecord" v-show="form.visitMethod == 'BE_IN_HOSPITAL'">
|
||||
<editor v-model="form.surgicalRecord" :min-height="192" style="width: 838px" />
|
||||
<editor v-model="form.surgicalRecord" :min-height="192" style="width: 880px" />
|
||||
</el-form-item>
|
||||
<el-form-item label="入院病历">
|
||||
<editor v-model="form.inHospitalInfo" :min-height="192" style="width: 838px" />
|
||||
<editor v-model="form.inHospitalInfo" :min-height="192" style="width: 880px" />
|
||||
</el-form-item>
|
||||
<el-form-item label="出院病历" v-show="form.visitMethod == 'BE_IN_HOSPITAL'">
|
||||
<editor v-model="form.outHospitalInfo" :min-height="192" style="width: 838px" />
|
||||
<editor v-model="form.outHospitalInfo" :min-height="192" style="width: 880px" />
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="患者来源" prop="patientSource">
|
||||
<el-select v-model="form.patientSource" placeholder="请选择患者来源" clearable style="width:220px">
|
||||
|
||||
@ -1,101 +1,45 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-button
|
||||
size="small"
|
||||
@click="classificationOpen = true"
|
||||
style="
|
||||
<el-button size="small" @click="classificationOpen = true" style="
|
||||
width: 200px;
|
||||
font-size: 14px;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
"
|
||||
:style="handleselectName ? 'color:black' : 'color:#C0C4CC'"
|
||||
>{{ handleselectName ? handleselectName : "选择公众号模板" }}</el-button
|
||||
>
|
||||
<el-dialog
|
||||
title="公众号模板选择"
|
||||
:visible.sync="classificationOpen"
|
||||
width="70%"
|
||||
:before-close="classificationOpenfalse"
|
||||
>
|
||||
" :style="handleselectName ? 'color:black' : 'color:#C0C4CC'">
|
||||
{{ handleselectName ? handleselectName : "选择公众号模板" }}
|
||||
</el-button>
|
||||
<el-dialog title="公众号模板选择" :visible.sync="classificationOpen" width="70%" :before-close="classificationOpenfalse">
|
||||
<el-row :gutter="20">
|
||||
<!--部门数据-->
|
||||
<el-col :span="6" :xs="24">
|
||||
<DepartmentList
|
||||
ref="DepartmentList"
|
||||
:modal="false"
|
||||
@clickdepartment="clickdepartment"
|
||||
:methods="'listWechatTemplateNumtwo'"
|
||||
>
|
||||
<DepartmentList ref="DepartmentList" :modal="false" @clickdepartment="clickdepartment"
|
||||
:methods="'listWechatTemplateNumtwo'">
|
||||
</DepartmentList>
|
||||
</el-col>
|
||||
<!--用户数据-->
|
||||
<el-col :span="18" :xs="24">
|
||||
<el-form
|
||||
:model="queryParams"
|
||||
ref="queryForm"
|
||||
size="small"
|
||||
:inline="true"
|
||||
v-show="showSearch"
|
||||
label-width="68px"
|
||||
>
|
||||
<el-form-item
|
||||
label="微信模版名称"
|
||||
prop="wechatTemplateName"
|
||||
label-width="100px"
|
||||
>
|
||||
<el-input
|
||||
v-model="queryParams.wechatTemplateName"
|
||||
placeholder="请输入模版名称"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"
|
||||
label-width="68px">
|
||||
<el-form-item label="微信模版名称" prop="wechatTemplateName" label-width="100px">
|
||||
<el-input v-model="queryParams.wechatTemplateName" placeholder="请输入模版名称" clearable
|
||||
@keyup.enter.native="handleQuery" />
|
||||
</el-form-item>
|
||||
<el-form-item label="模板ID" prop="templateId">
|
||||
<el-input
|
||||
v-model="queryParams.templateId"
|
||||
placeholder="请输入模板ID"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
<el-input v-model="queryParams.templateId" placeholder="请输入模板ID" clearable
|
||||
@keyup.enter.native="handleQuery" />
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<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
|
||||
>
|
||||
<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>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
:data="templateList"
|
||||
@row-dblclick="handleselect"
|
||||
>
|
||||
<el-table-column
|
||||
type="index"
|
||||
width="48"
|
||||
align="center"
|
||||
label="序号"
|
||||
/>
|
||||
<el-table-column
|
||||
label="微信模版名称"
|
||||
align="center"
|
||||
prop="wechatTemplateName"
|
||||
/>
|
||||
<el-table v-loading="loading" :data="templateList" @row-dblclick="handleselect">
|
||||
<el-table-column type="index" width="48" align="center" label="序号" />
|
||||
<el-table-column label="微信模版名称" align="center" prop="wechatTemplateName" />
|
||||
<el-table-column label="模板ID" align="center" prop="templateId" />
|
||||
<el-table-column
|
||||
label="模板来源"
|
||||
align="center"
|
||||
prop="templateSource"
|
||||
>
|
||||
<el-table-column label="模板来源" align="center" prop="templateSource">
|
||||
<template slot-scope="scope">
|
||||
{{
|
||||
scope.row.templateSource == "WE_CHAT_APPLET" ? "小程序" : ""
|
||||
@ -107,55 +51,23 @@
|
||||
}}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="适用任务类型"
|
||||
align="center"
|
||||
prop="suitTaskTypeName"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column
|
||||
label="病种名称"
|
||||
align="center"
|
||||
prop="diseaseTypeName"
|
||||
/>
|
||||
<el-table-column
|
||||
label="模板内容"
|
||||
align="center"
|
||||
prop="templateContent"
|
||||
/>
|
||||
<el-table-column label="适用任务类型" align="center" prop="suitTaskTypeName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="病种名称" align="center" prop="diseaseTypeName" />
|
||||
<el-table-column label="模板内容" align="center" prop="templateContent" />
|
||||
|
||||
<el-table-column
|
||||
label="操作"
|
||||
align="center"
|
||||
class-name="small-padding fixed-width"
|
||||
>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
@click="handleselect(scope.row)"
|
||||
v-if="handleselectId != scope.row.templateId"
|
||||
>选择</el-button
|
||||
>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
@click="nohandleselect(scope.row)"
|
||||
v-if="handleselectId == scope.row.templateId"
|
||||
>取消选择</el-button
|
||||
>
|
||||
<el-button size="mini" type="text" @click="handleselect(scope.row)"
|
||||
v-if="handleselectId != scope.row.templateId">选择</el-button>
|
||||
<el-button size="mini" type="text" @click="nohandleselect(scope.row)"
|
||||
v-if="handleselectId == scope.row.templateId">取消选择</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<pagination
|
||||
v-show="total > 0"
|
||||
:total="total"
|
||||
:page.sync="queryParams.pageNum"
|
||||
:limit.sync="queryParams.pageSize"
|
||||
@pagination="getList"
|
||||
/>
|
||||
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
||||
@pagination="getList" />
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
@ -242,17 +154,17 @@ export default {
|
||||
nohandleselect() {
|
||||
this.handleselectId = ''
|
||||
this.handleselectName = ''
|
||||
this.$emit("on-template", { templateId: '', templateName: '', templateContent: "",officialTemplateCode:"" });
|
||||
this.$emit("on-template", { templateId: '', templateName: '', templateContent: "", officialTemplateCode: "" });
|
||||
},
|
||||
handleselect(item) {
|
||||
this.handleselectId = item.id
|
||||
this.handleselectName = item.wechatTemplateName
|
||||
this.$emit("on-template", {
|
||||
this.$emit("on-template", {
|
||||
templateId: item.id,
|
||||
templateName: item.wechatTemplateName,
|
||||
templateContent: item.textMessageContent,
|
||||
officialTemplateCode: item.officialTemplateCode,
|
||||
});
|
||||
templateName: item.wechatTemplateName,
|
||||
templateContent: item.textMessageContent,
|
||||
officialTemplateCode: item.officialTemplateCode,
|
||||
});
|
||||
this.classificationOpen = false
|
||||
},
|
||||
/** 查询微信模板信息列表 */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user