| | |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <meta name="renderer" content="webkit"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> |
| | | <link rel="icon" href="<%= BASE_URL %>favicon.ico"> |
| | | <!-- <link rel="icon" href="<%= BASE_URL %>favicon.ico"> --> |
| | | <title><%= webpackConfig.name %></title> |
| | | <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]--> |
| | | <style> |
| | |
| | | params: data |
| | | }) |
| | | } |
| | | |
| | | |
| | | // 查询收费员日结未汇总单据信息 |
| | | export function getlistWater(query) { |
| | | return request({ |
| | | url: '/hosp/summary/list', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | export function addTjSummary(data) { |
| | | return request({ |
| | | url: '/hosp/summary/addTjSummary', |
| | | method: 'post', |
| | | data:data |
| | | }) |
| | | } |
| | | |
| | | // 查询汇总单据信息接口 |
| | | export function getTjSummaryList(query) { |
| | | return request({ |
| | | url:'/hosp/summary/getTjSummaryList', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | // 汇总员撤销 汇总账单 接口 |
| | | export function removeTjSummaryById(data) { |
| | | return request({ |
| | | url: '/hosp/summary/removeTjSummaryById', |
| | | method: 'delete', |
| | | params: data |
| | | }) |
| | | } |
| | |
| | | data |
| | | }) |
| | | } |
| | | |
| | | |
| | | // 获取体检费用 |
| | | export function getPrintSetUp() { |
| | | return request({ |
| | | url: '/hosp/summary/getPrintSetUp', |
| | | method: 'get', |
| | | }) |
| | | } |
| | |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | | |
| | | // 查询用户列表 |
| | | export function getDeptListByDictHospId(query) { |
| | | return request({ |
| | | url: '/hosp/hosp/getDeptListByDictHospId', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | |
| | | display: table-cell !important; |
| | | } |
| | | |
| | | .el-table__cell { |
| | | border-right: 1px solid #dfe6ec; |
| | | border-left: 1px solid #dfe6ec; |
| | | } |
| | |
| | | <router-link v-if="collapse" key="collapse" class="sidebar-logo-link" to="/"> |
| | | <img v-if="logo" :src="logo" class="sidebar-logo" /> |
| | | <h1 v-else class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }} </h1> |
| | | <h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }} </h1> |
| | | </router-link> |
| | | <router-link v-else key="expand" class="sidebar-logo-link" to="/"> |
| | | <img v-if="logo" :src="logo" class="sidebar-logo" /> |
| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px"> |
| | | <el-form-item label="结账单号" prop="accountId"> |
| | | <el-input |
| | | v-model="queryParams.accountId" |
| | | placeholder="请输入结账单号" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | <el-form-item label="收费员" prop="tollCollectorId"> |
| | | <el-select v-model="queryParams.tollCollectorId" filterable style="width: 200px" placeholder="请选择交款员" clearable |
| | | @clear="getCompanyList"> |
| | | <el-option v-for="dict in CompanyList" :key="dict.userId" :label="dict.nickName" :value="dict.userId" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="起始时间" prop="begTime"> |
| | | <el-date-picker |
| | | v-model="begTime" |
| | | type="date" |
| | | placeholder="选择起始时间"> |
| | | <el-form-item label="起始时间" prop="accountBeginTime"> |
| | | <el-date-picker v-model="queryParams.accountBeginTime" type="datetime" placeholder="选择起始时间"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item label="截止时间" prop="endTime"> |
| | | <el-date-picker |
| | | v-model="endTime" |
| | | type="date" |
| | | placeholder="选择截止时间"> |
| | | <el-form-item label="截止时间" prop="accountEndTime"> |
| | | <el-date-picker v-model="queryParams.accountEndTime" type="datetime" placeholder="选择截止时间"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item label="收据起始号" prop="deleted"> |
| | | <el-input |
| | | v-model="queryParams.deleted" |
| | | placeholder="请输入收据起始号" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <!-- <el-form-item label="收据终止号" prop="deleted"> |
| | | <el-input |
| | | v-model="queryParams.deleted" |
| | | placeholder="请输入收据终止号" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> --> |
| | | <!-- <el-form-item label="工作量" prop="deleted"> |
| | | <el-input |
| | | v-model="queryParams.deleted" |
| | | placeholder="请输入工作量" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> --> |
| | | <!-- <el-form-item label="发卡起始号" prop="deleted"> |
| | | <el-input |
| | | v-model="queryParams.deleted" |
| | | placeholder="请输入发卡起始号" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> --> |
| | | <!-- <el-form-item label="发卡终止号" prop="deleted"> |
| | | <el-input |
| | | v-model="queryParams.deleted" |
| | | placeholder="请输入发卡终止号" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> --> |
| | | <el-form-item label="操作员" prop="deleted"> |
| | | <el-input |
| | | v-model="queryParams.deleted" |
| | | placeholder="请输入操作员" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <!-- <el-form-item label="结账时间" prop="deleted"> |
| | | <el-date-picker |
| | | v-model="value1" |
| | | type="date" |
| | | placeholder="选择结账时间"> |
| | | </el-date-picker> |
| | | </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-row :gutter="10" class="mb8"> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | size="mini" |
| | | :disabled="single" |
| | | @click="handleUpdate" |
| | | v-hasPermi="['hosp:water:edit']" |
| | | >汇总</el-button> |
| | | <el-button type="primary" size="mini" :disabled="single" @click="handleUpdate" |
| | | v-hasPermi="['hosp:water:edit']">汇总</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | size="mini" |
| | | :disabled="multiple" |
| | | @click="handleDelete" |
| | | v-hasPermi="['hosp:water:remove']" |
| | | >查询</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | size="mini" |
| | | @click="handleExport" |
| | | v-hasPermi="['hosp:water:export']" |
| | | >打印</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | size="mini" |
| | | @click="handleExport" |
| | | v-hasPermi="['hosp:water:export']" |
| | | >撤销结账</el-button> |
| | | </el-col> |
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
| | | </el-row> |
| | | |
| | | <el-table v-loading="loading" :data="list" border > |
| | | <el-table-column type="selection" width="40" align="center" /> |
| | | <!-- <el-table-column label="序号" width="55" align="center" prop="id" /> --> |
| | | <el-table-column label="汇总单号" align="center" prop="hzCard" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="汇总人" align="center" prop="hzName" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="汇总事件" align="center" prop="hzSj" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="结账单号" align="center" prop="accountId" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="起始时间" align="center" prop="begTime" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="结束时间" align="center" prop="endTime" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-edit" |
| | | title="修改" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['hosp:water:edit']" |
| | | ></el-button> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-delete" |
| | | title="删除" |
| | | @click="handleDelete(scope.row)" |
| | | v-hasPermi="['hosp:water:remove']" |
| | | ></el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table style="width: 80%" :data="list" border max-height="720px" @selection-change="handleSelect"> |
| | | <el-table-column type="selection" width="55"> </el-table-column> |
| | | <el-table-column label="交款员" align="center" prop="tollCollector" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="收费金额" align="center" prop="amountReceived" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="退费金额" align="center" prop="refundAmount" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="应交款" align="center" prop="payable" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="交账时间" align="center" prop="createTime" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="起止日期" align="center" prop="accountBeginTime" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="终止日期" align="center" prop="accountEndTime" :show-overflow-tooltip="true" /> |
| | | </el-table> |
| | | |
| | | <el-table v-loading="loading" :data="tollCollectorDetails" style="margin-top:80px" border > |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <!-- <el-table-column label="序号" width="55" align="center" prop="id" /> --> |
| | | <el-table-column label="卡类型" align="center" prop="cardType" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="交款方式" align="center" prop="type" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="类型" align="center" prop="type" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="数量" align="center" prop="count" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="交易金额" align="center" prop="jyPay" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="卡数量" align="center" prop="count" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="卡金额" align="center" prop="jyPay" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-edit" |
| | | title="修改" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['hosp:water:edit']" |
| | | ></el-button> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-delete" |
| | | title="删除" |
| | | @click="handleDelete(scope.row)" |
| | | v-hasPermi="['hosp:water:remove']" |
| | | ></el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | |
| | | <!-- <pagination |
| | | v-show="total>0" |
| | | :total="total" |
| | |
| | | :limit.sync="queryParams.pageSize" |
| | | @pagination="getList" |
| | | /> --> |
| | | |
| | | <!-- 添加或修改体检流水对话框 --> |
| | | <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> |
| | | <el-form ref="form" :model="form" :rules="rules" label-width="80px"> |
| | | <el-form-item label="应付" prop="copeWith"> |
| | | <el-input v-model="form.copeWith" placeholder="请输入应付" /> |
| | | </el-form-item> |
| | | <el-form-item label="实付" prop="paidIn"> |
| | | <el-input v-model="form.paidIn" placeholder="请输入实付" /> |
| | | </el-form-item> |
| | | <el-form-item label="折扣" prop="discount"> |
| | | <el-input v-model="form.discount" placeholder="请输入折扣" /> |
| | | </el-form-item> |
| | | <el-form-item label="付款状态" prop="payStasus"> |
| | | <el-input v-model="form.payStasus" placeholder="请输入付款状态" /> |
| | | </el-form-item> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="submitForm">确 定</el-button> |
| | | <el-button @click="cancel">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import { listWater, getWater, delWater, addWater, updateWater } from "@/api/hosp/water"; |
| | | import { getlistWater, getWater, getdatalist, addTjSummary } from "@/api/hosp/water"; |
| | | import { getHzList,} from "@/api/hosp/Summary"; |
| | | |
| | | import moment from "moment"; |
| | | export default { |
| | | name: "Water", |
| | | data() { |
| | |
| | | loading: true, |
| | | // 选中数组 |
| | | ids: [], |
| | | CompanyList: [], |
| | | // 非单个禁用 |
| | | single: true, |
| | | // 非多个禁用 |
| | |
| | | queryParams: { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | tollCollectorId: null, |
| | | accountBeginTime: null, |
| | | accountEndTime: null, |
| | | }, |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | this.getCompanyList() |
| | | this.getList(); |
| | | }, |
| | | methods: { |
| | | // 下拉框显示 |
| | | getCompanyList() { |
| | | this.loading = true; |
| | | getdatalist().then((response) => { |
| | | this.CompanyList = response.data; |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | /** 查询体检流水列表 */ |
| | | getList() { |
| | | this.loading = true; |
| | | getHzList(this.queryParams).then(response => { |
| | | this.list = response.data.list; |
| | | this.list.forEach(item=>{ |
| | | this.tollCollectorDetails = item.tollCollectorDetails; |
| | | }) |
| | | // this.tollCollectorDetails = response.data.list.tollCollectorDetails; |
| | | this.total = response.total; |
| | | if (this.queryParams.accountBeginTime != null) { |
| | | this.queryParams.accountBeginTime = moment(this.queryParams.accountBeginTime).format("YYYY-MM-DD HH:mm:ss") |
| | | this.queryParams.accountEndTime = moment(this.queryParams.accountEndTime).format("YYYY-MM-DD HH:mm:ss") |
| | | } |
| | | |
| | | getlistWater(this.queryParams).then(response => { |
| | | this.list = response.data; |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | |
| | | this.resetForm("queryForm"); |
| | | this.handleQuery(); |
| | | }, |
| | | // 多选框选中数据 |
| | | handleSelectionChange(selection) { |
| | | this.ids = selection.map(item => item.id) |
| | | this.single = selection.length!==1 |
| | | this.multiple = !selection.length |
| | | }, |
| | | // /** 新增按钮操作 */ |
| | | // handleAdd() { |
| | | // this.reset(); |
| | | // this.open = true; |
| | | // this.title = "添加体检流水"; |
| | | // }, |
| | | /** 修改按钮操作 */ |
| | | handleUpdate(row) { |
| | | this.reset(); |
| | | const id = row.id || this.ids |
| | | getWater(id).then(response => { |
| | | this.form = response.data; |
| | | this.open = true; |
| | | this.title = "修改体检流水"; |
| | | }); |
| | | }, |
| | | /** 提交按钮 */ |
| | | submitForm() { |
| | | this.$refs["form"].validate(valid => { |
| | | if (valid) { |
| | | if (this.form.id != null) { |
| | | updateWater(this.form).then(response => { |
| | | this.$modal.msgSuccess("修改成功"); |
| | | this.open = false; |
| | | this.getList(); |
| | | }); |
| | | |
| | | handleSelect(selection, val) { |
| | | if (selection.length > 1) { |
| | | this.single = false |
| | | } else { |
| | | addWater(this.form).then(response => { |
| | | this.$modal.msgSuccess("新增成功"); |
| | | this.open = false; |
| | | this.getList(); |
| | | this.single = true |
| | | } |
| | | selection.forEach(element => { |
| | | this.ids.push(element.id) |
| | | }); |
| | | } |
| | | } |
| | | |
| | | }, |
| | | |
| | | /** 修改按钮操作 */ |
| | | handleUpdate() { |
| | | addTjSummary(this.ids).then(response => { |
| | | let accountId = response.msg |
| | | const viewNum = "872704875763019776"; |
| | | const params = { viewNum, accountId }; |
| | | this.$tab.openPage("汇总结账单", "/report/settlement", params); |
| | | }); |
| | | }, |
| | | /** 删除按钮操作 */ |
| | | handleDelete(row) { |
| | | const ids = row.id || this.ids; |
| | | this.$modal.confirm('是否确认删除体检流水编号为"' + ids + '"的数据项?').then(function() { |
| | | return delWater(ids); |
| | | }).then(() => { |
| | | this.getList(); |
| | | this.$modal.msgSuccess("删除成功"); |
| | | }).catch(() => {}); |
| | | }, |
| | | /** 导出按钮操作 */ |
| | | handleExport() { |
| | | this.download('hosp/water/export', { |
| | | ...this.queryParams |
| | | }, `water_${new Date().getTime()}.xlsx`) |
| | | } |
| | | } |
| | | }; |
| | | </script> |
New file |
| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px"> |
| | | <el-form-item label="汇总人员" prop="tollCollectorId"> |
| | | <el-select v-model="queryParams.tollCollectorId" filterable style="width: 200px" placeholder="请选择汇总人员" |
| | | clearable @clear="getCompanyList"> |
| | | <el-option v-for="dict in CompanyList" :key="dict.userId" :label="dict.nickName" :value="dict.userId" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <!-- <el-form-item label="起始时间" prop="accountBeginTime"> |
| | | <el-date-picker v-model="queryParams.accountBeginTime" type="datetime" placeholder="选择起始时间"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item label="截止时间" prop="accountEndTime"> |
| | | <el-date-picker v-model="queryParams.accountEndTime" type="datetime" placeholder="选择截止时间"> |
| | | </el-date-picker> |
| | | </el-form-item> --> |
| | | |
| | | <el-form-item> |
| | | <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | |
| | | <el-row :gutter="10" class="mb8"> |
| | | <el-col :span="1.5"> |
| | | <el-button icon="el-icon-edit" size="mini" @click="handleDelete" |
| | | v-hasPermi="['hosp:water:edit']" :disabled="single">撤销</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button icon="el-icon-edit" size="mini" @click="handledocument" |
| | | v-hasPermi="['hosp:water:edit']" :disabled="single">补打单据</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-table v-loading="loading" :data="tableData" @selection-change="handleSelect" ref="multipleTable" border> |
| | | <el-table-column type="selection" width="40" align="center" /> |
| | | <!-- <el-table-column label="序号" width="55" align="center" prop="id" /> --> |
| | | <el-table-column label="汇总单号" align="center" prop="hzCard" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="汇总人" align="center" prop="hzName" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="汇总事件" align="center" prop="hzSj" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="收费金额" align="center" prop="amountReceived" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="退费金额" align="center" prop="refundAmount" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="应交款" align="center" prop="payable" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope"> |
| | | <el-button size="mini" type="text" icon="el-icon-s-order" title="详情" @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['hosp:water:edit']"></el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | |
| | | |
| | | <div class="pag"> |
| | | <div class="pag1"> |
| | | <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" |
| | | :limit.sync="queryParams.pageSize" @pagination="getList" /> |
| | | </div> |
| | | </div> |
| | | |
| | | <el-drawer :title="title" :visible.sync="drawer" size="60%"> |
| | | <div style="margin: 10px 20px;display: flex;"> |
| | | <div>汇总人:{{ formIn.hzName }}</div> |
| | | <div style="margin: 0px 20px;display: flex;">汇总金额:{{ formIn.amountReceived }}元</div> |
| | | <div>汇总时间:{{ formIn.updateTime }}</div> |
| | | </div> |
| | | |
| | | |
| | | <div style="margin: 10px 20px;"> |
| | | <el-table style="width: 86%" :data="collectorList" ref="multipleTable" border max-height="700px"> |
| | | <el-table-column label="交款员" align="center" prop="tollCollector" width="120" /> |
| | | <el-table-column label="收费金额" align="center" prop="amountReceived" width="120" /> |
| | | <el-table-column label="退费金额" align="center" prop="refundAmount" width="120" /> |
| | | <el-table-column label="应交款" align="center" prop="payable" width="120"/> |
| | | <el-table-column label="交账时间" align="center" prop="createTime" /> |
| | | <el-table-column label="起止日期" align="center" prop="accountBeginTime" /> |
| | | <el-table-column label="终止日期" align="center" prop="accountEndTime" /> |
| | | </el-table> |
| | | |
| | | </div> |
| | | |
| | | </el-drawer> |
| | | |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import { getTjSummaryList, getdatalist, removeTjSummaryById } from "@/api/hosp/water"; |
| | | import { getInfo } from "@/api/login"; |
| | | import moment from "moment"; |
| | | |
| | | export default { |
| | | name: "Water", |
| | | data() { |
| | | return { |
| | | pickerOptions: { |
| | | shortcuts: [ |
| | | { |
| | | text: "最近一周", |
| | | onClick(picker) { |
| | | const end = new Date(); |
| | | const start = new Date(); |
| | | start.setTime(start.getTime() - 3600 * 1000 * 24 * 7); |
| | | picker.$emit("pick", [start, end]); |
| | | }, |
| | | }, |
| | | { |
| | | text: "最近一个月", |
| | | onClick(picker) { |
| | | const end = new Date(); |
| | | const start = new Date(); |
| | | start.setTime(start.getTime() - 3600 * 1000 * 24 * 30); |
| | | picker.$emit("pick", [start, end]); |
| | | }, |
| | | }, |
| | | { |
| | | text: "最近三个月", |
| | | onClick(picker) { |
| | | const end = new Date(); |
| | | const start = new Date(); |
| | | start.setTime(start.getTime() - 3600 * 1000 * 24 * 90); |
| | | picker.$emit("pick", [start, end]); |
| | | }, |
| | | }, |
| | | ], |
| | | }, |
| | | // 遮罩层 |
| | | drawer: false, |
| | | loading: true, |
| | | tableData: [], |
| | | selectList: [], |
| | | allList: [], |
| | | disabled: true, |
| | | value1: [], |
| | | CompanyList: [], |
| | | collectorList: [], |
| | | time: "", |
| | | id: "", |
| | | title: "", |
| | | tollCollectorId: "", |
| | | // 非单个禁用 |
| | | single: true, |
| | | formIn: {}, |
| | | closeList: 0, |
| | | tollCollectorId: "", |
| | | machiningTimeList: 0, |
| | | debugTimeList: 0, |
| | | // 非多个禁用 |
| | | multiple: true, |
| | | // 显示搜索条件 |
| | | showSearch: true, |
| | | // 总条数 |
| | | total: 0, |
| | | userId: "", |
| | | // 弹出层标题 |
| | | title: "", |
| | | // 是否显示弹出层 |
| | | open: false, |
| | | accountId:"", |
| | | // 查询参数 |
| | | queryParams: { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | tollCollectorId: null, |
| | | accountBeginTime: null, |
| | | accountEndTime: null, |
| | | }, |
| | | // 表单参数 |
| | | form: {}, |
| | | }; |
| | | }, |
| | | created() { |
| | | this.getList(); |
| | | this.getCompanyList(); |
| | | |
| | | }, |
| | | methods: { |
| | | // 下拉框显示 |
| | | getCompanyList() { |
| | | this.loading = true; |
| | | getdatalist().then((response) => { |
| | | this.CompanyList = response.data; |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | /** 查询体检流水列表 */ |
| | | getList() { |
| | | if (this.queryParams.accountBeginTime != null) { |
| | | this.queryParams.accountBeginTime = moment(this.queryParams.accountBeginTime).format("YYYY-MM-DD HH:mm:ss") |
| | | this.queryParams.accountEndTime = moment(this.queryParams.accountEndTime).format("YYYY-MM-DD HH:mm:ss") |
| | | } |
| | | getTjSummaryList(this.queryParams).then((res) => { |
| | | this.tableData = res.data; |
| | | |
| | | }); |
| | | }, |
| | | |
| | | |
| | | // 搜索 |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | | this.getList(); |
| | | }, |
| | | handleUpdate(row) { |
| | | this.formIn = row |
| | | this.collectorList = row.collectorList |
| | | this.drawer = true |
| | | this.title = "汇总单据明细" |
| | | }, |
| | | |
| | | handledocument() { |
| | | let accountId = this.accountId |
| | | const viewNum = "872704875763019776"; |
| | | const params = { viewNum, accountId }; |
| | | this.$tab.openPage("汇总结账单", "/report/settlement", params); |
| | | }, |
| | | |
| | | // 表格单选 |
| | | handleSelect(selection, val) { |
| | | this.single = selection.length!==1 |
| | | selection.forEach(element => { |
| | | this.accountId = element.hzCard |
| | | this.id = element.id |
| | | this.tollCollectorId = element.hzUserId |
| | | }); |
| | | }, |
| | | |
| | | handleDelete() { |
| | | let data = { |
| | | id: this.id, |
| | | tollCollectorId: this.tollCollectorId, |
| | | }; |
| | | removeTjSummaryById(data).then((res) => { |
| | | this.$message({ |
| | | showClose: true, |
| | | message: "该账单已成功撤销", |
| | | type: "success", |
| | | }); |
| | | this.getList(); |
| | | }); |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | <style> |
| | | .el-table__header-wrapper .el-checkbox { |
| | | display: none; |
| | | } |
| | | |
| | | .pag { |
| | | width: 100%; |
| | | display: flex; |
| | | justify-content: center; |
| | | } |
| | | |
| | | .pag1 { |
| | | width: 30%; |
| | | } |
| | | |
| | | .el-table__body tr.current-row>td { |
| | | background-color: #f19944 !important; |
| | | /* color: #f19944; */ |
| | | /* 设置文字颜色,可以选择不设置 */ |
| | | } |
| | | |
| | | .el-table .warning-row { |
| | | background: #e5f3ff !important; |
| | | } |
| | | </style> |
| | |
| | | <div class="app-container"> |
| | | <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px"> |
| | | <el-form-item label="交款员" prop="tollCollectorName"> |
| | | <el-select v-model="queryParams.tollCollectorName" filterable style="width: 200px" placeholder="请选择交款员" clearable @clear="getCompanyList" @change="idFn"> |
| | | <el-select v-model="queryParams.tollCollectorName" filterable style="width: 200px" placeholder="请选择交款员" clearable |
| | | @clear="getCompanyList" @change="idFn"> |
| | | <el-option v-for="dict in CompanyList" :key="dict.userId" :label="dict.nickName" :value="dict.userId"/> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="交账时间" prop="tollCollectorName"> |
| | | <el-date-picker v-model="value1" type="datetimerange" :picker-options="pickerOptions" value-format="yyyy-MM-dd HH:mm:ss" start-placeholder="起止日期" end-placeholder="终止日期" :default-time="['12:00:00']"> |
| | | <el-date-picker v-model="value1" type="datetimerange" :picker-options="pickerOptions" |
| | | value-format="yyyy-MM-dd HH:mm:ss" start-placeholder="起止日期" end-placeholder="终止日期" :default-time="['12:00:00']"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item> |
| | |
| | | <el-col :span="1.5"> |
| | | <el-button icon="el-icon-edit" size="mini" @click="handleDelete" v-hasPermi="['hosp:water:edit']">撤销</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button icon="el-icon-edit" size="mini" @click="handledocument" |
| | | v-hasPermi="['hosp:water:edit']">补打单据</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-table :row-class-name="tableRowClassName" style="width: 80%" :data="tableData" @selection-change="handleSelect" ref="multipleTable" border> |
| | | <el-table :row-class-name="tableRowClassName" style="width: 80%" :data="tableData" @selection-change="handleSelect" |
| | | ref="multipleTable" border> |
| | | <el-table-column type="selection" width="55"> </el-table-column> |
| | | <el-table-column label="交款员" align="center" prop="tollCollector" :show-overflow-tooltip="true"/> |
| | | <el-table-column label="收费金额" align="center" prop="amountReceived" :show-overflow-tooltip="true"/> |
| | |
| | | <el-table-column label="交账时间" align="center" prop="createTime" :show-overflow-tooltip="true"/> |
| | | <el-table-column label="起止日期" align="center" prop="accountBeginTime" :show-overflow-tooltip="true"/> |
| | | <el-table-column label="终止日期" align="center" prop="accountEndTime" :show-overflow-tooltip="true"/> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope"> |
| | | <el-button size="mini" type="text" icon="el-icon-s-order" title="详情" @click="handleUpdate(scope.row)" v-hasPermi="['hosp:water:edit']"></el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | |
| | | <div class="pag"> |
| | | <div class="pag1"> |
| | | <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" /> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | this.$refs.multipleTable.toggleRowSelection(del_row, false); |
| | | } |
| | | }, |
| | | handledocument() { |
| | | const viewNum = "809743614817824768"; |
| | | let accountId = this.selectList[0].accountId |
| | | const params = { viewNum, accountId }; |
| | | this.$tab.openPage("结账单", "/report/settlement", params); |
| | | }, |
| | | tableRowClassName({ row, rowIndex }) { |
| | | for (let i = 0; i < this.selectList.length; i++) { |
| | | if (row === this.selectList[i]) { |
| | |
| | | .el-table__header-wrapper .el-checkbox { |
| | | display: none; |
| | | } |
| | | |
| | | .pag { |
| | | width: 100%; |
| | | display: flex; |
| | |
| | | .pag1 { |
| | | width: 30%; |
| | | } |
| | | |
| | | .el-table__body tr.current-row > td { |
| | | background-color: #f19944 !important; |
| | | /* color: #f19944; */ /* 设置文字颜色,可以选择不设置 */ |
| | | /* color: #f19944; */ |
| | | /* 设置文字颜色,可以选择不设置 */ |
| | | } |
| | | |
| | | .el-table .warning-row { |
| | | background: #e5f3ff !important; |
| | | } |
| | | </style> |
| | | }</style> |
| | |
| | | hospid: [ |
| | | { required: true, message: "医疗机构ID不能为空", trigger: "blur" }, |
| | | ], |
| | | hospName: [ |
| | | { required: true, message: "医疗机构名称不能为空", trigger: "blur" }, |
| | | ], |
| | | // hospName: [ |
| | | // { required: true, message: "医疗机构名称不能为空", trigger: "blur" }, |
| | | // ], |
| | | code: [ |
| | | { required: true, message: "院区编码不能为空", trigger: "blur" }, |
| | | ], |
| | |
| | | </el-row> |
| | | |
| | | <el-table :data="dataList" border style="width: 75%"> |
| | | <el-table-column label="姓名" align="center" prop="cusName" width="140px" :show-overflow-tooltip="true"/> |
| | | <el-table-column label="订单流水号" align="center" prop="waterId" width="149px" :show-overflow-tooltip="true"/> |
| | | <el-table-column label="应收金额" align="center" prop="copeWith" width="90px" :show-overflow-tooltip="true"/> |
| | | <el-table-column label="折扣" align="center" prop="discount" width="90px" :show-overflow-tooltip="true"/> |
| | | <el-table-column label="实收金额" align="center" prop="paidIn" width="90px" :show-overflow-tooltip="true"/> |
| | | <el-table-column label="付款状态" align="center" prop="payStasus" width="100px" :show-overflow-tooltip="true"/> |
| | | <el-table-column label="付款方式" align="center" prop="payType" width="100px" :show-overflow-tooltip="true"/> |
| | | <el-table-column label="收费员" align="center" prop="updateBy" width="140px" :show-overflow-tooltip="true"/> |
| | | <el-table-column label="收费时间" align="center" prop="updateTime" width="180px" :show-overflow-tooltip="true"/> |
| | | <el-table-column label="退费时间" align="center" prop="refundTime" width="180px" :show-overflow-tooltip="true"/> |
| | | <el-table-column label="姓名" align="center" prop="cusName" width="91px" /> |
| | | <el-table-column label="订单流水号" align="center" prop="waterId" width="186px" /> |
| | | <el-table-column label="应收金额" align="center" prop="copeWith" width="90px" /> |
| | | <el-table-column label="折扣" align="center" prop="discount" width="90px" /> |
| | | <el-table-column label="实收金额" align="center" prop="paidIn" width="90px" /> |
| | | <el-table-column label="付款状态" align="center" prop="payStasus" width="100px" /> |
| | | <el-table-column label="付款方式" align="center" prop="payType" width="100px" /> |
| | | <el-table-column label="收费员" align="center" prop="updateBy" width="140px"/> |
| | | <el-table-column label="收费时间" align="center" prop="updateTime" width="180px"/> |
| | | <el-table-column label="退费时间" align="center" prop="refundTime" width="200px" /> |
| | | </el-table> |
| | | |
| | | <div class="pag"> |
| | |
| | | ]; |
| | | } |
| | | }); |
| | | |
| | | // listWater(this.queryParams).then(response => { |
| | | // this.waterList = response.rows; |
| | | // for (let i = 0; i < response.rows.length; i++) { |
| | | // response.rows[i].nweID = i + 1; |
| | | // } |
| | | // this.total = response.total; |
| | | // this.loading = false; |
| | | // }); |
| | | // getDaily().then(res => { |
| | | // this.tableData = res.data.list |
| | | // this.tableData.forEach(item => { |
| | | // if (item.payStasus == "0") { |
| | | // item.payStasus = "未付款" |
| | | // } else if (item.payStasus == "1") { |
| | | // item.payStasus = "已付款" |
| | | // } else { |
| | | // item.payStasus = "退费" |
| | | // } |
| | | // if (item.payType == "0") { |
| | | // item.payType = "现金" |
| | | // } else if (item.payType == "1") { |
| | | // item.payType = "刷卡" |
| | | // } else if (item.payType == "2") { |
| | | // item.payType = "支付宝" |
| | | // } else if (item.payType == "3") { |
| | | // item.payType = "微信" |
| | | // } else { |
| | | // item.payType = "云闪付" |
| | | // } |
| | | // }) |
| | | // this.loading = false; |
| | | // }) |
| | | }, |
| | | |
| | | /** 统计 */ |
| | |
| | | <template> |
| | | <div class="login"> |
| | | <!-- <div style="padding-top: 130px;"> --> |
| | | <h2>兴平兴化社区服务站</h2> |
| | | <h1>智能健康体检管理系统</h1> |
| | | <!-- </div> --> |
| | | |
| | | |
| | | <el-form :inline="true" ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form"> |
| | | <div class="img"> |
| | |
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
| | | </el-row> |
| | | <el-table width="60%" v-if="refreshTable" v-loading="loading" :data="deptList" border row-key="deptId" |
| | | :default-expand-all="isExpandAll" :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"> |
| | | :default-expand-all="isExpandAll" :tree-props="{ children: 'children', hasChildren: 'hasChildren' }" max-height="720px"> |
| | | <!-- <el-table-column fixed="left" width="55px" label="序号" align="center" prop="nweID" /> --> |
| | | <el-table-column label="科室名称" align="center" prop="deptName" width="120px" fixed="left" |
| | | :show-overflow-tooltip="true" /> |
| | |
| | | <el-form-item label="显示顺序" prop="orderNum"> |
| | | <el-input v-model="form.orderNum" placeholder="请输入显示顺序" /> |
| | | </el-form-item> |
| | | <el-form-item label="所在分院" prop="hospName"> |
| | | <el-select v-model="form.hospName" placeholder="请选择所在分院" clearable filterable style="width: 200px"> |
| | | <el-form-item label="所属医院" prop="hospName"> |
| | | <el-select v-model="form.hospName" placeholder="请选择所属医院" clearable filterable style="width: 200px"> |
| | | <el-option v-for="dict in hospList" :key="dict.hospAreaName" :label="dict.hospAreaName" |
| | | :value="dict.hospAreaName" /> |
| | | </el-select> |
| | |
| | | this.getList(); |
| | | }); |
| | | } else { |
| | | this.hospList.forEach(element => { |
| | | if(this.form.hospName == element.hospAreaName){ |
| | | this.form.hospId = element.hospAreaId |
| | | } |
| | | }); |
| | | addDept(this.form).then((response) => { |
| | | this.$modal.msgSuccess("新增成功"); |
| | | this.open = false; |
| | |
| | | <div class="app-container"> |
| | | <el-row :gutter="20"> |
| | | <!--部门数据--> |
| | | <el-col :span="4" :xs="24"> |
| | | <el-col :span="5" :xs="24"> |
| | | <el-form :inline="true" ref="form" :model="form" class="demo-form-inline" label-width="78px" :rules="rules"> |
| | | <el-form-item label="姓名" prop="name"> |
| | | <el-input v-model="form.name" placeholder="请输入姓名" /> |
| | |
| | | </div> |
| | | |
| | | |
| | | <el-table v-loading="loading" :data="tableList" @selection-change="handleSelect" border max-height="740px" |
| | | <el-table v-loading="loading" :data="tableList" @selection-change="handleSelect" border max-height="720px" |
| | | :row-style="changRed" style="margin-left: 30px;"> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="姓名" align="center" prop="customer.cusName" width="90px" /> |
| | | <el-table-column label="手机号" align="center" prop="customer.cusPhone" width="120px" |
| | | <el-table-column label="手机号" align="center" prop="customer.cusPhone" width="110px" |
| | | :show-overflow-tooltip="true"></el-table-column> |
| | | <el-table-column label="订单流水号" align="center" prop="waterId" width="210px" /> |
| | | <el-table-column label="体检项目" align="center" prop="proname" /> |
| | | <el-table-column label="订单流水号" align="center" prop="waterId" width="180px" /> |
| | | <el-table-column label="体检项目" align="center" prop="proname" width="90px"/> |
| | | <el-table-column label="应收金额" align="center" prop="copeWith" width="90px" /> |
| | | <el-table-column label="实收金额" align="center" prop="paidIn" width="90px" /> |
| | | <el-table-column label="付款类型" align="center" prop="payType" width="90px"> |
| | |
| | | <dict-tag :options="dict.type.dict_pay_type" :value="scope.row.payType" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="收费员" align="center" prop="updateBy" width="110px" /> |
| | | <el-table-column label="收费员" align="center" prop="updateBy" width="100px" /> |
| | | <el-table-column label="收退时间" align="center" prop="updateTime" /> |
| | | <el-table-column fixed="right" label="操作" align="center" class-name="small-padding " width="120px" |
| | | v-if="queryParams.type == '1'"> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { getTjPrice, addOrderAndDetail, tjRefund, getFlowingWaterList } from "@/api/system/examcharge"; |
| | | import { getTjPrice, addOrderAndDetail, tjRefund, getFlowingWaterList, getPrintSetUp } from "@/api/system/examcharge"; |
| | | import { getInfo } from "@/api/login"; |
| | | import printJS from "print-js"; |
| | | export default { |
| | |
| | | |
| | | data() { |
| | | return { |
| | | |
| | | tjNumbers:"", |
| | | // 遮罩层 |
| | | loading: false, |
| | | disabled: "", |
| | |
| | | this.formIn = this.form |
| | | addOrderAndDetail(this.form).then(res => { |
| | | if (res.code == 200) { |
| | | this.tjNumbers = res.msg |
| | | this.$modal.msgSuccess("收费成功"); |
| | | |
| | | getPrintSetUp().then(res => { |
| | | if (res.msg == "0") { |
| | | this.$nextTick(() => { |
| | | const style = |
| | | "@media print { @page{margin:0 10mm,size:4mm 6mm;}};"; //打印时去掉眉页眉尾 |
| | |
| | | style, |
| | | }); |
| | | }); |
| | | |
| | | } else { |
| | | const tjnumber = this.tjNumbers; |
| | | const viewNum = "809623418249637888"; |
| | | const params = { viewNum, tjnumber }; |
| | | this.$tab.openPage("个人发票", "/report/charge", params); |
| | | } |
| | | this.resetQuery() |
| | | this.handleUpdate() |
| | | this.getList() |
| | | }) |
| | | |
| | | } |
| | | }) |
| | | } else { |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | this.queryParams.name=this.$route.query.paramName |
| | | this.getNowTime(); |
| | | this.getList(); |
| | | }, |
| | |
| | | <!-- <el-input v-model="form.nationDesc" placeholder="请输入民族描述"/> --> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="所在院区" prop="hospName"> |
| | | <el-select v-model="form.hospName" placeholder="请选择所在院区" clearable style="width: 200px" filterable> |
| | | <el-form-item label="所在医院" prop="hospId"> |
| | | <el-select v-model="form.hospId" placeholder="请选择所在医院" clearable style="width: 200px" filterable @change="sendhospName"> |
| | | <el-option v-for="dict in hospList" :key="dict.hospAreaName" :label="dict.hospAreaName" |
| | | :value="dict.hospAreaId" /> |
| | | </el-select> |
| | | <!-- <el-input v-model="form.hospName" placeholder="请输入组织中文名称" /> --> |
| | | </el-form-item> |
| | | <el-form-item label="归属科室" prop="deptId"> |
| | | <treeselect v-model="form.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属科室" |
| | | style="width: 200px" /> |
| | | <!-- <treeselect v-model="form.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属科室" |
| | | style="width: 200px" /> --> |
| | | <el-select v-model="form.deptId" placeholder="请选择归属科室" clearable style="width: 200px" filterable > |
| | | <el-option v-for="dict in DepartmentList" :key="dict.deptName" :label="dict.deptName" |
| | | :value="dict.deptId" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="入职日期" prop="entryDate"> |
| | |
| | | resetUserPwd, |
| | | changeUserStatus, |
| | | deptTreeSelect, |
| | | getUserInfo, |
| | | getDeptListByDictHospId, |
| | | } from "@/api/system/user"; |
| | | import { getToken } from "@/utils/auth"; |
| | | import { listHosp } from "@/api/hosp/hosp"; |
| | |
| | | dialogVisible: false, |
| | | // 用户表格数据 |
| | | sysUserList: [], |
| | | DepartmentList:[], |
| | | // 岗位表格数据 |
| | | postList: [], |
| | | // 角色表格数据 |
| | |
| | | // }); |
| | | }, |
| | | |
| | | sendhospName(){ |
| | | let data = { |
| | | id:this.form.hospId |
| | | } |
| | | getDeptListByDictHospId(data).then(res => { |
| | | this.DepartmentList = res.data |
| | | }) |
| | | }, |
| | | |
| | | handleUp(row) { |
| | | this.title = "用户信息维护"; |
| | | this.open = true; |
| | |
| | | <template> |
| | | <div class="container"> |
| | | <div class="left-board"> |
| | | <div class="logo-wrapper"> |
| | | <!-- <div class="logo-wrapper"> |
| | | <div class="logo"> |
| | | <img :src="logo" alt="logo"> Form Generator |
| | | </div> |
| | | </div> |
| | | </div> --> |
| | | <el-scrollbar class="left-scrollbar"> |
| | | <div class="components-list"> |
| | | <div class="components-title"> |
| | |
| | | import { makeUpJs } from '@/utils/generator/js' |
| | | import { makeUpCss } from '@/utils/generator/css' |
| | | import drawingDefault from '@/utils/generator/drawingDefault' |
| | | import logo from '@/assets/logo/logo.png' |
| | | // import logo from '@/assets/logo/logo.png' |
| | | import CodeTypeDialog from './CodeTypeDialog' |
| | | import DraggableItem from './DraggableItem' |
| | | |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | logo, |
| | | // logo, |
| | | idGlobal: 100, |
| | | formConf, |
| | | inputComponents, |