Browse Source

功能完成

master
Lj 1 month ago
parent
commit
9557780502
59 changed files with 711 additions and 246 deletions
  1. +3
    -0
      App.uvue
  2. +4
    -0
      api.uts
  3. +5
    -4
      pages/home/home.uvue
  4. +199
    -14
      pages/index/PayPal.uvue
  5. +39
    -39
      pages/index/dingdan.uvue
  6. +41
    -15
      pages/index/login.uvue
  7. +39
    -3
      pages/index/wode.uvue
  8. +5
    -4
      pages/views/dingDanCreate.uvue
  9. +1
    -1
      request.uts
  10. +1
    -1
      uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue
  11. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin-devtools/pages/index/wode.js.map
  12. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/api.js.map
  13. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/app.js.map
  14. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/home/home.js.map
  15. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/PayPal.js.map
  16. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/dingdan.js.map
  17. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/login.js.map
  18. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/wode.js.map
  19. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/views/dingDanCreate.js.map
  20. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/request.js.map
  21. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.js.map
  22. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/0337ac1f9c5f6c8eb2baa52a2b0a4e37c6f107aa
  23. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/0b63a199912039b199ee234091b0a332dcf311c3
  24. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/16963127f819e901040f2c31e9467661be69798b
  25. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/1ff44de48ba5550b348bb265e7c6689e7afc470b
  26. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/26d70dc7dba45d8d70b39629abc02c3d2868477e
  27. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/2eb57aaf85ecd9534c7ad4a6434df0bcbb401c89
  28. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/3ad908063f7f16aab0d49c50ccf7b17af597c55f
  29. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/6abc4b353dd187960818e9e31c27d12fc5ad0363
  30. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/6fcace0c897fa542dde925ca10493a5c608c0b50
  31. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/7040cf73cd587319d1a9aed632e40c3468e38843
  32. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/83ddc8da81f36b5cc169b3083e8890544820cb13
  33. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/8ebaba24050137e127cb570570ab824243f9a392
  34. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/b2feef0512e818b538e221a1684f22d072fb301c
  35. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/b6308e4e1c9512fff7f8ef692b6185120a51942b
  36. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/d175b841e6a4370e406d59539f024ad30545c273
  37. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/d3d7d44743bee647ac20d83886515fadee3d98f5
  38. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/d6021bb8d992cff49574c1c2151092a9d4b5e055
  39. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/e7c56183c574d57f3d6caade3a1e9ac63ab68c8a
  40. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_58fbbb521c888d32e837e15fe95c67e15d2bc2ac/code/cache/90ff9d28fcded1acc1a32156ef58370dcf375ada
  41. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_58fbbb521c888d32e837e15fe95c67e15d2bc2ac/code/cache/c67d086f1bbd288eeed67412e00546dba3fe9728
  42. +4
    -4
      unpackage/dist/dev/mp-weixin/api.js
  43. +7
    -4
      unpackage/dist/dev/mp-weixin/app.js
  44. +4
    -4
      unpackage/dist/dev/mp-weixin/common/assets.js
  45. +1
    -1
      unpackage/dist/dev/mp-weixin/common/vendor.js
  46. +5
    -5
      unpackage/dist/dev/mp-weixin/pages/home/home.js
  47. +175
    -39
      unpackage/dist/dev/mp-weixin/pages/index/PayPal.js
  48. +1
    -1
      unpackage/dist/dev/mp-weixin/pages/index/PayPal.wxml
  49. +61
    -59
      unpackage/dist/dev/mp-weixin/pages/index/dingdan.js
  50. +1
    -1
      unpackage/dist/dev/mp-weixin/pages/index/dingdan.wxml
  51. +40
    -7
      unpackage/dist/dev/mp-weixin/pages/index/login.js
  52. +1
    -1
      unpackage/dist/dev/mp-weixin/pages/index/login.wxml
  53. +34
    -10
      unpackage/dist/dev/mp-weixin/pages/index/wode.js
  54. +2
    -1
      unpackage/dist/dev/mp-weixin/pages/index/wode.json
  55. +1
    -1
      unpackage/dist/dev/mp-weixin/pages/index/wode.wxml
  56. +10
    -0
      unpackage/dist/dev/mp-weixin/pages/index/wode.wxss
  57. +5
    -4
      unpackage/dist/dev/mp-weixin/pages/views/dingDanCreate.js
  58. +1
    -1
      unpackage/dist/dev/mp-weixin/request.js
  59. +0
    -1
      unpackage/dist/dev/mp-weixin/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.wxss

+ 3
- 0
App.uvue View File

@ -3,8 +3,11 @@
export default {
usrInfo:{},
allMsg:[],
infoList:[],
productName:"",
productUrl:'',
storeName:'',
dealerAddress:'',
onLaunch: function () {
console.log('App Launch')
},


+ 4
- 0
api.uts View File

@ -6,6 +6,10 @@ import request from 'request.uts'; // 封装的request.js文件的位置
export const login = (usr) => {
return request(`/contract/miniapp/user/login`, 'POST',usr)
}
// 获取隐私等基本信息
export const getInfoList = (usr) => {
return request(`/contract/miniapp/info/list`, 'GET',usr)
}
// 判断token状态是否存在


+ 5
- 4
pages/home/home.uvue View File

@ -31,7 +31,7 @@
<text class="isshow-header-content-text" @click="searchName">搜索</text>
</view>
<view class="isshow-content" >
<text class="isshow-content-text" v-for="(item, index) in textcontent" :key="index" @click="change_city(item.storeName)">{{item.storeName}}</text>
<text class="isshow-content-text" v-for="(item, index) in textcontent" :key="index" @click="change_city(item.storeName,item.address)">{{item.storeName}}</text>
</view>
</view>
@ -66,6 +66,7 @@ export default {
this.textcontent = res.result;
this.title = res.result[0].storeName;
getApp().storeName = res.result[0].storeName;
getApp().dealerAddress = res.result[0].address;
}
);
},
@ -77,11 +78,10 @@ export default {
this.isshow=false;
}else{
this.isshow=true;
console.log('111')
}
},
orderEntry(){
console.log('111');
uni.navigateTo(
{ url: '/pages/views/dingDanCreate' }
)
@ -100,11 +100,12 @@ export default {
this.textcontent = getApp().allMsg;
}
},
change_city(name){
change_city(name,address){
this.title = name;
this.change_text();
this.isshow_1 = true;
getApp().storeName = this.title;
getApp().dealerAddress = address;
},
close_view(){
this.isshow_1 = false;


+ 199
- 14
pages/index/PayPal.uvue View File

@ -126,9 +126,174 @@
<text class="labels">*</text>
<text class="label">车架号</text>
<input class="input" v-model="clientInfo.appOrderCarList[0].vin" placeholder="请填写车架号" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">使用性质</text>
<input class="input" v-model="clientInfo.appOrderCarList[0].useType" placeholder="请填写使用性质" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">是否新车</text>
<l-radio-group @change="onChanges" class="radio-group" >
<l-radio :checked= "clientInfo.appOrderCarList[0].newCar == 1?true:false" value="是" label="是" fontSize="1rem" style="margin-right: 1rem; transform: scale(0.7);">
<template #icon="{checked}">
<image v-show="checked" style="width:1.2rem; height:1.2rem;" src="/static/image/xuanzhong.png"></image>
<image v-show="!checked" style="width:1.2rem; height:1.2rem" src="/static/image/weixuanzhong.png"></image>
</template>
</l-radio>
<l-radio :checked= "clientInfo.appOrderCarList[0].newCar == 0?true:false" value="否" label="否" fontSize="1rem" style="transform: scale(0.7);">
<template #icon="{checked}">
<image v-show="checked" style="width:1.2rem; height:1.2rem;" src="/static/image/xuanzhong.png"></image>
<image v-show="!checked" style="width:1.2rem; height:1.2rem" src="/static/image/weixuanzhong.png"></image>
</template>
</l-radio>
</l-radio-group>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">车辆型号</text>
<input class="input" v-model="clientInfo.appOrderCarList[0].carModel" placeholder="请选择车辆型号" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">车牌号</text>
<input class="input" v-model="clientInfo.appOrderCarList[0].carNo" placeholder="请输入车牌号" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">发动机号</text>
<input class="input" v-model="clientInfo.appOrderCarList[0].engineNo" placeholder="请输入发动机号" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">里程</text>
<input class="input" v-model="clientInfo.appOrderCarList[0].mileage" placeholder="请输入里程" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">购车时间</text>
<uni-datetime-picker type="datetime" v-model="clientInfo.appOrderCarList[0].buyTime" :clearIcon="false" :border="false">
</uni-datetime-picker>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">车辆购置价</text>
<input class="input" v-model="clientInfo.appOrderCarList[0].buyMoney" placeholder="请输入车辆购置价" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">购置税</text>
<input class="input" v-model="clientInfo.appOrderCarList[0].buyTax" placeholder="请输入购置税" />
</view>
</view>
<!-- 凭证信息 -->
<view class="section">
<view class="con_size">
<image src="/static/image/矩形 5315.png" class='con_size_img' ></image>凭证信息</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">第一受益人</text>
<input class="input" v-model="clientInfo.appOrderVoucherList[0].firstBeneficiary" placeholder="请输入第一受益人" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">服务费</text>
<input class="input" v-model="clientInfo.appOrderVoucherList[0].lenderMoney" placeholder="请输入服务费" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">生效时间</text>
<uni-datetime-picker type="datetime" v-model="clientInfo.appOrderVoucherList[0].effectiveTime" :clearIcon="false" :border="false">
</uni-datetime-picker>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">失效时间</text>
<uni-datetime-picker type="datetime" v-model="clientInfo.appOrderVoucherList[0].endTime" :clearIcon="false" :border="false">
</uni-datetime-picker>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">服务年限</text>
<input class="input" v-model="clientInfo.appOrderVoucherList[0].serviceYear" placeholder="请输入服务年限" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">权益套餐</text>
<input class="input" v-model="clientInfo.appOrderVoucherList[0].equityPackage" placeholder="请输入权益套餐" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">套餐费用</text>
<input class="input" v-model="clientInfo.appOrderVoucherList[0].packageMoney" placeholder="请输入套餐费用" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">商业车损险编号</text>
<input class="input" v-model="clientInfo.appOrderVoucherList[0].carInsuranceNo" placeholder="请输入商业车损险编号" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">上牌城市</text>
<input class="input" v-model="clientInfo.appOrderVoucherList[0].registeredCity" placeholder="请输入上牌城市" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">保司名称</text>
<input class="input" v-model="clientInfo.appOrderVoucherList[0].insuranceName" placeholder="请输入保司名称" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">受让人姓名</text>
<input class="input" v-model="clientInfo.appOrderVoucherList[0].assigneeName" placeholder="请输入受让人姓名" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">受让人联系电话</text>
<input class="input" v-model="clientInfo.appOrderVoucherList[0].assigneePhone" placeholder="请输入受让人联系电话" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">受让人身份证</text>
<input class="input" v-model="clientInfo.appOrderVoucherList[0].assigneeCardNo" placeholder="请输入受让人身份证" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">付款时间</text>
<uni-datetime-picker type="datetime" v-model="clientInfo.appOrderVoucherList[0].payTime" :clearIcon="false" :border="false">
</uni-datetime-picker>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">经销商地址</text>
<input class="input" v-model="clientInfo.appOrderVoucherList[0].dealerAddress" placeholder="请输入经销商地址" />
</view>
</view>
<!-- 金融信息 -->
<view class="section">
<view class="con_size">
<image src="/static/image/矩形 5315.png" class='con_size_img' ></image>金融信息</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">贷款机构</text>
<input class="input" v-model="clientInfo.appOrderFinanceList[0].lender" placeholder="请输入贷款机构" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">贷款金额</text>
<input class="input" v-model="clientInfo.appOrderFinanceList[0].lenderMoney" placeholder="请输入贷款金额" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">贷款期限</text>
<input class="input" v-model="clientInfo.appOrderFinanceList[0].lenderYear" placeholder="请输入贷款期限" />
</view>
</view>
<!-- 产品描述 -->
<view class="section">
<view class="con_size">
@ -303,7 +468,7 @@ export default {
productContractTemp: "",
productMone : null,
productName: "自动填写所选商品服务分类",
productServiceYear: "",
productServiceYear: 1,
saleName: "",
salePort: ''||"售前",
status: 0,
@ -332,6 +497,8 @@ export default {
isToken();
this.clientInfo.storeName = getApp().storeName || "自动填写所选择的门店";
this.clientInfo.productName = getApp().productName || "自动填写所选商品服务分类";
this.clientInfo.appOrderVoucherList[0].dealerAddress = getApp().dealerAddress;
this.clientInfo.productContractTemp = getApp().productUrl;
for (var index = 0; index < getApp().allMsg.length; index++) {
this.payees.push(getApp().allMsg[index].storeName);
}
@ -340,7 +507,6 @@ export default {
'X-Access-Token':uni.getStorageSync('token')
}
getChildListBatch().then((res)=>{
console.log(res.result.records)
this.carBrands = [];
for (var index = 0; index < res.result.records.length; index++) {
this.carBrands.push(res.result.records[index].name);
@ -380,7 +546,7 @@ export default {
let token = uni.getStorageSync('token')
return new Promise((resolve, reject) => {
let a = uni.uploadFile({
url: 'https://gpt.aiym.run/contract/miniapp/file/upload', // 仅为示例,非真实的接口地址
url: 'https://www.shengchuangyunkong.com/contract/miniapp/file/upload', // 仅为示例,非真实的接口地址
filePath: url,
name: 'file',
formData: {
@ -399,9 +565,7 @@ export default {
})
},
get_to(){
console.log('clientInfo', JSON.parse(JSON.stringify(this.clientInfo)));
add(JSON.parse(JSON.stringify(this.clientInfo))).then((res)=>{
console.log(res)
})
uni.switchTab (
{ url: '/pages/index/dingdan' }
@ -426,7 +590,14 @@ export default {
// 取服务年限
bindServiceAgeChange(e) {
this.serviceAgeIndex = e.detail.value
this.clientInfo.productServiceYear = this.serviceAges[e.detail.value];
if(this.serviceAges[e.detail.value] == '1年'){
this.clientInfo.productServiceYear = 1;
}else if(this.serviceAges[e.detail.value] == '2年' ){
this.clientInfo.productServiceYear = 2;
}else{
this.clientInfo.productServiceYear = 3;
};
},
// 选择收款方
bindPayeeChange(e) {
@ -476,7 +647,7 @@ export default {
// 上传识别
uploadIdentify(token,side,filePath,type) {
uni.uploadFile({
url: 'https://gpt.aiym.run/contract/miniapp/file/upload', //仅为示例,非真实的接口地址
url: 'https://www.shengchuangyunkong.com/contract/miniapp/file/upload', //仅为示例,非真实的接口地址
filePath:filePath,
name: 'file',
formData: {
@ -486,16 +657,19 @@ export default {
'X-Access-Token':token
},
success: (res) => {
let image = JSON.parse(res.data).message;
console.log(image);
if(type == "sfz"){
idCardInfo({'side':side,'url':JSON.parse(res.data).message}).then((res)=>{
if(res.success){
if(side == 'front'){
this.clientInfo.custName =res.result.name;
this.clientInfo.appOrderVoucherList[0].firstBeneficiary = res.result.name;
this.clientInfo.custAddress= res.result.address;
this.clientInfo.custCardNo = res.result.idCard ;
this.clientInfo.certFront = filePath;
this.clientInfo.certFront = image;
}else {
this.clientInfo.certBack=filePath;
this.clientInfo.certBack=image;
}
}else{
@ -516,12 +690,17 @@ export default {
// 处理车辆信息
carCert({'url':JSON.parse(res.data).message}).then((res)=>{
if(res.success){
console.log('res',res)
console.log('车辆号',res)
// 车牌车系
this.clientInfo.appOrderCarList[0].carSeries = res.result.CarBrand;
// 车架号
this.clientInfo.appOrderCarList[0].vin = res.result.VinNo;
this.clientInfo.carPic = filePath;
this.clientInfo.carPic = image;
// 发动机号
this.clientInfo.appOrderCarList[0].engineNo = res.result.EngineNo;
// 车辆型号
this.clientInfo.appOrderCarList[0].carModel = res.result.CarModel;
}else{
uni.showToast({
title: "识别错误,请重新上传!",
@ -546,13 +725,19 @@ export default {
});
},
onChange(e){
console.log("e",e);
if(e = '个人'){
console.log(e);
if(e == '个人'){
this.clientInfo.custType = 0;
}else{
this.clientInfo.custType = 1;
}
},
onChanges(e){
if(e == '是'){
this.clientInfo.appOrderCarList[0].newCar = 1;
}else{
this.clientInfo.appOrderCarList[0].newCar = 0;
}
}
}
}


+ 39
- 39
pages/index/dingdan.uvue View File

@ -14,7 +14,7 @@
<!-- 搜索栏 -->
<view class="search-box">
<uni-icons class=" isshow-header-content-icon" type="search" :size="20"></uni-icons>
<uni-easyinput :inputBorder="false" class=" search-input" v-model="searchKey" placeholder="请输入客户姓名/客户手机号" :focus="firstFocus" />
<uni-easyinput :inputBorder="false" class=" search-input" v-model="searchKey" placeholder="请输入客户姓名/客户手机号" :focus="firstFocus" @clear = 'clear' />
<button @tap="handleSearch" class="search-btn" hover-class="none">搜索</button>
</view>
@ -50,9 +50,9 @@
<text>门店名称:{{ order.storeName }}</text>
</view>
<button class="download-btn" @tap="downloadPDF(order.id)" v-if='order.status == 0 ? true : false'>PDF下载</button>
<image src="/static/image/组 71693.png" v-if='order.status == 0 ? true : false' class="status"></image>
<image src="/static/image/组 71697.png" v-if='order.status == 0 ? false : true' class="status"></image>
<button class="download-btn" @tap="downloadPDF(order.contractUrl)" v-if='order.status == 1 ? true : false'>PDF下载</button>
<image src="/static/image/组 71693.png" v-if='order.status == 1 ? true : false' class="status"></image>
<image src="/static/image/组 71697.png" v-if='order.status == 1 ? false : true' class="status"></image>
</view>
</scroll-view>
</template>
@ -65,7 +65,7 @@ export default {
params:{
pageNo: 1,
pageSize: 10,
status: ''
status: ''
},
firstFocus:false,
searchKey: '', // 搜索关键词
@ -81,6 +81,7 @@ export default {
this.orders.push( res.result.records[index])
}
})
},
computed: {
filteredOrders() {
@ -92,9 +93,13 @@ export default {
}
},
methods: {
// 清楚搜索框信息
clear(){
this.searchKey = '';
},
// 到底部刷新
scrolltolower(){
this.params.pageNo++
console.log('pageNo', this.params.pageNo)
uni.showLoading({
title: '刷新中..'
})
@ -112,7 +117,7 @@ export default {
this.activeTab = status;
if(status== '已生效'){
this.orders.splice(0)
this.params.status = 0;
this.params.status = 1;
this.params.pageNo= 1;
list(this.params).then((res)=>{
let orders = res.result.records;
@ -123,7 +128,7 @@ export default {
})
}else if (status== '已失效'){
this.orders.splice(0);
this.params.status = 1;
this.params.status = 2;
this.params.pageNo= 1
list(this.params).then((res)=>{
for (var index = 0; index < res.result.records.length; index++) {
@ -207,41 +212,37 @@ export default {
}
})
},
// PDF下载
async downloadPDF(id) {
async downloadPDF(contractUrl) {
uni.showLoading({ title: '下载中...' })
// 1. 调用下载接口
addContract({orderId:id}).then((res)=>{
let url = res.message;
uni.downloadFile({
url: url,//下载地址接口返回
uni.downloadFile({
url: contractUrl,//下载地址接口返回
success: (data) => {
uni.saveFile({
tempFilePath: data.tempFilePath, //临时路径
// filePath:"内部存储/Documents/",
success: (res)=> {
uni.hideLoading();
uni.showToast({
icon: 'none',
mask: true,
title: '文件已下载,打开后请点击右上角保存!', //保存路径
duration: 3000,
});
setTimeout(() => {
//打开文档查看
uni.openDocument({
filePath: res.savedFilePath,
showMenu:true,
success: function(res) {
list({pageNo:1,pageSize:10}).then((res)=>{
for (var index = 0; index < res.result.records.length; index++) {
this.orders.push( res.result.records[index])
}
})
}
});
}, 3000)
tempFilePath: data.tempFilePath, //临时路径
// filePath:"内部存储/Documents/",
success: (res)=> {
uni.hideLoading();
uni.showToast({
icon: 'none',
mask: true,
title: '文件已下载,打开后请点击右上角保存!', //保存路径
duration: 2000,
});
setTimeout(() => { //打开文档查看
uni.openDocument({
filePath: res.savedFilePath,
showMenu:true,
success: function(res) {
list({pageNo:1,pageSize:10}).then((res)=>{
for (var index = 0; index < res.result.records.length; index++) {
this.orders.push( res.result.records[index])
}
})
}
});
}, 3000)
}
})
},
@ -254,7 +255,6 @@ export default {
});
},
});
})
}
}
}


+ 41
- 15
pages/index/login.uvue View File

@ -25,7 +25,7 @@
<view class="agreement">
<radio class = "login-agree" value="r1" :checked="checked" @click="changeCK">登录即代表同意
</radio>
<text class="link" @click="showModal">《用户协议》</text>
<text class="link" @click="showModals">《用户协议》</text>
<text class="login-agree">与</text>
<text class="link" @click="showModal">《隐私政策》</text>
</view>
@ -43,7 +43,7 @@
confirmText
cancelText
>
没有取消弹框
<text v-html="privacy"></text>
<template v-slot:footer>
<view class="mini_container">
<button class="mini-btn" type="primary" size="mini" @click="closeModal">取消</button>
@ -51,11 +51,27 @@
</view>
</template>
</mosowe-confirm-popup>
<mosowe-confirm-popup
v-model="popupNoCancelShow1"
title="用户协议"
confirmText
cancelText
>
<text v-html="agreement"></text>
<template v-slot:footer>
<view class="mini_container">
<button class="mini-btn" type="primary" size="mini" @click="closeModals">取消</button>
<button class="mini-btn" type="primary" size="mini" @click="getConfirms">确认</button>
</view>
</template>
</mosowe-confirm-popup>
</view>
</template>
<script>
import {login} from '@/api.uts';
import {login,getInfoList} from '@/api.uts';
export default {
data() {
return {
@ -65,21 +81,18 @@ export default {
modalTitle: '', // 弹窗标题
modalContent: '' ,// 弹窗内容
popupNoCancelShow: false,
popupNoCancelShow1:false,
checked:false,
agreement:'',
privacy:''
};
},
mounted() {
// uni.getStorage(
// {
// key:"token",
// success: (res) => {
// uni.switchTab({ url: '/pages/home/home' });
// },
// fail:(err)=>{
// console.log(err);
// }
// }
// )
getInfoList().then((res)=>{
getApp().aboutUs = res.result[0].aboutUs;
this.privacy = res.result[0].privacy;
this.agreement = res.result[0].agreement;
})
},
methods: {
// 处理登录逻辑
@ -120,12 +133,17 @@ mounted() {
showModal() {
this.popupNoCancelShow = true ;
},
showModals(){
this.popupNoCancelShow1 = true ;
},
// 关闭弹窗
closeModal() {
this.popupNoCancelShow = false ;
},
closeModals() {
this.popupNoCancelShow1 = false ;
},
change(e) {
// console.log('当前模式:' + e.type + ',状态:' + e.show);
},
changeCK(){
if(this.checked){
@ -142,6 +160,14 @@ mounted() {
this.checked = true;
}
this.popupNoCancelShow = false;
},
getConfirms(){
if(this.checked){
this.checked = this.checked;
}else{
this.checked = true;
}
this.popupNoCancelShow1 = false;
}
}
};


+ 39
- 3
pages/index/wode.uvue View File

@ -10,7 +10,7 @@
<!-- 功能列表 -->
<view class="menu">
<view class="menu-item" >
<view class="menu-item" @click="showModal">
<view class="menu-item-left">
<image class="arrow" src="/static/image/组 71696.png"></image>
<text>关于我们</text>
@ -36,6 +36,20 @@
</view>
</view>
<mosowe-confirm-popup
v-model="popupNoCancelShow"
title="用户协议"
confirmText
cancelText
>
<text v-html="aboutUs"></text>
<template v-slot:footer>
<view class="mini_container">
<button class="mini-btn" type="primary" size="mini" @click="closeModal">取消</button>
<button class="mini-btn" type="primary" size="mini" @click="getConfirm">确认</button>
</view>
</template>
</mosowe-confirm-popup>
</view>
</template>
@ -45,16 +59,27 @@ export default {
data() {
return {
avatar:'',
nickName:''
nickName:'',
aboutUs:'',
popupNoCancelShow:false,
}
},
mounted() {
isToken();
this.avatar = getApp().usrInfo.avatar;
this.nickName = getApp().usrInfo.nickName;
console.log(uni.getStorageSync('token'));
this.aboutUs = getApp().aboutUs;
},
methods: {
showModal() {
this.popupNoCancelShow = true ;
},
getConfirm(){
this.popupNoCancelShow = false;
},
closeModal() {
this.popupNoCancelShow = false ;
},
logout() {
uni.showModal({
title: '提示',
@ -168,4 +193,15 @@ export default {
font-size: 14px;
}
.mini_container{
display: flex;
flex-direction: row;
align-items: center;
}
/* 按钮 */
.mini-btn{
width: 30%;
margin-left: 15%;
}
</style>

+ 5
- 4
pages/views/dingDanCreate.uvue View File

@ -27,7 +27,7 @@
<scroll-view show-scrollbar="false" class="content_footer_right">
<view v-for="(item,index) in product_2" class="content_footer_right_content">
<text class="text" :class="['content_footer_right_content_text', item.name === name?'select_color':'']">{{item.name}}</text>
<radio class="content_footer_right_content_radio" value="item.id" :checked="item.name == name" activeBackgroundColor="#04517b" @click="selctRadio(item.name)"></radio>
<radio class="content_footer_right_content_radio" value="item.id" :checked="item.name == name" activeBackgroundColor="#04517b" @click="selctRadio(item.name,item.pdf)"></radio>
</view>
</scroll-view>
</view>
@ -52,7 +52,7 @@
name:''
}
},
onLoad() {
mounted() {
isToken();
getProduct().then((res)=>{
this.product= res.result;
@ -63,6 +63,7 @@
this.product_3= res.result[0].products;
getApp().productName = res.result[0].products[0].name;
getApp().productUrl = res.result[0].products[0].pdf;
this.name = res.result[0].products[0].name;
});
@ -77,7 +78,6 @@
}
},
toNext(){
console.log(111);
uni.navigateTo(
{ url: '/pages/index/PayPal' }
)
@ -90,8 +90,9 @@
this.product_2 = this.product[id].products;
},
selctRadio(name){
selctRadio(name,pdf){
getApp().productName = name;
getApp().productUrl = pdf;
this.name = name ;
},
handleSearch(event) {


+ 1
- 1
request.uts View File

@ -1,5 +1,5 @@
const url_all = {
'DEV': 'https://gpt.aiym.run', // 开发
'DEV': 'https://www.shengchuangyunkong.com', // 开发
// 'PRO': 'http://111.111.111.111:8080', // 生产
}


+ 1
- 1
uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue View File

@ -839,7 +839,7 @@
.uni-date {
width: 100%;
flex: 1;
// flex: 1;
}
.uni-date-x {


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin-devtools/pages/index/wode.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/api.js.map View File

@ -1 +1 @@
{"version":3,"file":"api.js","sources":["api.uts"],"sourcesContent":["import request from 'request.uts'; // 封装的request.js文件的位置\n\r\n\r\n\n// 获取用户基本信息 \nexport const login = (usr) => {\n\treturn request(`/contract/miniapp/user/login`, 'POST',usr)\n}\r\n\r\n// 判断token状态是否存在\r\n\r\nexport const isToken = () => {\r\n\tif(!uni.getStorageSync('token')){\r\n\t\tuni.navigateTo(\r\n\t\t{ url: '/pages/index/login' }\r\n\t\t)\r\n\t}\n}\r\n\r\n\r\nexport const getStoreName = () => {\n\treturn request(`/contract/miniapp/store/list`, 'GET')\n}\n\n\r\n\r\nexport const getProduct = (product) => {\n\treturn request(`/contract/miniapp/product/categories`, 'GET',product)\n}\r\n\r\n\r\n\r\nexport const idCardInfo = (idCardInfo) => {\n\treturn request(`/contract/miniapp/file/ocr/idcard`, 'GET',idCardInfo,true)\n}\r\n\r\n\r\nexport const upload = (url) => {\n\tuni.uploadFile({\r\n\t\t\t\turl: 'https://gpt.aiym.run/contract/miniapp/file/upload', //仅为示例,非真实的接口地址\r\n\t\t\t\tfilePath: url,\r\n\t\t\t\tname: 'file',\r\n\t\t\t\tformData: {\r\n\t\t\t\t\tbiz: 'cert'\r\n\t\t\t\t},\r\n\t\t\t\tsuccess: (uploadFileRes) => {\r\n\t\t\t\t\treturn uploadFileRes\r\n\t\t\t\t\t\t\t\t console.log('ossurl:',uploadFileRes.data);\r\n\t\t\t\t},\r\n\t\t\t\tfail:(err)=>{\r\n\t\t\t\t\tconsole.log(err)\r\n\t\t\t\t}\r\n\t\t\t});\n}\r\n\r\n\r\n\r\nexport const getOrderList = () => {\n\treturn request(`/contract/miniapp/order/list`, 'POST')\n}\r\n\r\n\r\n\r\nexport const getChildListBatch = () => {\n\treturn request(`/contract/miniapp/car/rootList`, 'GET')\n}\r\n\r\n\r\n\r\n\r\nexport const add = (appOrderCarList) => {\n\treturn request(`/contract/miniapp/order/add`, 'POST',appOrderCarList)\n}\r\n\r\n\r\n\r\nexport const list = (params) => {\n\treturn request(`/contract/miniapp/order/list`, 'GET',params)\n}\r\n\r\n\r\n\r\n\r\nexport const carCert = (params) => {\n\treturn request(`/contract/miniapp/file/ocr/carCert`, 'GET',params,true)\n}\r\n\r\n\r\n\r\n\r\nexport const logout = () => {\n\treturn request(`/contract/miniapp/user/logout`, 'POST')\n}\r\n\r\n\n\r\n\r\nexport const addContract = (ID) => {\n\treturn request(`/contract/miniapp/order/addContract`, 'GET',ID)\n}"],"names":["request","uni","idCardInfo"],"mappings":";;;AAKa,MAAA,QAAS,CAAC,MAAG,SAAA;AACzB,SAAOA,QAAO,QAAC,gCAAgC,QAAO,GAAG;AAC1D;AAIa,MAAA,UAAW,MAAA;AACvB,MAAG,CAACC,cAAG,MAAC,eAAe,OAAO,GAAE;AAC/BA,kBAAAA,MAAI,WACJ,EAAE,KAAK,qBAAsB,CAAA;AAAA,EAE7B;AACF;AAGa,MAAA,eAAgB,MAAA;AAC5B,SAAOD,gBAAQ,gCAAgC,KAAK;AACrD;AAIa,MAAA,aAAc,CAAC,UAAO,SAAA;AAClC,SAAOA,QAAO,QAAC,wCAAwC,OAAM,OAAO;AACrE;AAIa,MAAA,aAAc,CAACE,cAAU,SAAA;AACrC,SAAOF,QAAAA,QAAQ,qCAAqC,OAAME,aAAW,IAAI;AAC1E;AA6Ba,MAAA,oBAAqB,MAAA;AACjC,SAAOF,gBAAQ,kCAAkC,KAAK;AACvD;AAKa,MAAA,MAAO,CAAC,kBAAe,SAAA;AACnC,SAAOA,QAAO,QAAC,+BAA+B,QAAO,eAAe;AACrE;AAIa,MAAA,OAAQ,CAAC,SAAM,SAAA;AAC3B,SAAOA,QAAO,QAAC,gCAAgC,OAAM,MAAM;AAC5D;AAKa,MAAA,UAAW,CAAC,SAAM,SAAA;AAC9B,SAAOA,QAAAA,QAAQ,sCAAsC,OAAM,QAAO,IAAI;AACvE;AAKa,MAAA,SAAU,MAAA;AACtB,SAAOA,gBAAQ,iCAAiC,MAAM;AACvD;AAKa,MAAA,cAAe,CAAC,KAAE,SAAA;AAC9B,SAAOA,QAAO,QAAC,uCAAuC,OAAM,EAAE;AAC/D;;;;;;;;;;;;"}
{"version":3,"file":"api.js","sources":["api.uts"],"sourcesContent":["import request from 'request.uts'; // 封装的request.js文件的位置\n\r\n\r\n\n// 获取用户基本信息 \nexport const login = (usr) => {\n\treturn request(`/contract/miniapp/user/login`, 'POST',usr)\n}\r\n// 获取隐私等基本信息\r\nexport const getInfoList = (usr) => {\n\treturn request(`/contract/miniapp/info/list`, 'GET',usr)\n}\r\n\r\n// 判断token状态是否存在\r\n\r\nexport const isToken = () => {\r\n\tif(!uni.getStorageSync('token')){\r\n\t\tuni.navigateTo(\r\n\t\t{ url: '/pages/index/login' }\r\n\t\t)\r\n\t}\n}\r\n\r\n\r\nexport const getStoreName = () => {\n\treturn request(`/contract/miniapp/store/list`, 'GET')\n}\n\n\r\n\r\nexport const getProduct = (product) => {\n\treturn request(`/contract/miniapp/product/categories`, 'GET',product)\n}\r\n\r\n\r\n\r\nexport const idCardInfo = (idCardInfo) => {\n\treturn request(`/contract/miniapp/file/ocr/idcard`, 'GET',idCardInfo,true)\n}\r\n\r\n\r\nexport const upload = (url) => {\n\tuni.uploadFile({\r\n\t\t\t\turl: 'https://gpt.aiym.run/contract/miniapp/file/upload', //仅为示例,非真实的接口地址\r\n\t\t\t\tfilePath: url,\r\n\t\t\t\tname: 'file',\r\n\t\t\t\tformData: {\r\n\t\t\t\t\tbiz: 'cert'\r\n\t\t\t\t},\r\n\t\t\t\tsuccess: (uploadFileRes) => {\r\n\t\t\t\t\treturn uploadFileRes\r\n\t\t\t\t\t\t\t\t console.log('ossurl:',uploadFileRes.data);\r\n\t\t\t\t},\r\n\t\t\t\tfail:(err)=>{\r\n\t\t\t\t\tconsole.log(err)\r\n\t\t\t\t}\r\n\t\t\t});\n}\r\n\r\n\r\n\r\nexport const getOrderList = () => {\n\treturn request(`/contract/miniapp/order/list`, 'POST')\n}\r\n\r\n\r\n\r\nexport const getChildListBatch = () => {\n\treturn request(`/contract/miniapp/car/rootList`, 'GET')\n}\r\n\r\n\r\n\r\n\r\nexport const add = (appOrderCarList) => {\n\treturn request(`/contract/miniapp/order/add`, 'POST',appOrderCarList)\n}\r\n\r\n\r\n\r\nexport const list = (params) => {\n\treturn request(`/contract/miniapp/order/list`, 'GET',params)\n}\r\n\r\n\r\n\r\n\r\nexport const carCert = (params) => {\n\treturn request(`/contract/miniapp/file/ocr/carCert`, 'GET',params,true)\n}\r\n\r\n\r\n\r\n\r\nexport const logout = () => {\n\treturn request(`/contract/miniapp/user/logout`, 'POST')\n}\r\n\r\n\n\r\n\r\nexport const addContract = (ID) => {\n\treturn request(`/contract/miniapp/order/addContract`, 'GET',ID)\n}"],"names":["request","uni","idCardInfo"],"mappings":";;;AAKa,MAAA,QAAS,CAAC,MAAG,SAAA;AACzB,SAAOA,QAAO,QAAC,gCAAgC,QAAO,GAAG;AAC1D;AAEa,MAAA,cAAe,CAAC,MAAG,SAAA;AAC/B,SAAOA,QAAO,QAAC,+BAA+B,OAAM,GAAG;AACxD;AAIa,MAAA,UAAW,MAAA;AACvB,MAAG,CAACC,cAAG,MAAC,eAAe,OAAO,GAAE;AAC/BA,kBAAAA,MAAI,WACJ,EAAE,KAAK,qBAAsB,CAAA;AAAA,EAE7B;AACF;AAGa,MAAA,eAAgB,MAAA;AAC5B,SAAOD,gBAAQ,gCAAgC,KAAK;AACrD;AAIa,MAAA,aAAc,CAAC,UAAO,SAAA;AAClC,SAAOA,QAAO,QAAC,wCAAwC,OAAM,OAAO;AACrE;AAIa,MAAA,aAAc,CAACE,cAAU,SAAA;AACrC,SAAOF,QAAAA,QAAQ,qCAAqC,OAAME,aAAW,IAAI;AAC1E;AA6Ba,MAAA,oBAAqB,MAAA;AACjC,SAAOF,gBAAQ,kCAAkC,KAAK;AACvD;AAKa,MAAA,MAAO,CAAC,kBAAe,SAAA;AACnC,SAAOA,QAAO,QAAC,+BAA+B,QAAO,eAAe;AACrE;AAIa,MAAA,OAAQ,CAAC,SAAM,SAAA;AAC3B,SAAOA,QAAO,QAAC,gCAAgC,OAAM,MAAM;AAC5D;AAKa,MAAA,UAAW,CAAC,SAAM,SAAA;AAC9B,SAAOA,QAAAA,QAAQ,sCAAsC,OAAM,QAAO,IAAI;AACvE;AAKa,MAAA,SAAU,MAAA;AACtB,SAAOA,gBAAQ,iCAAiC,MAAM;AACvD;;;;;;;;;;;;"}

+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/app.js.map View File

@ -1 +1 @@
{"version":3,"file":"app.js","sources":["App.uvue"],"sourcesContent":["<script lang=\"uts\">\r\n\tlet firstBackTime = 0\r\n\texport default {\r\n\t\tusrInfo:{},\r\n\t\tallMsg:[],\r\n\t\tproductName:\"\",\r\n\t\tstoreName:'',\r\n\t\tonLaunch: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:9','App Launch')\r\n\t\t},\r\n\t\tonShow: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:12','App Show')\r\n\t\t},\r\n\t\tonHide: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:15','App Hide')\r\n\t\t},\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\t\tonExit: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:36','App Exit')\r\n\t\t},\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t@import \"@/static/iconfont.css\";\r\n\t@import \"css/header.css\";\r\n\t/*每个页面公共css */\r\n\tbody{\r\n\t\tbackground-color: #ffffff;\r\n\t}\r\n\t\r\n\tbody {\r\n\t\t font-family: Arial, sans-serif;\r\n\t\t margin: 0;\r\n\t\t padding: 0;\r\n\t}\r\n\tbody::-webkit-scrollbar {\r\n display: none;\r\n}\r\n\t @media only screen and (-webkit-min-device-pixel-ratio:2),(min-device-pixel-ratio:2){\r\n\t .uni-hairline{\r\n\t border-width: 0.5px !important;\r\n\t }\r\n\t .uni-nbfc {\r\n\t background-color: transparent !important;\r\n\t }\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 320px) {\r\n\t html {font-size: 14px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 360px) {\r\n\t html {font-size: 16px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 400px) {\r\n\t html {font-size: 18px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 440px) {\r\n\t html {font-size: 20px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 480px) {\r\n\t html {font-size: 22px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 640px) {\r\n\t html {font-size: 28px;}\r\n\t }\r\n\r\n</style>"],"names":["defineComponent","uni"],"mappings":";;;;;;;;;;;AAEC,MAAA,YAAeA,8BAAA;AAAA,EACd,SAAQ,CAAE;AAAA,EACV,QAAO,CAAE;AAAA,EACT,aAAY;AAAA,EACZ,WAAU;AAAA,EACV,UAAU,WAAA;AACTC,kBAAAA,MAAI,MAAM,OAAM,iBAAgB,YAAY;AAAA,EAC5C;AAAA,EACD,QAAQ,WAAA;AACPA,kBAAAA,MAAI,MAAM,OAAM,kBAAiB,UAAU;AAAA,EAC3C;AAAA,EACD,QAAQ,WAAA;AACPA,kBAAAA,MAAI,MAAM,OAAM,kBAAiB,UAAU;AAAA,EAC3C;AAAA,EAmBD,QAAQ,WAAA;AACPA,kBAAAA,MAAI,MAAM,OAAM,kBAAiB,UAAU;AAAA,EAC3C;CACF;;;;;;;;;"}
{"version":3,"file":"app.js","sources":["App.uvue"],"sourcesContent":["<script lang=\"uts\">\r\n\tlet firstBackTime = 0\r\n\texport default {\r\n\t\tusrInfo:{},\r\n\t\tallMsg:[],\r\n\t\tinfoList:[],\r\n\t\tproductName:\"\",\r\n\t\tproductUrl:'',\r\n\t\tstoreName:'',\r\n\t\tdealerAddress:'',\r\n\t\tonLaunch: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:12','App Launch')\r\n\t\t},\r\n\t\tonShow: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:15','App Show')\r\n\t\t},\r\n\t\tonHide: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:18','App Hide')\r\n\t\t},\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\t\tonExit: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:39','App Exit')\r\n\t\t},\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t@import \"@/static/iconfont.css\";\r\n\t@import \"css/header.css\";\r\n\t/*每个页面公共css */\r\n\tbody{\r\n\t\tbackground-color: #ffffff;\r\n\t}\r\n\t\r\n\tbody {\r\n\t\t font-family: Arial, sans-serif;\r\n\t\t margin: 0;\r\n\t\t padding: 0;\r\n\t}\r\n\tbody::-webkit-scrollbar {\r\n display: none;\r\n}\r\n\t @media only screen and (-webkit-min-device-pixel-ratio:2),(min-device-pixel-ratio:2){\r\n\t .uni-hairline{\r\n\t border-width: 0.5px !important;\r\n\t }\r\n\t .uni-nbfc {\r\n\t background-color: transparent !important;\r\n\t }\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 320px) {\r\n\t html {font-size: 14px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 360px) {\r\n\t html {font-size: 16px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 400px) {\r\n\t html {font-size: 18px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 440px) {\r\n\t html {font-size: 20px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 480px) {\r\n\t html {font-size: 22px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 640px) {\r\n\t html {font-size: 28px;}\r\n\t }\r\n\r\n</style>"],"names":["defineComponent","uni"],"mappings":";;;;;;;;;;;AAEC,MAAA,YAAeA,8BAAA;AAAA,EACd,SAAQ,CAAE;AAAA,EACV,QAAO,CAAE;AAAA,EACT,UAAS,CAAE;AAAA,EACX,aAAY;AAAA,EACZ,YAAW;AAAA,EACX,WAAU;AAAA,EACV,eAAc;AAAA,EACd,UAAU,WAAA;AACTC,kBAAAA,MAAI,MAAM,OAAM,kBAAiB,YAAY;AAAA,EAC7C;AAAA,EACD,QAAQ,WAAA;AACPA,kBAAAA,MAAI,MAAM,OAAM,kBAAiB,UAAU;AAAA,EAC3C;AAAA,EACD,QAAQ,WAAA;AACPA,kBAAAA,MAAI,MAAM,OAAM,kBAAiB,UAAU;AAAA,EAC3C;AAAA,EAmBD,QAAQ,WAAA;AACPA,kBAAAA,MAAI,MAAM,OAAM,kBAAiB,UAAU;AAAA,EAC3C;CACF;;;;;;;;;"}

+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/home/home.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/PayPal.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/dingdan.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/login.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/wode.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/views/dingDanCreate.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/request.js.map View File

@ -1 +1 @@
{"version":3,"file":"request.js","sources":["request.uts"],"sourcesContent":["const url_all = {\n\t'DEV': 'https://gpt.aiym.run', // 开发\n\t// 'PRO': 'http://111.111.111.111:8080', // 生产\n}\n\nlet BASEURL = url_all['DEV'] // 调整当前环境\n\n/*\n* 全局请求封装\n* @param path 请求路径\n* @param method 请求类型(GET/POST/DELETE等)\n* @oaram data 请求体数据\n* @param loading 请求未完成是是否显示加载中,默认为true\n*/\nexport default (path, method, data = {}, loading) => {\n\t// 获取存储token\n\tlet token = uni.getStorageSync(\"token\");\r\n\t\r\n\t// uni.getStorage(\r\n\t// {\r\n\t// key:\"token\",\r\n\t// success: (res) => {\r\n\t// console.log('rea.data:',res.data);\r\n\t// // token = res.data;\r\n\t// },\r\n\t// fail:(err)=>{\r\n\t// token = '';\r\n\t// }\r\n\t// }\r\n\t// )\n\n\tif (loading) {\n\t\tuni.showLoading({\n\t\t\ttitle: \"加载中\",\n\t\t\tmask: true\n\t\t});\n\t};\n\t//根据token进行调用函数\n\tif (token != '') {\n\t\treturn tokenRequest(path, method, data, loading, token)\n\t} else {\n\t\treturn noTokenRequest(path, method, data, loading)\n\t}\n};\n\n// 无token时发送请求函数\nfunction noTokenRequest(path, method, data, loading) {\n\treturn new Promise((resolve, reject) => {\n\t\tuni.request({\n\t\t\turl: BASEURL + path,\n\t\t\tmethod: method,\n\t\t\tdata,\r\n\t\t\theader: {\r\n\t\t\t\t\"X-Access-Token\": '111'\r\n\t\t\t},\n\t\t\tsuccess(response) {\n\t\t\t\t// console.log('%c响应拦截:', ' background:green', response);\n\t\t\t\t/* if (response.data.code === 3001) {\n\t\t\t\t\t// logout()\n\t\t\t\t} */\n\t\t\t\t/* if (response.data.code !== 20) {\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ticon: \"none\",\n\t\t\t\t\t\tduration: 4000,\n\t\t\t\t\t\ttitle: response.data.msg\n\t\t\t\t\t});\n\t\t\t\t} */\n\t\t\t\t// console.log(response.data)\n\t\t\t\tresolve(response.data);\n\t\t\t},\n\t\t\tfail(err) {\n\t\t\t\tuni.showToast({\n\t\t\t\t\ticon: \"none\",\n\t\t\t\t\ttitle: '服务响应失败'\n\t\t\t\t});\n\t\t\t\tconsole.error(err);\n\t\t\t\treject(err);\n\t\t\t},\n\t\t\tcomplete() {\n\t\t\t\tuni.hideLoading();\n\t\t\t}\n\t\t});\n\t});\n}\n\n\n// 有token时发送请求函数\nfunction tokenRequest(path, method, data, loading, token) {\n\treturn new Promise((resolve, reject) => {\n\t\tuni.request({\n\t\t\turl: BASEURL + path,\n\t\t\tmethod: method,\n\t\t\tdata,\n\t\t\theader: {\n\t\t\t\t\"X-Access-Token\": token\n\t\t\t},\n\t\t\tsuccess(response) {\n\t\t\t\t// console.log('%c响应拦截:', ' background:green', response);\n\t\t\t\tif (response.data.code === 40101) {\n\t\t\t\t\t// logout()\n\t\t\t\t}\n\t\t\t\tresolve(response.data);\n\t\t\t},\n\t\t\tfail(err) {\n\t\t\t\tuni.showToast({\n\t\t\t\t\ticon: \"none\",\n\t\t\t\t\ttitle: '服务响应失败'\n\t\t\t\t});\n\t\t\t\tconsole.error(err);\n\t\t\t\treject(err);\n\t\t\t},\n\t\t\tcomplete() {\n\t\t\t\tuni.hideLoading();\n\t\t\t}\n\t\t});\n\t});\n}\n"],"names":["uni"],"mappings":";;AAAA,MAAM,UAAU,IAAA,cAAA;AAAA,EACf,OAAO;AAAA;AAAA;AAEP,CAAA;AAED,IAAI,UAAU,QAAQ,KAAK;AAS3B,MAAe,UAAA,CAAC,OAAI,MAAE,SAAM,MAAE,OAAO,IAAA,cAAA,CAAE,CAAA,GAAE,UAAO,SAAA;AAE/C,MAAI,QAAQA,cAAAA,MAAI,eAAe,OAAO;AAetC,MAAI,SAAS;AACZA,kBAAAA,MAAI,YAAY;AAAA,MACf,OAAO;AAAA,MACP,MAAM;AAAA,IACN,CAAA;AAAA,EACD;AAED,MAAI,SAAS,IAAI;AAChB,WAAO,aAAa,MAAM,QAAQ,MAAM,SAAS,KAAK;AAAA,EACtD,OAAM;AACN,WAAO,eAAe,MAAM,QAAQ,MAAM,OAAO;AAAA,EACjD;AACF;AAGA,SAAS,eAAe,OAAI,MAAE,SAAM,MAAE,OAAI,MAAE,UAAO,MAAA;AAClD,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAM;AAClCA,kBAAAA,MAAI,QAAQ;AAAA,MACX,KAAK,UAAU;AAAA,MACf;AAAA,MACA;AAAA,MACA,QAAQ,IAAA,cAAA;AAAA,QACP,kBAAmB;AAAA,OACnB;AAAA,MACD,QAAQ,UAAQ;AAaf,gBAAQ,SAAS,IAAI;AAAA,MACrB;AAAA,MACD,KAAK,KAAG;AACPA,sBAAAA,MAAI,UAAU;AAAA,UACb,MAAM;AAAA,UACN,OAAO;AAAA,QACP,CAAA;AACDA,sBAAAA,MAAA,MAAA,SAAA,qBAAc,GAAG;AACjB,eAAO,GAAG;AAAA,MACV;AAAA,MACD,WAAQ;AACPA,sBAAG,MAAC,YAAW;AAAA,MACf;AAAA,IACD,CAAA;AAAA,EACF,CAAC;AACF;AAIA,SAAS,aAAa,OAAI,MAAE,SAAM,MAAE,aAAM,UAAO,MAAE,QAAK,MAAA;AACvD,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAM;AAClCA,kBAAAA,MAAI,QAAQ;AAAA,MACX,KAAK,UAAU;AAAA,MACf;AAAA,MACA;AAAA,MACA,QAAQ,IAAA,cAAA;AAAA,QACP,kBAAmB;AAAA,OACnB;AAAA,MACD,QAAQ,UAAQ;AAEf,YAAI,SAAS,KAAK,SAAS;AAAO;AAGlC,gBAAQ,SAAS,IAAI;AAAA,MACrB;AAAA,MACD,KAAK,KAAG;AACPA,sBAAAA,MAAI,UAAU;AAAA,UACb,MAAM;AAAA,UACN,OAAO;AAAA,QACP,CAAA;AACDA,sBAAAA,MAAA,MAAA,SAAA,sBAAc,GAAG;AACjB,eAAO,GAAG;AAAA,MACV;AAAA,MACD,WAAQ;AACPA,sBAAG,MAAC,YAAW;AAAA,MACf;AAAA,IACD,CAAA;AAAA,EACF,CAAC;AACF;;"}
{"version":3,"file":"request.js","sources":["request.uts"],"sourcesContent":["const url_all = {\n\t'DEV': 'https://www.shengchuangyunkong.com', // 开发\n\t// 'PRO': 'http://111.111.111.111:8080', // 生产\n}\n\nlet BASEURL = url_all['DEV'] // 调整当前环境\n\n/*\n* 全局请求封装\n* @param path 请求路径\n* @param method 请求类型(GET/POST/DELETE等)\n* @oaram data 请求体数据\n* @param loading 请求未完成是是否显示加载中,默认为true\n*/\nexport default (path, method, data = {}, loading) => {\n\t// 获取存储token\n\tlet token = uni.getStorageSync(\"token\");\r\n\t\r\n\t// uni.getStorage(\r\n\t// {\r\n\t// key:\"token\",\r\n\t// success: (res) => {\r\n\t// console.log('rea.data:',res.data);\r\n\t// // token = res.data;\r\n\t// },\r\n\t// fail:(err)=>{\r\n\t// token = '';\r\n\t// }\r\n\t// }\r\n\t// )\n\n\tif (loading) {\n\t\tuni.showLoading({\n\t\t\ttitle: \"加载中\",\n\t\t\tmask: true\n\t\t});\n\t};\n\t//根据token进行调用函数\n\tif (token != '') {\n\t\treturn tokenRequest(path, method, data, loading, token)\n\t} else {\n\t\treturn noTokenRequest(path, method, data, loading)\n\t}\n};\n\n// 无token时发送请求函数\nfunction noTokenRequest(path, method, data, loading) {\n\treturn new Promise((resolve, reject) => {\n\t\tuni.request({\n\t\t\turl: BASEURL + path,\n\t\t\tmethod: method,\n\t\t\tdata,\r\n\t\t\theader: {\r\n\t\t\t\t\"X-Access-Token\": '111'\r\n\t\t\t},\n\t\t\tsuccess(response) {\n\t\t\t\t// console.log('%c响应拦截:', ' background:green', response);\n\t\t\t\t/* if (response.data.code === 3001) {\n\t\t\t\t\t// logout()\n\t\t\t\t} */\n\t\t\t\t/* if (response.data.code !== 20) {\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ticon: \"none\",\n\t\t\t\t\t\tduration: 4000,\n\t\t\t\t\t\ttitle: response.data.msg\n\t\t\t\t\t});\n\t\t\t\t} */\n\t\t\t\t// console.log(response.data)\n\t\t\t\tresolve(response.data);\n\t\t\t},\n\t\t\tfail(err) {\n\t\t\t\tuni.showToast({\n\t\t\t\t\ticon: \"none\",\n\t\t\t\t\ttitle: '服务响应失败'\n\t\t\t\t});\n\t\t\t\tconsole.error(err);\n\t\t\t\treject(err);\n\t\t\t},\n\t\t\tcomplete() {\n\t\t\t\tuni.hideLoading();\n\t\t\t}\n\t\t});\n\t});\n}\n\n\n// 有token时发送请求函数\nfunction tokenRequest(path, method, data, loading, token) {\n\treturn new Promise((resolve, reject) => {\n\t\tuni.request({\n\t\t\turl: BASEURL + path,\n\t\t\tmethod: method,\n\t\t\tdata,\n\t\t\theader: {\n\t\t\t\t\"X-Access-Token\": token\n\t\t\t},\n\t\t\tsuccess(response) {\n\t\t\t\t// console.log('%c响应拦截:', ' background:green', response);\n\t\t\t\tif (response.data.code === 40101) {\n\t\t\t\t\t// logout()\n\t\t\t\t}\n\t\t\t\tresolve(response.data);\n\t\t\t},\n\t\t\tfail(err) {\n\t\t\t\tuni.showToast({\n\t\t\t\t\ticon: \"none\",\n\t\t\t\t\ttitle: '服务响应失败'\n\t\t\t\t});\n\t\t\t\tconsole.error(err);\n\t\t\t\treject(err);\n\t\t\t},\n\t\t\tcomplete() {\n\t\t\t\tuni.hideLoading();\n\t\t\t}\n\t\t});\n\t});\n}\n"],"names":["uni"],"mappings":";;AAAA,MAAM,UAAU,IAAA,cAAA;AAAA,EACf,OAAO;AAAA;AAAA;AAEP,CAAA;AAED,IAAI,UAAU,QAAQ,KAAK;AAS3B,MAAe,UAAA,CAAC,OAAI,MAAE,SAAM,MAAE,OAAO,IAAA,cAAA,CAAE,CAAA,GAAE,UAAO,SAAA;AAE/C,MAAI,QAAQA,cAAAA,MAAI,eAAe,OAAO;AAetC,MAAI,SAAS;AACZA,kBAAAA,MAAI,YAAY;AAAA,MACf,OAAO;AAAA,MACP,MAAM;AAAA,IACN,CAAA;AAAA,EACD;AAED,MAAI,SAAS,IAAI;AAChB,WAAO,aAAa,MAAM,QAAQ,MAAM,SAAS,KAAK;AAAA,EACtD,OAAM;AACN,WAAO,eAAe,MAAM,QAAQ,MAAM,OAAO;AAAA,EACjD;AACF;AAGA,SAAS,eAAe,OAAI,MAAE,SAAM,MAAE,OAAI,MAAE,UAAO,MAAA;AAClD,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAM;AAClCA,kBAAAA,MAAI,QAAQ;AAAA,MACX,KAAK,UAAU;AAAA,MACf;AAAA,MACA;AAAA,MACA,QAAQ,IAAA,cAAA;AAAA,QACP,kBAAmB;AAAA,OACnB;AAAA,MACD,QAAQ,UAAQ;AAaf,gBAAQ,SAAS,IAAI;AAAA,MACrB;AAAA,MACD,KAAK,KAAG;AACPA,sBAAAA,MAAI,UAAU;AAAA,UACb,MAAM;AAAA,UACN,OAAO;AAAA,QACP,CAAA;AACDA,sBAAAA,MAAA,MAAA,SAAA,qBAAc,GAAG;AACjB,eAAO,GAAG;AAAA,MACV;AAAA,MACD,WAAQ;AACPA,sBAAG,MAAC,YAAW;AAAA,MACf;AAAA,IACD,CAAA;AAAA,EACF,CAAC;AACF;AAIA,SAAS,aAAa,OAAI,MAAE,SAAM,MAAE,aAAM,UAAO,MAAE,QAAK,MAAA;AACvD,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAM;AAClCA,kBAAAA,MAAI,QAAQ;AAAA,MACX,KAAK,UAAU;AAAA,MACf;AAAA,MACA;AAAA,MACA,QAAQ,IAAA,cAAA;AAAA,QACP,kBAAmB;AAAA,OACnB;AAAA,MACD,QAAQ,UAAQ;AAEf,YAAI,SAAS,KAAK,SAAS;AAAO;AAGlC,gBAAQ,SAAS,IAAI;AAAA,MACrB;AAAA,MACD,KAAK,KAAG;AACPA,sBAAAA,MAAI,UAAU;AAAA,UACb,MAAM;AAAA,UACN,OAAO;AAAA,QACP,CAAA;AACDA,sBAAAA,MAAA,MAAA,SAAA,sBAAc,GAAG;AACjB,eAAO,GAAG;AAAA,MACV;AAAA,MACD,WAAQ;AACPA,sBAAG,MAAC,YAAW;AAAA,MACf;AAAA,IACD,CAAA;AAAA,EACF,CAAC;AACF;;"}

+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.js.map
File diff suppressed because it is too large
View File


+ 0
- 1
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/0337ac1f9c5f6c8eb2baa52a2b0a4e37c6f107aa View File

@ -1 +0,0 @@
{"code":"import request from \"request\"; // 封装的request.js文件的位置\n// 获取用户基本信息 \nexport const login = (usr = null) => {\n return request(`/contract/miniapp/user/login`, 'POST', usr);\n};\n// 判断token状态是否存在\nexport const isToken = () => {\n if (!uni.getStorageSync('token')) {\n uni.navigateTo({ url: '/pages/index/login' });\n }\n};\nexport const getStoreName = () => {\n return request(`/contract/miniapp/store/list`, 'GET');\n};\nexport const getProduct = (product = null) => {\n return request(`/contract/miniapp/product/categories`, 'GET', product);\n};\nexport const idCardInfo = (idCardInfo = null) => {\n return request(`/contract/miniapp/file/ocr/idcard`, 'GET', idCardInfo, true);\n};\nexport const upload = (url = null) => {\n uni.uploadFile({\n url: 'https://gpt.aiym.run/contract/miniapp/file/upload',\n filePath: url,\n name: 'file',\n formData: new UTSJSONObject({\n biz: 'cert'\n }),\n success: (uploadFileRes) => {\n return uploadFileRes;\n uni.__f__('log', 'at api.uts:48', 'ossurl:', uploadFileRes.data);\n },\n fail: (err) => {\n uni.__f__('log', 'at api.uts:51', err);\n }\n });\n};\nexport const getOrderList = () => {\n return request(`/contract/miniapp/order/list`, 'POST');\n};\nexport const getChildListBatch = () => {\n return request(`/contract/miniapp/car/rootList`, 'GET');\n};\nexport const add = (appOrderCarList = null) => {\n return request(`/contract/miniapp/order/add`, 'POST', appOrderCarList);\n};\nexport const list = (params = null) => {\n return request(`/contract/miniapp/order/list`, 'GET', params);\n};\nexport const carCert = (params = null) => {\n return request(`/contract/miniapp/file/ocr/carCert`, 'GET', params, true);\n};\nexport const logout = () => {\n return request(`/contract/miniapp/user/logout`, 'POST');\n};\nexport const addContract = (ID = null) => {\n return request(`/contract/miniapp/order/addContract`, 'GET', ID);\n};\n//# sourceMappingURL=C:/Users/lj/Desktop/121/contract-front/111/api.uts.js.map","references":[],"uniExtApis":["uni.getStorageSync","uni.navigateTo","uni.uploadFile","uni.__f__"],"map":"{\"version\":3,\"file\":\"api.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"api.uts\"],\"names\":[],\"mappings\":\"AAAA,OAAO,OAAO,gBAAoB,CAAC,qBAAqB;AAIxD,YAAY;AACZ,MAAM,CAAC,MAAM,KAAK,GAAI,CAAC,GAAG,OAAA;IACzB,OAAO,OAAO,CAAC,8BAA8B,EAAE,MAAM,EAAC,GAAG,CAAC,CAAA;AAC3D,CAAC,CAAA;AAED,gBAAgB;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAI;IACvB,IAAG,CAAC,GAAG,CAAC,cAAc,CAAC,OAAO,CAAC,EAAC;QAC/B,GAAG,CAAC,UAAU,CACd,EAAE,GAAG,EAAE,oBAAoB,EAAE,CAC5B,CAAA;KACD;AACF,CAAC,CAAA;AAGD,MAAM,CAAC,MAAM,YAAY,GAAI;IAC5B,OAAO,OAAO,CAAC,8BAA8B,EAAE,KAAK,CAAC,CAAA;AACtD,CAAC,CAAA;AAID,MAAM,CAAC,MAAM,UAAU,GAAI,CAAC,OAAO,OAAA;IAClC,OAAO,OAAO,CAAC,sCAAsC,EAAE,KAAK,EAAC,OAAO,CAAC,CAAA;AACtE,CAAC,CAAA;AAID,MAAM,CAAC,MAAM,UAAU,GAAI,CAAC,UAAU,OAAA;IACrC,OAAO,OAAO,CAAC,mCAAmC,EAAE,KAAK,EAAC,UAAU,EAAC,IAAI,CAAC,CAAA;AAC3E,CAAC,CAAA;AAGD,MAAM,CAAC,MAAM,MAAM,GAAI,CAAC,GAAG,OAAA;IAC1B,GAAG,CAAC,UAAU,CAAC;QACZ,GAAG,EAAE,mDAAmD;QACxD,QAAQ,EAAE,GAAG;QACb,IAAI,EAAE,MAAM;QACZ,QAAQ,oBAAE;YACT,GAAG,EAAE,MAAM;SACX,CAAA;QACD,OAAO,EAAE,CAAC,aAAa;YACtB,OAAO,aAAa,CAAA;YAChB,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,eAAe,EAAC,SAAS,EAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QACnE,CAAC;QACD,IAAI,EAAC,CAAC,GAAG;YACR,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,eAAe,EAAC,GAAG,CAAC,CAAA;QACrC,CAAC;KACD,CAAC,CAAC;AACN,CAAC,CAAA;AAID,MAAM,CAAC,MAAM,YAAY,GAAI;IAC5B,OAAO,OAAO,CAAC,8BAA8B,EAAE,MAAM,CAAC,CAAA;AACvD,CAAC,CAAA;AAID,MAAM,CAAC,MAAM,iBAAiB,GAAI;IACjC,OAAO,OAAO,CAAC,gCAAgC,EAAE,KAAK,CAAC,CAAA;AACxD,CAAC,CAAA;AAKD,MAAM,CAAC,MAAM,GAAG,GAAI,CAAC,eAAe,OAAA;IACnC,OAAO,OAAO,CAAC,6BAA6B,EAAE,MAAM,EAAC,eAAe,CAAC,CAAA;AACtE,CAAC,CAAA;AAID,MAAM,CAAC,MAAM,IAAI,GAAI,CAAC,MAAM,OAAA;IAC3B,OAAO,OAAO,CAAC,8BAA8B,EAAE,KAAK,EAAC,MAAM,CAAC,CAAA;AAC7D,CAAC,CAAA;AAKD,MAAM,CAAC,MAAM,OAAO,GAAI,CAAC,MAAM,OAAA;IAC9B,OAAO,OAAO,CAAC,oCAAoC,EAAE,KAAK,EAAC,MAAM,EAAC,IAAI,CAAC,CAAA;AACxE,CAAC,CAAA;AAKD,MAAM,CAAC,MAAM,MAAM,GAAI;IACtB,OAAO,OAAO,CAAC,+BAA+B,EAAE,MAAM,CAAC,CAAA;AACxD,CAAC,CAAA;AAKD,MAAM,CAAC,MAAM,WAAW,GAAI,CAAC,EAAE,OAAA;IAC9B,OAAO,OAAO,CAAC,qCAAqC,EAAE,KAAK,EAAC,EAAE,CAAC,CAAA;AAChE,CAAC,CAAA\"}"}

+ 1
- 0
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/0b63a199912039b199ee234091b0a332dcf311c3 View File

@ -0,0 +1 @@
{"code":"import request from \"request\"; // 封装的request.js文件的位置\n// 获取用户基本信息 \nexport const login = (usr = null) => {\n return request(`/contract/miniapp/user/login`, 'POST', usr);\n};\n// 获取隐私等基本信息\nexport const getInfoList = (usr = null) => {\n return request(`/contract/miniapp/info/list`, 'GET', usr);\n};\n// 判断token状态是否存在\nexport const isToken = () => {\n if (!uni.getStorageSync('token')) {\n uni.navigateTo({ url: '/pages/index/login' });\n }\n};\nexport const getStoreName = () => {\n return request(`/contract/miniapp/store/list`, 'GET');\n};\nexport const getProduct = (product = null) => {\n return request(`/contract/miniapp/product/categories`, 'GET', product);\n};\nexport const idCardInfo = (idCardInfo = null) => {\n return request(`/contract/miniapp/file/ocr/idcard`, 'GET', idCardInfo, true);\n};\nexport const upload = (url = null) => {\n uni.uploadFile({\n url: 'https://gpt.aiym.run/contract/miniapp/file/upload',\n filePath: url,\n name: 'file',\n formData: new UTSJSONObject({\n biz: 'cert'\n }),\n success: (uploadFileRes) => {\n return uploadFileRes;\n uni.__f__('log', 'at api.uts:52', 'ossurl:', uploadFileRes.data);\n },\n fail: (err) => {\n uni.__f__('log', 'at api.uts:55', err);\n }\n });\n};\nexport const getOrderList = () => {\n return request(`/contract/miniapp/order/list`, 'POST');\n};\nexport const getChildListBatch = () => {\n return request(`/contract/miniapp/car/rootList`, 'GET');\n};\nexport const add = (appOrderCarList = null) => {\n return request(`/contract/miniapp/order/add`, 'POST', appOrderCarList);\n};\nexport const list = (params = null) => {\n return request(`/contract/miniapp/order/list`, 'GET', params);\n};\nexport const carCert = (params = null) => {\n return request(`/contract/miniapp/file/ocr/carCert`, 'GET', params, true);\n};\nexport const logout = () => {\n return request(`/contract/miniapp/user/logout`, 'POST');\n};\nexport const addContract = (ID = null) => {\n return request(`/contract/miniapp/order/addContract`, 'GET', ID);\n};\n//# sourceMappingURL=C:/Users/lj/Desktop/121/contract-front/111/api.uts.js.map","references":[],"uniExtApis":["uni.getStorageSync","uni.navigateTo","uni.uploadFile","uni.__f__"],"map":"{\"version\":3,\"file\":\"api.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"api.uts\"],\"names\":[],\"mappings\":\"AAAA,OAAO,OAAO,gBAAoB,CAAC,qBAAqB;AAIxD,YAAY;AACZ,MAAM,CAAC,MAAM,KAAK,GAAI,CAAC,GAAG,OAAA;IACzB,OAAO,OAAO,CAAC,8BAA8B,EAAE,MAAM,EAAC,GAAG,CAAC,CAAA;AAC3D,CAAC,CAAA;AACD,YAAY;AACZ,MAAM,CAAC,MAAM,WAAW,GAAI,CAAC,GAAG,OAAA;IAC/B,OAAO,OAAO,CAAC,6BAA6B,EAAE,KAAK,EAAC,GAAG,CAAC,CAAA;AACzD,CAAC,CAAA;AAED,gBAAgB;AAEhB,MAAM,CAAC,MAAM,OAAO,GAAI;IACvB,IAAG,CAAC,GAAG,CAAC,cAAc,CAAC,OAAO,CAAC,EAAC;QAC/B,GAAG,CAAC,UAAU,CACd,EAAE,GAAG,EAAE,oBAAoB,EAAE,CAC5B,CAAA;KACD;AACF,CAAC,CAAA;AAGD,MAAM,CAAC,MAAM,YAAY,GAAI;IAC5B,OAAO,OAAO,CAAC,8BAA8B,EAAE,KAAK,CAAC,CAAA;AACtD,CAAC,CAAA;AAID,MAAM,CAAC,MAAM,UAAU,GAAI,CAAC,OAAO,OAAA;IAClC,OAAO,OAAO,CAAC,sCAAsC,EAAE,KAAK,EAAC,OAAO,CAAC,CAAA;AACtE,CAAC,CAAA;AAID,MAAM,CAAC,MAAM,UAAU,GAAI,CAAC,UAAU,OAAA;IACrC,OAAO,OAAO,CAAC,mCAAmC,EAAE,KAAK,EAAC,UAAU,EAAC,IAAI,CAAC,CAAA;AAC3E,CAAC,CAAA;AAGD,MAAM,CAAC,MAAM,MAAM,GAAI,CAAC,GAAG,OAAA;IAC1B,GAAG,CAAC,UAAU,CAAC;QACZ,GAAG,EAAE,mDAAmD;QACxD,QAAQ,EAAE,GAAG;QACb,IAAI,EAAE,MAAM;QACZ,QAAQ,oBAAE;YACT,GAAG,EAAE,MAAM;SACX,CAAA;QACD,OAAO,EAAE,CAAC,aAAa;YACtB,OAAO,aAAa,CAAA;YAChB,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,eAAe,EAAC,SAAS,EAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QACnE,CAAC;QACD,IAAI,EAAC,CAAC,GAAG;YACR,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,eAAe,EAAC,GAAG,CAAC,CAAA;QACrC,CAAC;KACD,CAAC,CAAC;AACN,CAAC,CAAA;AAID,MAAM,CAAC,MAAM,YAAY,GAAI;IAC5B,OAAO,OAAO,CAAC,8BAA8B,EAAE,MAAM,CAAC,CAAA;AACvD,CAAC,CAAA;AAID,MAAM,CAAC,MAAM,iBAAiB,GAAI;IACjC,OAAO,OAAO,CAAC,gCAAgC,EAAE,KAAK,CAAC,CAAA;AACxD,CAAC,CAAA;AAKD,MAAM,CAAC,MAAM,GAAG,GAAI,CAAC,eAAe,OAAA;IACnC,OAAO,OAAO,CAAC,6BAA6B,EAAE,MAAM,EAAC,eAAe,CAAC,CAAA;AACtE,CAAC,CAAA;AAID,MAAM,CAAC,MAAM,IAAI,GAAI,CAAC,MAAM,OAAA;IAC3B,OAAO,OAAO,CAAC,8BAA8B,EAAE,KAAK,EAAC,MAAM,CAAC,CAAA;AAC7D,CAAC,CAAA;AAKD,MAAM,CAAC,MAAM,OAAO,GAAI,CAAC,MAAM,OAAA;IAC9B,OAAO,OAAO,CAAC,oCAAoC,EAAE,KAAK,EAAC,MAAM,EAAC,IAAI,CAAC,CAAA;AACxE,CAAC,CAAA;AAKD,MAAM,CAAC,MAAM,MAAM,GAAI;IACtB,OAAO,OAAO,CAAC,+BAA+B,EAAE,MAAM,CAAC,CAAA;AACxD,CAAC,CAAA;AAKD,MAAM,CAAC,MAAM,WAAW,GAAI,CAAC,EAAE,OAAA;IAC9B,OAAO,OAAO,CAAC,qCAAqC,EAAE,KAAK,EAAC,EAAE,CAAC,CAAA;AAChE,CAAC,CAAA\"}"}

+ 0
- 1
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/16963127f819e901040f2c31e9467661be69798b
File diff suppressed because it is too large
View File


+ 1
- 0
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/1ff44de48ba5550b348bb265e7c6689e7afc470b View File

@ -0,0 +1 @@
{"code":"import { defineComponent } from \"vue\";\nimport { getStoreName, isToken } from \"@/api\";\nexport default defineComponent({\n data() {\n return {\n ServiceName: '',\n title: \"北京汽车有限公司\",\n isshow: false,\n isshow_1: false,\n newListData: [],\n textcontent: [],\n };\n },\n mounted() {\n isToken();\n getStoreName().then((res = null) => {\n getApp().allMsg = res.result;\n this.textcontent = res.result;\n this.title = res.result[0].storeName;\n getApp().storeName = res.result[0].storeName;\n getApp().dealerAddress = res.result[0].address;\n });\n },\n methods: {\n change_text() {\n if (this.isshow) {\n this.isshow = false;\n }\n else {\n this.isshow = true;\n }\n },\n orderEntry() {\n uni.navigateTo({ url: '/pages/views/dingDanCreate' });\n },\n // 搜索城市名字\n searchName() {\n if (this.ServiceName) {\n this.textcontent = [];\n getApp().allMsg.map((item = null) => {\n if (item.storeName.indexOf(this.ServiceName) !== -1) {\n this.textcontent.push(item);\n }\n });\n }\n else {\n this.textcontent = [];\n this.textcontent = getApp().allMsg;\n }\n },\n change_city(name = null, address = null) {\n this.title = name;\n this.change_text();\n this.isshow_1 = true;\n getApp().storeName = this.title;\n getApp().dealerAddress = address;\n },\n close_view() {\n this.isshow_1 = false;\n },\n // 模糊匹配\n // 右上角搜索框--模糊查询\n handleSearch(event = null) {\n uni.__f__('log', 'at pages/home/home.uvue:116', event);\n if (event) {\n this.textcontent = [];\n getApp().allMsg.map((item = null) => {\n if (item.storeName.indexOf(event) !== -1) {\n this.textcontent.push(item);\n }\n });\n }\n else {\n this.textcontent = [];\n this.textcontent = getApp().allMsg;\n }\n }\n }\n});\n//# sourceMappingURL=C:/Users/lj/Desktop/121/contract-front/111/pages/home/home.uvue?vue&type=script&lang.uts.js.map","references":[],"uniExtApis":["uni.navigateTo","uni.__f__"],"map":"{\"version\":3,\"file\":\"home.uvue?vue&type=script&lang.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"home.uvue?vue&type=script&lang.uts\"],\"names\":[],\"mappings\":\";AACC,OAAO,EAAC,YAAY,EAAC,OAAO,EAAC,cAAiB;AAC/C,+BAAe;IACb,IAAI;QACF,OAAO;YACR,WAAW,EAAC,EAAE;YACd,KAAK,EAAC,UAAU;YAChB,MAAM,EAAC,KAAK;YACZ,QAAQ,EAAC,KAAK;YACd,WAAW,EAAC,EAAE;YACd,WAAW,EAAE,EAAE;SACb,CAAC;IACJ,CAAC;IACD,OAAO;QACN,OAAO,EAAE,CAAC;QACV,YAAY,EAAE,CAAC,IAAI,CAAC,CAAC,GAAG,OAAA;YACtB,MAAM,EAAE,CAAC,MAAM,GAAC,GAAG,CAAC,MAAM,CAAC;YAC1B,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC,MAAM,CAAC;YACjC,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACrC,MAAM,EAAE,CAAC,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC7C,MAAM,EAAE,CAAC,aAAa,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;QAC/C,CAAC,CACA,CAAC;IACF,CAAC;IACF,OAAO,EAAE;QAER,WAAW;YAEV,IAAG,IAAI,CAAC,MAAM,EAAC;gBACd,IAAI,CAAC,MAAM,GAAC,KAAK,CAAC;aAClB;iBAAI;gBACJ,IAAI,CAAC,MAAM,GAAC,IAAI,CAAC;aAEjB;QACF,CAAC;QACD,UAAU;YACT,GAAG,CAAC,UAAU,CACd,EAAE,GAAG,EAAE,4BAA4B,EAAE,CACpC,CAAA;QACF,CAAC;QACD,SAAS;QACT,UAAU;YACT,IAAG,IAAI,CAAC,WAAW,EAAC;gBACd,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;gBACvB,MAAM,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA,IAAI,OAAA;oBACrB,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,EAAE;wBACnD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;qBAC7B;gBACH,CAAC,CAAC,CAAC;aACR;iBAAK;gBACA,IAAI,CAAC,WAAW,GAAC,EAAE,CAAC;gBACpB,IAAI,CAAC,WAAW,GAAI,MAAM,EAAE,CAAC,MAAM,CAAC;aACzC;QACF,CAAC;QACD,WAAW,CAAC,IAAI,OAAA,EAAC,OAAO,OAAA;YACvB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;YAClB,IAAI,CAAC,WAAW,EAAE,CAAC;YACnB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;YACrB,MAAM,EAAE,CAAC,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC;YAChC,MAAM,EAAE,CAAC,aAAa,GAAG,OAAO,CAAC;QAClC,CAAC;QACD,UAAU;YACT,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;QACvB,CAAC;QACD,OAAO;QACP,eAAe;QACX,YAAY,CAAC,KAAK,OAAA;YACpB,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,6BAA6B,EAAC,KAAK,CAAC,CAAC;YACrD,IAAG,KAAK,EAAC;gBACR,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;gBACvB,MAAM,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA,IAAI,OAAA;oBACrB,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE;wBACxC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;qBAC7B;gBACH,CAAC,CAAC,CAAC;aACH;iBAAK;gBACL,IAAI,CAAC,WAAW,GAAC,EAAE,CAAC;gBACpB,IAAI,CAAC,WAAW,GAAI,MAAM,EAAE,CAAC,MAAM,CAAC;aACpC;QACC,CAAC;KACL;CACF,EAAC\"}"}

+ 1
- 0
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/26d70dc7dba45d8d70b39629abc02c3d2868477e
File diff suppressed because it is too large
View File


+ 0
- 1
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/2eb57aaf85ecd9534c7ad4a6434df0bcbb401c89 View File

@ -1 +0,0 @@
{"code":"import {} from \"vue\";\nlet firstBackTime = 0;\nexport default defineComponent({\n usrInfo: {},\n allMsg: [],\n productName: \"\",\n storeName: '',\n onLaunch: function () {\n uni.__f__('log', 'at App.uvue:9', 'App Launch');\n },\n onShow: function () {\n uni.__f__('log', 'at App.uvue:12', 'App Show');\n },\n onHide: function () {\n uni.__f__('log', 'at App.uvue:15', 'App Hide');\n },\n onExit: function () {\n uni.__f__('log', 'at App.uvue:36', 'App Exit');\n },\n});\n//# sourceMappingURL=C:/Users/lj/Desktop/121/contract-front/111/App.uvue?vue&type=script&lang.uts.js.map","references":[],"uniExtApis":["uni.__f__"],"map":"{\"version\":3,\"file\":\"App.uvue?vue&type=script&lang.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"App.uvue?vue&type=script&lang.uts\"],\"names\":[],\"mappings\":\";AACC,IAAI,aAAa,GAAG,CAAC,CAAA;AACrB,+BAAe;IACd,OAAO,EAAC,EAAE;IACV,MAAM,EAAC,EAAE;IACT,WAAW,EAAC,EAAE;IACd,SAAS,EAAC,EAAE;IACZ,QAAQ,EAAE;QACT,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,eAAe,EAAC,YAAY,CAAC,CAAA;IAC9C,CAAC;IACD,MAAM,EAAE;QACP,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,gBAAgB,EAAC,UAAU,CAAC,CAAA;IAC7C,CAAC;IACD,MAAM,EAAE;QACP,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,gBAAgB,EAAC,UAAU,CAAC,CAAA;IAC7C,CAAC;IAmBD,MAAM,EAAE;QACP,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,gBAAgB,EAAC,UAAU,CAAC,CAAA;IAC7C,CAAC;CACD,EAAA\"}"}

+ 1
- 0
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/3ad908063f7f16aab0d49c50ccf7b17af597c55f View File

@ -0,0 +1 @@
{"code":"import {} from \"vue\";\nlet firstBackTime = 0;\nexport default defineComponent({\n usrInfo: {},\n allMsg: [],\n infoList: [],\n productName: \"\",\n productUrl: '',\n storeName: '',\n dealerAddress: '',\n onLaunch: function () {\n uni.__f__('log', 'at App.uvue:12', 'App Launch');\n },\n onShow: function () {\n uni.__f__('log', 'at App.uvue:15', 'App Show');\n },\n onHide: function () {\n uni.__f__('log', 'at App.uvue:18', 'App Hide');\n },\n onExit: function () {\n uni.__f__('log', 'at App.uvue:39', 'App Exit');\n },\n});\n//# sourceMappingURL=C:/Users/lj/Desktop/121/contract-front/111/App.uvue?vue&type=script&lang.uts.js.map","references":[],"uniExtApis":["uni.__f__"],"map":"{\"version\":3,\"file\":\"App.uvue?vue&type=script&lang.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"App.uvue?vue&type=script&lang.uts\"],\"names\":[],\"mappings\":\";AACC,IAAI,aAAa,GAAG,CAAC,CAAA;AACrB,+BAAe;IACd,OAAO,EAAC,EAAE;IACV,MAAM,EAAC,EAAE;IACT,QAAQ,EAAC,EAAE;IACX,WAAW,EAAC,EAAE;IACd,UAAU,EAAC,EAAE;IACb,SAAS,EAAC,EAAE;IACZ,aAAa,EAAC,EAAE;IAChB,QAAQ,EAAE;QACT,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,gBAAgB,EAAC,YAAY,CAAC,CAAA;IAC/C,CAAC;IACD,MAAM,EAAE;QACP,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,gBAAgB,EAAC,UAAU,CAAC,CAAA;IAC7C,CAAC;IACD,MAAM,EAAE;QACP,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,gBAAgB,EAAC,UAAU,CAAC,CAAA;IAC7C,CAAC;IAmBD,MAAM,EAAE;QACP,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,gBAAgB,EAAC,UAAU,CAAC,CAAA;IAC7C,CAAC;CACD,EAAA\"}"}

+ 0
- 1
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/6abc4b353dd187960818e9e31c27d12fc5ad0363
File diff suppressed because it is too large
View File


+ 0
- 1
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/6fcace0c897fa542dde925ca10493a5c608c0b50
File diff suppressed because it is too large
View File


+ 1
- 0
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/7040cf73cd587319d1a9aed632e40c3468e38843
File diff suppressed because it is too large
View File


+ 1
- 0
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/83ddc8da81f36b5cc169b3083e8890544820cb13
File diff suppressed because it is too large
View File


+ 1
- 0
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/8ebaba24050137e127cb570570ab824243f9a392 View File

@ -0,0 +1 @@
{"code":"import { defineComponent } from \"vue\";\nimport { logout, isToken } from \"@/api\";\nexport default defineComponent({\n data() {\n return {\n avatar: '',\n nickName: '',\n aboutUs: '',\n popupNoCancelShow: false,\n };\n },\n mounted() {\n isToken();\n this.avatar = getApp().usrInfo.avatar;\n this.nickName = getApp().usrInfo.nickName;\n this.aboutUs = getApp().aboutUs;\n },\n methods: {\n showModal() {\n this.popupNoCancelShow = true;\n },\n getConfirm() {\n this.popupNoCancelShow = false;\n },\n closeModal() {\n this.popupNoCancelShow = false;\n },\n logout() {\n uni.showModal({\n title: '提示',\n content: '确定要退出登录吗?',\n success: (res) => {\n if (res.confirm) {\n logout().then((res = null) => {\n if (res.success) {\n uni.showToast({\n title: '退出登录成功',\n icon: 'success',\n success: () => {\n // 这里可以添加退出登录的逻辑,例如清除用户登录状态\n uni.clearStorageSync();\n setTimeout(() => {\n uni.navigateTo({ url: '/pages/index/login' });\n }, 1500);\n }\n });\n }\n });\n }\n }\n });\n }\n }\n});\n//# sourceMappingURL=C:/Users/lj/Desktop/121/contract-front/111/pages/index/wode.uvue?vue&type=script&lang.uts.js.map","references":[],"uniExtApis":["uni.showModal","uni.showToast","uni.clearStorageSync","uni.navigateTo"],"map":"{\"version\":3,\"file\":\"wode.uvue?vue&type=script&lang.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"wode.uvue?vue&type=script&lang.uts\"],\"names\":[],\"mappings\":\";AACC,OAAO,EAAC,MAAM,EAAC,OAAO,EAAC,cAAkB;AAC1C,+BAAe;IACd,IAAI;QACF,OAAO;YACN,MAAM,EAAC,EAAE;YACT,QAAQ,EAAC,EAAE;YACX,OAAO,EAAC,EAAE;YACV,iBAAiB,EAAC,KAAK;SACvB,CAAA;IACH,CAAC;IACD,OAAO;QACN,OAAO,EAAE,CAAC;QACV,IAAI,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC;QACtC,IAAI,CAAC,QAAQ,GAAG,MAAM,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC;QAC1C,IAAI,CAAC,OAAO,GAAG,MAAM,EAAE,CAAC,OAAO,CAAC;IACjC,CAAC;IACA,OAAO,EAAE;QACR,SAAS;YACT,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAE;QAC/B,CAAC;QACD,UAAU;YACT,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QAChC,CAAC;QACD,UAAU;YACP,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAE;QAClC,CAAC;QACH,MAAM;YACL,GAAG,CAAC,SAAS,CAAC;gBACZ,KAAK,EAAE,IAAI;gBACX,OAAO,EAAE,WAAW;gBACpB,OAAO,EAAE,CAAC,GAAG;oBACX,IAAI,GAAG,CAAC,OAAO,EAAE;wBACnB,MAAM,EAAE,CAAC,IAAI,CAAC,CAAC,GAAG,OAAA;4BACf,IAAG,GAAG,CAAC,OAAO,EAAC;gCACd,GAAG,CAAC,SAAS,CAAC;oCACZ,KAAK,EAAE,QAAQ;oCACf,IAAI,EAAE,SAAS;oCACf,OAAO,EAAE;wCACP,2BAA2B;wCAC9B,GAAG,CAAC,gBAAgB,EAAE,CAAC;wCACpB,UAAU,CAAC;4CACT,GAAG,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,oBAAoB,EAAE,CAAC,CAAC;wCAChD,CAAC,EAAE,IAAI,CAAC,CAAC;oCACX,CAAC;iCACF,CAAC,CAAC;6BACH;wBACJ,CAAC,CAAC,CAAA;qBAEC;gBACH,CAAC;aACF,CAAC,CAAC;QACJ,CAAC;KACE;CACJ,EAAC\"}"}

+ 1
- 0
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/b2feef0512e818b538e221a1684f22d072fb301c
File diff suppressed because it is too large
View File


+ 0
- 1
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/b6308e4e1c9512fff7f8ef692b6185120a51942b
File diff suppressed because it is too large
View File


+ 1
- 0
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/d175b841e6a4370e406d59539f024ad30545c273
File diff suppressed because it is too large
View File


+ 0
- 1
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/d3d7d44743bee647ac20d83886515fadee3d98f5
File diff suppressed because it is too large
View File


+ 0
- 1
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/d6021bb8d992cff49574c1c2151092a9d4b5e055 View File

@ -1 +0,0 @@
{"code":"import { defineComponent } from \"vue\";\nimport { logout, isToken } from \"@/api\";\nexport default defineComponent({\n data() {\n return {\n avatar: '',\n nickName: ''\n };\n },\n mounted() {\n isToken();\n this.avatar = getApp().usrInfo.avatar;\n this.nickName = getApp().usrInfo.nickName;\n uni.__f__('log', 'at pages/index/wode.uvue:55', uni.getStorageSync('token'));\n },\n methods: {\n logout() {\n uni.showModal({\n title: '提示',\n content: '确定要退出登录吗?',\n success: (res) => {\n if (res.confirm) {\n logout().then((res = null) => {\n if (res.success) {\n uni.showToast({\n title: '退出登录成功',\n icon: 'success',\n success: () => {\n // 这里可以添加退出登录的逻辑,例如清除用户登录状态\n uni.clearStorageSync();\n setTimeout(() => {\n uni.navigateTo({ url: '/pages/index/login' });\n }, 1500);\n }\n });\n }\n });\n }\n }\n });\n }\n }\n});\n//# sourceMappingURL=C:/Users/lj/Desktop/121/contract-front/111/pages/index/wode.uvue?vue&type=script&lang.uts.js.map","references":[],"uniExtApis":["uni.__f__","uni.getStorageSync","uni.showModal","uni.showToast","uni.clearStorageSync","uni.navigateTo"],"map":"{\"version\":3,\"file\":\"wode.uvue?vue&type=script&lang.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"wode.uvue?vue&type=script&lang.uts\"],\"names\":[],\"mappings\":\";AACC,OAAO,EAAC,MAAM,EAAC,OAAO,EAAC,cAAkB;AAC1C,+BAAe;IACd,IAAI;QACF,OAAO;YACN,MAAM,EAAC,EAAE;YACT,QAAQ,EAAC,EAAE;SACX,CAAA;IACH,CAAC;IACD,OAAO;QACN,OAAO,EAAE,CAAC;QACV,IAAI,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC;QACtC,IAAI,CAAC,QAAQ,GAAG,MAAM,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC;QAC1C,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,6BAA6B,EAAC,GAAG,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC5E,CAAC;IACA,OAAO,EAAE;QACT,MAAM;YACL,GAAG,CAAC,SAAS,CAAC;gBACZ,KAAK,EAAE,IAAI;gBACX,OAAO,EAAE,WAAW;gBACpB,OAAO,EAAE,CAAC,GAAG;oBACX,IAAI,GAAG,CAAC,OAAO,EAAE;wBACnB,MAAM,EAAE,CAAC,IAAI,CAAC,CAAC,GAAG,OAAA;4BACf,IAAG,GAAG,CAAC,OAAO,EAAC;gCACd,GAAG,CAAC,SAAS,CAAC;oCACZ,KAAK,EAAE,QAAQ;oCACf,IAAI,EAAE,SAAS;oCACf,OAAO,EAAE;wCACP,2BAA2B;wCAC9B,GAAG,CAAC,gBAAgB,EAAE,CAAC;wCACpB,UAAU,CAAC;4CACT,GAAG,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,oBAAoB,EAAE,CAAC,CAAC;wCAChD,CAAC,EAAE,IAAI,CAAC,CAAC;oCACX,CAAC;iCACF,CAAC,CAAC;6BACH;wBACJ,CAAC,CAAC,CAAA;qBAEC;gBACH,CAAC;aACF,CAAC,CAAC;QACJ,CAAC;KACE;CACJ,EAAC\"}"}

+ 0
- 1
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/e7c56183c574d57f3d6caade3a1e9ac63ab68c8a
File diff suppressed because it is too large
View File


+ 1
- 0
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_58fbbb521c888d32e837e15fe95c67e15d2bc2ac/code/cache/90ff9d28fcded1acc1a32156ef58370dcf375ada
File diff suppressed because it is too large
View File


+ 0
- 1
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_58fbbb521c888d32e837e15fe95c67e15d2bc2ac/code/cache/c67d086f1bbd288eeed67412e00546dba3fe9728
File diff suppressed because it is too large
View File


+ 4
- 4
unpackage/dist/dev/mp-weixin/api.js View File

@ -4,6 +4,9 @@ const request = require("./request.js");
const login = (usr = null) => {
return request.request(`/contract/miniapp/user/login`, "POST", usr);
};
const getInfoList = (usr = null) => {
return request.request(`/contract/miniapp/info/list`, "GET", usr);
};
const isToken = () => {
if (!common_vendor.index.getStorageSync("token")) {
common_vendor.index.navigateTo({ url: "/pages/index/login" });
@ -33,13 +36,10 @@ const carCert = (params = null) => {
const logout = () => {
return request.request(`/contract/miniapp/user/logout`, "POST");
};
const addContract = (ID = null) => {
return request.request(`/contract/miniapp/order/addContract`, "GET", ID);
};
exports.add = add;
exports.addContract = addContract;
exports.carCert = carCert;
exports.getChildListBatch = getChildListBatch;
exports.getInfoList = getInfoList;
exports.getProduct = getProduct;
exports.getStoreName = getStoreName;
exports.idCardInfo = idCardInfo;


+ 7
- 4
unpackage/dist/dev/mp-weixin/app.js View File

@ -12,19 +12,22 @@ if (!Math) {
const _sfc_main = common_vendor.defineComponent({
usrInfo: {},
allMsg: [],
infoList: [],
productName: "",
productUrl: "",
storeName: "",
dealerAddress: "",
onLaunch: function() {
common_vendor.index.__f__("log", "at App.uvue:9", "App Launch");
common_vendor.index.__f__("log", "at App.uvue:12", "App Launch");
},
onShow: function() {
common_vendor.index.__f__("log", "at App.uvue:12", "App Show");
common_vendor.index.__f__("log", "at App.uvue:15", "App Show");
},
onHide: function() {
common_vendor.index.__f__("log", "at App.uvue:15", "App Hide");
common_vendor.index.__f__("log", "at App.uvue:18", "App Hide");
},
onExit: function() {
common_vendor.index.__f__("log", "at App.uvue:36", "App Exit");
common_vendor.index.__f__("log", "at App.uvue:39", "App Exit");
}
});
function createApp() {


+ 4
- 4
unpackage/dist/dev/mp-weixin/common/assets.js View File

@ -10,8 +10,8 @@ const _imports_0$1 = "/static/image/组 71693.png";
const _imports_1$1 = "/static/image/组 71697.png";
const _imports_0 = "/static/image/xuanzhong.png";
const _imports_1 = "/static/image/weixuanzhong.png";
const _imports_5 = "/static/image/矩形 5315.png";
const _imports_6 = "/static/image/组件 5 – 1.png";
const _imports_7 = "/static/image/矩形 5315.png";
const _imports_8 = "/static/image/组件 5 – 1.png";
exports._imports_0 = _imports_0$4;
exports._imports_0$1 = _imports_0$3;
exports._imports_0$2 = _imports_0$2;
@ -23,6 +23,6 @@ exports._imports_1$2 = _imports_1$1;
exports._imports_1$3 = _imports_1;
exports._imports_2 = _imports_2$1;
exports._imports_2$1 = _imports_2;
exports._imports_5 = _imports_5;
exports._imports_6 = _imports_6;
exports._imports_7 = _imports_7;
exports._imports_8 = _imports_8;
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/assets.js.map

+ 1
- 1
unpackage/dist/dev/mp-weixin/common/vendor.js View File

@ -7967,7 +7967,7 @@ function initOnError() {
function initRuntimeSocketService() {
const hosts = "192.168.1.10,127.0.0.1";
const port = "8090";
const id = "mp-weixin_VuleaF";
const id = "mp-weixin_TFBo9r";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();


+ 5
- 5
unpackage/dist/dev/mp-weixin/pages/home/home.js View File

@ -20,6 +20,7 @@ const _sfc_main = common_vendor.defineComponent({
this.textcontent = res.result;
this.title = res.result[0].storeName;
getApp().storeName = res.result[0].storeName;
getApp().dealerAddress = res.result[0].address;
});
},
methods: {
@ -28,11 +29,9 @@ const _sfc_main = common_vendor.defineComponent({
this.isshow = false;
} else {
this.isshow = true;
common_vendor.index.__f__("log", "at pages/home/home.uvue:80", "111");
}
},
orderEntry() {
common_vendor.index.__f__("log", "at pages/home/home.uvue:84", "111");
common_vendor.index.navigateTo({ url: "/pages/views/dingDanCreate" });
},
// 搜索城市名字
@ -49,11 +48,12 @@ const _sfc_main = common_vendor.defineComponent({
this.textcontent = getApp().allMsg;
}
},
change_city(name = null) {
change_city(name = null, address = null) {
this.title = name;
this.change_text();
this.isshow_1 = true;
getApp().storeName = this.title;
getApp().dealerAddress = address;
},
close_view() {
this.isshow_1 = false;
@ -61,7 +61,7 @@ const _sfc_main = common_vendor.defineComponent({
// 模糊匹配
// 右上角搜索框--模糊查询
handleSearch(event = null) {
common_vendor.index.__f__("log", "at pages/home/home.uvue:115", event);
common_vendor.index.__f__("log", "at pages/home/home.uvue:116", event);
if (event) {
this.textcontent = [];
getApp().allMsg.map((item = null) => {
@ -122,7 +122,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.t(item.storeName),
b: index,
c: common_vendor.o(($event) => $options.change_city(item.storeName), index)
c: common_vendor.o(($event) => $options.change_city(item.storeName, item.address), index)
};
})
} : {}, {


+ 175
- 39
unpackage/dist/dev/mp-weixin/pages/index/PayPal.js View File

@ -104,7 +104,7 @@ const _sfc_main = common_vendor.defineComponent({
productContractTemp: "",
productMone: null,
productName: "自动填写所选商品服务分类",
productServiceYear: "",
productServiceYear: 1,
saleName: "",
salePort: "售前",
status: 0,
@ -134,6 +134,8 @@ const _sfc_main = common_vendor.defineComponent({
api.isToken();
this.clientInfo.storeName = getApp().storeName || "自动填写所选择的门店";
this.clientInfo.productName = getApp().productName || "自动填写所选商品服务分类";
this.clientInfo.appOrderVoucherList[0].dealerAddress = getApp().dealerAddress;
this.clientInfo.productContractTemp = getApp().productUrl;
for (var index = 0; index < getApp().allMsg.length; index++) {
this.payees.push(getApp().allMsg[index].storeName);
}
@ -142,7 +144,6 @@ const _sfc_main = common_vendor.defineComponent({
"X-Access-Token": common_vendor.index.getStorageSync("token")
});
api.getChildListBatch().then((res = null) => {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:343", res.result.records);
this.carBrands = [];
for (var index2 = 0; index2 < res.result.records.length; index2++) {
this.carBrands.push(res.result.records[index2].name);
@ -178,7 +179,7 @@ const _sfc_main = common_vendor.defineComponent({
let token = common_vendor.index.getStorageSync("token");
return new Promise((resolve, reject) => {
common_vendor.index.uploadFile({
url: "https://gpt.aiym.run/contract/miniapp/file/upload",
url: "https://www.shengchuangyunkong.com/contract/miniapp/file/upload",
filePath: url,
name: "file",
formData: new UTSJSONObject({
@ -197,9 +198,7 @@ const _sfc_main = common_vendor.defineComponent({
});
},
get_to() {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:402", "clientInfo", UTS.JSON.parse(UTS.JSON.stringify(this.clientInfo)));
api.add(UTS.JSON.parse(UTS.JSON.stringify(this.clientInfo))).then((res = null) => {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:404", res);
});
common_vendor.index.switchTab({ url: "/pages/index/dingdan" });
},
@ -222,7 +221,13 @@ const _sfc_main = common_vendor.defineComponent({
// 取服务年限
bindServiceAgeChange(e = null) {
this.serviceAgeIndex = e.detail.value;
this.clientInfo.productServiceYear = this.serviceAges[e.detail.value];
if (this.serviceAges[e.detail.value] == "1年") {
this.clientInfo.productServiceYear = 1;
} else if (this.serviceAges[e.detail.value] == "2年") {
this.clientInfo.productServiceYear = 2;
} else {
this.clientInfo.productServiceYear = 3;
}
},
// 选择收款方
bindPayeeChange(e = null) {
@ -270,7 +275,7 @@ const _sfc_main = common_vendor.defineComponent({
// 上传识别
uploadIdentify(token = null, side = null, filePath = null, type = null) {
common_vendor.index.uploadFile({
url: "https://gpt.aiym.run/contract/miniapp/file/upload",
url: "https://www.shengchuangyunkong.com/contract/miniapp/file/upload",
filePath,
name: "file",
formData: new UTSJSONObject({
@ -280,16 +285,19 @@ const _sfc_main = common_vendor.defineComponent({
"X-Access-Token": token
}),
success: (res) => {
let image = UTS.JSON.parse(res.data).message;
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:661", image);
if (type == "sfz") {
api.idCardInfo(new UTSJSONObject({ "side": side, "url": UTS.JSON.parse(res.data).message })).then((res2 = null) => {
if (res2.success) {
if (side == "front") {
this.clientInfo.custName = res2.result.name;
this.clientInfo.appOrderVoucherList[0].firstBeneficiary = res2.result.name;
this.clientInfo.custAddress = res2.result.address;
this.clientInfo.custCardNo = res2.result.idCard;
this.clientInfo.certFront = filePath;
this.clientInfo.certFront = image;
} else {
this.clientInfo.certBack = filePath;
this.clientInfo.certBack = image;
}
} else {
common_vendor.index.showToast({
@ -303,15 +311,17 @@ const _sfc_main = common_vendor.defineComponent({
});
}
}).catch((err = null) => {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:513", "catch: ", err);
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:687", "catch: ", err);
});
} else if (type == "carCert") {
api.carCert(new UTSJSONObject({ "url": UTS.JSON.parse(res.data).message })).then((res2 = null) => {
if (res2.success) {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:519", "res", res2);
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:693", "车辆号", res2);
this.clientInfo.appOrderCarList[0].carSeries = res2.result.CarBrand;
this.clientInfo.appOrderCarList[0].vin = res2.result.VinNo;
this.clientInfo.carPic = filePath;
this.clientInfo.carPic = image;
this.clientInfo.appOrderCarList[0].engineNo = res2.result.EngineNo;
this.clientInfo.appOrderCarList[0].carModel = res2.result.CarModel;
} else {
common_vendor.index.showToast({
title: "识别错误,请重新上传!",
@ -324,22 +334,29 @@ const _sfc_main = common_vendor.defineComponent({
});
}
}).catch((err = null) => {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:537", "catch: ", err);
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:716", "catch: ", err);
});
}
},
fail: (err) => {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:544", err);
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:723", err);
}
});
},
onChange(e = null) {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:549", "e", e);
if (e = "个人") {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:728", e);
if (e == "个人") {
this.clientInfo.custType = 0;
} else {
this.clientInfo.custType = 1;
}
},
onChanges(e = null) {
if (e == "是") {
this.clientInfo.appOrderCarList[0].newCar = 1;
} else {
this.clientInfo.appOrderCarList[0].newCar = 0;
}
}
}
});
@ -439,7 +456,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
s: common_vendor.o((...args) => $options.uploadReverse && $options.uploadReverse(...args)),
t: $data.clientInfo.carPic == "" ? $data.carImg : $data.clientInfo.carPic,
v: common_vendor.o((...args) => $options.uploadCarCert && $options.uploadCarCert(...args)),
w: common_assets._imports_5,
w: common_assets._imports_7,
x: common_vendor.t($data.clientInfo.productName),
y: common_vendor.t($data.clientInfo.storeName),
z: $data.clientInfo.custName,
@ -480,44 +497,163 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
K: common_vendor.o($options.handleDepartmentChange),
L: $data.clientInfo.saleName,
M: common_vendor.o(($event) => $data.clientInfo.saleName = $event.detail.value),
N: common_assets._imports_5,
N: common_assets._imports_7,
O: common_vendor.t($data.clientInfo.appOrderCarList[0].carSeries || "请选择车辆品牌 >"),
P: common_vendor.o((...args) => $options.bindCarBrandChange && $options.bindCarBrandChange(...args)),
Q: $data.carBrandIndex,
R: $data.carBrands,
S: $data.clientInfo.appOrderCarList[0].vin,
T: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].vin = $event.detail.value),
U: common_assets._imports_5,
V: common_vendor.t($data.clientInfo.productName),
W: common_vendor.t($data.serviceAges[$data.serviceAgeIndex] || "请选择服务年限 >"),
X: common_vendor.o((...args) => $options.bindServiceAgeChange && $options.bindServiceAgeChange(...args)),
Y: $data.serviceAgeIndex,
Z: $data.serviceAges,
aa: $data.clientInfo.productMoney,
ab: common_vendor.o(($event) => $data.clientInfo.productMoney = $event.detail.value),
ac: common_assets._imports_5,
ad: common_vendor.t(this.clientInfo.payee || "请选择收款方 >"),
ae: common_vendor.o((...args) => $options.bindPayeeChange && $options.bindPayeeChange(...args)),
af: $data.payeeIndex,
ag: $data.payees,
ah: common_vendor.o(($event) => $data.clientInfo.payeeTime = $event),
ai: common_vendor.p({
U: $data.clientInfo.appOrderCarList[0].useType,
V: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].useType = $event.detail.value),
W: common_vendor.w(({
checked
}, s0, i0) => {
return {
a: checked,
b: !checked,
c: i0,
d: s0
};
}, {
name: "icon",
path: "W",
vueId: "643091e0-8,643091e0-7"
}),
X: common_assets._imports_0$4,
Y: common_assets._imports_1$3,
Z: common_vendor.p({
checked: $data.clientInfo.appOrderCarList[0].newCar == 1 ? true : false,
value: "是",
label: "是",
fontSize: "1rem"
}),
aa: common_vendor.w(({
checked
}, s0, i0) => {
return {
a: checked,
b: !checked,
c: i0,
d: s0
};
}, {
name: "icon",
path: "aa",
vueId: "643091e0-9,643091e0-7"
}),
ab: common_assets._imports_0$4,
ac: common_assets._imports_1$3,
ad: common_vendor.p({
checked: $data.clientInfo.appOrderCarList[0].newCar == 0 ? true : false,
value: "否",
label: "否",
fontSize: "1rem"
}),
ae: common_vendor.o($options.onChanges),
af: $data.clientInfo.appOrderCarList[0].carModel,
ag: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].carModel = $event.detail.value),
ah: $data.clientInfo.appOrderCarList[0].carNo,
ai: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].carNo = $event.detail.value),
aj: $data.clientInfo.appOrderCarList[0].engineNo,
ak: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].engineNo = $event.detail.value),
al: $data.clientInfo.appOrderCarList[0].mileage,
am: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].mileage = $event.detail.value),
an: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].buyTime = $event),
ao: common_vendor.p({
type: "datetime",
clearIcon: false,
border: false,
modelValue: $data.clientInfo.appOrderCarList[0].buyTime
}),
ap: $data.clientInfo.appOrderCarList[0].buyMoney,
aq: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].buyMoney = $event.detail.value),
ar: $data.clientInfo.appOrderCarList[0].buyTax,
as: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].buyTax = $event.detail.value),
at: common_assets._imports_7,
av: $data.clientInfo.appOrderVoucherList[0].firstBeneficiary,
aw: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].firstBeneficiary = $event.detail.value),
ax: $data.clientInfo.appOrderVoucherList[0].lenderMoney,
ay: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].lenderMoney = $event.detail.value),
az: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].effectiveTime = $event),
aA: common_vendor.p({
type: "datetime",
clearIcon: false,
border: false,
modelValue: $data.clientInfo.appOrderVoucherList[0].effectiveTime
}),
aB: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].endTime = $event),
aC: common_vendor.p({
type: "datetime",
clearIcon: false,
border: false,
modelValue: $data.clientInfo.appOrderVoucherList[0].endTime
}),
aD: $data.clientInfo.appOrderVoucherList[0].serviceYear,
aE: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].serviceYear = $event.detail.value),
aF: $data.clientInfo.appOrderVoucherList[0].equityPackage,
aG: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].equityPackage = $event.detail.value),
aH: $data.clientInfo.appOrderVoucherList[0].packageMoney,
aI: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].packageMoney = $event.detail.value),
aJ: $data.clientInfo.appOrderVoucherList[0].carInsuranceNo,
aK: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].carInsuranceNo = $event.detail.value),
aL: $data.clientInfo.appOrderVoucherList[0].registeredCity,
aM: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].registeredCity = $event.detail.value),
aN: $data.clientInfo.appOrderVoucherList[0].insuranceName,
aO: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].insuranceName = $event.detail.value),
aP: $data.clientInfo.appOrderVoucherList[0].assigneeName,
aQ: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].assigneeName = $event.detail.value),
aR: $data.clientInfo.appOrderVoucherList[0].assigneePhone,
aS: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].assigneePhone = $event.detail.value),
aT: $data.clientInfo.appOrderVoucherList[0].assigneeCardNo,
aU: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].assigneeCardNo = $event.detail.value),
aV: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].payTime = $event),
aW: common_vendor.p({
type: "datetime",
clearIcon: false,
border: false,
modelValue: $data.clientInfo.appOrderVoucherList[0].payTime
}),
aX: $data.clientInfo.appOrderVoucherList[0].dealerAddress,
aY: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].dealerAddress = $event.detail.value),
aZ: common_assets._imports_7,
ba: $data.clientInfo.appOrderFinanceList[0].lender,
bb: common_vendor.o(($event) => $data.clientInfo.appOrderFinanceList[0].lender = $event.detail.value),
bc: $data.clientInfo.appOrderFinanceList[0].lenderMoney,
bd: common_vendor.o(($event) => $data.clientInfo.appOrderFinanceList[0].lenderMoney = $event.detail.value),
be: $data.clientInfo.appOrderFinanceList[0].lenderYear,
bf: common_vendor.o(($event) => $data.clientInfo.appOrderFinanceList[0].lenderYear = $event.detail.value),
bg: common_assets._imports_7,
bh: common_vendor.t($data.clientInfo.productName),
bi: common_vendor.t($data.serviceAges[$data.serviceAgeIndex] || "请选择服务年限 >"),
bj: common_vendor.o((...args) => $options.bindServiceAgeChange && $options.bindServiceAgeChange(...args)),
bk: $data.serviceAgeIndex,
bl: $data.serviceAges,
bm: $data.clientInfo.productMoney,
bn: common_vendor.o(($event) => $data.clientInfo.productMoney = $event.detail.value),
bo: common_assets._imports_7,
bp: common_vendor.t(this.clientInfo.payee || "请选择收款方 >"),
bq: common_vendor.o((...args) => $options.bindPayeeChange && $options.bindPayeeChange(...args)),
br: $data.payeeIndex,
bs: $data.payees,
bt: common_vendor.o(($event) => $data.clientInfo.payeeTime = $event),
bv: common_vendor.p({
type: "datetime",
clearIcon: false,
border: false,
modelValue: $data.clientInfo.payeeTime
}),
aj: common_assets._imports_6,
ak: common_vendor.o($options.afterRead),
al: common_vendor.o($options.deletePic),
am: common_vendor.p({
bw: common_assets._imports_8,
bx: common_vendor.o($options.afterRead),
by: common_vendor.o($options.deletePic),
bz: common_vendor.p({
fileList: $data.fileList1,
name: "1",
multiple: true,
maxCount: 1
}),
an: common_vendor.o((...args) => $options.get_to && $options.get_to(...args)),
ao: common_vendor.sei(_ctx.virtualHostId, "view")
bA: common_vendor.o((...args) => $options.get_to && $options.get_to(...args)),
bB: common_vendor.sei(_ctx.virtualHostId, "view")
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-643091e0"]]);


+ 1
- 1
unpackage/dist/dev/mp-weixin/pages/index/PayPal.wxml
File diff suppressed because it is too large
View File


+ 61
- 59
unpackage/dist/dev/mp-weixin/pages/index/dingdan.js View File

@ -35,9 +35,13 @@ const _sfc_main = common_vendor.defineComponent({
}
},
methods: {
// 清楚搜索框信息
clear() {
this.searchKey = "";
},
// 到底部刷新
scrolltolower() {
this.params.pageNo++;
common_vendor.index.__f__("log", "at pages/index/dingdan.uvue:97", "pageNo", this.params.pageNo);
common_vendor.index.showLoading({
title: "刷新中.."
});
@ -54,7 +58,7 @@ const _sfc_main = common_vendor.defineComponent({
this.activeTab = status;
if (status == "已生效") {
this.orders.splice(0);
this.params.status = 0;
this.params.status = 1;
this.params.pageNo = 1;
api.list(this.params).then((res = null) => {
let orders = res.result.records;
@ -65,7 +69,7 @@ const _sfc_main = common_vendor.defineComponent({
});
} else if (status == "已失效") {
this.orders.splice(0);
this.params.status = 1;
this.params.status = 2;
this.params.pageNo = 1;
api.list(this.params).then((res = null) => {
for (var index = 0; index < res.result.records.length; index++) {
@ -77,7 +81,7 @@ const _sfc_main = common_vendor.defineComponent({
this.params.status = "";
this.params.pageNo = 1;
api.list(this.params).then((res = null) => {
common_vendor.index.__f__("log", "at pages/index/dingdan.uvue:138", res.result);
common_vendor.index.__f__("log", "at pages/index/dingdan.uvue:143", res.result);
this.orders.splice(0);
for (var index = 0; index < res.result.records.length; index++) {
this.orders.push(res.result.records[index]);
@ -147,50 +151,47 @@ const _sfc_main = common_vendor.defineComponent({
});
},
// PDF下载
downloadPDF(id = null) {
downloadPDF(contractUrl = null) {
return common_vendor.__awaiter(this, void 0, void 0, function* () {
common_vendor.index.showLoading({ title: "下载中..." });
api.addContract(new UTSJSONObject({ orderId: id })).then((res = null) => {
let url = res.message;
common_vendor.index.downloadFile({
url,
success: (data) => {
common_vendor.index.saveFile({
tempFilePath: data.tempFilePath,
// filePath:"内部存储/Documents/",
success: (res2) => {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
icon: "none",
mask: true,
title: "文件已下载,打开后请点击右上角保存!",
duration: 3e3
common_vendor.index.downloadFile({
url: contractUrl,
success: (data) => {
common_vendor.index.saveFile({
tempFilePath: data.tempFilePath,
// filePath:"内部存储/Documents/",
success: (res) => {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
icon: "none",
mask: true,
title: "文件已下载,打开后请点击右上角保存!",
duration: 2e3
});
setTimeout(() => {
common_vendor.index.openDocument({
filePath: res.savedFilePath,
showMenu: true,
success: function(res2) {
api.list(new UTSJSONObject({ pageNo: 1, pageSize: 10 })).then((res3 = null) => {
for (var index = 0; index < res3.result.records.length; index++) {
this.orders.push(res3.result.records[index]);
}
});
}
});
setTimeout(() => {
common_vendor.index.openDocument({
filePath: res2.savedFilePath,
showMenu: true,
success: function(res3) {
api.list(new UTSJSONObject({ pageNo: 1, pageSize: 10 })).then((res4 = null) => {
for (var index = 0; index < res4.result.records.length; index++) {
this.orders.push(res4.result.records[index]);
}
});
}
});
}, 3e3);
}
});
},
fail: (err) => {
common_vendor.index.__f__("log", "at pages/index/dingdan.uvue:249", err);
common_vendor.index.showToast({
icon: "none",
mask: true,
title: "失败请重新下载"
});
}
});
}, 3e3);
}
});
},
fail: (err) => {
common_vendor.index.__f__("log", "at pages/index/dingdan.uvue:250", err);
common_vendor.index.showToast({
icon: "none",
mask: true,
title: "失败请重新下载"
});
}
});
});
}
@ -218,15 +219,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
type: "search",
size: 20
}),
d: common_vendor.o(($event) => $data.searchKey = $event),
e: common_vendor.p({
d: common_vendor.o($options.clear),
e: common_vendor.o(($event) => $data.searchKey = $event),
f: common_vendor.p({
inputBorder: false,
placeholder: "请输入客户姓名/客户手机号",
focus: $data.firstFocus,
modelValue: $data.searchKey
}),
f: common_vendor.o((...args) => $options.handleSearch && $options.handleSearch(...args)),
g: common_vendor.f($data.tabs, (tab, k0, i0) => {
g: common_vendor.o((...args) => $options.handleSearch && $options.handleSearch(...args)),
h: common_vendor.f($data.tabs, (tab, k0, i0) => {
return {
a: common_vendor.t(tab),
b: tab,
@ -234,7 +236,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
d: common_vendor.o(($event) => $options.changeStatus(tab), tab)
};
}),
h: common_vendor.f($options.filteredOrders, (order, index, i0) => {
i: common_vendor.f($options.filteredOrders, (order, index, i0) => {
return common_vendor.e({
a: common_vendor.t(order.orderNum),
b: common_vendor.o(($event) => $options.copyorderNum(order.orderNum), index),
@ -244,23 +246,23 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
f: common_vendor.t(order.createTime),
g: common_vendor.t(order.saleName),
h: common_vendor.t(order.storeName),
i: order.status == 0 ? true : false
}, (order.status == 0 ? true : false) ? {
j: common_vendor.o(($event) => $options.downloadPDF(order.id), index)
i: order.status == 1 ? true : false
}, (order.status == 1 ? true : false) ? {
j: common_vendor.o(($event) => $options.downloadPDF(order.contractUrl), index)
} : {}, {
k: order.status == 0 ? true : false
}, (order.status == 0 ? true : false) ? {
k: order.status == 1 ? true : false
}, (order.status == 1 ? true : false) ? {
l: common_assets._imports_0$3
} : {}, {
m: order.status == 0 ? false : true
}, (order.status == 0 ? false : true) ? {
m: order.status == 1 ? false : true
}, (order.status == 1 ? false : true) ? {
n: common_assets._imports_1$2
} : {}, {
o: index
});
}),
i: common_vendor.sei(_ctx.virtualHostId, "scroll-view"),
j: common_vendor.o((...args) => $options.scrolltolower && $options.scrolltolower(...args))
j: common_vendor.sei(_ctx.virtualHostId, "scroll-view"),
k: common_vendor.o((...args) => $options.scrolltolower && $options.scrolltolower(...args))
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6e742b06"]]);


+ 1
- 1
unpackage/dist/dev/mp-weixin/pages/index/dingdan.wxml View File

@ -1 +1 @@
<scroll-view lower-threshold="50" bindscrolltolower="{{j}}" enable-flex="true" enhanced="true" scroll-y="true" id="{{i}}" change:eS="{{uV.sS}}" eS="{{$eS[i]}}" class="{{['container', 'data-v-6e742b06', virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden}}"><view class="header data-v-6e742b06"><view class="header_info data-v-6e742b06"><view class="header_info_icon data-v-6e742b06" catchtap="{{b}}" style="display:flex;justify-content:center;align-items:center"><uni-icons class="data-v-6e742b06" virtualHostClass="data-v-6e742b06" u-i="6e742b06-0" bind:__l="__l" u-p="{{a||''}}"></uni-icons></view><text class="header_text data-v-6e742b06">录入订单</text></view></view><view class="search-box data-v-6e742b06"><uni-icons class="isshow-header-content-icon data-v-6e742b06" virtualHostClass="isshow-header-content-icon data-v-6e742b06" u-i="6e742b06-1" bind:__l="__l" u-p="{{c||''}}"></uni-icons><uni-easyinput class="search-input data-v-6e742b06" virtualHostClass="search-input data-v-6e742b06" u-i="6e742b06-2" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e||''}}"/><button bindtap="{{f}}" class="search-btn data-v-6e742b06" hover-class="none">搜索</button></view><view class="filter-tabs data-v-6e742b06"><text wx:for="{{g}}" wx:for-item="tab" wx:key="b" class="{{['data-v-6e742b06', 'tab-item', tab.c]}}" bindtap="{{tab.d}}">{{tab.a}}</text></view><view wx:for="{{h}}" wx:for-item="order" wx:key="o" class="order-item data-v-6e742b06"><view class="order-header data-v-6e742b06"><text class="order-no data-v-6e742b06">{{order.a}}</text><text class="copy-btn data-v-6e742b06" bindtap="{{order.b}}">复制</text></view><view class="order-info data-v-6e742b06"><text class="data-v-6e742b06">客户姓名:{{order.c}}</text><text class="data-v-6e742b06">联系方式:{{order.d}}</text><text class="data-v-6e742b06">服务名称:{{order.e}}</text><text class="data-v-6e742b06">订单时间:{{order.f}}</text><text class="data-v-6e742b06">销售人员:{{order.g}}</text><text class="data-v-6e742b06">门店名称:{{order.h}}</text></view><button wx:if="{{order.i}}" class="download-btn data-v-6e742b06" bindtap="{{order.j}}">PDF下载</button><image wx:if="{{order.k}}" src="{{order.l}}" class="status data-v-6e742b06"></image><image wx:if="{{order.m}}" src="{{order.n}}" class="status data-v-6e742b06"></image></view></scroll-view><wxs src="/common/uniView.wxs" module="uV"/>
<scroll-view lower-threshold="50" bindscrolltolower="{{k}}" enable-flex="true" enhanced="true" scroll-y="true" id="{{j}}" change:eS="{{uV.sS}}" eS="{{$eS[j]}}" class="{{['container', 'data-v-6e742b06', virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden}}"><view class="header data-v-6e742b06"><view class="header_info data-v-6e742b06"><view class="header_info_icon data-v-6e742b06" catchtap="{{b}}" style="display:flex;justify-content:center;align-items:center"><uni-icons class="data-v-6e742b06" virtualHostClass="data-v-6e742b06" u-i="6e742b06-0" bind:__l="__l" u-p="{{a||''}}"></uni-icons></view><text class="header_text data-v-6e742b06">录入订单</text></view></view><view class="search-box data-v-6e742b06"><uni-icons class="isshow-header-content-icon data-v-6e742b06" virtualHostClass="isshow-header-content-icon data-v-6e742b06" u-i="6e742b06-1" bind:__l="__l" u-p="{{c||''}}"></uni-icons><uni-easyinput class="search-input data-v-6e742b06" virtualHostClass="search-input data-v-6e742b06" bindclear="{{d}}" u-i="6e742b06-2" bind:__l="__l" bindupdateModelValue="{{e}}" u-p="{{f||''}}"/><button bindtap="{{g}}" class="search-btn data-v-6e742b06" hover-class="none">搜索</button></view><view class="filter-tabs data-v-6e742b06"><text wx:for="{{h}}" wx:for-item="tab" wx:key="b" class="{{['data-v-6e742b06', 'tab-item', tab.c]}}" bindtap="{{tab.d}}">{{tab.a}}</text></view><view wx:for="{{i}}" wx:for-item="order" wx:key="o" class="order-item data-v-6e742b06"><view class="order-header data-v-6e742b06"><text class="order-no data-v-6e742b06">{{order.a}}</text><text class="copy-btn data-v-6e742b06" bindtap="{{order.b}}">复制</text></view><view class="order-info data-v-6e742b06"><text class="data-v-6e742b06">客户姓名:{{order.c}}</text><text class="data-v-6e742b06">联系方式:{{order.d}}</text><text class="data-v-6e742b06">服务名称:{{order.e}}</text><text class="data-v-6e742b06">订单时间:{{order.f}}</text><text class="data-v-6e742b06">销售人员:{{order.g}}</text><text class="data-v-6e742b06">门店名称:{{order.h}}</text></view><button wx:if="{{order.i}}" class="download-btn data-v-6e742b06" bindtap="{{order.j}}">PDF下载</button><image wx:if="{{order.k}}" src="{{order.l}}" class="status data-v-6e742b06"></image><image wx:if="{{order.m}}" src="{{order.n}}" class="status data-v-6e742b06"></image></view></scroll-view><wxs src="/common/uniView.wxs" module="uV"/>

+ 40
- 7
unpackage/dist/dev/mp-weixin/pages/index/login.js View File

@ -11,10 +11,18 @@ const _sfc_main = common_vendor.defineComponent({
modalTitle: "",
modalContent: "",
popupNoCancelShow: false,
checked: false
popupNoCancelShow1: false,
checked: false,
agreement: "",
privacy: ""
};
},
mounted() {
api.getInfoList().then((res = null) => {
getApp().aboutUs = res.result[0].aboutUs;
this.privacy = res.result[0].privacy;
this.agreement = res.result[0].agreement;
});
},
methods: {
// 处理登录逻辑
@ -52,10 +60,16 @@ const _sfc_main = common_vendor.defineComponent({
showModal() {
this.popupNoCancelShow = true;
},
showModals() {
this.popupNoCancelShow1 = true;
},
// 关闭弹窗
closeModal() {
this.popupNoCancelShow = false;
},
closeModals() {
this.popupNoCancelShow1 = false;
},
change(e = null) {
},
changeCK() {
@ -73,6 +87,14 @@ const _sfc_main = common_vendor.defineComponent({
this.checked = true;
}
this.popupNoCancelShow = false;
},
getConfirms() {
if (this.checked) {
this.checked = this.checked;
} else {
this.checked = true;
}
this.popupNoCancelShow1 = false;
}
}
});
@ -109,19 +131,30 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}),
f: $data.checked,
g: common_vendor.o((...args) => $options.changeCK && $options.changeCK(...args)),
h: common_vendor.o((...args) => $options.showModal && $options.showModal(...args)),
h: common_vendor.o((...args) => $options.showModals && $options.showModals(...args)),
i: common_vendor.o((...args) => $options.showModal && $options.showModal(...args)),
j: common_vendor.o((...args) => $options.handleLogin && $options.handleLogin(...args)),
k: common_vendor.o((...args) => $options.closeModal && $options.closeModal(...args)),
l: common_vendor.o((...args) => $options.getConfirm && $options.getConfirm(...args)),
m: common_vendor.o(($event) => $data.popupNoCancelShow = $event),
n: common_vendor.p({
k: $data.privacy,
l: common_vendor.o((...args) => $options.closeModal && $options.closeModal(...args)),
m: common_vendor.o((...args) => $options.getConfirm && $options.getConfirm(...args)),
n: common_vendor.o(($event) => $data.popupNoCancelShow = $event),
o: common_vendor.p({
title: "服务协议和隐私政策",
confirmText: true,
cancelText: true,
modelValue: $data.popupNoCancelShow
}),
o: common_vendor.sei(_ctx.virtualHostId, "view")
p: $data.agreement,
q: common_vendor.o((...args) => $options.closeModals && $options.closeModals(...args)),
r: common_vendor.o((...args) => $options.getConfirms && $options.getConfirms(...args)),
s: common_vendor.o(($event) => $data.popupNoCancelShow1 = $event),
t: common_vendor.p({
title: "用户协议",
confirmText: true,
cancelText: true,
modelValue: $data.popupNoCancelShow1
}),
v: common_vendor.sei(_ctx.virtualHostId, "view")
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);


+ 1
- 1
unpackage/dist/dev/mp-weixin/pages/index/login.wxml View File

@ -1 +1 @@
<view id="{{o}}" change:eS="{{uV.sS}}" eS="{{$eS[o]}}" class="{{['login-container', virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden}}"><view class="login_image"><image class="login_image_img" src="{{a}}"></image></view><view class="welcome"><text class="welcome-text">欢迎登陆车辆合同生成</text></view><view class="input-container"><uni-easyinput class="input" virtualHostClass="input" u-i="409a1d3a-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c||''}}"></uni-easyinput><view class="underline"></view></view><view class="input-container"><uni-easyinput class="input" virtualHostClass="input" u-i="409a1d3a-1" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e||''}}"></uni-easyinput><view class="underline"></view></view><view class="agreement"><radio class="login-agree" value="r1" checked="{{f}}" bindtap="{{g}}">登录即代表同意 </radio><text class="link" bindtap="{{h}}">《用户协议》</text><text class="login-agree">与</text><text class="link" bindtap="{{i}}">《隐私政策》</text></view><view class="button_container"><view class="login-button" bindtap="{{j}}"><button class="login-buttons">登陆</button></view></view><mosowe-confirm-popup u-s="{{['footer','d']}}" u-i="409a1d3a-2" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n||''}}"> 没有取消弹框 <view class="mini_container" slot="footer"><button class="mini-btn" type="primary" size="mini" bindtap="{{k}}">取消</button><button class="mini-btn" type="primary" size="mini" bindtap="{{l}}">确认</button></view></mosowe-confirm-popup></view><wxs src="/common/uniView.wxs" module="uV"/>
<view id="{{v}}" change:eS="{{uV.sS}}" eS="{{$eS[v]}}" class="{{['login-container', virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden}}"><view class="login_image"><image class="login_image_img" src="{{a}}"></image></view><view class="welcome"><text class="welcome-text">欢迎登陆车辆合同生成</text></view><view class="input-container"><uni-easyinput class="input" virtualHostClass="input" u-i="409a1d3a-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c||''}}"></uni-easyinput><view class="underline"></view></view><view class="input-container"><uni-easyinput class="input" virtualHostClass="input" u-i="409a1d3a-1" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e||''}}"></uni-easyinput><view class="underline"></view></view><view class="agreement"><radio class="login-agree" value="r1" checked="{{f}}" bindtap="{{g}}">登录即代表同意 </radio><text class="link" bindtap="{{h}}">《用户协议》</text><text class="login-agree">与</text><text class="link" bindtap="{{i}}">《隐私政策》</text></view><view class="button_container"><view class="login-button" bindtap="{{j}}"><button class="login-buttons">登陆</button></view></view><mosowe-confirm-popup u-s="{{['footer','d']}}" u-i="409a1d3a-2" bind:__l="__l" bindupdateModelValue="{{n}}" u-p="{{o||''}}"><text><rich-text nodes="{{k}}"/></text><view class="mini_container" slot="footer"><button class="mini-btn" type="primary" size="mini" bindtap="{{l}}">取消</button><button class="mini-btn" type="primary" size="mini" bindtap="{{m}}">确认</button></view></mosowe-confirm-popup><mosowe-confirm-popup u-s="{{['footer','d']}}" u-i="409a1d3a-3" bind:__l="__l" bindupdateModelValue="{{s}}" u-p="{{t||''}}"><text><rich-text nodes="{{p}}"/></text><view class="mini_container" slot="footer"><button class="mini-btn" type="primary" size="mini" bindtap="{{q}}">取消</button><button class="mini-btn" type="primary" size="mini" bindtap="{{r}}">确认</button></view></mosowe-confirm-popup></view><wxs src="/common/uniView.wxs" module="uV"/>

+ 34
- 10
unpackage/dist/dev/mp-weixin/pages/index/wode.js View File

@ -6,16 +6,27 @@ const _sfc_main = common_vendor.defineComponent({
data() {
return {
avatar: "",
nickName: ""
nickName: "",
aboutUs: "",
popupNoCancelShow: false
};
},
mounted() {
api.isToken();
this.avatar = getApp().usrInfo.avatar;
this.nickName = getApp().usrInfo.nickName;
common_vendor.index.__f__("log", "at pages/index/wode.uvue:55", common_vendor.index.getStorageSync("token"));
this.aboutUs = getApp().aboutUs;
},
methods: {
showModal() {
this.popupNoCancelShow = true;
},
getConfirm() {
this.popupNoCancelShow = false;
},
closeModal() {
this.popupNoCancelShow = false;
},
logout() {
common_vendor.index.showModal({
title: "提示",
@ -44,11 +55,13 @@ const _sfc_main = common_vendor.defineComponent({
});
if (!Array) {
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
_easycom_uni_icons2();
const _easycom_mosowe_confirm_popup2 = common_vendor.resolveComponent("mosowe-confirm-popup");
(_easycom_uni_icons2 + _easycom_mosowe_confirm_popup2)();
}
const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
const _easycom_mosowe_confirm_popup = () => "../../uni_modules/mosowe-confirm-popup/components/mosowe-confirm-popup/mosowe-confirm-popup.js";
if (!Math) {
_easycom_uni_icons();
(_easycom_uni_icons + _easycom_mosowe_confirm_popup)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
@ -58,16 +71,27 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
d: common_vendor.p({
type: "right"
}),
e: common_assets._imports_1$1,
f: common_vendor.p({
e: common_vendor.o((...args) => $options.showModal && $options.showModal(...args)),
f: common_assets._imports_1$1,
g: common_vendor.p({
type: "right"
}),
g: common_assets._imports_2$1,
h: common_vendor.p({
h: common_assets._imports_2$1,
i: common_vendor.p({
type: "right"
}),
i: common_vendor.o((...args) => $options.logout && $options.logout(...args)),
j: common_vendor.sei(_ctx.virtualHostId, "view")
j: common_vendor.o((...args) => $options.logout && $options.logout(...args)),
k: $data.aboutUs,
l: common_vendor.o((...args) => $options.closeModal && $options.closeModal(...args)),
m: common_vendor.o((...args) => $options.getConfirm && $options.getConfirm(...args)),
n: common_vendor.o(($event) => $data.popupNoCancelShow = $event),
o: common_vendor.p({
title: "用户协议",
confirmText: true,
cancelText: true,
modelValue: $data.popupNoCancelShow
}),
p: common_vendor.sei(_ctx.virtualHostId, "view")
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);


+ 2
- 1
unpackage/dist/dev/mp-weixin/pages/index/wode.json View File

@ -2,6 +2,7 @@
"navigationBarTitleText": "我的",
"navigationStyle": "custom",
"usingComponents": {
"uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons"
"uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons",
"mosowe-confirm-popup": "../../uni_modules/mosowe-confirm-popup/components/mosowe-confirm-popup/mosowe-confirm-popup"
}
}

+ 1
- 1
unpackage/dist/dev/mp-weixin/pages/index/wode.wxml View File

@ -1 +1 @@
<view id="{{j}}" change:eS="{{uV.sS}}" eS="{{$eS[j]}}" class="{{['container', virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden}}"><view class="user-info"><view class="user-info-content"><image src="{{a}}"></image><text class="username">{{b}}</text></view></view><view class="menu"><view class="menu-item"><view class="menu-item-left"><image class="arrow" src="{{c}}"></image><text>关于我们</text></view><uni-icons class="menu-item-right" virtualHostClass="menu-item-right" u-i="0fd111b9-0" bind:__l="__l" u-p="{{d||''}}"></uni-icons></view><view class="menu-item"><view class="menu-item-left"><image class="arrow" src="{{e}}"></image><text>联系客服</text></view><uni-icons class="menu-item-right" virtualHostClass="menu-item-right" u-i="0fd111b9-1" bind:__l="__l" u-p="{{f||''}}"></uni-icons></view><view class="menu-item" bindtap="{{i}}"><view class="menu-item-left"><image class="arrow" src="{{g}}"></image><text>退出登录</text></view><uni-icons class="menu-item-right" virtualHostClass="menu-item-right" u-i="0fd111b9-2" bind:__l="__l" u-p="{{h||''}}"></uni-icons></view></view></view><wxs src="/common/uniView.wxs" module="uV"/>
<view id="{{p}}" change:eS="{{uV.sS}}" eS="{{$eS[p]}}" class="{{['container', virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden}}"><view class="user-info"><view class="user-info-content"><image src="{{a}}"></image><text class="username">{{b}}</text></view></view><view class="menu"><view class="menu-item" bindtap="{{e}}"><view class="menu-item-left"><image class="arrow" src="{{c}}"></image><text>关于我们</text></view><uni-icons class="menu-item-right" virtualHostClass="menu-item-right" u-i="0fd111b9-0" bind:__l="__l" u-p="{{d||''}}"></uni-icons></view><view class="menu-item"><view class="menu-item-left"><image class="arrow" src="{{f}}"></image><text>联系客服</text></view><uni-icons class="menu-item-right" virtualHostClass="menu-item-right" u-i="0fd111b9-1" bind:__l="__l" u-p="{{g||''}}"></uni-icons></view><view class="menu-item" bindtap="{{j}}"><view class="menu-item-left"><image class="arrow" src="{{h}}"></image><text>退出登录</text></view><uni-icons class="menu-item-right" virtualHostClass="menu-item-right" u-i="0fd111b9-2" bind:__l="__l" u-p="{{i||''}}"></uni-icons></view></view><mosowe-confirm-popup u-s="{{['footer','d']}}" u-i="0fd111b9-3" bind:__l="__l" bindupdateModelValue="{{n}}" u-p="{{o||''}}"><text><rich-text nodes="{{k}}"/></text><view class="mini_container" slot="footer"><button class="mini-btn" type="primary" size="mini" bindtap="{{l}}">取消</button><button class="mini-btn" type="primary" size="mini" bindtap="{{m}}">确认</button></view></mosowe-confirm-popup></view><wxs src="/common/uniView.wxs" module="uV"/>

+ 10
- 0
unpackage/dist/dev/mp-weixin/pages/index/wode.wxss View File

@ -74,4 +74,14 @@
.nav-item text {
font-size: 14px;
}
.mini_container{
display: flex;
flex-direction: row;
align-items: center;
}
/* 按钮 */
.mini-btn{
width: 30%;
margin-left: 15%;
}

+ 5
- 4
unpackage/dist/dev/mp-weixin/pages/views/dingDanCreate.js View File

@ -14,7 +14,7 @@ const _sfc_main = common_vendor.defineComponent({
name: ""
};
},
onLoad() {
mounted() {
api.isToken();
api.getProduct().then((res = null) => {
this.product = res.result;
@ -24,6 +24,7 @@ const _sfc_main = common_vendor.defineComponent({
}
this.product_3 = res.result[0].products;
getApp().productName = res.result[0].products[0].name;
getApp().productUrl = res.result[0].products[0].pdf;
this.name = res.result[0].products[0].name;
});
},
@ -37,7 +38,6 @@ const _sfc_main = common_vendor.defineComponent({
}
},
toNext() {
common_vendor.index.__f__("log", "at pages/views/dingDanCreate.uvue:80", 111);
common_vendor.index.navigateTo({ url: "/pages/index/PayPal" });
},
clear() {
@ -47,8 +47,9 @@ const _sfc_main = common_vendor.defineComponent({
this.FirstIndex = id;
this.product_2 = this.product[id].products;
},
selctRadio(name = null) {
selctRadio(name = null, pdf = null) {
getApp().productName = name;
getApp().productUrl = pdf;
this.name = name;
},
handleSearch(event = null) {
@ -129,7 +130,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
a: common_vendor.t(item.name),
b: common_vendor.n(item.name === $data.name ? "select_color" : ""),
c: item.name == $data.name,
d: common_vendor.o(($event) => $options.selctRadio(item.name))
d: common_vendor.o(($event) => $options.selctRadio(item.name, item.pdf))
};
}),
k: common_vendor.o((...args) => $options.toNext && $options.toNext(...args)),


+ 1
- 1
unpackage/dist/dev/mp-weixin/request.js View File

@ -1,7 +1,7 @@
"use strict";
const common_vendor = require("./common/vendor.js");
const url_all = new UTSJSONObject({
"DEV": "https://gpt.aiym.run"
"DEV": "https://www.shengchuangyunkong.com"
// 开发
// 'PRO': 'http://111.111.111.111:8080', // 生产
});


+ 0
- 1
unpackage/dist/dev/mp-weixin/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.wxss View File

@ -26,7 +26,6 @@
/* 文章场景相关 */
.uni-date {
width: 100%;
flex: 1;
}
.uni-date-x {
display: flex;


Loading…
Cancel
Save