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