|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<view class="main">
|
|
|
- <uni-nav-bar dark :fixed="true" shadow background-color="#007AFF" status-bar left-icon="left" left-text="返回" :leftWidth=120 :rightWidth=120 :height=100 :width="1200"
|
|
|
+ <uni-nav-bar dark :fixed="true" shadow background-color="#18C7B0" status-bar left-icon="left" left-text="返回" :leftWidth=120 :rightWidth=120 :height="100" :width="1200"
|
|
|
title="调配详情" @clickLeft="handleBack"
|
|
|
/>
|
|
|
|
|
@@ -23,7 +23,7 @@
|
|
|
<view class="row">姓名:{{v.name}}</view>
|
|
|
<view class="row">性别:{{v.sex}}</view>
|
|
|
<view class="row">年龄:{{v.age}}岁</view>
|
|
|
- <view class="row">电话:{{v.tel}}</view>
|
|
|
+ <view class="row">电话:{{v.contactNumber}}</view>
|
|
|
<view class="row status">当前处方状态:{{v.status}}</view>
|
|
|
</view>
|
|
|
<view class="r2">
|
|
@@ -31,7 +31,7 @@
|
|
|
<view class="row">临床诊断:{{v.disName}}—{{v.symName}}</view>
|
|
|
<view class="row">开方时间:{{v.prescriptionTime}}</view>
|
|
|
</view>
|
|
|
- <view class="r3">联系地址:{{v.addr}}</view>
|
|
|
+ <view class="r3">联系地址:{{v.address}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="rp">
|
|
@@ -41,26 +41,26 @@
|
|
|
<view class="lists">
|
|
|
<view class="item" v-for="(x, i) in v.rp" :key="i">
|
|
|
<view class="le tag-view">
|
|
|
- <uni-tag :inverted="!selectRps.includes(x)" :text=x.name+x.num @click="handleGetRps(x)" />
|
|
|
+ <uni-tag :inverted="!selectRps.includes(x)" :text="x.matName+x.matDose+x.matUnitName" @click="handleGetRps(x)" />
|
|
|
</view>
|
|
|
<view class="rig">
|
|
|
- <view class="up"> {{x.tips}}</view>
|
|
|
+ <view class="up"> {{x.matUsageName}}</view>
|
|
|
<view class="do"> {{x.sign}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="footer">
|
|
|
<view class="js">
|
|
|
- 剂数:{{v.pies}}
|
|
|
+ 剂数:{{v.number}}
|
|
|
<view v-if="v.pies_tips!==''" class="pies_tips">
|
|
|
({{v.pies_tips}})
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="js">{{v.med_type}}</view>
|
|
|
- <view class="js">{{v.eat_type}}</view>
|
|
|
- <view class="js">每次{{v.capa}}</view>
|
|
|
- <view class="js">{{v.freque}}</view>
|
|
|
- <view class="freque">{{v.eat_tips}}</view>
|
|
|
+ <view class="js">{{v.dosageForm}}</view>
|
|
|
+ <view class="js">{{v.prescriptionUsage}}</view>
|
|
|
+ <view class="js">每次{{v.concentration}}</view>
|
|
|
+ <view class="js">{{v.frequency}}</view>
|
|
|
+ <view class="freque">{{v.medicationTime}}</view>
|
|
|
</view>
|
|
|
<view class="rp-tips">{{v.rp_tips}}</view>
|
|
|
</view>
|
|
@@ -91,27 +91,46 @@
|
|
|
</view>
|
|
|
<view class="comment">
|
|
|
<view class="z">注:</view>
|
|
|
- <text>{{v.comment}}</text>
|
|
|
+ <text>{{v.entrust}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="upload">
|
|
|
<view class="title">上传照片</view>
|
|
|
- <uni-file-picker
|
|
|
+ <!-- <uni-file-picker
|
|
|
class="plugin"
|
|
|
+ ref="files"
|
|
|
v-model="depolyImage"
|
|
|
file-mediatype="image"
|
|
|
mode="grid"
|
|
|
file-extname="png,jpg"
|
|
|
:image-styles="depolyImageStyles"
|
|
|
:limit="3"
|
|
|
+ @select="uploadFiles"
|
|
|
@success="success"
|
|
|
- />
|
|
|
+ /> -->
|
|
|
+ <el-upload
|
|
|
+ v-model:file-list="photos"
|
|
|
+ class="plugin"
|
|
|
+ action="http://zc3gc9.natappfree.cc/common/upload"
|
|
|
+ multiple
|
|
|
+ :on-preview="handlePreview"
|
|
|
+ :on-remove="handleRemove"
|
|
|
+ :on-success="handleSave"
|
|
|
+ :limit="3"
|
|
|
+ >
|
|
|
+ <el-button type="primary">Click to upload</el-button>
|
|
|
+ <template #tip>
|
|
|
+ <div class="el-upload__tip">
|
|
|
+ jpg/png files with a size less than 500KB.
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-upload>
|
|
|
</view>
|
|
|
|
|
|
<view class="cooment">
|
|
|
<view class="title">备注内容</view>
|
|
|
<view class="tex">
|
|
|
- <input placeholder="请输入" placeholder-style="font-size: 30px;" height="40px" @input="bindTextInput" class="input"/>
|
|
|
+ <textarea placeholder="请输入备注内容" v-model="editForm.comments" placeholder-style="font-size: 30px;" height="100px" @input="bindTextInput" class="input" ></textarea>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="radio">
|
|
@@ -131,7 +150,7 @@
|
|
|
<view class="lef">
|
|
|
<view class="baracode">
|
|
|
<w-barcode class="cav" :options="preseObj"></w-barcode>
|
|
|
- <view class="barnum">NO.{{v.pres_id}}</view>
|
|
|
+ <view class="barnum">NO.{{v.preseId}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="rig">
|
|
@@ -154,7 +173,9 @@
|
|
|
|
|
|
<script setup>
|
|
|
import { onMounted, ref, getCurrentInstance } from 'vue'
|
|
|
-import { selectOrderDetail } from "@/static/api.js"
|
|
|
+import { selectOrderDetail, upload } from "@/static/js/request.js"
|
|
|
+import { saveDepoly } from '@/static/js/api.js'
|
|
|
+
|
|
|
import { onLoad } from '@dcloudio/uni-app'
|
|
|
const preseId = ref(11220822134401)
|
|
|
const preseObj = ref({
|
|
@@ -187,87 +208,76 @@ const barOpations = ref({
|
|
|
const selectRps = ref([])
|
|
|
|
|
|
const isPrint = ref(true)
|
|
|
-
|
|
|
-const success = ()=>{
|
|
|
- console.log('uni-file-picker',depolyImage.value)
|
|
|
-}
|
|
|
-
|
|
|
-const bindTextInput = (e)=>{
|
|
|
- console.log(e.detail.value)
|
|
|
-}
|
|
|
+const photos = ref([])
|
|
|
const v=ref({
|
|
|
preNo:11220822134401,
|
|
|
presType:'普通处方',
|
|
|
name:'李某',
|
|
|
sex:'男',
|
|
|
age:35,
|
|
|
- tel:'13888888888',
|
|
|
+ contactNumber:'13888888888',
|
|
|
pres_status: '发药',
|
|
|
office:'中医内科',
|
|
|
disName:'胃脘痛病',
|
|
|
symName:'脾胃虚寒证',
|
|
|
prescriptionTime:'2023-06-01 15:58',
|
|
|
- addr:'浙江省某某事某某去某某事中医院门诊楼三楼302是',
|
|
|
+ address:'浙江省某某事某某去某某事中医院门诊楼三楼302是',
|
|
|
rp:[
|
|
|
- {name:'车前子',num:'6g',tips:'包煎',sign:'医生签名'},
|
|
|
- {name:'车前子',num:'6g',tips:'先煎',sign:'医生签名'},
|
|
|
- {name:'车前子',num:'6g',tips:'包煎',sign:'医生签名'},
|
|
|
- {name:'车前子',num:'6g',tips:'包煎',sign:'医生签名'},
|
|
|
- {name:'车前子',num:'6g',tips:'先煎',sign:'医生签名'},
|
|
|
- {name:'车前子',num:'6g',tips:'包煎',sign:'医生签名'},
|
|
|
- {name:'车前子',num:'6g',tips:'',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'先煎',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'先煎',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'先煎',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'先煎',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'包煎',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'包煎',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'包煎',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'包煎',sign:'医生签名'},
|
|
|
- {name:'车前子',num:'6g',tips:'先煎',sign:'医生签名'},
|
|
|
- {name:'车前子',num:'6g',tips:'包煎',sign:'医生签名'},
|
|
|
- {name:'车前子',num:'6g',tips:'包煎',sign:'医生签名'},
|
|
|
- {name:'车前子',num:'6g',tips:'先煎',sign:'医生签名'},
|
|
|
- {name:'车前子',num:'6g',tips:'包煎',sign:'医生签名'},
|
|
|
- {name:'车前子',num:'6g',tips:'',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'先煎',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'先煎',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'先煎',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'先煎',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'包煎',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'包煎',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'包煎',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'',sign:''},
|
|
|
- {name:'车前子',num:'6g',tips:'',sign:''}
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:''},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:''},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:''},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
|
|
|
+ {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:''}
|
|
|
],
|
|
|
- pies:3,
|
|
|
+ number:3,
|
|
|
pies_tips:'待见',
|
|
|
- med_type:'汤剂',
|
|
|
- eat_type:'煎服',
|
|
|
- capa:'200ml',
|
|
|
- freque:'一日三次',
|
|
|
- eat_tips:'饭后服',
|
|
|
+ dosageForm:'汤剂',
|
|
|
+ prescriptionUsage:'煎服',
|
|
|
+ concentration:'200ml',
|
|
|
+ frequency:'一日三次',
|
|
|
+ medicationTime:'饭后服',
|
|
|
rp_tips:'注意多休息,饮食清单。',
|
|
|
- money:{
|
|
|
- drugs_amount: 187.00,
|
|
|
- cook_fee:30.00,
|
|
|
- delie_fee:10.00,
|
|
|
- summary: 227.00,
|
|
|
- },
|
|
|
+
|
|
|
+ prescriptionSum: 187.00,
|
|
|
+ daijianCost:30.00,
|
|
|
+ distributionCost:10.00,
|
|
|
+ prescriptionTotleSum: 227.00,
|
|
|
+
|
|
|
service:{
|
|
|
extra_doc:'A医生',
|
|
|
check_doc:'B医生',
|
|
@@ -278,12 +288,59 @@ const v=ref({
|
|
|
pack:'大宝人',
|
|
|
dispen:'发药人',
|
|
|
},
|
|
|
- comment:'1、本处方当日有效\n 2、取药时请您当面核对。。。。 \n 3、延长处方用量时间原油:慢性病 其他老年病 外地 其他'
|
|
|
+ entrust:'1、本处方当日有效\n 2、取药时请您当面核对。。。。 \n 3、延长处方用量时间原油:慢性病 其他老年病 外地 其他'
|
|
|
+})
|
|
|
+
|
|
|
+const editForm =ref({
|
|
|
+ urls:[],
|
|
|
+ userId:uni.getStorageSync('userId'),
|
|
|
+ comments:'',
|
|
|
+ coreId: v.value.preNo
|
|
|
})
|
|
|
onMounted(() => {
|
|
|
|
|
|
})
|
|
|
|
|
|
+
|
|
|
+const handleRemove = (file, uploadFiles) => {
|
|
|
+ console.log(file, uploadFiles)
|
|
|
+}
|
|
|
+
|
|
|
+const handlePreview = (uploadFile) => {
|
|
|
+ console.log(uploadFile)
|
|
|
+}
|
|
|
+
|
|
|
+// const uploadFiles = (e)=>{
|
|
|
+// const tempFilePaths = e.tempFilePaths;
|
|
|
+// //获取图片临时路径
|
|
|
+// const imgUrl=tempFilePaths[0]
|
|
|
+// uni.uploadFile({
|
|
|
+// //图片上传地址
|
|
|
+// url: 'http://zc3gc9.natappfree.cc/common/upload',
|
|
|
+// filePath: e.tempFilePaths[0],
|
|
|
+// //上传名字,注意与后台接收的参数名一致
|
|
|
+// name: 'imgUrl',
|
|
|
+// //设置请求头
|
|
|
+// header:{"Content-Type": "multipart/form-data"},
|
|
|
+// //请求成功,后台返回自己服务器上的图片地址
|
|
|
+// success: (uploadFileRes) => {
|
|
|
+// console.log('uploadFileRes',JSON.parse(uploadFileRes.data));
|
|
|
+// //处理数据
|
|
|
+// const path=JSON.parse(uploadFileRes.data)
|
|
|
+// //赋值,前端渲染
|
|
|
+// editForm.value.photo=path.imgUrl
|
|
|
+// }
|
|
|
+// });
|
|
|
+// }
|
|
|
+// const success = ()=>{
|
|
|
+// console.log('uni-file-picker',depolyImage.value)
|
|
|
+// }
|
|
|
+
|
|
|
+
|
|
|
+const bindTextInput = (e)=>{
|
|
|
+ console.log(e.detail.value)
|
|
|
+}
|
|
|
+
|
|
|
onLoad(async(options) => {
|
|
|
console.log('options', options)
|
|
|
const token = uni.getStorageSync('token')
|
|
@@ -291,27 +348,38 @@ onLoad(async(options) => {
|
|
|
const params = {
|
|
|
token: token,
|
|
|
data: {
|
|
|
- preId: options.preId,
|
|
|
- userId: userId,
|
|
|
+ id: options.id,
|
|
|
}
|
|
|
}
|
|
|
- const {data:res } = selectOrderDetail(params)
|
|
|
+ console.log("params",params)
|
|
|
+ const {data:res} = await selectOrderDetail(params)
|
|
|
+ // console.log('data',data.data)
|
|
|
+ // const res.code = 200
|
|
|
if (res.code === 200) {
|
|
|
v.prescriptionTime = res.data.prescriptionTime,
|
|
|
v.value.name = res.data.name,
|
|
|
v.value.sex = res.data.sex,
|
|
|
v.value.age = res.data.age,
|
|
|
+ v.value.contactNumber = res.data.contactNumber
|
|
|
+ v.value.address = res.data.address
|
|
|
+ v.value.concentration = res.data.concentration
|
|
|
+ v.value.frequency = res.data.frequency
|
|
|
+ v.value.medicationTime = res.data.medicationTime
|
|
|
|
|
|
v.value.disName = res.data.disName,
|
|
|
v.value.symName = res.data.symName,
|
|
|
v.value.preNo = res.data.preNo,
|
|
|
v.value.department = res.data.department,
|
|
|
v.value.dosageForm = res.data.dosageForm,
|
|
|
+ v.value.prescriptionUsage = res.data.prescriptionUsage,
|
|
|
+
|
|
|
v.value.number = res.data.number,
|
|
|
v.value.prescriptionSum = res.data.prescriptionSum,
|
|
|
v.value.prescriptionTotalSum = res.data.prescriptionTotalSum,
|
|
|
v.value.daijianCost = res.data.daijianCost,
|
|
|
v.value.distributionCost = res.data.distributionCost,
|
|
|
+ v.value.prescriptionTotleSum = res.data.prescriptionTotleSum,
|
|
|
+
|
|
|
v.value.entrust = res.data.entrust,
|
|
|
v.value.rp = res.data.detailList
|
|
|
|
|
@@ -361,26 +429,54 @@ const handleBack =()=>{
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-const handleSubmit = ()=>{
|
|
|
- if(!isPrint){
|
|
|
+const handleSubmit = async()=>{
|
|
|
+ console.log('handleSubmit>>>',editForm.value)
|
|
|
+ console.log('直接调用接口,然后打印')
|
|
|
+ const {data:res} = await saveDepoly({
|
|
|
+ token: uni.getStorageSync('token'),
|
|
|
+ data: JSON.stringify(editForm.value)
|
|
|
+ })
|
|
|
+ if(res.code===200){
|
|
|
+ console.log('depoly success>>>')
|
|
|
+
|
|
|
+ }
|
|
|
+ if(isPrint.value){
|
|
|
// 直接调用接口,然后打印
|
|
|
print("#printMe")
|
|
|
- console.log('直接调用接口,然后打印')
|
|
|
+ uni.redirectTo({
|
|
|
+ url:"/pages/index/index"
|
|
|
+ })
|
|
|
+
|
|
|
} else {
|
|
|
// 弹窗提醒
|
|
|
// console.log("handleSubmit proxy.$refs.alertDialog",proxy.$refs.alertDialog)
|
|
|
proxy.$refs.alertDialog.open('center')
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
|
|
|
const dialogConfirm = ()=>{
|
|
|
console.log('dialogConfirm直接调用接口,然后打印')
|
|
|
print("#printMe")
|
|
|
+ uni.redirectTo({
|
|
|
+ url:"/pages/index/index"
|
|
|
+ })
|
|
|
}
|
|
|
const dialogClose = ()=>{
|
|
|
console.log('dialogClose直接调用接口,不打印')
|
|
|
+ uni.redirectTo({
|
|
|
+ url:"/pages/index/index"
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+const handleSave = (file, uploadFiles)=>{
|
|
|
+ console.log('upload file success>>',file, uploadFiles)
|
|
|
+ //TODO 临时存了返回消息,等接口做完后修改
|
|
|
+ editForm.value.urls.push(file.msg)
|
|
|
+ // 上传成功的文件存数组editForm.photos
|
|
|
}
|
|
|
|
|
|
+
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|
|
@@ -638,7 +734,7 @@ const dialogClose = ()=>{
|
|
|
}
|
|
|
}
|
|
|
.cooment{
|
|
|
- margin: 0 10px 10px 10px;
|
|
|
+ margin: 0 10px;
|
|
|
background-color: #fff;
|
|
|
flex-direction:column;
|
|
|
align-items: center;
|
|
@@ -655,7 +751,7 @@ const dialogClose = ()=>{
|
|
|
border: 1px solid #cfcfcf;
|
|
|
height: 60px;
|
|
|
.input{
|
|
|
- height: 30px;
|
|
|
+ height: 60px;
|
|
|
font-size: 30px;
|
|
|
padding-left: 10px;
|
|
|
}
|
|
@@ -664,24 +760,29 @@ const dialogClose = ()=>{
|
|
|
.radio{
|
|
|
display: flex;
|
|
|
margin: 0 10px 10px 10px;
|
|
|
- // background-color: #fff;
|
|
|
+ background-color: #fff;
|
|
|
+ padding: 0 20px 100px;
|
|
|
flex-direction:column;
|
|
|
// align-items: center;
|
|
|
font-size: 20px!important;
|
|
|
}
|
|
|
.submit{
|
|
|
display: flex;
|
|
|
- margin: 40px 10px;
|
|
|
- // background-color: #fff;
|
|
|
+ margin: 30px 0;
|
|
|
+ background-color: #fff;
|
|
|
align-items: center;
|
|
|
+ width: 1200px;
|
|
|
+ height: 100px;
|
|
|
|
|
|
.bu{
|
|
|
display: flex;
|
|
|
justify-content:center;
|
|
|
align-items: center;
|
|
|
- height: 60px;
|
|
|
- width: 600px;
|
|
|
+ height: 65px;
|
|
|
+ width: 1074px;
|
|
|
font-size: 30px;
|
|
|
+ background-color: #18c7b0;
|
|
|
+ color:#fff;
|
|
|
}
|
|
|
}
|
|
|
|