修改
This commit is contained in:
parent
ee78414b6b
commit
58e6d47269
@ -72,8 +72,8 @@ export default {
|
|||||||
return {
|
return {
|
||||||
codeUrl: "",
|
codeUrl: "",
|
||||||
loginForm: {
|
loginForm: {
|
||||||
username: "admin",
|
username: "",
|
||||||
password: "admin123",
|
password: "",
|
||||||
rememberMe: false,
|
rememberMe: false,
|
||||||
code: "",
|
code: "",
|
||||||
uuid: ""
|
uuid: ""
|
||||||
|
|||||||
@ -1,62 +1,24 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container" ref="layout">
|
<div class="app-container" ref="layout">
|
||||||
<div ref="topform" class="form">
|
<div ref="topform" class="form">
|
||||||
<SearchFilter
|
<SearchFilter labelWidth="90px" :labelWidths="310" size="small" @search="handleQuery" @handleRules="getList"
|
||||||
labelWidth="90px"
|
patientUploadButtonVisible="true" @reset="resetQuery" @minShowCtrol="getMaxTableHeight">
|
||||||
:labelWidths="310"
|
|
||||||
size="small"
|
|
||||||
@search="handleQuery"
|
|
||||||
@handleRules="handleRules"
|
|
||||||
patientUploadButtonVisible="true"
|
|
||||||
@reset="resetQuery"
|
|
||||||
@minShowCtrol="getMaxTableHeight"
|
|
||||||
>
|
|
||||||
<el-form-item label="导入日期" prop="" label-width="120px">
|
<el-form-item label="导入日期" prop="" label-width="120px">
|
||||||
<el-date-picker
|
<el-date-picker v-model="createTime" type="daterange" range-separator="至" start-placeholder="开始日期"
|
||||||
v-model="createTime"
|
style="width: 220px" value-format="yyyy-MM-dd" end-placeholder="结束日期">
|
||||||
type="daterange"
|
|
||||||
range-separator="至"
|
|
||||||
start-placeholder="开始日期"
|
|
||||||
style="width: 220px"
|
|
||||||
value-format="yyyy-MM-dd"
|
|
||||||
end-placeholder="结束日期"
|
|
||||||
>
|
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="医院" prop="">
|
<el-form-item label="医院" prop="">
|
||||||
<el-select
|
<el-select v-model="queryParams.hospitalAgencyId" filterable placeholder="请选择医院" style="width: 220px"
|
||||||
v-model="queryParams.hospitalAgencyId"
|
clearable @clear="clearhospitalAgency" @change="changehospitalAgency">
|
||||||
filterable
|
<el-option v-for="item in hospitalAgencylist" :key="item.id" :label="item.agencyName" :value="item.id">
|
||||||
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-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="院区" prop="">
|
<el-form-item label="院区" prop="">
|
||||||
<el-select
|
<el-select v-model="queryParams.campusAgencyId" filterable placeholder="请选择院区" style="width: 220px" clearable
|
||||||
v-model="queryParams.campusAgencyId"
|
@clear="clearcampusAgency">
|
||||||
filterable
|
<el-option v-for="item in campusAgencylist" :key="item.id" :label="item.agencyName" :value="item.id">
|
||||||
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-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@ -84,66 +46,42 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
</div> -->
|
</div> -->
|
||||||
<div ref="table">
|
<div ref="table">
|
||||||
<el-table
|
<el-table :max-height="maxTableHeight" v-loading="loading" :data="PatientInfoImportBatchlist"
|
||||||
:max-height="maxTableHeight"
|
@selection-change="handleSelectionChange">
|
||||||
v-loading="loading"
|
|
||||||
:data="PatientInfoImportBatchlist"
|
|
||||||
@selection-change="handleSelectionChange"
|
|
||||||
>
|
|
||||||
<el-table-column type="selection" width="55" />
|
<el-table-column type="selection" width="55" />
|
||||||
<el-table-column label="序号" type="index" width="48" align="center" />
|
<el-table-column label="序号" type="index" width="48" align="center" />
|
||||||
<el-table-column label="流水号" prop="sn" align="center">
|
<el-table-column label="流水号" prop="sn" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button size="mini" type="text" @click="handsn(scope.row)">{{
|
<el-button size="mini" type="text" @click="handsn(scope.row)">
|
||||||
scope.row.sn
|
{{ scope.row.sn }}
|
||||||
}}</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="患者数" align="center" prop="patientCount" width="150" />
|
||||||
<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="createBy" />
|
||||||
<el-table-column label="导入日期" align="center" prop="createTime">
|
<el-table-column label="导入日期" align="center" prop="createTime">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ parseTime(scope.row.createTime, "{y}-{m}-{d}") }}</span>
|
<span>{{ parseTime(scope.row.createTime, "{y}-{m}-{d}") }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||||
label="操作"
|
|
||||||
align="center"
|
|
||||||
class-name="small-padding fixed-width"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<!-- <el-button size="mini" type="text" @click="handleUpdate(scope.row)"
|
<!-- <el-button size="mini" type="text" @click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['manage:blacklist:edit']">修改</el-button>
|
v-hasPermi="['manage:blacklist:edit']">修改</el-button>
|
||||||
<el-button size="mini" type="text" @click="handleDelete(scope.row)"
|
<el-button size="mini" type="text" @click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['manage:blacklist:remove']">删除</el-button> -->
|
v-hasPermi="['manage:blacklist:remove']">删除</el-button> -->
|
||||||
<el-button size="mini" type="text" @click="handOutbound(scope.row)"
|
<el-button size="mini" type="text" @click="handOutbound(scope.row)">外呼</el-button>
|
||||||
>外呼</el-button
|
<el-button size="mini" type="text" @click="ljhandOutbound(scope.row)">立即外呼</el-button>
|
||||||
>
|
<el-button size="mini" type="text" @click="handsn(scope.row)">明细</el-button>
|
||||||
<el-button size="mini" type="text" @click="handsn(scope.row)"
|
<el-button size="mini" type="text" @click="handleDelete(scope.row)">删除</el-button>
|
||||||
>明细</el-button
|
|
||||||
>
|
|
||||||
<el-button size="mini" type="text" @click="handleDelete(scope.row)"
|
|
||||||
>删除</el-button
|
|
||||||
>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<!-- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
|
<!-- <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
|
||||||
:limit.sync="queryParams.pageSize" @pagination="getList" /> -->
|
:limit.sync="queryParams.pageSize" @pagination="getList" /> -->
|
||||||
<myPagination
|
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
|
||||||
v-show="total > 0"
|
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination>
|
||||||
:total="total"
|
|
||||||
:pageSize="queryParams.pageSize"
|
|
||||||
:indexFromWrap="queryParams.pageNum"
|
|
||||||
@updateCPage="updateCPage"
|
|
||||||
></myPagination>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -151,12 +89,9 @@
|
|||||||
import { patientInfoImportBatchlist, updateSn } from "@/api/manage/patientInfoImport";
|
import { patientInfoImportBatchlist, updateSn } from "@/api/manage/patientInfoImport";
|
||||||
import { selectAgencyList, getDepartmentList, getAgencyList } from "@/api/manage/selectAgencyList";
|
import { selectAgencyList, getDepartmentList, getAgencyList } from "@/api/manage/selectAgencyList";
|
||||||
import SearchFilter from '../../components/SearchForm.vue'
|
import SearchFilter from '../../components/SearchForm.vue'
|
||||||
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Importlist",
|
name: "Importlist",
|
||||||
components: { SearchFilter },
|
components: { SearchFilter },
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
maxTableHeight: undefined,
|
maxTableHeight: undefined,
|
||||||
@ -164,7 +99,6 @@ export default {
|
|||||||
hospitalAgencylist: [],
|
hospitalAgencylist: [],
|
||||||
// 院区list
|
// 院区list
|
||||||
campusAgencylist: [],
|
campusAgencylist: [],
|
||||||
|
|
||||||
// 遮罩层
|
// 遮罩层
|
||||||
loading: true,
|
loading: true,
|
||||||
// 选中数组
|
// 选中数组
|
||||||
@ -208,15 +142,6 @@ export default {
|
|||||||
this.screenChange()
|
this.screenChange()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleRules() {
|
|
||||||
this.getList()
|
|
||||||
},
|
|
||||||
|
|
||||||
// 导入成功
|
|
||||||
handleRules() {
|
|
||||||
console.log('this.patientInfoImportList')
|
|
||||||
this.getList()
|
|
||||||
},
|
|
||||||
// 流水号/明细
|
// 流水号/明细
|
||||||
handsn(row) {
|
handsn(row) {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
@ -227,7 +152,6 @@ export default {
|
|||||||
Timeimport: row.createTime,
|
Timeimport: row.createTime,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
// 外呼
|
// 外呼
|
||||||
handOutbound(row) {
|
handOutbound(row) {
|
||||||
@ -242,6 +166,9 @@ export default {
|
|||||||
departmentName: row.departmentName ? row.departmentName : '',
|
departmentName: row.departmentName ? row.departmentName : '',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
// 立即外呼
|
||||||
|
ljhandOutbound() {
|
||||||
|
|
||||||
},
|
},
|
||||||
/** 删除按钮操作 */
|
/** 删除按钮操作 */
|
||||||
@ -312,8 +239,6 @@ export default {
|
|||||||
this.single = selection.length !== 1
|
this.single = selection.length !== 1
|
||||||
this.multiple = !selection.length
|
this.multiple = !selection.length
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
handleExport() {
|
handleExport() {
|
||||||
this.download('manage/blacklist/export', {
|
this.download('manage/blacklist/export', {
|
||||||
@ -341,15 +266,11 @@ export default {
|
|||||||
query.campusId = id
|
query.campusId = id
|
||||||
}
|
}
|
||||||
getAgencyList(query).then(res => {
|
getAgencyList(query).then(res => {
|
||||||
// if (type)
|
// if (type) {
|
||||||
console.log(nodeType);
|
|
||||||
console.log(res.data.campusList);
|
|
||||||
{
|
|
||||||
if (nodeType == 'HOSPITAL') {
|
if (nodeType == 'HOSPITAL') {
|
||||||
this.campusAgencylist = res.data.campusList;
|
this.campusAgencylist = res.data.campusList;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
// }
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//选中医院获取院区
|
//选中医院获取院区
|
||||||
@ -398,7 +319,6 @@ export default {
|
|||||||
this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId)
|
this.getAgencyListinfo('HOSPITAL', this.queryParams.hospitalAgencyId)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
// 获取表格最高高度
|
// 获取表格最高高度
|
||||||
getMaxTableHeight() {
|
getMaxTableHeight() {
|
||||||
const windowInnerHeight = window.innerHeight // 屏幕可视高度
|
const windowInnerHeight = window.innerHeight // 屏幕可视高度
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user