parent
a2198832b3
commit
1a8b630969
@ -1,2 +0,0 @@
|
||||
*
|
||||
!.gitignore
|
||||
@ -1,3 +1,4 @@
|
||||
ENV = 'development'
|
||||
VITE_APP_API = '/api/'
|
||||
VITE_APP_WXCODE_URL = 'http://192.168.31.106/wxLogin/development'
|
||||
VITE_APP_WXCODE_URL = 'http://192.168.31.106/wxLogin/development'
|
||||
VITE_APPID = "wx526430047d34c85c"
|
||||
@ -1,4 +1,4 @@
|
||||
ENV = 'production'
|
||||
VITE_APP_API = 'https://www.yanzai.vip/common/laravel/public/api/'
|
||||
VITE_APP_WXCODE_URL = 'http://www.yanzai.vip/common/laravel/public/wxLogin/production'
|
||||
|
||||
VITE_APPID = "wx526430047d34c85c"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 230 KiB |
@ -0,0 +1,21 @@
|
||||
<template>
|
||||
<div>
|
||||
<img
|
||||
style="width: 100%;"
|
||||
|
||||
src="../assets/report.png"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, onMounted } from 'vue';
|
||||
|
||||
|
||||
onMounted(()=>{
|
||||
|
||||
})
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
@ -0,0 +1,88 @@
|
||||
<template>
|
||||
<div class="uploadfiles">
|
||||
<van-steps active="0" active-icon="checked" active-color="#33cdc9">
|
||||
<van-step>类型选择(上传)</van-step>
|
||||
<van-step>选择日期</van-step>
|
||||
<van-step>预约完成</van-step>
|
||||
</van-steps>
|
||||
<div class="head" >
|
||||
请上传"{{needinfo.label}}"相关证件
|
||||
</div>
|
||||
<div v-for="(item,index) in needinfo.fileList">
|
||||
<div class="l_title">
|
||||
{{item.label}}
|
||||
</div>
|
||||
<van-uploader :ref="`uploader${index}`" :name="index" :key="index" :after-read="afterRead">
|
||||
<van-button icon="plus" plain size="small" type="primary">上传文件</van-button>
|
||||
</van-uploader>
|
||||
<div style="font-size: 12px; color: #797979; margin: 5px;">{{item.fileurl}}</div>
|
||||
</div>
|
||||
<van-button type="primary" class="button" round @click="to()">下一步</van-button>
|
||||
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import {
|
||||
onMounted,ref
|
||||
} from 'vue';
|
||||
import {
|
||||
useRouter
|
||||
} from "vue-router"
|
||||
import {
|
||||
usePiniaStore
|
||||
} from '@/stores/index.js'
|
||||
const pinia = usePiniaStore()
|
||||
const router = useRouter();
|
||||
const to = () => {
|
||||
router.push('/selectDate')
|
||||
|
||||
}
|
||||
let needinfo=ref([])//需要展示的数据
|
||||
onMounted(() => {
|
||||
console.log(pinia.yuyue_info)
|
||||
if(pinia.yuyue_info.doc_id){
|
||||
needinfo.value=pinia.hangyeInfo[pinia.yuyue_info.doc_id-1]
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
const afterRead = (file,detail) => {
|
||||
console.log(detail);
|
||||
needinfo.value.fileList[detail.name].fileurl=file.file.name
|
||||
console.log(needinfo.value);
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
.uploadfiles {
|
||||
height: 100vh;
|
||||
background-image: url('../assets/image/r_head2.jpg');
|
||||
background-size: 50vw;
|
||||
background-repeat: no-repeat;
|
||||
background-position: 100% 100%;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.head {
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
color: #175e5c;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.l_title {
|
||||
font-size: 14px;
|
||||
color: #4e4e4e;
|
||||
margin: 5px
|
||||
}
|
||||
|
||||
.button {
|
||||
width: calc(100vw - 40px);
|
||||
background-color: #33cdc9;
|
||||
border: 0px;
|
||||
position: fixed;
|
||||
bottom: 20px;
|
||||
border: 3px solid #fff;
|
||||
left: 20px
|
||||
}
|
||||
</style>
|
||||
Loading…
Reference in New Issue