修改
This commit is contained in:
parent
a2c8b037a2
commit
348fa28843
@ -70,9 +70,9 @@ export function editGoodsWhetherShelf(data) {
|
||||
})
|
||||
}
|
||||
// 删除商品基本信息
|
||||
export function delGoodsInfo(id) {
|
||||
export function delGoodsInfo(goodsInfoId) {
|
||||
return request({
|
||||
url: '/system/goodsInfo/' + id,
|
||||
url: '/system/goodsInfo/' + goodsInfoId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@ -24,3 +24,31 @@ export function deldetailed(appointmentOrderId) {
|
||||
|
||||
})
|
||||
}
|
||||
// 派单
|
||||
export function getPerson(query) {
|
||||
return request({
|
||||
url: '/system/appointmentOrder/getPerson',
|
||||
method: 'get',
|
||||
params: query
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
// 确认派单
|
||||
export function dispatchsubmit(data) {
|
||||
return request({
|
||||
url: '/system/appointmentOrder/dispatch',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 确认取消订单
|
||||
export function confirmCancel(data) {
|
||||
return request({
|
||||
url: '/system/appointmentOrder/confirmCancel',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="app-container home">
|
||||
<el-row :gutter="20">
|
||||
<!-- <el-row :gutter="20">
|
||||
<el-col :sm="24" :lg="12" style="padding-left: 20px">
|
||||
<h2>新医路后台管理框架</h2>
|
||||
<p>
|
||||
@ -56,7 +56,7 @@
|
||||
</el-row>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-divider />
|
||||
<el-divider /> -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -79,65 +79,73 @@ export default {
|
||||
|
||||
<style scoped lang="scss">
|
||||
.home {
|
||||
blockquote {
|
||||
padding: 10px 20px;
|
||||
margin: 0 0 20px;
|
||||
font-size: 17.5px;
|
||||
border-left: 5px solid #eee;
|
||||
}
|
||||
hr {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
border: 0;
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
.col-item {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
// display: flex;
|
||||
// justify-content: center;
|
||||
// align-items: center;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-size: cover;
|
||||
// margin-top: 300px;
|
||||
background-image: url("../assets/images/mian.png");
|
||||
// blockquote {
|
||||
// padding: 10px 20px;
|
||||
// margin: 0 0 20px;
|
||||
// font-size: 17.5px;
|
||||
// border-left: 5px solid #eee;
|
||||
// }
|
||||
// hr {
|
||||
// margin-top: 20px;
|
||||
// margin-bottom: 20px;
|
||||
// border: 0;
|
||||
// border-top: 1px solid #eee;
|
||||
// }
|
||||
// .col-item {
|
||||
// margin-bottom: 20px;
|
||||
// }
|
||||
|
||||
ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
// ul {
|
||||
// padding: 0;
|
||||
// margin: 0;
|
||||
// }
|
||||
|
||||
font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 13px;
|
||||
color: #676a6c;
|
||||
overflow-x: hidden;
|
||||
// font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
// font-size: 13px;
|
||||
// color: #676a6c;
|
||||
// overflow-x: hidden;
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
// ul {
|
||||
// list-style-type: none;
|
||||
// }
|
||||
|
||||
h4 {
|
||||
margin-top: 0px;
|
||||
}
|
||||
// h4 {
|
||||
// margin-top: 0px;
|
||||
// }
|
||||
|
||||
h2 {
|
||||
margin-top: 10px;
|
||||
font-size: 26px;
|
||||
font-weight: 100;
|
||||
}
|
||||
// h2 {
|
||||
// margin-top: 10px;
|
||||
// font-size: 26px;
|
||||
// font-weight: 100;
|
||||
// }
|
||||
|
||||
p {
|
||||
margin-top: 10px;
|
||||
// p {
|
||||
// margin-top: 10px;
|
||||
|
||||
b {
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
// b {
|
||||
// font-weight: 700;
|
||||
// }
|
||||
// }
|
||||
|
||||
.update-log {
|
||||
ol {
|
||||
display: block;
|
||||
list-style-type: decimal;
|
||||
margin-block-start: 1em;
|
||||
margin-block-end: 1em;
|
||||
margin-inline-start: 0;
|
||||
margin-inline-end: 0;
|
||||
padding-inline-start: 40px;
|
||||
}
|
||||
}
|
||||
// .update-log {
|
||||
// ol {
|
||||
// display: block;
|
||||
// list-style-type: decimal;
|
||||
// margin-block-start: 1em;
|
||||
// margin-block-end: 1em;
|
||||
// margin-inline-start: 0;
|
||||
// margin-inline-end: 0;
|
||||
// padding-inline-start: 40px;
|
||||
// }
|
||||
// }
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="register">
|
||||
<el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form">
|
||||
<h3 class="title">全医通管理系统</h3>
|
||||
<h3 class="title">泉医到家护理站管理平台</h3>
|
||||
<el-form-item prop="username">
|
||||
<el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号">
|
||||
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
|
||||
|
||||
@ -75,7 +75,7 @@
|
||||
>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
<!-- <el-button
|
||||
type="warning"
|
||||
plain
|
||||
icon="el-icon-download"
|
||||
@ -83,7 +83,7 @@
|
||||
@click="handleExport"
|
||||
v-hasPermi="['system:diseaseInfo:export']"
|
||||
>导出</el-button
|
||||
>
|
||||
> -->
|
||||
</el-col>
|
||||
<right-toolbar
|
||||
:showSearch.sync="showSearch"
|
||||
@ -98,9 +98,17 @@
|
||||
>
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="疾病名称" align="center" prop="diseaseName" />
|
||||
<el-table-column label="疾病描述" align="center" prop="description" />
|
||||
<el-table-column label="疾病唯一编码" align="center" prop="diseaseCode" />
|
||||
<el-table-column label="排序" align="center" prop="sort" />
|
||||
<el-table-column label="疾病编码" align="center" prop="diseaseCode" />
|
||||
<el-table-column
|
||||
label="创建时间"
|
||||
align="center"
|
||||
prop="createTime"
|
||||
/>
|
||||
<el-table-column
|
||||
label="创建人"
|
||||
align="center"
|
||||
prop="createBy"
|
||||
/>
|
||||
<el-table-column
|
||||
label="操作"
|
||||
align="center"
|
||||
|
||||
@ -8,77 +8,6 @@
|
||||
v-show="showSearch"
|
||||
label-width="100px"
|
||||
>
|
||||
<!-- <el-form-item label="店铺表id" prop="storeInfoId">
|
||||
<el-input
|
||||
v-model="queryParams.storeInfoId"
|
||||
placeholder="请输入店铺表id"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>-->
|
||||
<!-- <el-form-item label="商品编码" prop="goodsCode">
|
||||
<el-input
|
||||
v-model="queryParams.goodsCode"
|
||||
placeholder="请输入商品编码"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-input
|
||||
v-model="queryParams.goodsPurpose"
|
||||
placeholder="请输入商品用途,买卖:BUSINESS,租赁:LEASE"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/> -->
|
||||
<!-- <el-form-item label="是否上架,0:否,1:是" prop="whetherShelf">
|
||||
<el-input
|
||||
v-model="queryParams.whetherShelf"
|
||||
placeholder="请输入是否上架,0:否,1:是"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="上架时间,yyyy-MM-dd HH:mm:ss" prop="shelfTime">
|
||||
<el-date-picker clearable
|
||||
v-model="queryParams.shelfTime"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd"
|
||||
placeholder="请选择上架时间,yyyy-MM-dd HH:mm:ss">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="商品图片路径" prop="goodsPictureUrl">
|
||||
<el-input
|
||||
v-model="queryParams.goodsPictureUrl"
|
||||
placeholder="请输入商品图片路径"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="商品概述" prop="goodsRemark">
|
||||
<el-input
|
||||
v-model="queryParams.goodsRemark"
|
||||
placeholder="请输入商品概述"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="商品度量单位" prop="goodsUnit">
|
||||
<el-input
|
||||
v-model="queryParams.goodsUnit"
|
||||
placeholder="请输入商品度量单位"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
|
||||
<!-- <el-form-item label="显示顺序" prop="sort">
|
||||
<el-input
|
||||
v-model="queryParams.sort"
|
||||
placeholder="请输入显示顺序"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<el-form-item label="商品名称" prop="goodsName">
|
||||
<el-input
|
||||
v-model="queryParams.goodsName"
|
||||
@ -165,7 +94,7 @@
|
||||
>修改</el-button
|
||||
>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<!-- <el-col :span="1.5">
|
||||
<el-button
|
||||
type="danger"
|
||||
plain
|
||||
@ -176,7 +105,7 @@
|
||||
v-hasPermi="['system:goodsInfo:remove']"
|
||||
>删除</el-button
|
||||
>
|
||||
</el-col>
|
||||
</el-col> -->
|
||||
<!-- <el-col :span="1.5">
|
||||
<el-button
|
||||
type="warning"
|
||||
@ -199,6 +128,11 @@
|
||||
@selection-change="handleSelectionChange"
|
||||
>
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column
|
||||
label="所属护理站"
|
||||
align="center"
|
||||
prop="nurseStationName"
|
||||
/>
|
||||
<el-table-column label="商品编码" align="center" prop="goodsCode" />
|
||||
<el-table-column
|
||||
label="商品名称"
|
||||
@ -211,11 +145,7 @@
|
||||
align="center"
|
||||
prop="goodsCategoryName"
|
||||
/>
|
||||
<el-table-column
|
||||
label="护理站名称"
|
||||
align="center"
|
||||
prop="nurseStationName"
|
||||
/>
|
||||
|
||||
<el-table-column label="商品用途" align="center" prop="goodsPurpose">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.goodsPurpose == "BUSINESS" ? "买卖" : "" }}
|
||||
@ -244,6 +174,17 @@
|
||||
<div v-else></div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column
|
||||
label="创建时间"
|
||||
align="center"
|
||||
prop="createTime"
|
||||
/>
|
||||
<el-table-column
|
||||
label="创建人"
|
||||
align="center"
|
||||
prop="createBy"
|
||||
/>
|
||||
<el-table-column
|
||||
label="操作"
|
||||
align="center"
|
||||
@ -258,14 +199,22 @@
|
||||
v-hasPermi="['system:goodsInfo:edit']"
|
||||
>修改</el-button
|
||||
>
|
||||
<el-button
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
v-hasPermi="['system:goodsInfo:remove']"
|
||||
>删除</el-button
|
||||
>
|
||||
<!-- <el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-search"
|
||||
@click="reference(scope.row)"
|
||||
v-hasPermi="['system:goodsInfo:remove']"
|
||||
>查询商品信息</el-button
|
||||
>
|
||||
> -->
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@ -446,7 +395,7 @@
|
||||
</div>
|
||||
</el-dialog>
|
||||
<!-- 查看商品详情 -->
|
||||
<el-dialog
|
||||
<!-- <el-dialog
|
||||
:title="title"
|
||||
:visible.sync="open2"
|
||||
width="1000px"
|
||||
@ -501,11 +450,7 @@
|
||||
>
|
||||
</el-option>
|
||||
</el-select>
|
||||
<!-- <el-input
|
||||
v-model="form.goodsCategoryName"
|
||||
placeholder="请输入商品分类名称"
|
||||
style="width: 210px"
|
||||
/> -->
|
||||
|
||||
</el-form-item>
|
||||
<el-form-item label="商品用途" prop="goodsPurpose">
|
||||
<el-select
|
||||
@ -585,19 +530,14 @@
|
||||
rows="10"
|
||||
:disabled="true"
|
||||
></textarea>
|
||||
<!-- <editor
|
||||
:min-height="100"
|
||||
style="width: 90%; margin: 0 auto"
|
||||
v-model="form.goodsRemark"
|
||||
:disabled="true"
|
||||
></editor> -->
|
||||
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="open2 = false">确定</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</el-dialog> -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -646,7 +586,7 @@ export default {
|
||||
title: "",
|
||||
// 是否显示弹出层
|
||||
open: false,
|
||||
open2: false,
|
||||
// open2: false,
|
||||
goods: [
|
||||
{
|
||||
value: "BUSINESS",
|
||||
@ -905,18 +845,18 @@ export default {
|
||||
this.title = "修改商品基本信息";
|
||||
});
|
||||
},
|
||||
reference(row) {
|
||||
getGoodsInfo(row.goodsInfoId).then((response) => {
|
||||
response.data[0].goodsPictureUrl =
|
||||
baseurl + response.data[0].goodsPictureUrl;
|
||||
this.form = response.data[0];
|
||||
response.data[0].goodAttributeDetailsLists.forEach((e) => {
|
||||
e.attributePitureUrl = baseurl + e.attributePitureUrl;
|
||||
});
|
||||
this.goodDetailsLists = response.data[0].goodAttributeDetailsLists;
|
||||
this.open2 = true;
|
||||
});
|
||||
},
|
||||
// reference(row) {
|
||||
// getGoodsInfo(row.goodsInfoId).then((response) => {
|
||||
// response.data[0].goodsPictureUrl =
|
||||
// baseurl + response.data[0].goodsPictureUrl;
|
||||
// this.form = response.data[0];
|
||||
// response.data[0].goodAttributeDetailsLists.forEach((e) => {
|
||||
// e.attributePitureUrl = baseurl + e.attributePitureUrl;
|
||||
// });
|
||||
// this.goodDetailsLists = response.data[0].goodAttributeDetailsLists;
|
||||
// this.open2 = true;
|
||||
// });
|
||||
// },
|
||||
/** 提交按钮 */
|
||||
submitForm() {
|
||||
console.log(this.goodDetailsLists);
|
||||
@ -944,19 +884,39 @@ export default {
|
||||
});
|
||||
},
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
const ids = row.id || this.ids;
|
||||
this.$modal
|
||||
.confirm("是否确认删除?")
|
||||
.then(function () {
|
||||
return delGoodsInfo(ids);
|
||||
})
|
||||
handleDelete(row) {
|
||||
console.log('row :>> ', row);
|
||||
this.$confirm(
|
||||
'是否确认删除订单信息的数据项?',
|
||||
"提示",
|
||||
{
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning",
|
||||
}
|
||||
)
|
||||
.then(() => {
|
||||
this.getList();
|
||||
this.$modal.msgSuccess("删除成功");
|
||||
delGoodsInfo(row.goodsInfoId).then((res) => {
|
||||
this.$message.success("删除成功");
|
||||
this.getList();
|
||||
// console.log('this.OrderDetailsList :>> ', this.OrderDetailsList);
|
||||
});
|
||||
})
|
||||
.catch(() => {});
|
||||
},
|
||||
// handleDelete(row) {
|
||||
// const ids = row.id || this.ids;
|
||||
// this.$modal
|
||||
// .confirm("是否确认删除?")
|
||||
// .then(function () {
|
||||
// return delGoodsInfo(ids);
|
||||
// })
|
||||
// .then(() => {
|
||||
// this.getList();
|
||||
// this.$modal.msgSuccess("删除成功");
|
||||
// })
|
||||
// .catch(() => {});
|
||||
// },
|
||||
// /** 导出按钮操作 */
|
||||
// handleExport() {
|
||||
// this.download(
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="订单状态" prop="orderStatus">
|
||||
<el-form-item label="订单状态" prop="orderStatusinfo">
|
||||
<el-select
|
||||
v-model="queryParams.orderStatus"
|
||||
placeholder="请选择订单状态"
|
||||
@ -58,17 +58,22 @@
|
||||
@selection-change="handleSelectionChange"
|
||||
>
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="订单编号" align="center" prop="orderNo" />
|
||||
<el-table-column
|
||||
label="订单编号"
|
||||
align="center"
|
||||
prop="orderNo"
|
||||
width="190"
|
||||
/>
|
||||
<el-table-column label="订单状态" align="center" prop="orderStatus">
|
||||
<template slot-scope="scope">
|
||||
<!-- <el-button type="primary" v-if="scope.row.orderStatus=='WAIT_PAY'">待付款</el-button> -->
|
||||
<!-- <el-button type="primary" v-if="scope.row.orderStatus=='WAIT_PAY'" style="background-color:red;border:none">待付款</el-button> -->
|
||||
{{ orderStatus(scope.row.orderStatus) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="订单总金额" align="center" prop="totalPrice" />
|
||||
<el-table-column label="收货人" align="center" prop="receiver" />
|
||||
<!-- <el-table-column label="收货人" align="center" prop="receiver" />
|
||||
<el-table-column label="收货地址" align="center" prop="receiveAddress" />
|
||||
<el-table-column label="联系电话" align="center" prop="phone" />
|
||||
<el-table-column label="联系电话" align="center" prop="phone" /> -->
|
||||
<el-table-column
|
||||
label="下单时间"
|
||||
align="center"
|
||||
@ -79,7 +84,7 @@
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.orderChannel == "MOBILE_APP" ? "手机APP" : "" }}
|
||||
{{ scope.row.orderChannel == "WECHAT_APPLET" ? "微信小程序" : "" }}
|
||||
{{ scope.row.orderChannel == "ALI_PAY_APPLET" ? "支付宝" : "" }}
|
||||
{{ scope.row.orderChannel == "ALI_PAY_APPLET" ? "支付宝小程序" : "" }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="备注信息" align="center" prop="remark" />
|
||||
@ -165,9 +170,121 @@
|
||||
title="查看订单信息"
|
||||
:visible.sync="innerorder"
|
||||
append-to-body
|
||||
width="1048px"
|
||||
width="1200px"
|
||||
>
|
||||
<el-table
|
||||
<el-form
|
||||
:inline="true"
|
||||
ref="orderList"
|
||||
:model="orderList"
|
||||
:rules="rules"
|
||||
label-width="120px"
|
||||
>
|
||||
<el-form-item label="订单编号" prop="orderNo">
|
||||
<el-input
|
||||
v-model="orderList.orderNo"
|
||||
:disabled="true"
|
||||
style="width: 240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="地址" prop="receiveAddress">
|
||||
<el-input
|
||||
v-model="orderList.receiveAddress"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
:disabled="true"
|
||||
style="width: 240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="收货人" prop="receiveAddress">
|
||||
<el-input
|
||||
v-model="orderList.receiver"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
:disabled="true"
|
||||
style="width: 240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="商品名称" prop="goodsName">
|
||||
<el-input
|
||||
v-model="orderList.goodsName"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
:disabled="true"
|
||||
style="width: 240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="商品属性" prop="goodsAttributeName">
|
||||
<el-input
|
||||
v-model="orderList.goodsAttributeName"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
:disabled="true"
|
||||
style="width: 240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="商品价格" prop="goodsPrice">
|
||||
<el-input
|
||||
v-model="orderList.goodsPrice"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
:disabled="true"
|
||||
style="width: 240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="地址" prop="receiveAddress">
|
||||
<el-input
|
||||
v-model="orderList.receiveAddress"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
:disabled="true"
|
||||
style="width: 240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="手机号" prop="phone">
|
||||
<el-input
|
||||
v-model="orderList.phone"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
:disabled="true"
|
||||
style="width: 240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="订单状态" prop="orderStatus">
|
||||
<!-- <el-form-item label="退款类型" prop="refundType">
|
||||
<el-input
|
||||
:value="refundTypeStatus(refundlist.refundType)"
|
||||
disabled
|
||||
style="width: 205px"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<el-input
|
||||
:value="orderStatusinfo(orderList.orderStatus)"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
:disabled="true"
|
||||
style="width: 240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="下单方式" prop="buySource">
|
||||
<el-input
|
||||
:value="buySourceinfo(orderList.buySource)"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
:disabled="true"
|
||||
style="width: 240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="购买来源" prop="orderChannel">
|
||||
<el-input
|
||||
:value="orderChannelinfo(orderList.orderChannel)"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
:disabled="true"
|
||||
style="width: 240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
<!-- <el-table
|
||||
:data="orderList"
|
||||
align="center"
|
||||
style="margin: 10px 0 20px 0; padding-bottom: 20px"
|
||||
@ -216,7 +333,8 @@
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</el-table> -->
|
||||
</el-form>
|
||||
</el-dialog>
|
||||
|
||||
<!-- 查看物流信息弹框 -->
|
||||
@ -332,11 +450,11 @@
|
||||
:min-height="70"
|
||||
style="width: 90%; margin: 0 auto"
|
||||
v-model="refundlist.refundReasonRemark"
|
||||
|
||||
|
||||
></editor> -->
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<!--
|
||||
<!--
|
||||
<el-button
|
||||
type="primary"
|
||||
icon="el-icon-search"
|
||||
@ -520,7 +638,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
// 退款类型
|
||||
// refundTypeStatus(refundlist.refundType)
|
||||
|
||||
refundTypeStatus(refundType) {
|
||||
switch (refundType) {
|
||||
case "REFUND_MONEY_GOODS":
|
||||
@ -531,209 +649,261 @@ export default {
|
||||
break;
|
||||
}
|
||||
},
|
||||
/** 查询商品订单列表 */
|
||||
getList() {
|
||||
this.loading = true;
|
||||
listGoodsOrder(this.queryParams).then(response => {
|
||||
this.goodsOrderList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
// 查看商品信息
|
||||
seeOrder(row) {
|
||||
console.log(row);
|
||||
this.innerorder = true
|
||||
const id = row.orderNo;
|
||||
getGoodsOrderlist(id).then(res => {
|
||||
this.orderList = [res.data]
|
||||
})
|
||||
},
|
||||
// 查看录入物流单号弹框
|
||||
seelogistics(id) {
|
||||
// console.log(id);
|
||||
this.queryexpressNo.id = id
|
||||
console.log(this.queryexpressNo)
|
||||
this.innerlogistics = true
|
||||
|
||||
},
|
||||
// 确定按钮
|
||||
searchlogistics() {
|
||||
console.log(this.queryexpressNo)
|
||||
editExpressNo(this.queryexpressNo).then(res => {
|
||||
this.queryexpressNo.expressNo = ""
|
||||
this.innerlogistics = false
|
||||
console.log(res)
|
||||
|
||||
})
|
||||
},
|
||||
// 取消按钮
|
||||
cencellogistics() {
|
||||
this.innerlogistics = false
|
||||
this.queryexpressNo.expressNo = ""
|
||||
},
|
||||
// 确认退款
|
||||
refund(id) {
|
||||
console.log(id);
|
||||
goodsOrderRefundinfo(id).then(res => {
|
||||
this.refundlist = res.data;
|
||||
// console.log(this.refundlist)
|
||||
this.innerrefund = true
|
||||
})
|
||||
},
|
||||
//确认退款 确定按钮
|
||||
submitRefundOrder() {
|
||||
console.log(this.refundlist)
|
||||
var obj = {}
|
||||
obj.orderNo = this.refundlist.goOrderNo
|
||||
|
||||
obj.refundPrice = this.refundlist.godTotalPrice
|
||||
|
||||
weChatRefundOrderApply(obj).then(res => {
|
||||
// console.log(obj)
|
||||
})
|
||||
|
||||
},
|
||||
// refund(id){
|
||||
// console.log(id);
|
||||
// this.$confirm('是否确认退款?', '提示', {
|
||||
// confirmButtonText: '确定',
|
||||
// cancelButtonText: '取消',
|
||||
// type: 'warning'
|
||||
// }).then(() => {
|
||||
// this.refundinfo.id=id
|
||||
// goodsOrderrefund(this.refundinfo).then((res) => {
|
||||
// this.$message({
|
||||
// type: 'success',
|
||||
// message: '退款成功'
|
||||
// });
|
||||
// this.getList();
|
||||
// });
|
||||
|
||||
// }).catch(() => {
|
||||
// this.$message({
|
||||
// type: 'info',
|
||||
// message: '已取消退款'
|
||||
// });
|
||||
// });
|
||||
|
||||
// },
|
||||
// 取消按钮
|
||||
cancel() {
|
||||
this.open = false;
|
||||
this.reset();
|
||||
},
|
||||
|
||||
//退款取消按钮
|
||||
refundcancel() {
|
||||
this.innerrefund = false
|
||||
},
|
||||
// 表单重置
|
||||
reset() {
|
||||
this.form = {
|
||||
id: null,
|
||||
nurseStationId: null,
|
||||
patientId: null,
|
||||
orderNo: null,
|
||||
orderStatus: "0",
|
||||
totalPrice: null,
|
||||
receiver: null,
|
||||
receiveAddress: null,
|
||||
phone: null,
|
||||
orderTime: null,
|
||||
orderChannel: null,
|
||||
remark: null,
|
||||
delFlag: null,
|
||||
createBy: null,
|
||||
createTime: null,
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
this.queryParams.pageNum = 1;
|
||||
this.getList();
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuery();
|
||||
// this.getList();
|
||||
},
|
||||
// 多选框选中数据
|
||||
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
|
||||
getGoodsOrder(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) {
|
||||
updateGoodsOrder(this.form).then(response => {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
this.open = false;
|
||||
this.getList();
|
||||
});
|
||||
} else {
|
||||
addGoodsOrder(this.form).then(response => {
|
||||
this.$modal.msgSuccess("新增成功");
|
||||
this.open = false;
|
||||
this.getList();
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
const ids = row.id || this.ids;
|
||||
this.$modal.confirm('是否确认删除商品订单编号为"' + ids + '"的数据项?').then(function () {
|
||||
return delGoodsOrder(ids);
|
||||
}).then(() => {
|
||||
this.getList();
|
||||
this.$modal.msgSuccess("删除成功");
|
||||
}).catch(() => { });
|
||||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.download('system/goodsOrder/export', {
|
||||
...this.queryParams
|
||||
}, `goodsOrder_${new Date().getTime()}.xlsx`)
|
||||
},
|
||||
orderStatus(code) {
|
||||
var obj = {
|
||||
WAIT_PAY: '待付款',
|
||||
PAY: '已付款',
|
||||
CANCEL: '已取消',
|
||||
WAIT_RECEIVED_GOODS: '待收货',
|
||||
RECEIVED_GOODS: '已收货',
|
||||
WAIT_REFUND: '退款中',
|
||||
REFUNDED: '已退款',
|
||||
WAIT_RETURNED_GOODS: '待退货',
|
||||
RETURNED_GOODS: '已退货',
|
||||
// 订单状态
|
||||
orderStatusinfo(orderStatus) {
|
||||
switch (orderStatus) {
|
||||
case "WAIT_PAY":
|
||||
return "待付款";
|
||||
case "PAY":
|
||||
return "已付款";
|
||||
case "CANCEL":
|
||||
return "已取消";
|
||||
case "WAIT_RECEIVED_GOODS":
|
||||
return "待收货";
|
||||
case "RECEIVED_GOODS":
|
||||
return "已收货";
|
||||
case "REFUNDED":
|
||||
return "退款中";
|
||||
case "REFUNDED":
|
||||
return "已退款";
|
||||
case "WAIT_RETURNED_GOODS":
|
||||
return "待退货";
|
||||
case "RETURNED_GOODS":
|
||||
return "已退货";
|
||||
default:
|
||||
break;
|
||||
}
|
||||
},
|
||||
// 下单方式
|
||||
orderChannelinfo(orderChannel){
|
||||
switch (orderChannel) {
|
||||
case "MOBILE_APP":
|
||||
return "手机APP";
|
||||
case "WECHAT_APPLET":
|
||||
return "微信小程序";
|
||||
case "ALI_PAY_APPLET":
|
||||
return "支付宝小程序";
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
},
|
||||
// 购买来源
|
||||
buySourceinfo(buySource){
|
||||
switch (buySource) {
|
||||
case "NURSE_STATION":
|
||||
return "护理站";
|
||||
case "SHOPPING_MALL":
|
||||
return "商城";
|
||||
default:
|
||||
break;
|
||||
}
|
||||
},
|
||||
/** 查询商品订单列表 */
|
||||
getList() {
|
||||
this.loading = true;
|
||||
listGoodsOrder(this.queryParams).then(response => {
|
||||
this.goodsOrderList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
// 查看商品信息
|
||||
seeOrder(row) {
|
||||
console.log(row);
|
||||
const id = row.orderNo;
|
||||
getGoodsOrderlist(id).then(res => {
|
||||
this.orderList = res.data
|
||||
this.innerorder = true
|
||||
})
|
||||
},
|
||||
// 查看录入物流单号弹框
|
||||
seelogistics(id) {
|
||||
// console.log(id);
|
||||
this.queryexpressNo.id = id
|
||||
console.log(this.queryexpressNo)
|
||||
this.innerlogistics = true
|
||||
|
||||
},
|
||||
// 确定按钮
|
||||
searchlogistics() {
|
||||
console.log(this.queryexpressNo)
|
||||
editExpressNo(this.queryexpressNo).then(res => {
|
||||
this.queryexpressNo.expressNo = ""
|
||||
this.innerlogistics = false
|
||||
console.log(res)
|
||||
|
||||
})
|
||||
},
|
||||
// 取消按钮
|
||||
cencellogistics() {
|
||||
this.innerlogistics = false
|
||||
this.queryexpressNo.expressNo = ""
|
||||
},
|
||||
// 确认退款
|
||||
refund(id) {
|
||||
console.log(id);
|
||||
goodsOrderRefundinfo(id).then(res => {
|
||||
this.refundlist = res.data;
|
||||
console.log(this.refundlist)
|
||||
this.innerrefund = true
|
||||
})
|
||||
},
|
||||
//确认退款 确定按钮
|
||||
submitRefundOrder() {
|
||||
console.log(this.refundlist)
|
||||
var obj = {}
|
||||
obj.orderNo = this.refundlist.goOrderNo
|
||||
obj.refundReason = this.refundlist.dictLabel
|
||||
obj.refundPrice = this.refundlist.godTotalPrice
|
||||
obj.remark = this.refundlist.refundReasonRemark
|
||||
obj.goodsStatus = this.refundlist.orderStatus
|
||||
weChatRefundOrderApply(obj).then(res => {
|
||||
// console.log(obj)
|
||||
this.innerrefund = false
|
||||
})
|
||||
|
||||
},
|
||||
// refund(id){
|
||||
// console.log(id);
|
||||
// this.$confirm('是否确认退款?', '提示', {
|
||||
// confirmButtonText: '确定',
|
||||
// cancelButtonText: '取消',
|
||||
// type: 'warning'
|
||||
// }).then(() => {
|
||||
// this.refundinfo.id=id
|
||||
// goodsOrderrefund(this.refundinfo).then((res) => {
|
||||
// this.$message({
|
||||
// type: 'success',
|
||||
// message: '退款成功'
|
||||
// });
|
||||
// this.getList();
|
||||
// });
|
||||
|
||||
// }).catch(() => {
|
||||
// this.$message({
|
||||
// type: 'info',
|
||||
// message: '已取消退款'
|
||||
// });
|
||||
// });
|
||||
|
||||
// },
|
||||
// 取消按钮
|
||||
cancel() {
|
||||
this.open = false;
|
||||
this.reset();
|
||||
},
|
||||
|
||||
//退款取消按钮
|
||||
refundcancel() {
|
||||
this.innerrefund = false
|
||||
},
|
||||
// 表单重置
|
||||
reset() {
|
||||
this.form = {
|
||||
id: null,
|
||||
nurseStationId: null,
|
||||
patientId: null,
|
||||
orderNo: null,
|
||||
orderStatus: "0",
|
||||
totalPrice: null,
|
||||
receiver: null,
|
||||
receiveAddress: null,
|
||||
phone: null,
|
||||
orderTime: null,
|
||||
orderChannel: null,
|
||||
remark: null,
|
||||
delFlag: null,
|
||||
createBy: null,
|
||||
createTime: null,
|
||||
updateBy: null,
|
||||
updateTime: null
|
||||
};
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
this.queryParams.pageNum = 1;
|
||||
this.getList();
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuery();
|
||||
// this.getList();
|
||||
},
|
||||
// 多选框选中数据
|
||||
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
|
||||
getGoodsOrder(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) {
|
||||
updateGoodsOrder(this.form).then(response => {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
this.open = false;
|
||||
this.getList();
|
||||
});
|
||||
} else {
|
||||
addGoodsOrder(this.form).then(response => {
|
||||
this.$modal.msgSuccess("新增成功");
|
||||
this.open = false;
|
||||
this.getList();
|
||||
});
|
||||
}
|
||||
return obj[code]
|
||||
}
|
||||
});
|
||||
},
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
const ids = row.id || this.ids;
|
||||
this.$modal.confirm('是否确认删除商品订单编号为"' + ids + '"的数据项?').then(function () {
|
||||
return delGoodsOrder(ids);
|
||||
}).then(() => {
|
||||
this.getList();
|
||||
this.$modal.msgSuccess("删除成功");
|
||||
}).catch(() => { });
|
||||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
this.download('system/goodsOrder/export', {
|
||||
...this.queryParams
|
||||
}, `goodsOrder_${new Date().getTime()}.xlsx`)
|
||||
},
|
||||
orderStatus(code) {
|
||||
var obj = {
|
||||
WAIT_PAY: '待付款',
|
||||
PAY: '已付款',
|
||||
CANCEL: '已取消',
|
||||
WAIT_RECEIVED_GOODS: '待收货',
|
||||
RECEIVED_GOODS: '已收货',
|
||||
WAIT_REFUND: '退款中',
|
||||
REFUNDED: '已退款',
|
||||
WAIT_RETURNED_GOODS: '待退货',
|
||||
RETURNED_GOODS: '已退货',
|
||||
}
|
||||
return obj[code]
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
@ -60,7 +60,7 @@
|
||||
:data="OrderDetailsList"
|
||||
@selection-change="handleSelectionChange"
|
||||
>
|
||||
<el-table-column label="客户" align="center" prop="patientName" />
|
||||
<el-table-column label="会员名称" align="center" prop="patientName" />
|
||||
<el-table-column label="订单编号" align="center" prop="orderNo" />
|
||||
<el-table-column label="订单状态" align="center" prop="orderStatus">
|
||||
<template slot-scope="scope">
|
||||
@ -70,7 +70,7 @@
|
||||
{{ scope.row.orderStatus == "COMPLETE" ? "服务完成" : "" }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="创建时间" align="center" prop="createTime" />
|
||||
<el-table-column label="下单时间" align="center" prop="createTime" />
|
||||
<el-table-column
|
||||
label="操作"
|
||||
align="center"
|
||||
@ -85,7 +85,22 @@
|
||||
v-hasPermi="['system:nurseType:edit']"
|
||||
>查看</el-button
|
||||
>
|
||||
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-edit"
|
||||
@click="dispatch(scope.row)"
|
||||
v-hasPermi="['system:nurseType:edit']"
|
||||
>派单</el-button
|
||||
>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-edit"
|
||||
@click="cencel(scope.row.appointmentOrderId)"
|
||||
v-hasPermi="['system:nurseType:edit']"
|
||||
>取消预约</el-button
|
||||
>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
@ -104,15 +119,15 @@
|
||||
:limit.sync="queryParams.pageSize"
|
||||
@pagination="getList"
|
||||
/>
|
||||
|
||||
|
||||
|
||||
<!-- 查看弹框 -->
|
||||
|
||||
<el-dialog
|
||||
title="查看订单信息"
|
||||
:visible.sync="innerVisible"
|
||||
:visible.sync="innerVisible4"
|
||||
append-to-body
|
||||
width="1048px"
|
||||
class="orderInfo"
|
||||
>
|
||||
<el-form
|
||||
:inline="true"
|
||||
@ -156,9 +171,9 @@
|
||||
style="width: 190px"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<el-form-item label="护理项目名称" prop="nurseItemName">
|
||||
<el-input
|
||||
v-model="item.nurseItemName"
|
||||
@ -186,7 +201,7 @@
|
||||
style="width: 190px"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
|
||||
<el-form-item label="护理项目价格" prop="nurseItemPrice">
|
||||
<el-input
|
||||
v-model="item.nurseItemPrice"
|
||||
@ -235,6 +250,161 @@
|
||||
</div>
|
||||
</el-form>
|
||||
</el-dialog>
|
||||
<!-- 派单弹框 -->
|
||||
<el-dialog
|
||||
title="派单"
|
||||
:visible.sync="innerdispatch"
|
||||
append-to-body
|
||||
width="500px"
|
||||
height="100px"
|
||||
>
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||
<el-form-item label="护理员姓名" prop="nursePersonName">
|
||||
<el-button
|
||||
type=""
|
||||
v-if="nurseName == '请选择护理员'"
|
||||
style="width: 200px; text-align: left; height: 36px; color: #c0c4cc"
|
||||
@click="clicknursePersonName()"
|
||||
>{{ nurseName }}</el-button
|
||||
>
|
||||
<el-button
|
||||
type=""
|
||||
@click="clicknursePersonName()"
|
||||
v-else
|
||||
style="
|
||||
width: 362px;
|
||||
text-align: left;
|
||||
height: 36px;
|
||||
padding-left: -10px;
|
||||
"
|
||||
>{{ nurseName }}</el-button
|
||||
>
|
||||
</el-form-item>
|
||||
<!-- <el-button
|
||||
type=""
|
||||
@click="departclick(item, index)"
|
||||
v-else
|
||||
style="
|
||||
width: 200px;
|
||||
text-align: left;
|
||||
height: 36px;
|
||||
padding-left: -10px;
|
||||
"
|
||||
>{{ item.departmentName }}</el-button
|
||||
> -->
|
||||
</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>
|
||||
<!-- 姓名弹框 -->
|
||||
<el-dialog
|
||||
:visible.sync="nursePersonNameinfo"
|
||||
width="1000px"
|
||||
append-to-body
|
||||
>
|
||||
<el-form
|
||||
ref="queryForm"
|
||||
:model="querynursePerson"
|
||||
:rules="rules"
|
||||
label-width="80px"
|
||||
:inline="true"
|
||||
>
|
||||
<el-form-item label="姓名" prop="nursePersonName" label-width="120">
|
||||
<el-input
|
||||
v-model="querynursePerson.nursePersonName"
|
||||
placeholder="请输入姓名"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="手机号" prop="phone" label-width="120">
|
||||
<el-input
|
||||
v-model="querynursePerson.phone"
|
||||
placeholder="请输入手机号"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button
|
||||
type="primary"
|
||||
icon="el-icon-search"
|
||||
size="mini"
|
||||
@click="handleQuery2"
|
||||
>搜索</el-button
|
||||
>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
|
||||
>重置</el-button
|
||||
>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-table :data="dispatchlist">
|
||||
<el-table-column label="请选择" width="70" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
type="primary"
|
||||
style="width: 15px; height: 15px; overflow: hidden"
|
||||
v-if="nursePersonid == scope.row.id"
|
||||
circle
|
||||
@click="nursePersonclick(scope.row)"
|
||||
></el-button>
|
||||
<el-button
|
||||
v-else
|
||||
style="width: 15px; height: 15px; overflow: hidden"
|
||||
circle
|
||||
@click="nursePersonclick(scope.row)"
|
||||
></el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
property="nursePersonCode"
|
||||
label="护理员编号"
|
||||
width="150"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
property="nursePersonName"
|
||||
label="会员姓名"
|
||||
width="150"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
property="nursePersonType"
|
||||
label="护理站人员类型"
|
||||
width="150"
|
||||
align="center"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.nursePersonType == "NURSE" ? "护士" : "" }}
|
||||
{{ scope.row.nursePersonType == "NURSE_TEACHER" ? "护理师" : "" }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
property="phone"
|
||||
label="手机号"
|
||||
width="150"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column label="性别" align="center" prop="sex">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.sex == "MALE" ? "男" : "" }}
|
||||
{{ scope.row.sex == "FEMALE" ? "女" : "" }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<!-- <pagination
|
||||
v-show="total2 > 0"
|
||||
:total="total2"
|
||||
:page.sync="querynursePerson.pageNum"
|
||||
:limit.sync="querynursePerson.pageSize"
|
||||
@pagination="handleQuery2"
|
||||
/> -->
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
@ -242,6 +412,9 @@ import {
|
||||
appointmentOrderDetailsList,
|
||||
Detailed,
|
||||
deldetailed,
|
||||
getPerson,
|
||||
dispatchsubmit,
|
||||
confirmCancel
|
||||
} from "@/api/system/order";
|
||||
export default {
|
||||
name: "order",
|
||||
@ -268,8 +441,11 @@ export default {
|
||||
value: "",
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
innerVisible: false,
|
||||
innerVisibleA:false,
|
||||
innerVisible4: false,
|
||||
// 派单弹框
|
||||
innerdispatch: false,
|
||||
// 姓名弹框
|
||||
nursePersonNameinfo: false,
|
||||
// 选中数组
|
||||
ids: [],
|
||||
// 非单个禁用
|
||||
@ -284,6 +460,13 @@ export default {
|
||||
// 护理类型信息表格数据
|
||||
OrderDetailsList: [],
|
||||
OrderDetailsLists: [],
|
||||
dispatchlist: [],
|
||||
nurseName: "请选择护理员",
|
||||
nursePersonid: "",
|
||||
querynursecencel:{
|
||||
appointmentOrderId:"",
|
||||
},
|
||||
// total2: 0,
|
||||
// 弹出层标题
|
||||
title: "",
|
||||
// 是否显示弹出层
|
||||
@ -298,6 +481,20 @@ export default {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
},
|
||||
querynursePerson: {
|
||||
nursePersonName: null,
|
||||
phone: null,
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
},
|
||||
querynursePersonname: {
|
||||
detailsId: "",
|
||||
nursePersonName: null,
|
||||
nursePersonType: null,
|
||||
departmentName: null,
|
||||
|
||||
},
|
||||
|
||||
query: [],
|
||||
|
||||
// 表单参数
|
||||
@ -324,6 +521,7 @@ export default {
|
||||
break;
|
||||
}
|
||||
},
|
||||
// 查看
|
||||
seeLook(row) {
|
||||
this.innerVisible = true;
|
||||
const id = row.orderNo;
|
||||
@ -336,7 +534,7 @@ export default {
|
||||
"-" +
|
||||
e.serviceStartTime +
|
||||
"-" +
|
||||
e.serviceEndTime
|
||||
e.serviceEndTime
|
||||
}
|
||||
} );
|
||||
this.OrderDetailsLists = res.data;
|
||||
@ -344,8 +542,78 @@ export default {
|
||||
console.log(this.query);
|
||||
});
|
||||
},
|
||||
leaflets(){
|
||||
this.innerVisibleA = true;
|
||||
|
||||
// 派单
|
||||
dispatch(row) {
|
||||
console.log(row)
|
||||
this.querynursePersonname.detailsId = row.detailsId
|
||||
console.log(this.querynursePersonname.detailsId);
|
||||
// console.log(row)
|
||||
this.nurseName = "请选择护理员";
|
||||
this.innerdispatch = true;
|
||||
},
|
||||
// 姓名弹框
|
||||
clicknursePersonName() {
|
||||
// console.log(this.dispatchlist);
|
||||
getPerson(this.querynursePersonname).then((res) => {
|
||||
this.dispatchlist = res.rows;
|
||||
// this.total2 = res.total;
|
||||
console.log(this.dispatchlist);
|
||||
this.nursePersonNameinfo = true;
|
||||
});
|
||||
},
|
||||
// 姓名弹框确定按钮
|
||||
submitForm() {
|
||||
console.log(this.dispatchlist)
|
||||
var obj = {}
|
||||
obj.id = this.nursePersonid
|
||||
obj.nurseStationPersonId = this.querynursePersonname.detailsId
|
||||
dispatchsubmit(obj).then((res) => {
|
||||
this.nurseName = "请选择护理员";
|
||||
this.innerdispatch = false;
|
||||
|
||||
})
|
||||
},
|
||||
// 选择姓名按钮
|
||||
nursePersonclick(row) {
|
||||
this.nursePersonid = row.id
|
||||
this.nurseName = row.nursePersonName
|
||||
this.nursePersonNameinfo = false;
|
||||
console.log(row)
|
||||
|
||||
},
|
||||
// 确认取消预约
|
||||
// cencel(appointmentOrderId) {
|
||||
// confirmCancel(appointmentOrderId).then((res) => {
|
||||
// // this.nurseName="请选择护理员";
|
||||
// // this.innerdispatch = false;
|
||||
|
||||
// })
|
||||
// console.log(appointmentOrderId)
|
||||
// },
|
||||
|
||||
cencel(row) {
|
||||
console.log('row :>> ', this.querynursecencel.appointmentOrderId);
|
||||
this.querynursecencel.appointmentOrderId = row.appointmentOrderId
|
||||
// obj.appointmentOrderId=row.appointmentOrderId
|
||||
this.$confirm(
|
||||
'是否确认取消订单',
|
||||
"提示",
|
||||
{
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning",
|
||||
}
|
||||
)
|
||||
.then(() => {
|
||||
|
||||
confirmCancel(this.querynursecencel).then((res) => {
|
||||
this.$message.success("取消成功");
|
||||
this.getList();
|
||||
// console.log('this.OrderDetailsList :>> ', this.OrderDetailsList);
|
||||
});
|
||||
})
|
||||
.catch(() => { });
|
||||
},
|
||||
/** 查询护理类型信息列表 */
|
||||
getList() {
|
||||
@ -376,6 +644,13 @@ export default {
|
||||
this.queryParams.pageNum = 1;
|
||||
this.getList();
|
||||
},
|
||||
handleQuery2() {
|
||||
getPerson(this.querynursePerson).then((res) => {
|
||||
this.dispatchlist = res.data;
|
||||
console.log(this.dispatchlist);
|
||||
this.innerdispatch = true;
|
||||
});
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.resetForm("queryForm");
|
||||
@ -390,11 +665,15 @@ export default {
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
// console.log('row :>> ', row);
|
||||
this.$confirm("是否确认删除订单信息的数据项?", "提示", {
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning",
|
||||
})
|
||||
this.$confirm(
|
||||
'是否确认删除订单信息的数据项?',
|
||||
"提示",
|
||||
{
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning",
|
||||
}
|
||||
)
|
||||
.then(() => {
|
||||
deldetailed(row.appointmentOrderId).then((res) => {
|
||||
this.$message.success("删除成功");
|
||||
@ -418,21 +697,8 @@ export default {
|
||||
};
|
||||
</script>
|
||||
<style scoped>
|
||||
::v-deep .el-dialog__body {
|
||||
/* ::v-deep .el-dialog__body {
|
||||
height: 500px;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.clearfix:before,
|
||||
.clearfix:after {
|
||||
display: table;
|
||||
content: "";
|
||||
}
|
||||
.clearfix:after {
|
||||
clear: both
|
||||
}
|
||||
|
||||
.box-card {
|
||||
width: 1000px;
|
||||
}
|
||||
} */
|
||||
</style>
|
||||
|
||||
|
||||
@ -118,7 +118,7 @@
|
||||
>导入</el-button
|
||||
>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<!-- <el-col :span="1.5">
|
||||
<el-button
|
||||
type="warning"
|
||||
plain
|
||||
@ -128,7 +128,7 @@
|
||||
v-hasPermi="['system:person:export']"
|
||||
>导出</el-button
|
||||
>
|
||||
</el-col>
|
||||
</el-col> -->
|
||||
<right-toolbar
|
||||
:showSearch.sync="showSearch"
|
||||
@queryTable="getList"
|
||||
@ -141,20 +141,7 @@
|
||||
@selection-change="handleSelectionChange"
|
||||
>
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<!-- <el-table-column label="主键id" align="center" prop="id" /> -->
|
||||
<!-- <el-table-column label="护理站表id" align="center" prop="nurseStationId" /> -->
|
||||
<!-- <el-table-column
|
||||
label="所属科室编码"
|
||||
align="center"
|
||||
prop="departmentCode"
|
||||
|
||||
/> -->
|
||||
<!-- <el-table-column label="创建人id" align="center" prop="userId" /> -->
|
||||
<!-- <el-table-column
|
||||
label="护理站人员编码"
|
||||
align="center"
|
||||
prop="nursePersonCode"
|
||||
/> -->
|
||||
<el-table-column
|
||||
label="护理站名称"
|
||||
align="center"
|
||||
@ -162,7 +149,6 @@
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column label="科室名称" align="center" prop="departmentName" />
|
||||
<el-table-column label="编码" align="center" prop="departmentCode" />
|
||||
<el-table-column label="姓名" align="center" prop="nursePersonName" />
|
||||
|
||||
<el-table-column label="性别" align="center" prop="sex">
|
||||
@ -171,12 +157,6 @@
|
||||
{{ scope.row.sex == "FEMALE" ? "女" : "" }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="护理人职称" align="center" prop="nursePersonType">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.nursePersonType == "NURSE" ? "护士" : "" }}
|
||||
{{ scope.row.nursePersonType == "NURSE_TEACHER" ? "护理师" : "" }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="联系电话" align="center" prop="phone" />
|
||||
<el-table-column label="居住地址" align="center" prop="address" :show-overflow-tooltip="true"/>
|
||||
@ -243,7 +223,7 @@
|
||||
:prop="`nurseStationPersonList.${index}.nurseStationId`"
|
||||
>
|
||||
<el-button
|
||||
|
||||
|
||||
type=""
|
||||
@click="clickinnerVisible(item, index)"
|
||||
v-if="item.nurseStationName == '请选择护理站名称'"
|
||||
@ -257,7 +237,7 @@
|
||||
>{{ item.nurseStationName }}</el-button
|
||||
>
|
||||
<el-button
|
||||
|
||||
|
||||
type=""
|
||||
@click="clickinnerVisible(item, index)"
|
||||
v-else
|
||||
@ -682,14 +662,6 @@
|
||||
label-width="80px"
|
||||
:inline="true"
|
||||
>
|
||||
<!-- <el-form
|
||||
:model="queryParams2"
|
||||
ref="queryForm"
|
||||
size="small"
|
||||
:inline="true"
|
||||
v-show="showSearch"
|
||||
label-width="90px"
|
||||
> -->
|
||||
<el-form-item label="科室编码" prop="departmentCode" label-width="120">
|
||||
<el-input
|
||||
v-model="queryParams3.departmentCode"
|
||||
@ -899,6 +871,7 @@
|
||||
style="margin-left: -20px"
|
||||
>
|
||||
<el-button
|
||||
disabled
|
||||
type=""
|
||||
@click="clickinnerVisible2"
|
||||
v-if="nurseStationName == '请选择护理站名称'"
|
||||
@ -906,6 +879,7 @@
|
||||
>{{ nurseStationName }}</el-button
|
||||
>
|
||||
<el-button
|
||||
disabled
|
||||
type=""
|
||||
@click="clickinnerVisible2"
|
||||
v-else
|
||||
@ -1582,7 +1556,7 @@ export default {
|
||||
phone: null,
|
||||
address: null,
|
||||
};
|
||||
|
||||
|
||||
this.handleQuery();
|
||||
} else {
|
||||
console.log(1);
|
||||
@ -1671,7 +1645,7 @@ export default {
|
||||
/** 导入按钮操作 */
|
||||
handleImport() {
|
||||
this.upload.open = true;
|
||||
this.upload.title = "用户导入";
|
||||
this.upload.title = "护理站人员导入";
|
||||
},
|
||||
|
||||
/** 下载模板操作 */
|
||||
|
||||
@ -213,13 +213,13 @@
|
||||
<el-table-column label="所属区域" align="center" prop="area">
|
||||
|
||||
<template slot-scope="scope">
|
||||
|
||||
|
||||
<span>{{
|
||||
scope.row.areaName !== "null-null-null-null"
|
||||
? scope.row.areaName
|
||||
: ""
|
||||
}}</span>
|
||||
|
||||
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@ -245,7 +245,8 @@
|
||||
<el-table-column label="联系电话" align="center" prop="phone" />
|
||||
<el-table-column label="负责人" align="center" prop="dutyPerson" />
|
||||
<el-table-column label="负责人电话" align="center" prop="dutyPhone" />
|
||||
<el-table-column label="排序" align="center" prop="sort" />
|
||||
<el-table-column label="创建时间" align="center" prop="createTime" />
|
||||
<el-table-column label="创建人" align="center" prop="createBy" />
|
||||
<el-table-column
|
||||
label="操作"
|
||||
align="center"
|
||||
@ -509,25 +510,39 @@
|
||||
v-model="form.agencyIntroduce"
|
||||
></editor>
|
||||
</el-form-item>
|
||||
<el-form-item label="护理站头像" prop="stationPictureUrl" required>
|
||||
<el-form-item
|
||||
label="护理站头像"
|
||||
prop="stationPictureUrl"
|
||||
required
|
||||
style="margin-left: 10%"
|
||||
>
|
||||
<stationAcatar
|
||||
@imgUrl="imgUrl"
|
||||
:img="form.stationPictureUrl"
|
||||
:type="'stationPictureUrl'"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="护理站简介头像" prop="stationIntroducePcitureUrl">
|
||||
<el-form-item
|
||||
label="护理站简介头像"
|
||||
prop="stationIntroducePcitureUrl"
|
||||
style="margin-left: 10%"
|
||||
>
|
||||
<stationAcatar
|
||||
@imgUrl="imgUrl2"
|
||||
:img="form.stationIntroducePcitureUrl"
|
||||
:type="'stationIntroducePcitureUrl'"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="护理站标签信息" required label-width="130px">
|
||||
<el-form-item
|
||||
label="护理站标签信息"
|
||||
required
|
||||
label-width="130px"
|
||||
style="margin-left: 0px"
|
||||
>
|
||||
<el-table
|
||||
ref="looknurseStationLabel"
|
||||
:data="looknurseStationLabel"
|
||||
style="margin-top: 20px"
|
||||
style="margin-top: 50px"
|
||||
>
|
||||
<el-table-column label="标签名称" width="190" align="center">
|
||||
<template slot-scope="scope">
|
||||
@ -559,7 +574,7 @@
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
@click="delnurseStationLabelList(scope.row)"
|
||||
@click="delnurseStationLabelList(scope.$index,scope.row)"
|
||||
>删除</el-button
|
||||
>
|
||||
</template>
|
||||
@ -729,7 +744,7 @@ export default {
|
||||
// 是否显示弹出层
|
||||
open: false,
|
||||
typeopen: false,
|
||||
nurseStationLabelopen: false,
|
||||
// nurseStationLabelopen: false,
|
||||
//权限查询
|
||||
getListByUserquery: {
|
||||
pageNum: 1,
|
||||
@ -831,25 +846,52 @@ export default {
|
||||
console.log(imgUrl);
|
||||
this.form.stationIntroducePcitureUrl = imgUrl;
|
||||
},
|
||||
delnurseStationLabelList(item) {
|
||||
console.log(item);
|
||||
if (item.ids && !item.id) {
|
||||
if (this.looknurseStationLabel.length == 1) {
|
||||
this.$message.error("最后一条不可删除");
|
||||
} else {
|
||||
this.looknurseStationLabel = this.looknurseStationLabel.filter(
|
||||
(e) => e.ids != item.ids
|
||||
);
|
||||
}
|
||||
} else if (!item.ids && item.id) {
|
||||
if (this.looknurseStationLabel.length == 1) {
|
||||
this.$message.error("最后一条不可删除");
|
||||
} else {
|
||||
this.looknurseStationLabel = this.looknurseStationLabel.filter(
|
||||
(e) => e.id != item.id
|
||||
);
|
||||
}
|
||||
delnurseStationLabelList(index,item) {
|
||||
console.log(index,item);
|
||||
console.log()
|
||||
// this.looknurseStationLabel.splice(index,1)
|
||||
if(this.looknurseStationLabel.length===1){
|
||||
this.looknurseStationLabel = [
|
||||
{
|
||||
labelDescription: "",
|
||||
sort: "",
|
||||
ids: 1,
|
||||
},
|
||||
];
|
||||
}else{
|
||||
this.looknurseStationLabel.splice(index,1)
|
||||
}
|
||||
// if (item.ids && !item.id) {
|
||||
// if (this.looknurseStationLabel.length == 1) {
|
||||
// // this.$message.error("最后一条不可删除");
|
||||
// this.looknurseStationLabel = [
|
||||
// {
|
||||
// labelDescription: "",
|
||||
// sort: "",
|
||||
// ids: 1,
|
||||
// },
|
||||
// ];
|
||||
// } else {
|
||||
// this.looknurseStationLabel = this.looknurseStationLabel.filter(
|
||||
// (e) => e.ids != item.ids
|
||||
// );
|
||||
// }
|
||||
// } else if (!item.ids && item.id) {
|
||||
// if (this.looknurseStationLabel.length == 1) {
|
||||
// // this.$message.error("最后一条不可删除");
|
||||
// this.nurseStationLabelList = [
|
||||
// {
|
||||
// labelDescription: "",
|
||||
// sort: "",
|
||||
// ids: 1,
|
||||
// },
|
||||
// ];
|
||||
// } else {
|
||||
// this.looknurseStationLabel = this.looknurseStationLabel.filter(
|
||||
// (e) => e.id != item.id
|
||||
// );
|
||||
// }
|
||||
// }
|
||||
console.log(this.form.nurseStationLabelList);
|
||||
},
|
||||
addnurseStationLabelList() {
|
||||
@ -867,14 +909,14 @@ export default {
|
||||
console.log(this.looknurseStationLabel);
|
||||
},
|
||||
//查看标签
|
||||
looknurseStationLabelList(item) {
|
||||
console.log(item);
|
||||
nurseStationlabel(item.id).then((res) => {
|
||||
this.looknurseStationLabel = res.rows;
|
||||
this.nurseStationLabelopen = true;
|
||||
console.log(this.looknurseStationLabel);
|
||||
});
|
||||
},
|
||||
// looknurseStationLabelList(item) {
|
||||
// console.log(item);
|
||||
// nurseStationlabel(item.id).then((res) => {
|
||||
// this.looknurseStationLabel = res.rows;
|
||||
// this.nurseStationLabelopen = true;
|
||||
// console.log(this.looknurseStationLabel);
|
||||
// });
|
||||
// },
|
||||
//查看类型
|
||||
looktype(item) {
|
||||
// console.log(item);
|
||||
@ -967,6 +1009,22 @@ export default {
|
||||
/** 搜索按钮操作 */
|
||||
liststationinfo() {
|
||||
listStation(this.queryParams).then((response) => {
|
||||
response.rows.forEach((e) => {
|
||||
if (e.sysAreaVOList == []) {
|
||||
} else if (e.sysAreaVOList == null) {
|
||||
} else if (!e.sysAreaVOList) {
|
||||
} else if (e.sysAreaVOList.length == 0) {
|
||||
} else if (e.sysAreaVOList.length > 0) {
|
||||
e.area =
|
||||
e.sysAreaVOList[0].provinceName +
|
||||
"-" +
|
||||
e.sysAreaVOList[0].cityName +
|
||||
"-" +
|
||||
e.sysAreaVOList[0].regionName +
|
||||
"-" +
|
||||
e.sysAreaVOList[0].streetName;
|
||||
}
|
||||
});
|
||||
this.stationList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
|
||||
@ -171,7 +171,7 @@
|
||||
prop="consumableCode"
|
||||
/>
|
||||
<el-table-column
|
||||
label="服务项目耗材包详情"
|
||||
label="耗材包详情"
|
||||
align="center"
|
||||
prop="consumableDetail"
|
||||
/>
|
||||
@ -185,7 +185,9 @@
|
||||
align="center"
|
||||
prop="consumablePrice"
|
||||
/>
|
||||
<el-table-column label="排序" align="center" prop="sort" />
|
||||
|
||||
<el-table-column label="创建时间" align="center" prop="createTime" />
|
||||
<el-table-column label="创建人" align="center" prop="createBy" />
|
||||
<el-table-column
|
||||
label="操作"
|
||||
align="center"
|
||||
@ -230,6 +232,7 @@
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
|
||||
<el-form-item label="所属护理站" prop="nurseStationId">
|
||||
<el-button
|
||||
disabled
|
||||
style="width: 360px; text-align: left; height: 36px; color: #c0c4cc"
|
||||
@click="open3 = true"
|
||||
v-if="form.nurseStationName == '请选择所属护理站'"
|
||||
@ -237,6 +240,7 @@
|
||||
{{ form.nurseStationName }}
|
||||
</el-button>
|
||||
<el-button
|
||||
disabled
|
||||
style="width: 360px; text-align: left; height: 36px"
|
||||
@click="open3 = true"
|
||||
>
|
||||
@ -319,7 +323,12 @@
|
||||
{{ item.nurseStationName }}
|
||||
</el-button>
|
||||
<el-button
|
||||
style="width: 208px; text-align: left; height: 36px;overflow: hidden;"
|
||||
style="
|
||||
width: 208px;
|
||||
text-align: left;
|
||||
height: 36px;
|
||||
overflow: hidden;
|
||||
"
|
||||
@click="choicenurseStation(item, index)"
|
||||
v-else
|
||||
>
|
||||
@ -334,7 +343,7 @@
|
||||
<el-input
|
||||
v-model="item.consumableDetail"
|
||||
placeholder="请输入服务项目耗材包详情"
|
||||
maxlength="50"
|
||||
maxlength="50"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
@ -526,7 +535,12 @@
|
||||
<el-table-column label="护理站经度" align="center" prop="longitude" />
|
||||
<el-table-column label="护理站纬度" align="center" prop="latitude" />
|
||||
<el-table-column label="联系电话" align="center" prop="phone" />
|
||||
<el-table-column label="护理站地址" align="center" prop="address" :show-overflow-tooltip="true"/>
|
||||
<el-table-column
|
||||
label="护理站地址"
|
||||
align="center"
|
||||
prop="address"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column label="负责人" align="center" prop="dutyPerson" />
|
||||
<el-table-column label="负责人电话" align="center" prop="dutyPhone" />
|
||||
</el-table>
|
||||
@ -625,7 +639,12 @@
|
||||
<el-table-column label="护理站经度" align="center" prop="longitude" />
|
||||
<el-table-column label="护理站纬度" align="center" prop="latitude" />
|
||||
<el-table-column label="联系电话" align="center" prop="phone" />
|
||||
<el-table-column label="护理站地址" align="center" prop="address" :show-overflow-tooltip="true"/>
|
||||
<el-table-column
|
||||
label="护理站地址"
|
||||
align="center"
|
||||
prop="address"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column label="负责人" align="center" prop="dutyPerson" />
|
||||
<el-table-column label="负责人电话" align="center" prop="dutyPhone" />
|
||||
</el-table>
|
||||
@ -873,8 +892,8 @@ export default {
|
||||
this.$refs.upload.clearFiles();
|
||||
this.$alert(
|
||||
"<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" +
|
||||
response.msg +
|
||||
"</div>",
|
||||
response.msg +
|
||||
"</div>",
|
||||
"导入结果",
|
||||
{ dangerouslyUseHTMLString: true }
|
||||
);
|
||||
@ -1105,7 +1124,7 @@ export default {
|
||||
this.getList();
|
||||
this.$modal.msgSuccess("删除成功");
|
||||
})
|
||||
.catch(() => {});
|
||||
.catch(() => { });
|
||||
},
|
||||
/** 导出按钮操作 */
|
||||
handleExport() {
|
||||
@ -1119,7 +1138,7 @@ export default {
|
||||
},
|
||||
/** 导入按钮操作 */
|
||||
handleport() {
|
||||
this.upload.title = "用户导入";
|
||||
this.upload.title = "护理站耗材导入";
|
||||
this.upload.open = true;
|
||||
},
|
||||
|
||||
|
||||
@ -194,17 +194,28 @@
|
||||
align="center"
|
||||
prop="nurseItemName"
|
||||
/>
|
||||
<el-table-column
|
||||
<!-- <el-table-column
|
||||
label="护理项目内容简介"
|
||||
align="center"
|
||||
prop="nurseItemContent"
|
||||
/>
|
||||
/> -->
|
||||
<el-table-column
|
||||
label="提前预约时长(h)"
|
||||
align="center"
|
||||
prop="advanceAppointDuration"
|
||||
/>
|
||||
<el-table-column label="排序" align="center" prop="sort" />
|
||||
<el-table-column
|
||||
label="创建时间"
|
||||
align="center"
|
||||
prop="createTime"
|
||||
/>
|
||||
<el-table-column
|
||||
label="创建人"
|
||||
align="center"
|
||||
prop="createBy"
|
||||
/>
|
||||
|
||||
<!-- <el-table-column label="排序" align="center" prop="sort" /> -->
|
||||
<el-table-column
|
||||
label="操作"
|
||||
align="center"
|
||||
@ -427,7 +438,7 @@
|
||||
size="small"
|
||||
plain
|
||||
@click="listStationConsumableinfo"
|
||||
>点击添加护理项目耗材</el-button
|
||||
>添加护理项目耗材</el-button
|
||||
>
|
||||
<el-table
|
||||
ref="singleTable"
|
||||
|
||||
@ -7,7 +7,7 @@ function resolve(dir) {
|
||||
|
||||
const CompressionPlugin = require('compression-webpack-plugin')
|
||||
|
||||
const name = process.env.VUE_APP_TITLE || '全医通护理站管理平台' // 网页标题
|
||||
const name = process.env.VUE_APP_TITLE || '泉医到家护理站管理平台' // 网页标题
|
||||
|
||||
const port = process.env.port || process.env.npm_config_port || 80 // 端口
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user