鏇存柊浠g爜
@@ -1,7 +1,7 @@
|
|||||||
// 配置文件
|
// 配置文件
|
||||||
export const config = {
|
export const config = {
|
||||||
// 基础API地址
|
// 基础API地址
|
||||||
apiBaseUrl: '/myapi',
|
apiBaseUrl: 'http://test.xyz/myapi',
|
||||||
};
|
};
|
||||||
|
|
||||||
export const appName = '司机端';
|
export const appName = '司机端';
|
||||||
@@ -11,5 +11,5 @@ export const driverInfo = null;
|
|||||||
export default {
|
export default {
|
||||||
config,
|
config,
|
||||||
appName,
|
appName,
|
||||||
driverInfo,
|
driverInfo,
|
||||||
};
|
};
|
||||||
@@ -21,7 +21,7 @@ const baseURL = config.apiBaseUrl
|
|||||||
export const request = (options) => {
|
export const request = (options) => {
|
||||||
// 合并配置参数
|
// 合并配置参数
|
||||||
const mergedOptions = {
|
const mergedOptions = {
|
||||||
url: 'http://www.fegnbiyuanqu.com' + `${baseURL}${options.url}`,
|
url: 'http://test.xyz' + `${baseURL}${options.url}`,
|
||||||
method: options.method || 'GET',
|
method: options.method || 'GET',
|
||||||
data: options.data || {},
|
data: options.data || {},
|
||||||
header: {
|
header: {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name" : "cahngshou_dzyd",
|
"name" : "cahngshou_dzyd",
|
||||||
"appid" : "__UNI__AFDFDE0",
|
"appid" : "__UNI__66FB249",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.0.0",
|
"versionName" : "1.0.0",
|
||||||
"versionCode" : "100",
|
"versionCode" : "100",
|
||||||
@@ -77,7 +77,7 @@
|
|||||||
"devServer" : {
|
"devServer" : {
|
||||||
"proxy" : {
|
"proxy" : {
|
||||||
"/myapi" : {
|
"/myapi" : {
|
||||||
"target" : "http://www.fegnbiyuanqu.com", //http://changshoupark.cyuncq.com
|
"target" : "http://test.xyz", //http://changshoupark.cyuncq.com
|
||||||
"changeOrigin" : true,
|
"changeOrigin" : true,
|
||||||
"secure" : true,
|
"secure" : true,
|
||||||
"pathRewrite" : {
|
"pathRewrite" : {
|
||||||
|
|||||||
@@ -9,15 +9,11 @@
|
|||||||
<u-radio shape="square" name="0" label="无"></u-radio>
|
<u-radio shape="square" name="0" label="无"></u-radio>
|
||||||
</u-radio-group>
|
</u-radio-group>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="挂车车牌" prop="form.mount_license" borderBottom ref="item1">
|
<u-form-item label="挂车车牌" prop="form.mount_license" borderBottom ref="item1" v-if="form.has_mount == '1'">
|
||||||
<!-- <view class="input_sbtn" style="display: flex;" @click="show_cate = true">
|
|
||||||
<u--input v-model="form.mount_license" border="none" placeholder="请选择挂车车牌"></u--input>
|
|
||||||
<u-icon name="arrow-right"></u-icon>
|
|
||||||
</view> -->
|
|
||||||
<car-number-input class="car-number-input" @numberInputResult="numberInputResult2"
|
<car-number-input class="car-number-input" @numberInputResult="numberInputResult2"
|
||||||
:defaultStr="form.mount_license"></car-number-input>
|
:defaultStr="form.mount_license"></car-number-input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="牵引车" prop="form.tractor_license" borderBottom ref="item1">
|
<u-form-item label="牵引车车牌" prop="form.tractor_license" borderBottom ref="item1">
|
||||||
<car-number-input class="car-number-input" @numberInputResult="numberInputResult"
|
<car-number-input class="car-number-input" @numberInputResult="numberInputResult"
|
||||||
:defaultStr="form.tractor_license"></car-number-input>
|
:defaultStr="form.tractor_license"></car-number-input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
@@ -30,20 +26,58 @@
|
|||||||
<u-icon name="arrow-right"></u-icon>
|
<u-icon name="arrow-right"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
|
|
||||||
|
<u-form-item label="载货品类" prop="form.cargo_category_name" borderBottom ref="item1">
|
||||||
|
<view class="input_sbtn" style="display: flex;" @click="show_cargo = true">
|
||||||
|
<u--input v-model="form.cargo_category_name" border="none" placeholder="请选择载货品类"></u--input>
|
||||||
|
<u-icon name="arrow-right"></u-icon>
|
||||||
|
</view>
|
||||||
|
</u-form-item>
|
||||||
|
|
||||||
|
<u-form-item label="道运证" prop="transport_pic" borderBottom>
|
||||||
|
<view class="upload-box">
|
||||||
|
<u-upload :fileList="transportPicList" @afterRead="afterReadTransport" @delete="deleteTransport"
|
||||||
|
name="transport" :maxCount="3" multiple :previewFullImage="true">
|
||||||
|
</u-upload>
|
||||||
|
<text class="upload-tip">最多上传3张</text>
|
||||||
|
</view>
|
||||||
|
</u-form-item>
|
||||||
|
|
||||||
|
<u-form-item label="牵引车行驶证" prop="tractor_pic" borderBottom>
|
||||||
|
<view class="upload-box">
|
||||||
|
<u-upload :fileList="tractorPicList" @afterRead="afterReadTractor" @delete="deleteTractor"
|
||||||
|
name="tractor" :maxCount="3" multiple :previewFullImage="true">
|
||||||
|
</u-upload>
|
||||||
|
<text class="upload-tip">最多上传3张</text>
|
||||||
|
</view>
|
||||||
|
</u-form-item>
|
||||||
|
|
||||||
|
<u-form-item label="驾驶证" prop="driver_pic" borderBottom>
|
||||||
|
<view class="upload-box">
|
||||||
|
<u-upload :fileList="driverPicList" @afterRead="afterReadDriver" @delete="deleteDriver"
|
||||||
|
name="driver" :maxCount="3" multiple :previewFullImage="true">
|
||||||
|
</u-upload>
|
||||||
|
<text class="upload-tip">最多上传3张</text>
|
||||||
|
</view>
|
||||||
|
</u-form-item>
|
||||||
|
|
||||||
|
<u-form-item label="其他说明" prop="form.remark" borderBottom ref="item1">
|
||||||
|
<u--textarea v-model="form.remark" placeholder="请输入其他说明(选填)" maxlength="100"></u--textarea>
|
||||||
|
</u-form-item>
|
||||||
|
|
||||||
</u--form>
|
</u--form>
|
||||||
|
|
||||||
<u-button type="primary" class="btn" text="提交信息" shape="circle" @click="add"></u-button>
|
<u-button type="primary" class="btn" text="提交信息" shape="circle" @click="add"></u-button>
|
||||||
|
|
||||||
<u-picker :show="show_mudi" :columns="columns_mudi" @confirm="confirmMudi"></u-picker>
|
<u-picker :show="show_mudi" :columns="columns_mudi" @confirm="confirmMudi" @cancel="show_mudi = false"></u-picker>
|
||||||
|
<u-picker :show="show_cargo" :columns="columns_cargo" @confirm="confirmCargo" @cancel="show_cargo = false"></u-picker>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import config from '../../common/config'
|
import { config } from '../../common/config'
|
||||||
import {
|
import {
|
||||||
get,
|
get,
|
||||||
post
|
post
|
||||||
@@ -52,18 +86,31 @@ import config from '../../common/config'
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
show_mudi: false,
|
show_mudi: false,
|
||||||
|
show_cargo: false,
|
||||||
columns_mudi: [
|
columns_mudi: [
|
||||||
['装货/卸货', '维修/洗车/停车', '常驻', '维修', '洗车', '停车', '检测', '洗罐']
|
['装货/卸货', '维修/洗车/停车', '常驻', '维修', '洗车', '停车', '检测', '洗罐']
|
||||||
],
|
],
|
||||||
|
columns_cargo: [],
|
||||||
|
cargoList: [],
|
||||||
|
|
||||||
|
transportPicList: [],
|
||||||
|
tractorPicList: [],
|
||||||
|
driverPicList: [],
|
||||||
|
|
||||||
form: {
|
form: {
|
||||||
has_mount: "0",//有无挂车
|
has_mount: "0",
|
||||||
mission: "",//入园目的
|
mission: "",
|
||||||
mission_name: "",//入园目的--显示名称
|
mission_name: "",
|
||||||
tractor_license: "", //牵引车牌号
|
tractor_license: "",
|
||||||
mount_license:"",//挂车车牌
|
mount_license: "",
|
||||||
phone_num:config.driverInfo.phone,//手机号
|
phone_num: uni.getStorageSync('driverInfo')?.phone || "",
|
||||||
reporter_name:config.driverInfo.account
|
reporter_name: uni.getStorageSync('driverInfo')?.account || "",
|
||||||
|
cargo_category_id: "",
|
||||||
|
cargo_category_name: "",
|
||||||
|
transport_pic: "",
|
||||||
|
tractor_pic: "",
|
||||||
|
driver_pic: "",
|
||||||
|
remark: ""
|
||||||
},
|
},
|
||||||
rules: {}
|
rules: {}
|
||||||
}
|
}
|
||||||
@@ -72,17 +119,51 @@ import config from '../../common/config'
|
|||||||
if(option.vehicleNo){
|
if(option.vehicleNo){
|
||||||
this.form.tractor_license = option.vehicleNo
|
this.form.tractor_license = option.vehicleNo
|
||||||
}
|
}
|
||||||
|
this.getCargoList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
async getCargoList() {
|
||||||
|
await get('/myapi/api/yq_driver/getProductCate').then(res => {
|
||||||
|
if (res.code == 1) {
|
||||||
|
this.cargoList = res.data
|
||||||
|
this.columns_cargo = [res.data.map(item => item.name)]
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
async add() {
|
async add() {
|
||||||
|
if(!this.form.tractor_license || this.form.tractor_license.trim().length < 7){
|
||||||
|
uni.showToast({
|
||||||
|
title:'请输入牵引车车牌',
|
||||||
|
icon:'none'
|
||||||
|
})
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
if(this.form.has_mount == 1 && this.form.mount_license.trim().length != 7 && this.form.mount_license.trim().length != 8){
|
if(this.form.has_mount == 1 && (!this.form.mount_license || this.form.mount_license.trim().length < 7)){
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title:'请输入挂车车牌',
|
title:'请输入挂车车牌',
|
||||||
icon:'none'
|
icon:'none'
|
||||||
})
|
})
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!this.form.mission){
|
||||||
|
uni.showToast({
|
||||||
|
title:'请选择入园目的',
|
||||||
|
icon:'none'
|
||||||
|
})
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
if(!this.form.cargo_category_id){
|
||||||
|
uni.showToast({
|
||||||
|
title:'请选择载货品类',
|
||||||
|
icon:'none'
|
||||||
|
})
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
await post('/myapi/api/yq_driver/enParkReport', {
|
await post('/myapi/api/yq_driver/enParkReport', {
|
||||||
...this.form
|
...this.form
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
@@ -92,28 +173,116 @@ import config from '../../common/config'
|
|||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.navigateTo({
|
uni.navigateBack()
|
||||||
url: '/pages/order/park'
|
|
||||||
})
|
|
||||||
}, 500)
|
}, 500)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
groupChange(e) {
|
groupChange(e) {
|
||||||
this.has_mount = e
|
this.form.has_mount = e
|
||||||
},
|
},
|
||||||
|
|
||||||
confirmMudi(e) {
|
confirmMudi(e) {
|
||||||
this.form.mission_name = e.value[0]
|
this.form.mission_name = e.value[0]
|
||||||
this.form.mission = e.indexs[0] + 1
|
this.form.mission = e.indexs[0] + 1
|
||||||
this.show_mudi = false
|
this.show_mudi = false
|
||||||
},
|
},
|
||||||
|
|
||||||
|
confirmCargo(e) {
|
||||||
|
const index = e.indexs[0]
|
||||||
|
this.form.cargo_category_name = this.cargoList[index].name
|
||||||
|
this.form.cargo_category_id = this.cargoList[index].id
|
||||||
|
this.show_cargo = false
|
||||||
|
},
|
||||||
|
|
||||||
numberInputResult(e) {
|
numberInputResult(e) {
|
||||||
this.form.tractor_license = e
|
this.form.tractor_license = e
|
||||||
},numberInputResult2(e) {
|
},
|
||||||
|
|
||||||
|
numberInputResult2(e) {
|
||||||
this.form.mount_license = e
|
this.form.mount_license = e
|
||||||
},
|
},
|
||||||
|
|
||||||
|
async afterReadTransport(event) {
|
||||||
|
const file = event.file
|
||||||
|
await this.uploadImage(file, 'transport')
|
||||||
|
},
|
||||||
|
|
||||||
|
async afterReadTractor(event) {
|
||||||
|
const file = event.file
|
||||||
|
await this.uploadImage(file, 'tractor')
|
||||||
|
},
|
||||||
|
|
||||||
|
async afterReadDriver(event) {
|
||||||
|
const file = event.file
|
||||||
|
await this.uploadImage(file, 'driver')
|
||||||
|
},
|
||||||
|
|
||||||
|
async uploadImage(file, type) {
|
||||||
|
uni.showLoading({ title: '上传中...' })
|
||||||
|
|
||||||
|
const files = Array.isArray(file) ? file : [file]
|
||||||
|
|
||||||
|
for(let f of files) {
|
||||||
|
await new Promise((resolve) => {
|
||||||
|
uni.uploadFile({
|
||||||
|
url: '/myapi/api/yq_driver/upload',
|
||||||
|
filePath: f.url,
|
||||||
|
name: 'file',
|
||||||
|
header: {
|
||||||
|
'token': uni.getStorageSync('token')
|
||||||
|
},
|
||||||
|
success: (res) => {
|
||||||
|
try {
|
||||||
|
const data = JSON.parse(res.data)
|
||||||
|
if(data.code == 1) {
|
||||||
|
const imageUrl = data.data.fullurl
|
||||||
|
|
||||||
|
if(type === 'transport') {
|
||||||
|
this.transportPicList.push({ url: imageUrl })
|
||||||
|
this.form.transport_pic = this.transportPicList.map(item => item.url).join(',')
|
||||||
|
} else if(type === 'tractor') {
|
||||||
|
this.tractorPicList.push({ url: imageUrl })
|
||||||
|
this.form.tractor_pic = this.tractorPicList.map(item => item.url).join(',')
|
||||||
|
} else if(type === 'driver') {
|
||||||
|
this.driverPicList.push({ url: imageUrl })
|
||||||
|
this.form.driver_pic = this.driverPicList.map(item => item.url).join(',')
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
uni.showToast({ title: data.msg || '上传失败', icon: 'none' })
|
||||||
|
}
|
||||||
|
} catch(e) {
|
||||||
|
uni.showToast({ title: '上传失败,数据解析错误', icon: 'none' })
|
||||||
|
}
|
||||||
|
resolve()
|
||||||
|
},
|
||||||
|
fail: (err) => {
|
||||||
|
console.error('上传失败', err)
|
||||||
|
uni.showToast({ title: '上传失败', icon: 'none' })
|
||||||
|
resolve()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
uni.hideLoading()
|
||||||
|
},
|
||||||
|
|
||||||
|
deleteTransport(event) {
|
||||||
|
this.transportPicList.splice(event.index, 1)
|
||||||
|
this.form.transport_pic = this.transportPicList.map(item => item.url).join(',')
|
||||||
|
},
|
||||||
|
|
||||||
|
deleteTractor(event) {
|
||||||
|
this.tractorPicList.splice(event.index, 1)
|
||||||
|
this.form.tractor_pic = this.tractorPicList.map(item => item.url).join(',')
|
||||||
|
},
|
||||||
|
|
||||||
|
deleteDriver(event) {
|
||||||
|
this.driverPicList.splice(event.index, 1)
|
||||||
|
this.form.driver_pic = this.driverPicList.map(item => item.url).join(',')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -132,9 +301,21 @@ import config from '../../common/config'
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.upload-box {
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
.upload-tip {
|
||||||
|
font-size: 12px;
|
||||||
|
color: #999;
|
||||||
|
margin-top: 10px;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
margin-top: 20px;
|
margin-top: 30px;
|
||||||
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -130,6 +130,9 @@
|
|||||||
})
|
})
|
||||||
},500)
|
},500)
|
||||||
}
|
}
|
||||||
|
}).catch((err) => {
|
||||||
|
// 错误信息已经在 request.js 中处理并显示
|
||||||
|
console.error('上报失败:', err);
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
confirmMudi(e) {
|
confirmMudi(e) {
|
||||||
|
|||||||
2
unpackage/dist/build/web/index.html
vendored
@@ -1,2 +0,0 @@
|
|||||||
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>cahngshou_dzyd</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
|
|
||||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/h5/static/index.883130ca.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/h5/static/js/chunk-vendors.ad09e27f.js></script><script src=/h5/static/js/index.b05069a5.js></script></body></html>
|
|
||||||
BIN
unpackage/dist/build/web/static/1752220647221.jpg
vendored
|
Before Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 33 KiB |
BIN
unpackage/dist/build/web/static/icon/help_q.png
vendored
|
Before Width: | Height: | Size: 635 B |
BIN
unpackage/dist/build/web/static/icon/home_tab0.png
vendored
|
Before Width: | Height: | Size: 645 B |
BIN
unpackage/dist/build/web/static/icon/home_tab1.png
vendored
|
Before Width: | Height: | Size: 776 B |
BIN
unpackage/dist/build/web/static/icon/home_tab2.png
vendored
|
Before Width: | Height: | Size: 668 B |
BIN
unpackage/dist/build/web/static/icon/home_tab3.png
vendored
|
Before Width: | Height: | Size: 653 B |
BIN
unpackage/dist/build/web/static/icon/in.png
vendored
|
Before Width: | Height: | Size: 880 B |
BIN
unpackage/dist/build/web/static/icon/mine_jm.png
vendored
|
Before Width: | Height: | Size: 819 B |
BIN
unpackage/dist/build/web/static/icon/mine_kf.png
vendored
|
Before Width: | Height: | Size: 1.1 KiB |
BIN
unpackage/dist/build/web/static/icon/mine_pc.png
vendored
|
Before Width: | Height: | Size: 1.2 KiB |
BIN
unpackage/dist/build/web/static/icon/mine_sz.png
vendored
|
Before Width: | Height: | Size: 2.2 KiB |
BIN
unpackage/dist/build/web/static/icon/mine_wcj.png
vendored
|
Before Width: | Height: | Size: 1.2 KiB |
BIN
unpackage/dist/build/web/static/icon/mine_yhq.png
vendored
|
Before Width: | Height: | Size: 1.2 KiB |
BIN
unpackage/dist/build/web/static/icon/my.png
vendored
|
Before Width: | Height: | Size: 1014 B |
BIN
unpackage/dist/build/web/static/icon/my_icon.png
vendored
|
Before Width: | Height: | Size: 986 B |
BIN
unpackage/dist/build/web/static/icon/out.png
vendored
|
Before Width: | Height: | Size: 849 B |
BIN
unpackage/dist/build/web/static/icon/qb.png
vendored
|
Before Width: | Height: | Size: 1.4 KiB |
BIN
unpackage/dist/build/web/static/icon/search_b.png
vendored
|
Before Width: | Height: | Size: 1.2 KiB |
BIN
unpackage/dist/build/web/static/icon/search_w.png
vendored
|
Before Width: | Height: | Size: 1.1 KiB |
BIN
unpackage/dist/build/web/static/icon/tab_home.png
vendored
|
Before Width: | Height: | Size: 861 B |
|
Before Width: | Height: | Size: 873 B |
BIN
unpackage/dist/build/web/static/icon/tab_mine.png
vendored
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
BIN
unpackage/dist/build/web/static/icon/tab_pm.png
vendored
|
Before Width: | Height: | Size: 996 B |
BIN
unpackage/dist/build/web/static/icon/tab_pm_cur.png
vendored
|
Before Width: | Height: | Size: 1.0 KiB |
BIN
unpackage/dist/build/web/static/icon/tab_sort.png
vendored
|
Before Width: | Height: | Size: 602 B |
|
Before Width: | Height: | Size: 616 B |
BIN
unpackage/dist/build/web/static/icon/wxpay.png
vendored
|
Before Width: | Height: | Size: 1.0 KiB |
BIN
unpackage/dist/build/web/static/icon/wxsq.png
vendored
|
Before Width: | Height: | Size: 6.1 KiB |
BIN
unpackage/dist/build/web/static/icon/yepay.png
vendored
|
Before Width: | Height: | Size: 1.1 KiB |
BIN
unpackage/dist/build/web/static/icon/yundan.png
vendored
|
Before Width: | Height: | Size: 724 B |
BIN
unpackage/dist/build/web/static/icon/yundan_icon.png
vendored
|
Before Width: | Height: | Size: 762 B |
@@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-car-addCar"],{"3c8f":function(e,t,n){"use strict";n.r(t);var a=n("d30c"),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);t["default"]=i.a},"50a5":function(e,t,n){var a=n("c86c");t=a(!1),t.push([e.i,".container[data-v-6519c476]{padding:20px}.container .car-number-input[data-v-6519c476]{width:100%}.container .tag_title[data-v-6519c476]{width:80px;height:30px;display:flex;align-items:center}.container .btn[data-v-6519c476]{margin-top:20px}",""]),e.exports=t},"85a4":function(e,t,n){"use strict";n.r(t);var a=n("c45f"),i=n("3c8f");for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);n("cf19");var u=n("828b"),c=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,"6519c476",null,!1,a["a"],void 0);t["default"]=c.exports},"9f29":function(e,t,n){var a=n("50a5");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("967d").default;i("1f6a5923",a,!0,{sourceMap:!1,shadowMode:!1})},c45f:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a}));var a={"u-Form":n("051a").default,uFormItem:n("f521").default,carNumberInput:n("c48e").default,"u-Input":n("eaa2").default,uButton:n("14ce").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"container"},[n("u--form",{ref:"uForm",attrs:{labelPosition:"left",model:e.form,rules:e.rules,labelWidth:"120"}},[n("u-form-item",{ref:"item1",attrs:{label:"车牌号码",prop:"form.vehicleNo",borderBottom:!0,required:!0}},[n("car-number-input",{staticClass:"car-number-input",attrs:{defaultStr:e.form.vehicleNo},on:{numberInputResult:function(t){arguments[0]=t=e.$handleEvent(t),e.numberInputResult.apply(void 0,arguments)}}}),n("u--input",{attrs:{border:"none",maxlength:"8",placeholder:"请输入车牌号码"},model:{value:e.form.vehicleNo,callback:function(t){e.$set(e.form,"vehicleNo",t)},expression:"form.vehicleNo"}})],1)],1),n("u-button",{staticClass:"btn",attrs:{type:"primary",text:"提交信息",shape:"circle"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.add.apply(void 0,arguments)}}})],1)},r=[]},cf19:function(e,t,n){"use strict";var a=n("9f29"),i=n.n(a);i.a},d30c:function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("0c26"),n("dd2b"),n("c223"),n("fd3c"),n("aa9c"),n("bf0f");var i=a(n("2634")),r=a(n("9b1b")),u=a(n("2fdc")),c=n("75a0"),o={data:function(){return{form:{id:"",vehicleNo:"",vehicleType:"",car_jsz:"",qy_carNo:"",qy_dyz:"",qy_xsz:""},rules:{},array:["货车","卡车","厢式货车"],index:null,fileList1:[],fileList2:[],fileList3:[]}},onLoad:function(e){this.form.vehicleNo=e.vehicleNo,this.form.id=e.id},methods:{add:function(){var e=this;return(0,u.default)((0,i.default)().mark((function t(){return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(""!=e.form.vehicleNo&&(7==e.form.vehicleNo.trim().length||8==e.form.vehicleNo.trim().length)){t.next=3;break}return uni.showToast({title:"请填写正确的车牌号",icon:"none"}),t.abrupt("return",!1);case 3:if(!e.form.id){t.next=8;break}return t.next=6,(0,c.post)("/myapi/api/yq_driver/updateBindVehicle",(0,r.default)({},e.form)).then((function(e){1==e.code&&(uni.showToast({title:"修改成功",icon:"none"}),setTimeout((function(){uni.navigateTo({url:"/pages/car/car"})}),500))}));case 6:t.next=10;break;case 8:return t.next=10,(0,c.post)("/myapi/api/yq_driver/bindVehicle",(0,r.default)({},e.form)).then((function(e){1==e.code&&(uni.showToast({title:"绑定成功",icon:"none"}),setTimeout((function(){uni.navigateTo({url:"/pages/car/car"})}),500))}));case 10:case"end":return t.stop()}}),t)})))()},numberInputResult:function(e){this.form.vehicleNo=e},bindPickerChange:function(e){this.index=e.detail.value},deletePic:function(e){this["fileList".concat(e.name)].splice(e.index,1)},afterRead:function(e){var t=this;return(0,u.default)((0,i.default)().mark((function n(){var a,u,c,o,l;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:a=[].concat(e.file),u=t["fileList".concat(e.name)].length,a.map((function(n){t["fileList".concat(e.name)].push((0,r.default)((0,r.default)({},n),{},{status:"uploading",message:"上传中"}))})),c=0;case 4:if(!(c<a.length)){n.next=14;break}return n.next=7,t.uploadFilePromise(a[c].url);case 7:o=n.sent,l=t["fileList".concat(e.name)][u],t["fileList".concat(e.name)].splice(u,1,Object.assign(l,{status:"success",message:"",url:o})),u++;case 11:c++,n.next=4;break;case 14:case"end":return n.stop()}}),n)})))()},uploadFilePromise:function(e){return new Promise((function(t,n){uni.uploadFile({url:"http://192.168.2.21:7001/upload",filePath:e,name:"file",formData:{user:"test"},success:function(e){setTimeout((function(){t(e.data.data)}),1e3)}})}))}}};t.default=o}}]);
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-details"],{"05a3":function(t,n,i){"use strict";var e=i("64a5"),a=i.n(e);a.a},"5f307":function(t,n,i){var e=i("c86c");n=e(!1),n.push([t.i,".container[data-v-64089c29]{padding-top:2px;background-color:#f4f4f4;height:calc(100vh - 46px)}",""]),t.exports=n},"64a5":function(t,n,i){var e=i("5f307");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var a=i("967d").default;a("d00e167a",e,!0,{sourceMap:!1,shadowMode:!1})},8396:function(t,n,i){"use strict";i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return a})),i.d(n,"a",(function(){}));var e=function(){var t=this.$createElement,n=this._self._c||t;return n("v-uni-view",{staticClass:"container"},[n("v-uni-view",{staticStyle:{"text-align":"center",margin:"10px 0"}},[n("h3",[this._v(this._s(this.info.title))])]),n("v-uni-view",{staticStyle:{padding:"5px 20px"}},[n("v-uni-rich-text",{attrs:{nodes:this.info.content}})],1)],1)},a=[]},d314:function(t,n,i){"use strict";i.r(n);var e=i("8396"),a=i("feac");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return a[t]}))}(o);i("05a3");var c=i("828b"),r=Object(c["a"])(a["default"],e["b"],e["c"],!1,null,"64089c29",null,!1,e["a"],void 0);n["default"]=r.exports},fd36:function(t,n,i){"use strict";i("6a54"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=i("75a0"),a={data:function(){return{scrollTop:0,info:null}},onLoad:function(t){t.id&&this.articleInfo(t.id)},methods:{articleInfo:function(t){var n=this;(0,e.get)("/myapi/api/yq_driver/articleInfo",{id:t}).then((function(t){n.info=t.data}))}}};n.default=a},feac:function(t,n,i){"use strict";i.r(n);var e=i("fd36"),a=i.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(o);n["default"]=a.a}}]);
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-message"],{"31b2":function(t,n,e){"use strict";e.r(n);var a=e("aea2"),i=e.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);n["default"]=i.a},4966:function(t,n,e){var a=e("4d3e");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=e("967d").default;i("2bef3670",a,!0,{sourceMap:!1,shadowMode:!1})},"4d3e":function(t,n,e){var a=e("c86c");n=a(!1),n.push([t.i,".container[data-v-83a7d018]{padding-top:2px;background-color:#f4f4f4;height:calc(100vh - 46px)}.container .list[data-v-83a7d018]{padding:5px 20px}.container .list .scroll-Y[data-v-83a7d018]{height:calc(100vh - 86px)}.container .list .scroll-Y .card[data-v-83a7d018]{background-color:#fff;padding:10px;margin-bottom:10px;font-size:14px;border-radius:10px}.container .list .scroll-Y .card .title[data-v-83a7d018]{font-size:16px;height:40px;line-height:40px;border-bottom:1px solid #f4f4f4;display:flex;justify-content:space-between;align-items:center}.container .list .scroll-Y .card .flex[data-v-83a7d018]{display:flex}.container .list .scroll-Y .card .flex .icon-right[data-v-83a7d018]{margin-right:5px}.container .list .scroll-Y .card .name_1[data-v-83a7d018]{margin:10px 0}",""]),t.exports=n},"93cf":function(t,n,e){"use strict";var a=e("4966"),i=e.n(a);i.a},9468:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return a}));var a={uSubsection:e("6a31").default,uIcon:e("8e6f").default},i=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",{staticClass:"container"},[e("u-subsection",{attrs:{list:t.top_list,current:t.current,keyName:"name",activeColor:"#f56c6c",mode:"subsection"},on:{change:function(n){arguments[0]=n=t.$handleEvent(n),t.sectionChange.apply(void 0,arguments)}}}),e("v-uni-view",{staticClass:"list"},[e("v-uni-scroll-view",{staticClass:"scroll-Y",attrs:{"scroll-top":t.scrollTop,"scroll-y":"true"},on:{scrolltoupper:function(n){arguments[0]=n=t.$handleEvent(n),t.upper.apply(void 0,arguments)},scrolltolower:function(n){arguments[0]=n=t.$handleEvent(n),t.lower.apply(void 0,arguments)},scroll:function(n){arguments[0]=n=t.$handleEvent(n),t.scroll.apply(void 0,arguments)}}},t._l(t.list,(function(n,a){return e("v-uni-view",{staticClass:"card",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toNotice(n.id)}}},[e("v-uni-view",{staticClass:"title"},[t._v("品类库与应急预案关联书本名称"),e("u-icon",{attrs:{name:"arrow-right",size:"12"}})],1),e("v-uni-view",{staticClass:"name_1 flex"},[e("u-icon",{staticClass:"icon-right",attrs:{name:"car-fill",color:"#2979ff",size:"12"}}),t._v("应急类别:应急预案库")],1),e("v-uni-view",{staticClass:"name_2 flex"},[e("u-icon",{staticClass:"icon-right",attrs:{name:"car-fill",color:"#ddbb0b",size:"12"}}),t._v("预案名称:"+t._s(n.car?n.car.name:""))],1)],1)})),1)],1)],1)},o=[]},"94ad":function(t,n,e){"use strict";e.r(n);var a=e("9468"),i=e("31b2");for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);e("93cf");var c=e("828b"),r=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"83a7d018",null,!1,a["a"],void 0);n["default"]=r.exports},aea2:function(t,n,e){"use strict";e("6a54");var a=e("f5bd").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(e("2634")),o=a(e("2fdc")),c=e("75a0"),r={data:function(){return{top_list:[{name:"应急预案库"},{name:"重大事故"}],current:0,scrollTop:0,list:[]}},onLoad:function(){this.getList()},methods:{onPullDownRefresh:function(){var t=this;setTimeout((function(){t.getList(),uni.stopPullDownRefresh()}),500)},getList:function(){var t=this;return(0,o.default)((0,i.default)().mark((function n(){return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,(0,c.get)("/myapi/api/yq_driver/alarmList",{cate_id:t.current}).then((function(n){t.list=n.data}));case 2:case"end":return n.stop()}}),n)})))()},sectionChange:function(t){this.current=t,this.getList()},toNotice:function(t){uni.navigateTo({url:"/pages/index/messageDetails?id="+t})},upper:function(t){console.log(t)},lower:function(t){console.log(t)},scroll:function(t){console.log(t),this.old.scrollTop=t.detail.scrollTop}}};n.default=r}}]);
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-messageDetails"],{"17c4":function(n,t,a){"use strict";a("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e=a("75a0"),i={data:function(){return{info:{}}},onLoad:function(n){n.id&&this.alarmInfo(n.id)},methods:{alarmInfo:function(n){var t=this;(0,e.get)("/myapi/api/yq_driver/alarmInfo",{id:n}).then((function(n){t.info=n.data.car,console.log(t.info)}))}}};t.default=i},1989:function(n,t,a){var e=a("5850");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[n.i,e,""]]),e.locals&&(n.exports=e.locals);var i=a("967d").default;i("4cf9e46a",e,!0,{sourceMap:!1,shadowMode:!1})},"3db3":function(n,t,a){"use strict";a.r(t);var e=a("17c4"),i=a.n(e);for(var o in e)["default"].indexOf(o)<0&&function(n){a.d(t,n,(function(){return e[n]}))}(o);t["default"]=i.a},5850:function(n,t,a){var e=a("c86c");t=e(!1),t.push([n.i,".container[data-v-7160f246]{padding-top:2px;background-color:#f4f4f4;height:calc(100vh - 46px)}",""]),n.exports=t},"984e":function(n,t,a){"use strict";a.r(t);var e=a("f255"),i=a("3db3");for(var o in i)["default"].indexOf(o)<0&&function(n){a.d(t,n,(function(){return i[n]}))}(o);a("d63e");var r=a("828b"),f=Object(r["a"])(i["default"],e["b"],e["c"],!1,null,"7160f246",null,!1,e["a"],void 0);t["default"]=f.exports},d63e:function(n,t,a){"use strict";var e=a("1989"),i=a.n(e);i.a},f255:function(n,t,a){"use strict";a.d(t,"b",(function(){return e})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){}));var e=function(){var n=this,t=n.$createElement,a=n._self._c||t;return a("v-uni-view",{staticClass:"container"},[a("v-uni-view",{staticStyle:{"text-align":"center",margin:"10px 0"}},[a("h2",[n._v(n._s(n.info.name))]),a("h4",[n._v(n._s(n.info.label_name)+"--"+n._s(n.info.sds_name))]),a("v-uni-image",{attrs:{src:n.info.label_url}}),a("v-uni-image",{attrs:{src:n.info.sds_url}})],1)],1)},i=[]}}]);
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-notice"],{a75c:function(t,n,o){"use strict";o.r(n);var i=o("eb3c"),e=o.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){o.d(n,t,(function(){return i[t]}))}(a);n["default"]=e.a},bb8b:function(t,n,o){"use strict";o.r(n);var i=o("cde6"),e=o("a75c");for(var a in e)["default"].indexOf(a)<0&&function(t){o.d(n,t,(function(){return e[t]}))}(a);o("da41");var c=o("828b"),l=Object(c["a"])(e["default"],i["b"],i["c"],!1,null,"ea3f7b78",null,!1,i["a"],void 0);n["default"]=l.exports},bf40:function(t,n,o){var i=o("c28a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var e=o("967d").default;e("7d88fa8b",i,!0,{sourceMap:!1,shadowMode:!1})},c28a:function(t,n,o){var i=o("c86c");n=i(!1),n.push([t.i,".container[data-v-ea3f7b78]{padding-top:2px;background-color:#f4f4f4;height:calc(100vh - 46px)}.container .list[data-v-ea3f7b78]{padding:5px 20px}.container .list .scroll-Y[data-v-ea3f7b78]{height:calc(100vh - 86px)}.container .list .scroll-Y .card[data-v-ea3f7b78]{background-color:#fff;padding:10px;margin-bottom:10px;font-size:14px;border-radius:10px}.container .list .scroll-Y .card .title[data-v-ea3f7b78]{font-size:16px}",""]),t.exports=n},cde6:function(t,n,o){"use strict";o.d(n,"b",(function(){return i})),o.d(n,"c",(function(){return e})),o.d(n,"a",(function(){}));var i=function(){var t=this,n=t.$createElement,o=t._self._c||n;return o("v-uni-view",{staticClass:"container"},[o("v-uni-view",{staticClass:"list"},[o("v-uni-scroll-view",{staticClass:"scroll-Y",attrs:{"scroll-top":t.scrollTop,"scroll-y":"true"},on:{scrolltoupper:function(n){arguments[0]=n=t.$handleEvent(n),t.upper.apply(void 0,arguments)},scrolltolower:function(n){arguments[0]=n=t.$handleEvent(n),t.lower.apply(void 0,arguments)},scroll:function(n){arguments[0]=n=t.$handleEvent(n),t.scroll.apply(void 0,arguments)}}},t._l(t.list,(function(n,i){return o("v-uni-view",{staticClass:"card",on:{click:function(o){arguments[0]=o=t.$handleEvent(o),t.toNotice(n.id)}}},[o("v-uni-view",{staticClass:"title"},[t._v(t._s(i+1)+"."+t._s(n.title))])],1)})),1)],1)],1)},e=[]},da41:function(t,n,o){"use strict";var i=o("bf40"),e=o.n(i);e.a},eb3c:function(t,n,o){"use strict";o("6a54"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=o("75a0"),e={data:function(){return{scrollTop:0,list:[]}},onLoad:function(){this.getList()},methods:{sectionChange:function(t){this.current=t},toNotice:function(t){uni.navigateTo({url:"/pages/index/details?id="+t})},getList:function(){var t=this;(0,i.get)("/myapi/api/yq_driver/articleList").then((function(n){t.list=n.data}))},upper:function(t){console.log(t)},lower:function(t){console.log(t)},scroll:function(t){console.log(t),this.old.scrollTop=t.detail.scrollTop}}};n.default=e}}]);
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-login"],{"0bd5":function(t,e,n){"use strict";n("6a54");var o=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=o(n("9b1b")),i=n("75a0"),r={data:function(){return{userInfo:{account:"",password:""}}},onLoad:function(){uni.getStorageSync("token")&&this.login()},methods:{register:function(){uni.navigateTo({url:"/pages/my/register"})},login:function(){uni.showLoading({title:"登录中"}),(0,i.post)("/myapi/api/yq_driver/login",(0,a.default)({},this.userInfo)).then((function(t){setTimeout((function(){uni.setStorageSync("token",t.data.token),uni.hideLoading(),uni.showToast({title:"登录成功!",icon:"none"}),setTimeout((function(){uni.switchTab({url:"/pages/my/index"})}),500)}),500)}))}}};e.default=r},2443:function(t,e,n){"use strict";n.r(e);var o=n("2497"),a=n("f944");for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("4ae2");var r=n("828b"),u=Object(r["a"])(a["default"],o["b"],o["c"],!1,null,"c652262e",null,!1,o["a"],void 0);e["default"]=u.exports},2497:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}));var o={"u-Form":n("051a").default,uFormItem:n("f521").default,"u-Input":n("eaa2").default,"u-Text":n("5654").default,uButton:n("14ce").default},a=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"container"},[o("v-uni-view",{staticStyle:{width:"100%"}},[o("v-uni-image",{staticStyle:{width:"100%",height:"200px","background-color":"#eeeeee"},attrs:{src:n("fdad")}})],1),o("v-uni-view",{staticClass:"title"},[o("h1",[t._v("危化品车辆运单平台")])]),o("v-uni-view",{staticClass:"login"},[o("u--form",{ref:"uForm",staticClass:"form",attrs:{labelPosition:"left",model:t.userInfo}},[o("u-form-item",{ref:"item1",attrs:{label:"账号:",prop:"userInfo.account",borderBottom:!0}},[o("u--input",{attrs:{border:"none",maxlength:"20",placeholder:"请输入账号"},model:{value:t.userInfo.account,callback:function(e){t.$set(t.userInfo,"account",e)},expression:"userInfo.account"}})],1),o("u-form-item",{attrs:{label:"密码:",prop:"userInfo.password",borderBottom:!0}},[o("u--input",{attrs:{border:"none",type:"password",maxlength:"20",placeholder:"请输入密码"},model:{value:t.userInfo.password,callback:function(e){t.$set(t.userInfo,"password",e)},expression:"userInfo.password"}})],1)],1)],1),o("v-uni-view",{staticClass:"register"},[o("u--text",{attrs:{type:"primary",text:"没有账号,前往注册?"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.register.apply(void 0,arguments)}}})],1),o("u-button",{staticClass:"btn",attrs:{type:"primary",text:"登录",shape:"circle"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.login.apply(void 0,arguments)}}})],1)},i=[]},"4ae2":function(t,e,n){"use strict";var o=n("e80b"),a=n.n(o);a.a},bf95:function(t,e,n){var o=n("c86c");e=o(!1),e.push([t.i,".container[data-v-c652262e]{display:flex;flex-direction:column;align-items:center;height:calc(100vh - 50px)}.container .title[data-v-c652262e]{position:fixed;top:110px;color:#fff}.container .login[data-v-c652262e]{padding:20px 0;width:80%}.container .login .form[data-v-c652262e]{height:100px}.container .register[data-v-c652262e]{width:80%;padding-bottom:10px}.container .btn[data-v-c652262e]{width:80%;font-size:24px}",""]),t.exports=e},e80b:function(t,e,n){var o=n("bf95");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var a=n("967d").default;a("d7647122",o,!0,{sourceMap:!1,shadowMode:!1})},f944:function(t,e,n){"use strict";n.r(e);var o=n("0bd5"),a=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=a.a},fdad:function(t,e,n){t.exports=n.p+"static/2021111015193250849.jpg"}}]);
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-alarm"],{1475:function(t,e,a){"use strict";a.r(e);var n=a("2ecf"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"24e1":function(t,e,a){"use strict";a.r(e);var n=a("e8a2"),i=a("1475");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("4126");var l=a("828b"),o=Object(l["a"])(i["default"],n["b"],n["c"],!1,null,"49979625",null,!1,n["a"],void 0);e["default"]=o.exports},"2ecf":function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("2634")),r=n(a("2fdc")),l=a("75a0"),o={data:function(){return{list:[]}},onLoad:function(){this.getAlarmList()},methods:{onPullDownRefresh:function(){var t=this;setTimeout((function(){t.getAlarmList(),uni.stopPullDownRefresh()}),500)},addAlarm:function(){uni.navigateTo({url:"/pages/order/addAlarm"})},getAlarmList:function(){var t=this;return(0,r.default)((0,i.default)().mark((function e(){return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,l.get)("/myapi/api/yq_driver/troubleList").then((function(e){t.list=e.data}));case 2:case"end":return e.stop()}}),e)})))()},toDetail:function(t){uni.navigateTo({url:"/pages/order/detailAlarm?id="+t})}}};e.default=o},4126:function(t,e,a){"use strict";var n=a("57ff"),i=a.n(n);i.a},"57ff":function(t,e,a){var n=a("f8fa");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("967d").default;i("1e297e0b",n,!0,{sourceMap:!1,shadowMode:!1})},e8a2:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var n={uButton:a("14ce").default,uTag:a("f879").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"container"},[a("v-uni-view",{staticClass:"add_btn"},[a("u-button",{staticStyle:{width:"80px"},attrs:{type:"primary",size:"small",text:"去上报",icon:"plus-circle"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.addAlarm.apply(void 0,arguments)}}})],1),a("v-uni-view",{staticClass:"list"},[a("v-uni-scroll-view",{staticClass:"scroll-Y",attrs:{"scroll-top":t.scrollTop,"scroll-y":"true"},on:{scrolltoupper:function(e){arguments[0]=e=t.$handleEvent(e),t.upper.apply(void 0,arguments)},scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.lower.apply(void 0,arguments)},scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.scroll.apply(void 0,arguments)}}},t._l(t.list,(function(e,n){return a("v-uni-view",{staticClass:"card",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.toDetail(e.id)}}},[a("v-uni-view",{staticClass:"title"},[t._v(t._s(e.license))]),a("v-uni-view",{staticClass:"name_1 flex"},[t._v("事件类型:"+t._s(e.name))]),a("v-uni-view",{staticClass:"name_1 flex"},[t._v("上报时间:"+t._s(e.create_time))]),a("v-uni-view",{staticClass:"name_1 flex"},[1==e.status?a("u-tag",{attrs:{text:"已通过",type:"success"}}):2==e.status?a("u-tag",{attrs:{text:"拒绝",type:"warning"}}):a("u-tag",{attrs:{text:"审核中",type:"error"}})],1)],1)})),1)],1)],1)},r=[]},f8fa:function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,".container[data-v-49979625]{padding:20px}.container .add_btn[data-v-49979625]{position:fixed;top:50px;right:10px;z-index:1}.container .list .scroll-Y[data-v-49979625]{height:calc(100vh - 86px)}.container .list .scroll-Y .card[data-v-49979625]{background-color:#fff;padding:10px;margin-bottom:10px;font-size:14px;border-radius:10px;border:1px solid #f4f4f4}.container .list .scroll-Y .card .title[data-v-49979625]{font-size:18px;font-weight:700;height:40px;line-height:40px;border-bottom:1px solid #f4f4f4;display:flex;justify-content:space-between;align-items:center}.container .list .scroll-Y .card .flex[data-v-49979625]{display:flex}.container .list .scroll-Y .card .flex .icon-right[data-v-49979625]{margin-right:5px}.container .list .scroll-Y .card .name_1[data-v-49979625]{margin:10px 0}",""]),t.exports=e}}]);
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-detailAlarm"],{"0363":function(n,e,i){"use strict";i.r(e);var t=i("b27d"),o=i("e79f");for(var u in o)["default"].indexOf(u)<0&&function(n){i.d(e,n,(function(){return o[n]}))}(u);i("7961");var r=i("828b"),a=Object(r["a"])(o["default"],t["b"],t["c"],!1,null,"2b735b94",null,!1,t["a"],void 0);e["default"]=a.exports},7961:function(n,e,i){"use strict";var t=i("9117"),o=i.n(t);o.a},"88b2":function(n,e,i){var t=i("c86c");e=t(!1),e.push([n.i,".container[data-v-2b735b94]{padding:20px;line-height:30px}",""]),n.exports=e},9117:function(n,e,i){var t=i("88b2");t.__esModule&&(t=t.default),"string"===typeof t&&(t=[[n.i,t,""]]),t.locals&&(n.exports=t.locals);var o=i("967d").default;o("7bc00248",t,!0,{sourceMap:!1,shadowMode:!1})},b27d:function(n,e,i){"use strict";i.d(e,"b",(function(){return t})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var t=function(){var n=this,e=n.$createElement,i=n._self._c||e;return i("v-uni-view",{staticClass:"container"},[i("v-uni-view",[n._v("牵引车牌:"+n._s(n.info.license))]),i("v-uni-view",[n._v("挂车车牌:"+n._s(n.info.mount_license))]),i("v-uni-view",[n._v("手机号:"+n._s(n.info.phone))]),i("v-uni-view",[n._v("身份证号:"+n._s(n.info.id_card))]),i("v-uni-view",[n._v("事故类型:"+n._s(n.info.name))]),i("v-uni-view",[n._v("事故地点:"+n._s(n.info.perimeter_location))]),i("v-uni-view",[n._v("事故描述:"+n._s(n.info.describe))])],1)},o=[]},de1e:function(n,e,i){"use strict";i("6a54");var t=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(i("2634")),u=t(i("2fdc")),r=i("75a0"),a={data:function(){return{info:{id:""}}},onLoad:function(n){n.id&&(this.info.id=n.id,this.getTroubleTnfo())},methods:{getTroubleTnfo:function(){var n=this;return(0,u.default)((0,o.default)().mark((function e(){return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,r.get)("/myapi/api/yq_driver/troubleInfo",{id:n.info.id}).then((function(e){n.info=e.data}));case 2:case"end":return e.stop()}}),e)})))()}}};e.default=a},e79f:function(n,e,i){"use strict";i.r(e);var t=i("de1e"),o=i.n(t);for(var u in t)["default"].indexOf(u)<0&&function(n){i.d(e,n,(function(){return t[n]}))}(u);e["default"]=o.a}}]);
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-detailPark"],{1385:function(n,e,t){"use strict";var i=t("746c"),a=t.n(i);a.a},"5d19":function(n,e,t){"use strict";t("6a54");var i=t("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(t("2634")),r=i(t("2fdc")),o=t("75a0"),u={data:function(){return{info:{id:""}}},onLoad:function(n){n.id&&(this.info.id=n.id,this.getParkInfo())},methods:{getParkInfo:function(){var n=this;return(0,r.default)((0,a.default)().mark((function e(){return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,o.get)("/myapi/api/yq_driver/enParkInfo",{id:n.info.id}).then((function(e){n.info=e.data}));case 2:case"end":return e.stop()}}),e)})))()}}};e.default=u},"6af0":function(n,e,t){"use strict";t.r(e);var i=t("a1ce"),a=t("848e");for(var r in a)["default"].indexOf(r)<0&&function(n){t.d(e,n,(function(){return a[n]}))}(r);t("1385");var o=t("828b"),u=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"ef3ff8d8",null,!1,i["a"],void 0);e["default"]=u.exports},"746c":function(n,e,t){var i=t("b3a1");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var a=t("967d").default;a("2f809476",i,!0,{sourceMap:!1,shadowMode:!1})},"848e":function(n,e,t){"use strict";t.r(e);var i=t("5d19"),a=t.n(i);for(var r in i)["default"].indexOf(r)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(r);e["default"]=a.a},a1ce:function(n,e,t){"use strict";t.d(e,"b",(function(){return i})),t.d(e,"c",(function(){return a})),t.d(e,"a",(function(){}));var i=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("v-uni-view",{staticClass:"container"},[t("v-uni-view",[n._v("姓名:"+n._s(n.info.reporter_name))]),t("v-uni-view",[n._v("牵引车牌:"+n._s(n.info.tractor_license))]),t("v-uni-view",[n._v("挂车车牌:"+n._s(n.info.mount_license))]),t("v-uni-view",[n._v("手机号:"+n._s(n.info.phone_num))]),t("v-uni-view",[n._v("入园目的:"+n._s(n.info.mission_text))])],1)},a=[]},b3a1:function(n,e,t){var i=t("c86c");e=i(!1),e.push([n.i,".container[data-v-ef3ff8d8]{padding:20px;line-height:30px}",""]),n.exports=e}}]);
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-ordeDetails"],{"03a4":function(n,i,e){"use strict";e("6a54");var t=e("f5bd").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a=t(e("2634")),o=t(e("2fdc")),u=e("75a0"),r={data:function(){return{info:{id:""}}},onLoad:function(n){n.id&&(this.info.id=n.id,this.getWaybillInfo())},methods:{getWaybillInfo:function(){var n=this;return(0,o.default)((0,a.default)().mark((function i(){return(0,a.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,(0,u.get)("/myapi/api/yq_driver/waybillInfo",{id:n.info.id}).then((function(i){n.info=i.data}));case 2:case"end":return i.stop()}}),i)})))()}}};i.default=r},"0cdb":function(n,i,e){"use strict";var t=e("db90"),a=e.n(t);a.a},"171d":function(n,i,e){"use strict";e.r(i);var t=e("c242"),a=e("894c");for(var o in a)["default"].indexOf(o)<0&&function(n){e.d(i,n,(function(){return a[n]}))}(o);e("0cdb");var u=e("828b"),r=Object(u["a"])(a["default"],t["b"],t["c"],!1,null,"3c70d22b",null,!1,t["a"],void 0);i["default"]=r.exports},"894c":function(n,i,e){"use strict";e.r(i);var t=e("03a4"),a=e.n(t);for(var o in t)["default"].indexOf(o)<0&&function(n){e.d(i,n,(function(){return t[n]}))}(o);i["default"]=a.a},c242:function(n,i,e){"use strict";e.d(i,"b",(function(){return t})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){}));var t=function(){var n=this,i=n.$createElement,e=n._self._c||i;return e("v-uni-view",{staticClass:"container"},[e("v-uni-view",[e("span",[n._v("运单号:")]),n._v(n._s(n.info.waybill_order))]),e("v-uni-view",[n._v("姓名:"+n._s(n.info.waybill_name))]),e("v-uni-view",[n._v("提货日期:"+n._s(n.info.waybill_date))]),e("v-uni-view",[n._v("牵引车牌:"+n._s(n.info.tow_license))]),e("v-uni-view",[n._v("挂车车牌:"+n._s(n.info.mount_license))]),e("v-uni-view",[n._v("手机号:"+n._s(n.info.driver_tel))]),e("v-uni-view",[n._v("产品名称:"+n._s(n.info.sale_product))]),e("v-uni-view",[n._v("装货单位:"+n._s(n.info.waybill_loading))]),e("v-uni-view",[n._v("卸货单位:"+n._s(n.info.waybill_unloading))]),e("v-uni-view",[n._v("入园目的:"+n._s(n.info.w_mission))]),e("v-uni-view",[n._v("装卸货品类:"+n._s(n.info.cargocategory))]),e("v-uni-view",[n._v("数量:"+n._s(n.info.cargocount)+"(吨)")])],1)},a=[]},d397:function(n,i,e){var t=e("c86c");i=t(!1),i.push([n.i,".container[data-v-3c70d22b]{padding:20px;line-height:30px}",""]),n.exports=i},db90:function(n,i,e){var t=e("d397");t.__esModule&&(t=t.default),"string"===typeof t&&(t=[[n.i,t,""]]),t.locals&&(n.exports=t.locals);var a=e("967d").default;a("0314008f",t,!0,{sourceMap:!1,shadowMode:!1})}}]);
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-order"],{"26df":function(t,n,e){var i=e("c86c");n=i(!1),n.push([t.i,".container[data-v-22053042]{padding-top:2px;background-color:#f4f4f4;height:calc(100vh - 46px)}.container .list[data-v-22053042]{padding:5px 20px}.container .list .scroll-Y[data-v-22053042]{height:calc(100vh - 86px)}.container .list .scroll-Y .card[data-v-22053042]{background-color:#fff;padding:10px;margin-bottom:10px;font-size:14px;border-radius:10px}.container .list .scroll-Y .card .title[data-v-22053042]{font-size:16px;height:40px;line-height:40px;border-bottom:1px solid #f4f4f4;display:flex;justify-content:space-between;align-items:center}.container .list .scroll-Y .card .flex[data-v-22053042]{display:flex}.container .list .scroll-Y .card .flex .icon-right[data-v-22053042]{margin-right:5px}.container .list .scroll-Y .card .name_1[data-v-22053042]{margin:10px 0}",""]),t.exports=n},"4d6d":function(t,n,e){"use strict";e.r(n);var i=e("7f53"),a=e("7540");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("cec1");var l=e("828b"),s=Object(l["a"])(a["default"],i["b"],i["c"],!1,null,"22053042",null,!1,i["a"],void 0);n["default"]=s.exports},7540:function(t,n,e){"use strict";e.r(n);var i=e("ce6f"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a},"7f53":function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return i}));var i={uSubsection:e("6a31").default,uIcon:e("8e6f").default},a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",{staticClass:"container"},[e("u-subsection",{attrs:{list:t.top_list,current:t.current,keyName:"name",activeColor:"#f56c6c",mode:"subsection"},on:{change:function(n){arguments[0]=n=t.$handleEvent(n),t.sectionChange.apply(void 0,arguments)}}}),e("v-uni-view",{staticClass:"list"},[e("v-uni-scroll-view",{staticClass:"scroll-Y",attrs:{"scroll-top":t.scrollTop,"scroll-y":"true"},on:{scrolltoupper:function(n){arguments[0]=n=t.$handleEvent(n),t.upper.apply(void 0,arguments)},scrolltolower:function(n){arguments[0]=n=t.$handleEvent(n),t.lower.apply(void 0,arguments)}}},t._l(t.list,(function(n,i){return e("v-uni-view",{staticClass:"card",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toDetails(n.id)}}},[e("v-uni-view",{staticClass:"title"},[t._v("运单编号:"+t._s(n.waybill_order)),e("u-icon",{attrs:{name:"arrow-right",size:"12"}})],1),e("v-uni-view",{staticClass:"name_1 flex"},[t._v("车牌号:"+t._s(n.tow_license))]),e("v-uni-view",{staticClass:"name_1 flex"},[t._v("入园目的:"+t._s(n.w_mission))]),e("v-uni-view",{staticClass:"name_1 flex"},[e("u-icon",{staticClass:"icon-right",attrs:{name:"car-fill",color:"#2979ff",size:"12"}}),t._v("销售产品:"+t._s(n.sale_product))],1),"装货"==n.w_mission?e("v-uni-view",{staticClass:"name_2 flex"},[e("u-icon",{staticClass:"icon-right",attrs:{name:"car-fill",color:"#ddbb0b",size:"12"}}),t._v("装货单位:"+t._s(n.waybill_loading))],1):e("v-uni-view",{staticClass:"name_2 flex"},[e("u-icon",{staticClass:"icon-right",attrs:{name:"car-fill",color:"#ddbb0b",size:"12"}}),t._v("卸货单位:"+t._s(n.waybill_unloading))],1)],1)})),1)],1)],1)},o=[]},ce6f:function(t,n,e){"use strict";e("6a54");var i=e("f5bd").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("2634")),o=i(e("2fdc")),l=e("75a0"),s={data:function(){return{top_list:[{name:"全部"},{name:"未查验"},{name:"通过"},{name:"未通过"}],current:0,scrollTop:0,list:[]}},mounted:function(){this.getWaybillList()},methods:{onPullDownRefresh:function(){var t=this;setTimeout((function(){t.getWaybillList(),uni.stopPullDownRefresh()}),2e3)},sectionChange:function(t){this.current=t,this.getWaybillList()},toDetails:function(t){uni.navigateTo({url:"/pages/order/ordeDetails?id="+t})},upper:function(t){console.log(t)},lower:function(t){console.log(t)},scroll:function(t){console.log(t),this.old.scrollTop=t.detail.scrollTop},getWaybillList:function(){var t=this;return(0,o.default)((0,a.default)().mark((function n(){return(0,a.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,(0,l.get)("/myapi/api/yq_driver/waybillList",{current:t.current}).then((function(n){console.log(n),t.list=n.data}));case 2:case"end":return n.stop()}}),n)})))()}}};n.default=s},cec1:function(t,n,e){"use strict";var i=e("eb92"),a=e.n(i);a.a},eb92:function(t,n,e){var i=e("26df");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("967d").default;a("0d78af48",i,!0,{sourceMap:!1,shadowMode:!1})}}]);
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-park"],{"12b8":function(t,a,e){var n=e("19fa");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=e("967d").default;i("8e3b0470",n,!0,{sourceMap:!1,shadowMode:!1})},1419:function(t,a,e){"use strict";var n=e("12b8"),i=e.n(n);i.a},"19fa":function(t,a,e){var n=e("c86c");a=n(!1),a.push([t.i,".container[data-v-7b17a8fd]{padding:20px}.container .add_btn[data-v-7b17a8fd]{position:fixed;top:50px;right:10px;z-index:1}.container .list .scroll-Y[data-v-7b17a8fd]{height:calc(100vh - 86px)}.container .list .scroll-Y .card[data-v-7b17a8fd]{background-color:#fff;padding:10px;margin-bottom:10px;font-size:14px;border-radius:10px;border:1px solid #f4f4f4}.container .list .scroll-Y .card .title[data-v-7b17a8fd]{font-size:18px;font-weight:700;height:40px;line-height:40px;border-bottom:1px solid #f4f4f4;display:flex;justify-content:space-between;align-items:center}.container .list .scroll-Y .card .flex[data-v-7b17a8fd]{display:flex}.container .list .scroll-Y .card .flex .icon-right[data-v-7b17a8fd]{margin-right:5px}.container .list .scroll-Y .card .name_1[data-v-7b17a8fd]{margin:10px 0}",""]),t.exports=a},"4d83":function(t,a,e){"use strict";e.d(a,"b",(function(){return i})),e.d(a,"c",(function(){return r})),e.d(a,"a",(function(){return n}));var n={uButton:e("14ce").default,uTag:e("f879").default},i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"container"},[e("v-uni-view",{staticClass:"add_btn"},[e("u-button",{staticStyle:{width:"80px"},attrs:{type:"primary",size:"small",text:"去上报",icon:"plus-circle"},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.addPark.apply(void 0,arguments)}}})],1),e("v-uni-view",{staticClass:"list"},[e("v-uni-scroll-view",{staticClass:"scroll-Y",attrs:{"scroll-top":t.scrollTop,"scroll-y":"true"},on:{scrolltoupper:function(a){arguments[0]=a=t.$handleEvent(a),t.upper.apply(void 0,arguments)},scrolltolower:function(a){arguments[0]=a=t.$handleEvent(a),t.lower.apply(void 0,arguments)},scroll:function(a){arguments[0]=a=t.$handleEvent(a),t.scroll.apply(void 0,arguments)}}},t._l(t.list,(function(a,n){return e("v-uni-view",{staticClass:"card",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toDetail(a.id)}}},[e("v-uni-view",{staticClass:"title"},[t._v(t._s(a.tractor_license))]),e("v-uni-view",{staticClass:"name_1 flex"},[t._v("姓 名:"+t._s(a.reporter_name))]),e("v-uni-view",{staticClass:"name_1 flex"},[t._v("电 话:"+t._s(a.phone_num))]),e("v-uni-view",{staticClass:"name_1 flex"},[t._v("入园目的:"+t._s(a.mission_text))]),e("v-uni-view",{staticClass:"name_1 flex"},[t._v("上报时间:"+t._s(a.create_time))]),e("v-uni-view",{staticClass:"name_1 flex"},[1==a.status?e("u-tag",{attrs:{text:"已通过",type:"success"}}):2==a.status?e("u-tag",{attrs:{text:"拒绝",type:"warning"}}):e("u-tag",{attrs:{text:"审核中",type:"error"}})],1)],1)})),1)],1)],1)},r=[]},7895:function(t,a,e){"use strict";e("6a54");var n=e("f5bd").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=n(e("2634")),r=n(e("2fdc")),s=e("75a0"),o={data:function(){return{list:[]}},onLoad:function(){this.getParkList()},methods:{onPullDownRefresh:function(){var t=this;setTimeout((function(){t.getParkList(),uni.stopPullDownRefresh()}),500)},addPark:function(){uni.navigateTo({url:"/pages/order/addPark"})},getParkList:function(){var t=this;return(0,r.default)((0,i.default)().mark((function a(){return(0,i.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,(0,s.get)("/myapi/api/yq_driver/parkList").then((function(a){t.list=a.data}));case 2:case"end":return a.stop()}}),a)})))()},toDetail:function(t){uni.navigateTo({url:"/pages/order/detailPark?id="+t})}}};a.default=o},"81b2":function(t,a,e){"use strict";e.r(a);var n=e("4d83"),i=e("8d64");for(var r in i)["default"].indexOf(r)<0&&function(t){e.d(a,t,(function(){return i[t]}))}(r);e("1419");var s=e("828b"),o=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"7b17a8fd",null,!1,n["a"],void 0);a["default"]=o.exports},"8d64":function(t,a,e){"use strict";e.r(a);var n=e("7895"),i=e.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){e.d(a,t,(function(){return n[t]}))}(r);a["default"]=i.a}}]);
|
|
||||||
BIN
unpackage/dist/build/web/static/logo.png
vendored
|
Before Width: | Height: | Size: 3.9 KiB |
BIN
unpackage/dist/build/web/static/user-bg.jpg
vendored
|
Before Width: | Height: | Size: 7.9 KiB |