|
@@ -325,8 +325,8 @@
|
|
|
<el-form-item label="咨询的问题" prop="title">
|
|
|
<el-input type="textarea" rows="2" v-model="form.title" placeholder="" />
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="检测报告或者患处照片" prop="imgs">
|
|
|
- <el-input type="textarea" rows="2" v-model="form.imgs" placeholder="" />
|
|
|
+ <el-form-item label="检测报告或者患处照片" prop="reportImages">
|
|
|
+ <ImageUpload v-model="form.reportImages" type="image" :num="1" :width="150" :height="150" />
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-form>
|
|
@@ -364,9 +364,10 @@ import addUser from "../components/addUser";
|
|
|
import addPatient from "../components/addPatient";
|
|
|
import { listPatient } from "@/api/store/patient";
|
|
|
import {getWxaCodeInquiryOrderUnLimit} from "../../../api/store/inquiryOrder";
|
|
|
+import ImageUpload from "@/views/qw/sop/ImageUpload";
|
|
|
export default {
|
|
|
name: "ofast",
|
|
|
- components: { inquiryOrderDetails,addUser,addPatient },
|
|
|
+ components: { inquiryOrderDetails,addUser,addPatient,ImageUpload },
|
|
|
data() {
|
|
|
return {
|
|
|
show:{
|
|
@@ -394,6 +395,7 @@ export default {
|
|
|
total: 0,
|
|
|
// 问诊订单表格数据
|
|
|
inquiryOrderList: [],
|
|
|
+ userStatusOptions:[],
|
|
|
// 弹出层标题
|
|
|
title: "",
|
|
|
// 是否显示弹出层
|
|
@@ -428,6 +430,7 @@ export default {
|
|
|
patientName:null,
|
|
|
sendName:null,
|
|
|
phone:null,
|
|
|
+ reportImages:null,
|
|
|
},
|
|
|
phone:null,
|
|
|
// 表单参数
|
|
@@ -487,6 +490,9 @@ export default {
|
|
|
this.getDicts("sys_inquiry_pay").then(response => {
|
|
|
this.inquiryPayOptions = response.data;
|
|
|
});
|
|
|
+ this.getDicts("sys_company_status").then(response => {
|
|
|
+ this.userStatusOptions = response.data;
|
|
|
+ });
|
|
|
this.getDicts("sys_inquiry_order_type").then(response => {
|
|
|
this.inquiryOrderOptions = response.data;
|
|
|
});
|