Commit d27502e1 by 张立顺

功能开发

1 parent d2517509
Showing 66 changed files with 1714 additions and 30 deletions
...@@ -6,17 +6,7 @@ ...@@ -6,17 +6,7 @@
"pages/accountItems/accountItems", "pages/accountItems/accountItems",
"pages/nothing/nothing", "pages/nothing/nothing",
"pages/webView/webView", "pages/webView/webView",
"tabWorkOrder/pages/index/index", "pages/tabWorkOrder/pages/index/index",
"tabWorkOrder/pages/createOrder/createOrder",
"tabWorkOrder/pages/additionRecordOrder/additionRecordOrder",
"tabWorkOrder/pages/orderDetail/orderDetail",
"tabWorkOrder/pages/constructionOrderDetail/constructionOrderDetail",
"tabWorkOrder/pages/confirmOrder/confirmOrder",
"tabWorkOrder/pages/updateOrderInfo/updateOrderInfo",
"tabWorkOrder/pages/createArchives/createArchives",
"tabWorkOrder/pages/orderSignature/orderSignature",
"tabWorkOrder/pages/fullSignture/fullSignture",
"tabWorkOrder/pages/ocr/ocr",
"tabMine/pages/index/index" "tabMine/pages/index/index"
], ],
"window": { "window": {
...@@ -30,15 +20,14 @@ ...@@ -30,15 +20,14 @@
"selectedColor": "#3582EE", "selectedColor": "#3582EE",
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
"position": "bottom", "position": "bottom",
"list": [ "list": [{
{
"pagePath": "tabIndex/pages/index/index", "pagePath": "tabIndex/pages/index/index",
"text": "首页", "text": "首页",
"iconPath": "images/tab-index.png", "iconPath": "images/tab-index.png",
"selectedIconPath": "images/tab-index-active.png" "selectedIconPath": "images/tab-index-active.png"
}, },
{ {
"pagePath": "tabWorkOrder/pages/index/index", "pagePath": "pages/tabWorkOrder/pages/index/index",
"text": "工单", "text": "工单",
"iconPath": "images/tab-order.png", "iconPath": "images/tab-order.png",
"selectedIconPath": "images/tab-order-active.png" "selectedIconPath": "images/tab-order-active.png"
...@@ -51,7 +40,22 @@ ...@@ -51,7 +40,22 @@
} }
] ]
}, },
"subpackages": [ "subpackages": [{
"root": "tabWorkOrder",
"name": "tabWorkOrder",
"pages": [
"pages/createOrder/createOrder",
"pages/additionRecordOrder/additionRecordOrder",
"pages/orderDetail/orderDetail",
"pages/constructionOrderDetail/constructionOrderDetail",
"pages/confirmOrder/confirmOrder",
"pages/updateOrderInfo/updateOrderInfo",
"pages/createArchives/createArchives",
"pages/orderSignature/orderSignature",
"pages/fullSignture/fullSignture",
"tpages/ocr/ocr"
]
},
{ {
"root": "packageEquity", "root": "packageEquity",
"name": "packageEquity", "name": "packageEquity",
...@@ -135,6 +139,16 @@ ...@@ -135,6 +139,16 @@
"van-popup": "@vant/weapp/popup/index", "van-popup": "@vant/weapp/popup/index",
"van-dialog": "@vant/weapp/dialog/index" "van-dialog": "@vant/weapp/dialog/index"
}, },
"preloadRule": {
"pages/tabWorkOrder/pages/index/index": {
"network": "all",
"packages": ["tabWorkOrder"]
},
"tabIndex/pages/index/index": {
"network": "all",
"packages": ["tabWorkOrder"]
}
},
"resolveAlias": { "resolveAlias": {
"~/*": "/*" "~/*": "/*"
}, },
...@@ -145,4 +159,4 @@ ...@@ -145,4 +159,4 @@
} }
}, },
"lazyCodeLoading": "requiredComponents" "lazyCodeLoading": "requiredComponents"
} }
\ No newline at end of file \ No newline at end of file
// components/Confirm/Confirm.js // components/Confirm/Confirm.js
import order_mixins from '../../tabWorkOrder/pages/order_mixins' // import order_mixins from '../../tabWorkOrder/pages/order_mixins'
import { form } from './form' import { form } from './form'
import api from '../../api/api' import api from '../../api/api'
Component({ Component({
...@@ -50,7 +50,57 @@ Component({ ...@@ -50,7 +50,57 @@ Component({
merchantIndex: 0, merchantIndex: 0,
index_4s: 0, index_4s: 0,
btnsHeight: 0, btnsHeight: 0,
startX: -1 startX: -1,
orderType: [
{
name: '全部',
active: true,
value: []
},
{
name: '升级下单',
value: [1, 2, 3, 4, 6]
},
{
name: '核销抵扣',
value: [5]
}
],
// 订单状态 1 待跟进, 2 不升级, 3 待支付,4 已支付,6 已评价 , 9 已撤销
statusList: [
{
name: '待跟进',
value: [1]
},
{
name: '已支付',
value: [4]
},
{
name: '待支付',
value: [3]
},
{
name: '已撤销',
value: [9]
},
{
name: '战败',
value: [2]
},
{
name: '已评价',
value: [6]
},
{
name: '已关闭',
value: [10]
},
{
name: '已失效',
value: [11]
}
],
}, },
/** /**
...@@ -158,7 +208,7 @@ Component({ ...@@ -158,7 +208,7 @@ Component({
}, },
init() { init() {
this.setData({ this.setData({
['form.orderType.data']: JSON.parse(JSON.stringify(order_mixins.data.orderType)) ['form.orderType.data']: JSON.parse(JSON.stringify(this.data.orderType))
}) })
this.setTimeList() this.setTimeList()
this.getGoodsTypeList() this.getGoodsTypeList()
...@@ -482,7 +532,7 @@ Component({ ...@@ -482,7 +532,7 @@ Component({
value: ['Y'] value: ['Y']
} }
] ]
let status_data = JSON.parse(JSON.stringify(order_mixins.data.statusList)) let status_data = JSON.parse(JSON.stringify(this.data.statusList))
let statusList = [ let statusList = [
{ {
name: '全部', name: '全部',
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* 2测试 * 2测试
* 3生产环境 * 3生产环境
*/ */
let index = 2 let index = 1
const accountInfo = wx.getAccountInfoSync() const accountInfo = wx.getAccountInfoSync()
const systemInfo = wx.getSystemInfoSync() const systemInfo = wx.getSystemInfoSync()
......
...@@ -51,5 +51,10 @@ export default { ...@@ -51,5 +51,10 @@ export default {
printContract(data) { printContract(data) {
let params = data || {} let params = data || {}
return api.post('dj.api.smartcarlife.vehicle.damage.upgrade.equityOrder.print', params) return api.post('dj.api.smartcarlife.vehicle.damage.upgrade.equityOrder.print', params)
},
/** 商品详情 */
goodsInfoGetDetailById(data) {
let params = data || {}
return api.post('dj.api.smartcarlife.goodsInfo.getDetailById', params)
} }
} }
...@@ -15,7 +15,23 @@ Component({ ...@@ -15,7 +15,23 @@ Component({
dataAttrName: { dataAttrName: {
type: String, type: String,
value: null value: null
} },
cardSetting: {
type: Boolean,
observer: function(n) {
console.log(n,'cardSetting');
if (!n) {
let {secondObj,formRule} = this.data
const productFormList = secondObj.productFormList.filter(item=>item.name != 'card')
delete formRule.card
// formRule = formRule.filter(item=> )
this.setData({
['secondObj.productFormList']: productFormList,
formRule
})
}
}
},
}, },
/** /**
......
...@@ -45,6 +45,7 @@ const formRule = { ...@@ -45,6 +45,7 @@ const formRule = {
], ],
customerAddress: [{ required: true, message: '联系地址不能为空' }], customerAddress: [{ required: true, message: '联系地址不能为空' }],
effectiveDate: [{ required: true, message: '生效日期不能为空' }], effectiveDate: [{ required: true, message: '生效日期不能为空' }],
card: [{ required: true, message: '卡号不能为空' }],
tireBrand: [{ required: true, message: '轮胎品牌不能为空' }], tireBrand: [{ required: true, message: '轮胎品牌不能为空' }],
frontTireSpecification: [{ required: true, message: '规格型号(前轮)不能为空' }], frontTireSpecification: [{ required: true, message: '规格型号(前轮)不能为空' }],
rearTireSpecification: [{ required: true, message: '规格型号(后轮)不能为空' }], rearTireSpecification: [{ required: true, message: '规格型号(后轮)不能为空' }],
...@@ -167,6 +168,12 @@ const secondObj = { ...@@ -167,6 +168,12 @@ const secondObj = {
start: new Date(new Date().setDate(new Date(new Date()).getDate() + 1)).toLocaleDateString() start: new Date(new Date().setDate(new Date(new Date()).getDate() + 1)).toLocaleDateString()
}, },
{ {
label: '卡号',
name: 'card',
type: 'input',
maxlength: '20'
},
{
label: '轮胎品牌', label: '轮胎品牌',
name: 'tireBrand', name: 'tireBrand',
type: 'input', type: 'input',
......
...@@ -42,7 +42,8 @@ Page({ ...@@ -42,7 +42,8 @@ Page({
// 弹窗 // 弹窗
isDialogShow: false, isDialogShow: false,
dialogObj: {}, dialogObj: {},
scrollTop: 0 scrollTop: 0,
cardSetting:true
}, },
getPickerObj(obj) { getPickerObj(obj) {
...@@ -140,16 +141,40 @@ Page({ ...@@ -140,16 +141,40 @@ Page({
carLifeApi[apiObj[routeInfo?.apiName]](params).then(res => { carLifeApi[apiObj[routeInfo?.apiName]](params).then(res => {
if (res.code == 0) { if (res.code == 0) {
let data = this.dealData(res.data) let data = this.dealData(res.data)
if (data.goodId) {
// 权益卡
this.getInterestCardSetting(data.goodId)
}
this.setData({ this.setData({
serviceInfo: data, serviceInfo: data,
step:data.mode?'second':'first' // step: data.mode ? 'second' : 'first'
// 先调试
}) })
} else { } else {
wx.$util.showToast(res.message || '接口异常') wx.$util.showToast(res.message || '接口异常')
} }
}) })
}, },
getInterestCardSetting(id) { // 是否要新增实体卡 字段 Y要 N不要
carLifeApi.goodsInfoGetDetailById({ id }).then(res => {
console.log('res', res)
// this.setData({
// cardSetting:false
// })
let {code,data} = this.data
if (res.code == 0) {
const entityCardFlag = data.upgradeGoods.entityCardFlag
entityCardFlag !='Y' && this.setData({
cardSetting:false
})
// let data = res.data[0]
// this.setData({
// 'serviceInfo.interestCardSetting':data.interestCardSetting
// })
}
})
},
// ocr图片识别 // ocr图片识别
reWrite(type, data) { reWrite(type, data) {
console.log(type, data) console.log(type, data)
...@@ -214,6 +239,7 @@ Page({ ...@@ -214,6 +239,7 @@ Page({
// 0草稿,1提单 // 0草稿,1提单
params.operationType = typeObj[type] params.operationType = typeObj[type]
console.log(params, '调接口---') console.log(params, '调接口---')
// return
carLifeApi.updateEquity(params).then(res => { carLifeApi.updateEquity(params).then(res => {
if (res.code == '0') { if (res.code == '0') {
if (type == 'confirm') { if (type == 'confirm') {
......
<!--packageEquity/pages/carEquity/serviceInfo/serviceInfo.wxml--> <!--packageEquity/pages/carEquity/serviceInfo/serviceInfo.wxml-->
<view class="layout"> <view class="layout">
<first-step wx:if="{{step == 'first'}}" id="FirstStep" serviceInfo="{{serviceInfo}}" dataAttrName="{{dataAttrName}}" bindconfirm="handleFirstConfirm" binddraft="handleSecondConfirm"></first-step> <first-step wx:if="{{step == 'first'}}" id="FirstStep" serviceInfo="{{serviceInfo}}" dataAttrName="{{dataAttrName}}" bindconfirm="handleFirstConfirm" binddraft="handleSecondConfirm"></first-step>
<second-step wx:if="{{step == 'second'}}" id="SecondStep" serviceInfo="{{serviceInfo}}" dataAttrName="{{dataAttrName}}" bindvaliderror="handleErrorJump" bindconfirm="handleSecondConfirm" binddraft="handleSecondConfirm"></second-step> <second-step wx:if="{{step == 'second'}}" cardSetting="{{cardSetting}}" id="SecondStep" serviceInfo="{{serviceInfo}}" dataAttrName="{{dataAttrName}}" bindvaliderror="handleErrorJump" bindconfirm="handleSecondConfirm" binddraft="handleSecondConfirm"></second-step>
<shade-tip isShow="{{isDialogShow}}" type="{{dialogObj.type}}" title="{{dialogObj.title}}" tipTxt="{{dialogObj.tipTxt}}" btnTxt="{{dialogObj.btnTxt}}" bindclick="handleTipClick" bindclose="handleTipClose" data-type="{{dialogObj.type}}"></shade-tip> <shade-tip isShow="{{isDialogShow}}" type="{{dialogObj.type}}" title="{{dialogObj.title}}" tipTxt="{{dialogObj.tipTxt}}" btnTxt="{{dialogObj.btnTxt}}" bindclick="handleTipClick" bindclose="handleTipClose" data-type="{{dialogObj.type}}"></shade-tip>
</view> </view>
\ No newline at end of file \ No newline at end of file
// const api = wx.$request
import api from '~/utils/request/request.js'
// const api = wx.$request
module.exports = {
/** 工单列表 */
getWorkList(data) {
let params = data || {}
params.sceneType = 1
return api.post('dj.api.smartcarlife.order.search', {
pageSize: 10,
...params
})
},
/**撤销工单 */
revokeOrder(data) {
return api.post('dj.api.smartcarlife.order.revoke', data)
},
/** 根据订单状态统计订单数*/
statByStatus(data) {
data = data || {}
data.sceneType = 1
return api.post('dj.api.smartcarlife.order.statByStatus', data)
},
}
// import api from '../../api/api.js'
// import Util from '../../utils/util'
Component({
options: {
multipleSlots: true // 在组件定义时的选项中启用多slot支持
},
/*组件的属性列表*/
properties: {
title: {
type: String,
value: '标题'
},
// 弹窗内容
content: {
type: String,
value: '内容'
},
// 弹窗取消按钮文字
btn_no: {
type: String,
value: '取消'
},
// 弹窗确认按钮文字
btn_ok: {
type: String,
value: '补录这笔订单'
},
//是否显示取消按钮
isShowCancel: {
type: Boolean,
value: true
},
//是否显示右上角关闭按钮
isShowClose: {
type: Boolean,
value: true
},
//应用于某些场景的button的open-type属性
sureButtonType: {
type: String,
value: ''
},
//控制弹窗的显示
flag: {
type: Boolean,
value: true
},
orderInfoSetting: {
type: Object,
value: {},
observer: function (n) {
console.log(n, 'orderInfoSetting')
n && this.setOrderInfo(n)
}
}
},
/* 组件的初始数据 */
data: {
wrapAnimate: 'wrapAnimate',
popupAnimate: 'popupAnimate',
tags: [
{
name: '服务态度好',
value: '1',
checked: false
},
{
name: '性价比高',
value: '2',
checked: false
},
{
name: '价格便宜',
value: '3',
checked: false
},
{
name: '一般',
value: '4',
checked: false
}
],
orderInfo: {}
},
lifetimes: {
attached: function () {
// 在组件实例进入页面节点树时执行
},
detached: function () {
// 在组件实例被从页面节点树移除时执行
}
},
/* 组件的方法列表 */
methods: {
setOrderInfo(orderInfo) {
console.log(orderInfo, 'orderInfo')
orderInfo.evaluation = orderInfo.evaluation.split(',')
console.log(orderInfo.evaluation, 'orderInfo.evaluation')
let { tags } = this.data
tags.forEach((item, index) => {
if (orderInfo.evaluation.includes(item.value)) {
item.checked = true
}
})
this.setData({
orderInfo,
tags
})
},
/* 内部私有方法建议以下划线开头 triggerEvent 用于触发事件 */
_close() {
//触发取消回调
this.triggerEvent('close')
},
_success() {}
}
})
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
<!-- components/orderSwitchPopup/orderSwitchPopup.wxml -->
<view wx:if="{{flag}}" class='container' style=''>
<!-- bindtap='_close' 取消遮光层关闭事件 -->
<view class='wrap {{wrapAnimate}}' style='background:rgba(0,0,0,{{bgOpacity}});' />
<view class='popup-container {{popupAnimate}}'>
<view class="v_title">
<view class="wx-popup-title">{{title}}</view>
<image
bindtap='_close'
src='../../images/order-close.png'
mode='widthFix'
class='btn-colse'
wx:if="{{isShowClose}}" />
</view>
<view class="wx-popup-con">
<scroll-view
scroll-y
enable-back-to-top
refresher-enabled="{{false}}"
refresher-threshold="104"
style="height:100%;">
<view class="signature">
<image src="{{orderInfo.electronicSignature}}" binderror="" bindload="" />
</view>
<view class="customerPhotos">
<image
class="customerPhotosItem"
wx:for="{{orderInfo.customerPhotos}}"
src="{{item.customerPhoto}}"
wx:key="index"
binderror=""
bindload="" />
</view>
<view class='star-box'>
<view class="label">评分:</view>
<block wx:for="{{5}}" wx:key="index">
<view class="star" bindtap="setStar" data-index="{{index}}">
<image src="{{index < orderInfo.rating?'/tabWorkOrder/images/star-active.png':'/tabWorkOrder/images/star.png'}}" />
</view>
</block>
</view>
<view class="tags">
<block wx:for="{{tags}}" wx:key="index">
<view
wx:if="{{item.checked}}"
class="tag {{item.checked?'act':''}}"
bindtap="chooseTag"
data-index="{{index}}">
{{item.name}}
</view>
</block>
</view>
</scroll-view>
</view>
</view>
</view>
/* components/orderSwitchPopup/orderSwitchPopup.wxss */
.container {
font-size: 15px;
color: #666;
font-weight: bold;
z-index: 10;
position: fixed;
width: 100vw;
height: 100vh;
}
.wrap {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
.popup-container {
position: fixed;
left: 50%;
/* top: 70%; */
width: 633rpx;
/* max-height: 60%; */
/* max-height: 886rpx; */
/* overflow: ; */
border: 2rpx solid #ccc;
border-radius: 16rpx;
box-sizing: bordre-box;
transform: translate(-50%, -50%);
background: #fff;
opacity: 0;
}
.wx-popup-title {
width: 100%;
padding: 26rpx 0;
text-align: center;
/* font-size: 30rpx; */
font-size: 32rpx;
font-weight: 600;
color: #333;
border-bottom: 1rpx solid #EBEDF0;
}
.wx-popup-con {
/* margin: 60rpx 10rpx; */
padding: 0 32rpx;
height: 840rpx;
text-align: center;
font-weight: 400;
}
.v_title {
display: flex;
justify-content: center;
align-items: center;
/* padding: 0 28rpx; */
position: relative;
}
.btn-colse {
position: absolute;
right: 28rpx;
top: 50%;
transform: translateY(-50%);
width: 44rpx;
height: 44rpx;
/* display: flex; */
/* justify-content: flex-end; */
}
.arc {
/* width: 100%;
height: 100%; */
width: 34rpx;
height: 34rpx;
border: 2rpx solid #979797;
border-radius: 100%;
box-sizing: border-box;
}
.wrapAnimate {
animation: wrapAnimate 1s linear forwards
}
@keyframes wrapAnimate {
0% {}
100% {
background: rgba(0, 0, 0, 0.7);
}
}
.wrapAnimateOut {
animation: wrapAnimateOut 1s 0.2s linear forwards
}
@keyframes wrapAnimateOut {
0% {
background: rgba(0, 0, 0, 0.7);
}
100% {
background: rgba(0, 0, 0, 0);
}
}
.popupAnimate {
animation: popupAnimate 1.2s linear forwards
}
@keyframes popupAnimate {
0% {}
60% {
top: 47%;
opacity: 1;
}
80% {
top: 53%;
opacity: 1;
}
100% {
top: 50%;
opacity: 1;
}
}
.popupAnimateOut {
animation: popupAnimateOut 1.2s linear forwards
}
@keyframes popupAnimateOut {
0% {
top: 50%;
opacity: 1;
}
20% {
top: 47%;
opacity: 1;
}
100% {}
}
.tips {
font-size: 24rpx;
margin-bottom: 20rpx;
}
.signature {
width: 566rpx;
height: 350rpx;
background: #F4F5F7;
border: 1.76rpx solid #EFF0F2;
border-radius: 10.52rpx;
margin: 10rpx auto;
}
.customerPhotos {
display: flex;
flex-wrap: wrap;
}
.customerPhotosItem {
width: 174rpx;
height: 174rpx;
border-radius: 12rpx;
margin-right: 20rpx;
margin-bottom: 20rpx;
}
.customerPhotosItem:nth-child(3n) {
margin-right: 0;
}
.star-box {
margin-top: 60rpx;
display: grid;
grid-template-columns: 80rpx repeat(5, 40rpx);
grid-template-rows: repeat(1, 40rpx);
gap: 20rpx;
/* align-items: center; */
/* justify-content: center; */
}
.star-box .label {
width: 100rpx;
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 32rpx;
color: #333333;
}
.star {
width: 42rpx;
height: 38rpx;
margin-right: 20rpx;
}
.tags {
/* padding-left: 12rpx; */
margin-top: 26rpx;
display: flex;
flex-wrap: wrap;
/* display: grid;
grid-template-columns: repeat(4, 168rpx);
gap: 12rpx; */
color: #888888;
}
.tag {
display: flex;
align-items: center;
justify-content: center;
height: 56rpx;
width: 168rpx;
border-radius: 8rpx;
font-size: 24rpx;
background: #F7F7F7;
margin-right: 12rpx;
margin-bottom: 12rpx;
}
.tag:nth-last-child(1) {
margin-right: 0;
/* width: 84rpx; */
}
.act {
background: #3582EE;
color: #FFFFFF;
}
\ No newline at end of file \ No newline at end of file
var replaceItemText = function (item) {
var reg = getRegExp(';~;', 'g')
// return item.replace(reg, ' ')
return item ? item.replace(reg, ' ') : null
}
var isIncludesItem = function (list, item) {
//
// console.log(list.indexOf(item))
// var flag = list.indexOf(item)
return list.indexOf(item) != -1
}
/*
* 导出
*/
module.exports = {
replaceItemText: replaceItemText,
isIncludesItem: isIncludesItem
}
{
"navigationStyle":"custom"
}
\ No newline at end of file \ No newline at end of file
/* pages/tabWorkOrder/pages/index/index.wxss */
\ No newline at end of file \ No newline at end of file
<wxs src="../../index.wxs" module="filter" />
<navigation-bar bindnavbarReady="navbarReady" showBack="{{show_confirm}}" bindback="back">
{{!show_confirm?'工单列表':'筛选'}}
</navigation-bar>
<block wx:if="{{navBarHeight > 0}}">
<view class="main" style="margin-top:{{navBarHeight}}px">
<view class="to-box" style="top:{{navBarHeight}}px">
<view class="search-box">
<view class="search-input">
<image src="/images/search.png" class="search-icon" />
<input
type="text"
placeholder="客户姓名/商品名称/订单编号/手机号"
class="input"
value="{{keyword}}"
placeholder-class="input-placeholder"
bindinput="input"
bindconfirm="search" />
<block wx:if="{{keyword}}">
<image src="/images/clear.png" class="search-clear" bindtap="clear" />
</block>
</view>
<view class="search text-center" bindtap="showConfirm">
<view class="text-center">
筛选
<image class="search-filter" src="/images/filter.png" />
</view>
</view>
</view>
<tab-bar tabList="{{tabList}}" bindclick="tabClick" />
</view>
<!-- 订单状态 1 待跟进, 2 不升级, 3 待支付,4 已支付,6 已评价 , 9 已撤销 -->
<block wx:if="{{flag}}">
<scroll-view
scroll-y
enable-back-to-top
refresher-enabled="{{true}}"
bindrefresherrefresh="search"
bindscrolltolower="scrollonReachBottom"
class="list"
style="height:calc(100vh - {{navBarHeight + 104}}px);"
refresher-threshold="104"
refresher-triggered="{{triggered}}">
<block wx:if="{{list.length > 0}}">
<block wx:for="{{list}}" wx:key="index">
<block
wx:for="{{item}}"
wx:for-item="li"
wx:for-index="ind"
wx:key="ind">
<view
style="{{li.txtStyle}}"
class="touch-item {{li.isTouchMove ? 'touch-move-active' : ''}}"
data-ind='{{ind}}'
data-index='{{index}}'>
<!-- 广汇订单出库成功 -->
<image wx:if="{{li.outboundStatus == 4}}" class="stockIcon" src="../../images/stockIcon.png" />
<view
class="item content {{li.status == 9 ||li.status ==11?'gray':''}} "
catchtap="jump"
data-ind='{{ind}}'
data-index='{{index}}'
bindtouchstart="touchstart"
bindtouchmove="touchmove"
bindtouchend="touchE"
data-name="{{li.status == 3 ? 'confirmOrder' : li.status == 1? 'createOrder' : 'orderDetail'}}"
data-item="{{li}}">
<view class="status text-center" style="color:{{li.statuscolor }};background-color:{{li.statusbackground }};">
<block wx:if="{{li.status == 1||li.status == 3}}">
<block wx:if="{{status[li.status].background}}">
<view class="arc y-center ">
<view class="outside box-center" style="background-color:{{status[li.status].background}};" />
<view class="inside box-center" style="background-color:{{status[li.status].color}};" />
</view>
</block>
</block>
<!-- 优先显示已撤销的 然后是已施工的 最后是其他的 -->
<!-- {{li.status==9?status[li.status].text: (li.constructionFlag == 'Y'?'已施工':status[li.status].text) }} -->
{{li.statusText }}
</view>
<view class="name">
<image src="/images/avatar.png" />
<view class="name-text text-hide ">{{li.customer.customerName}}</view>
</view>
<view class="goods-list" style="padding-bottom:{{li.subOrderList.length<1?0:''}}">
<block wx:if="{{li.total_price != 0}}">
<block
wx:for="{{li.subOrderList}}"
wx:key="sindex"
wx:for-item="i"
wx:for-index="sindex">
<view class="goods" wx:if="{{sindex < 2}}">
<view class="goods-name text-hide">
{{filter.replaceItemText(i.upgradeGoodsAlias) ||filter.replaceItemText(i.upgradeGoodsName) || ''}}
</view>
<view class="goods-price">
¥
<text>{{i.totalPrice || 0}}</text>
</view>
</view>
</block>
<block wx:if="{{li.subOrderList.length > 2}}">
<view class="goods-more">
<text>···</text>
共{{li.subOrderList.length}}件商品
</view>
</block>
</block>
</view>
<view class="order-list">
<block
wx:for="{{orderObj}}"
wx:key="sindex"
wx:for-index="sindex"
wx:for-item="i">
<view class="order">
<view class="order-label">{{i.label}}</view>
<view class="order-value">
<block wx:if="{{i.arr}}">
<block wx:if="{{li[i.arr[1]]}}">
<block
wx:for="{{i.arr}}"
wx:key="sindex"
wx:for-index="arr_index"
wx:for-item="k">
<view class="order-value-item text-hide">
<block wx:if="{{arr_index == 1}}">
<text class="split">|</text>
</block>
{{li[k]}}
</view>
</block>
</block>
</block>
<block wx:else>{{li[i.key] || ''}}</block>
</view>
</view>
</block>
</view>
<!-- <view class="order-type">类型:{{li.source != 5 ? '升级下单' :'核销抵扣'}}</view> -->
<view class="order-payType" wx:if="{{li['status']!=1}}">
<view class="payType">
<!-- li['status']==1?'': -->
支付方式: {{payType[li['selectPayType']]}}
<!-- &&userInfo.userType!=2 -->
<block wx:if="{{li.repeal}}">(可撤销)</block>
<!-- <block wx:if="{{li.repeal}}">(可撤销)</block> -->
</view>
<block wx:if="{{li.status != 1 && li.selectPayType != 0 && li.total_price != 0}}">
<view class="order-price">
实付款
<view class="price" style="color:{{status[li.status].color}};">
<text class="unit">¥</text>
{{li.totalPrice}}
</view>
</view>
</block>
</view>
<!-- <block wx:if="{{!userInfo.isSuper && userInfo.merchantType}}"> -->
<!-- userInfo.userType == 1&& -->
<!-- <block wx:if="{{userInfo.userType == 1&& (li.status != 9 && li.status != 1) && li.selectPayType != 3 && li.selectPayType != 1}}"> -->
<!-- <view
wx:if="{{li.repeal}}"
class="btn text-center"
catchtap="repeal"
data-item="{{li}}">
撤销工单
</view> -->
<!-- </block> -->
<!-- </block> -->
</view>
<view
wx:if="{{!li['confirmIndex']}}"
class="del"
catchtap="delBtn"
data-ind="{{ind}}"
data-item="{{li}}"
data-index="{{index}}">
<view>撤销</view>
<view>工单</view>
</view>
<view
wx:else
class="del confirm"
catchtap="repeal"
data-item="{{li}}"
data-index="{{index}}">
确认删除
</view>
</view>
</block>
</block>
<block wx:if="{{nothing}}">
<view class="list-nothing">到底了~</view>
</block>
</block>
<block wx:else>
<view class="list-not">暂无数据</view>
</block>
</scroll-view>
</block>
</view>
<block wx:if="{{!userInfo.isSuper && userInfo.merchantType && userInfo.userType == 2}}">
<view class="fixed-btns">
<view class="btn text-center" bindtap="jump" data-name="createOrder">
<image src="../../images/add.png" />
新增工单
</view>
<view class="btn text-center" bindtap="scan">
<image src="../../images/scan.png" />
扫码核销
</view>
</view>
</block>
</block>
<order-confirm
show="{{show_confirm}}"
userInfo="{{userInfo}}"
type="1"
navBarHeight="{{navBarHeight}}"
orderStatus="{{tabIndex}}" />
/* tabWorkOrder/pages/index/index.wxss */
page {
background-color: rgb(247, 248, 248);
}
.to-box {
position: sticky;
left: 0;
z-index: 2;
box-shadow: 0 4rpx 20rpx 0 rgba(0, 0, 0, 0.10);
}
.search-box {
width: 100%;
height: 104rpx;
padding-left: 32rpx;
display: flex;
align-items: center;
background-color: #fff;
position: sticky;
top: 0;
left: 0;
z-index: 9;
box-sizing: border-box;
}
.search-box .search-input {
background: #F7F8FA;
border-radius: 38rpx;
width: 574rpx;
height: 72rpx;
display: flex;
align-items: center;
}
.search-box .search-input .search-icon {
width: 28rpx;
height: 28rpx;
margin: 0 10rpx 0 26rpx;
}
.search-box .search-input .search-clear {
width: 36rpx;
height: 36rpx;
margin: 0 26rpx 0 10rpx;
}
.search-box .search-input .input {
font-size: 28rpx;
width: calc(100% - 136rpx);
}
.input-placeholder {
color: rgba(200, 201, 204, .89);
}
.search-box .search {
width: 144rpx;
height: 100%;
color: #666;
box-sizing: border-box;
padding: 0 24rpx;
}
.search-box .search .text-center {
font-size: 24rpx;
/* background-color: #f7f7f7; */
border-radius: 12rpx;
width: 100%;
height: 50rpx;
color: #888;
}
.search-box .search .text-center .search-filter {
margin-left: 6rpx;
width: 24rpx;
height: 24rpx;
}
.list {
box-sizing: border-box;
width: 100%;
}
.list .item {
box-sizing: border-box;
background: #FFFFFF;
/* box-shadow: 0 4rpx 20rpx 0 rgba(0, 0, 0, 0.10);
border-radius: 16rpx; */
padding: 40rpx 40rpx 30rpx;
position: relative;
/* width: 100%; */
/* margin: 20rpx; */
}
.list .content {
width: 100%;
margin-right: 0;
-webkit-transition: all 0.4s;
transition: all 0.4s;
-webkit-transform: translateX(72px);
transform: translateX(72px);
margin-left: -72px;
/* .item {
display: flex;
} */
}
.list .item .name {
display: flex;
align-items: center;
margin-bottom: 40rpx;
}
.list .item.gray .name {
color: #999999;
}
/* .list .item .name.disabled{
} */
.list .item .name image {
width: 46rpx;
height: 46rpx;
}
.list .item.gray .name image {
filter: grayscale(100%);
}
.list .item .name .name-text {
margin-left: 26rpx;
width: 404rpx;
}
.list .item .status {
position: absolute;
font-size: 28rpx;
top: 32rpx;
right: 40rpx;
min-width: 100rpx;
height: 56rpx;
background: #F0F0F0;
border-radius: 8rpx;
}
.list .item .status .arc {
position: absolute;
width: 32rpx;
height: 32rpx;
left: -44rpx;
}
.list .item .status .arc .outside {
position: absolute;
animation: arc-animation 5s infinite;
border-radius: 100%;
}
@keyframes arc-animation {
25% {
width: 48rpx;
height: 48rpx;
}
50% {
width: 24rpx;
height: 24rpx;
}
75% {
width: 48rpx;
height: 48rpx;
}
100% {
width: 24rpx;
height: 24rpx;
}
}
.list .item .status .arc .inside {
width: 24rpx;
height: 24rpx;
border-radius: 100%;
}
.list .item .goods-list {
padding-bottom: 20rpx;
border-bottom: 1rpx solid rgba(195, 195, 195, .29);
}
.list .item .goods-list .goods {
display: flex;
align-items: center;
padding-left: 32rpx;
/* margin-bottom: 20rpx; */
position: relative;
justify-content: space-between;
}
.list .item .goods-list .goods:nth-child(n+2) {
margin-top: 20rpx;
}
.list .item .goods-list .goods::after {
position: absolute;
width: 12rpx;
height: 12rpx;
top: 50%;
left: 0;
transform: translateY(-50%);
content: '';
background: #3582EE;
border-radius: 100%;
}
.list .item .goods-list .goods .goods-name {
font-size: 28rpx;
color: #3582EE;
max-width: 430rpx;
}
.list .item.gray .goods-list .goods .goods-name {
color: #666666;
}
.list .item.gray .goods-list .goods::after {
background: #666;
}
.list .item .goods-list .goods .goods-price {
font-size: 20rpx;
color: #666666;
display: flex;
align-items: baseline;
}
.list .item .goods-list .goods .goods-price text {
font-size: 24rpx;
color: #2A2A2A;
}
.list .item .goods-more {
padding-left: 32rpx;
font-size: 24rpx;
color: #888888;
display: flex;
align-items: center;
}
.list .item .goods-more text {
font-size: 28rpx;
color: #3582EE;
margin-right: 20rpx;
}
.list .item.gray .goods-more text {
color: #666;
}
.list .item .order-list {
padding: 20rpx 0;
}
.list .item .order {
font-size: 24rpx;
color: #333333;
margin-bottom: 20rpx;
display: flex;
align-items: center;
}
.list .item .order:last-of-type {
margin-bottom: 0;
}
.list .item .order .order-label {
width: 136rpx;
}
.list .item .order .order-value {
width: calc(100% - 136rpx);
color: #888888;
display: flex;
align-items: center;
}
.list .item .order .order-value .order-value-item:first-of-type {
max-width: 70%;
}
.list .item .order .order-value .order-value-item .split {
margin: 0 6rpx;
}
.list .item .order-price {
display: flex;
justify-content: flex-end;
/* align-items: center; */
align-items: flex-end;
font-size: 24rpx;
color: #666666;
/* padding-top: 8rpx; */
}
.list .item .order-price .price {
box-sizing: border-box;
color: #F24724;
font-size: 40rpx;
margin-left: 20rpx;
margin-bottom: -8rpx;
/* margin-top: 8rpx; */
}
.list .item.gray .order-price .price {
color: #666 !important;
}
.list .item .order-price .price .unit {
font-size: 28rpx;
}
.list .item .order-payType {
font-size: 24rpx;
color: #333333;
/* margin-top: 50rpx; */
display: flex;
justify-content: space-between;
align-items: flex-end;
}
.list .item .btn {
border: 2rpx solid #666666;
border-radius: 12rpx;
box-sizing: border-box;
font-size: 28rpx;
color: #666666;
position: absolute;
right: 40rpx;
bottom: 30rpx;
width: 192rpx;
height: 64rpx;
}
.stockIcon {
display: inline-block;
position: absolute;
left: 335rpx;
width: 172rpx;
height: 130rpx;
z-index: 10;
}
.fixed-btns {
position: fixed;
left: 50%;
bottom: 80rpx;
width: 440rpx;
height: 80rpx;
display: flex;
background: rgba(53, 130, 238, 0.85);
border: 2rpx solid #3582EE;
border-radius: 40rpx;
box-sizing: border-box;
transform: translateX(-50%);
}
.fixed-btns .btn {
width: 50%;
font-size: 28rpx;
color: #FFFFFF;
}
.fixed-btns .btn image {
width: 28rpx;
height: 28rpx;
margin-right: 8rpx;
}
.fixed-btns::after {
position: absolute;
top: 50%;
left: 50%;
background: #FFFFFF;
border-radius: 1rpx;
width: 2rpx;
height: 26rpx;
content: '';
transform: translate(-50%, -50%);
}
.touch-item {
/* margin: 0 20rpx; */
box-sizing: border-box;
position: relative;
display: flex;
justify-content: space-between;
/* width: calc(100% - 40rpx); */
overflow: hidden;
margin: 20rpx;
box-shadow: 0 4rpx 20rpx 0 rgba(0, 0, 0, 0.10);
border-radius: 16rpx;
/* border-bottom: .5px solid #d8d4d4; */
}
.del {
width: 72px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #fff;
background-color: #f1554c;
-webkit-transform: translateX(90px);
transform: translateX(90px);
-webkit-transition: all 0.4s;
transition: all 0.4s;
font-size: 28rpx;
}
.confirm {
/* 定义动画 */
/* background-color: chocolate; */
animation-duration: .5s;
/* 动画时间 */
animation-name: fadein;
/* 关键帧名字 */
/* -webkit-transform: translateX(90px);
transform: translateX(90px);
-webkit-transition: all 0.4s;
transition: all 0.4s;
width: 90px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #fff;
font-size: 28rpx; */
}
/* 定义关键帧 */
@keyframes fadein {
0% {
opacity: 0;
transform: translateX(72px);
}
100% {
opacity: 1;
transform: translateX(0px);
}
}
.touch-move-active .content,
.touch-move-active .del {
-webkit-transform: translateX(0);
transform: translateX(0);
}
\ No newline at end of file \ No newline at end of file
{
"component": true,
"usingComponents": {},
"navigationBarTitleText": "识别"
}
\ No newline at end of file \ No newline at end of file
<!-- components/OcrPhoto.wxml -->
<!-- <text>components/OcrPhoto.wxml</text> -->
<view class="cameraContainer">
<camera device-position="back" flash="auto" style="width: 100%; height:100vh;">
<cover-view class="camerabgImage-view">
<cover-view class='cameratop-tips'>{{tips[typeClass]}}</cover-view>
<!-- <cover-view class='cameratop-view2'>
<cover-view class='cameratop-view2-detail'>{{currentTime}}</cover-view>
<cover-view class='cameratop-view2-detail'>
经度:{{gps.longitude}} 纬度:{{gps.latitude}}
</cover-view>
<cover-view class='cameratop-view2-detail'>{{district}}附近</cover-view>
</cover-view> -->
<cover-view class="camera-background">
<cover-image src='{{bgSrc}}' />
</cover-view>
<cover-view class="upload-view" bindtap="choseImg">
<cover-image src="{{picUploadSrc}}" class="uploag-icon" />
<cover-view class="upload-label">相册选择</cover-view>
</cover-view>
<cover-view class="camerabotton-view">
<cover-image src='{{cameraBtnSrc}}' class='takephoto' bindtap='takePhoto' />
</cover-view>
</cover-view>
<!-- 上部线条 -->
<!-- 下部线条 -->
<!-- 右部线条 -->
<!-- 左部线条 -->
<!-- <cover-view class='biaochi' style='top:{{gap}}px; left:30px; width:{{width-30*2}}px; height:2px;' />
<cover-view class='biaochi' style='top:{{gap+460}}px; left:30px; width:{{width-30*2}}px; height:2px;' />
<cover-view class='biaochi' style='top:{{gap}}px; right:30px; width:2px; height:460px;' />
<cover-view class='biaochi' style='top:{{gap}}px; left:30px; width:2px; height:460px;' /> -->
</camera>
</view>
<!-- <view style="opacity: 0;"> -->
<!-- wx:if='{{isShowImage}}' -->
<!-- style='width:{{windowWidth}}px; height:{{windowHeight}}px;' -->
<!-- position:fixed;left: 10000rpx -->
<canvas
style='width:{{windowWidth}}px; height:{{windowHeight}}px;'
canvas-id="image-canvas"
id="image-canvas"
type="2d" />
<!-- </view> -->
/* components/OcrPhoto.wxss */
.cameraContainer{
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 10;
background-color: #fff;
}
.camerabgImage-view{
height: 100%;
width: 100%;
position:absolute;
/* background-position: center 0px;
background-size: cover; */
/* background-color: greenyellow; */
/* background: url('./image/backGroundImage.png') no-repeat 100% 100%; */
}
.cameratop-tips{
position: absolute;
text-align: center;
width: 100%;
color: #FFFFFF;
top: 35%;
z-index: 12;
}
.camera-background{
position: absolute;
width: 100%;
height: 100%;
/* z-index: ; */
}
/* .cameratop-view2-detail{
height: 44rpx;
margin:25rpx 55rpx;
width: 100%;
color: #FFFFFF;
} */
.camerabotton-view{
height: 144rpx;
width:144rpx;
bottom: 15%;
left: 50%;
transform: translateX(-50%);
position:absolute;
display: flex;
justify-content: space-around;
align-items: center;
z-index: 11;
}
.takephoto{
width: 144rpx;
height: 144rpx;
border-radius: 999px;
/* box-shadow: 0 0 50rpx gray; */
}
.upload-view {
height: 144rpx;
width: 144rpx;
bottom: 15%;
left: 10%;
position:absolute;
display: flex;
flex-direction: column;
/* justify-content: space-around; */
align-items: center;
justify-content: center;
z-index: 11;
}
.upload-label{
color: #fff;
font-size: 28rpx;
line-height: 40rpx;
margin-top: 15rpx;
}
.uploag-icon{
width: 38rpx;
height: 32rpx;
}
/* .biaochi{
position: absolute;
border: 1px dotted red;
} */
module.exports = {
data: {
orderObj: [
{
label: '工单编号:',
key: 'orderCode',
copy: true
},
{
label: '工单时间:',
key: 'time',
dateChange: true
},
{
label: '工单状态:',
key: 'status',
color: '#14CC68',
status: true
},
{
label: '支付方式:',
key: 'payType',
payType: true
}
],
customerObj: [
{
label: '客户姓名:',
key: 'customerName'
},
{
label: '性别:',
key: 'customerSex',
enum: {
1: '男',
2: '女'
}
},
{
label: '手机号:',
key: 'customerPhone',
color: '#3582EE',
callBack: 'makePhoneCall',
copy: true
},
{
label: '车型:',
key: 'carType'
},
{
label: '车架号:',
key: 'standNo'
},
{
label: '车牌号:',
key: 'plateNumber'
},
{
label: '是否体验:',
key: 'experienceFlag',
enum: {
Y: '是',
N: '否'
}
},
{
label: '销售顾问:',
arr: ['merchantName', 'employeeName']
},
{
label: '转化专员:',
arr: ['sellerMerchantName', 'sellerName']
},
{
label: '备注:',
key: 'remark'
}
],
payType: {
0: '战败',
1: '微信支付',
2: '门店收款',
3: 'pos机支付',
4: '支付宝支付'
},
orderType: [
{
name: '全部',
active: true,
value: []
},
{
name: '升级下单',
value: [1, 2, 3, 4, 6]
},
{
name: '核销抵扣',
value: [5]
}
],
status: {
12: {
text: '已退款',
color: '#999'
},
11: {
text: '已失效',
color: '#999',
background: ' #F0F0F0'
},
10: {
text: '已关闭',
color: '#999'
},
9: {
text: '已撤销',
color: '#999'
},
1: {
text: '待跟进',
color: '#F24724',
background: '#FCF4F2'
},
2: {
text: '战败',
color: '#F24724',
background: '#FCF4F2'
},
3: {
text: '待支付',
color: '#F24724',
background: '#FCF4F2'
},
4: {
text: '已支付',
color: '#14CC68',
background: '#dffbec'
},
6: {
text: '已评价',
color: '#3582EE',
background: '#F3F7FC'
}
},
// 订单状态 1 待跟进, 2 不升级, 3 待支付,4 已支付,6 已评价 , 9 已撤销
statusList: [
{
name: '待跟进',
value: [1]
},
{
name: '已支付',
value: [4]
},
{
name: '待支付',
value: [3]
},
{
name: '已撤销',
value: [9]
},
{
name: '战败',
value: [2]
},
{
name: '已评价',
value: [6]
},
{
name: '已关闭',
value: [10]
},
{
name: '已失效',
value: [11]
}
],
grassInfo: {},
orderCode: '',
userInfo: {}
}
}
...@@ -316,7 +316,7 @@ ...@@ -316,7 +316,7 @@
] ]
} }
}, },
"libVersion": "2.27.3", "libVersion": "2.18.1",
"setting": { "setting": {
"urlCheck": false "urlCheck": false
} }
......
...@@ -118,7 +118,7 @@ class Router { ...@@ -118,7 +118,7 @@ class Router {
parent = _parent parent = _parent
} }
const routerMapItem = this[_routerList].find(item => item.parent === parent && item.name === name) const routerMapItem = this[_routerList].find(item => item.parent === parent && item.name === name)
// console.log(this[_routerList]) console.log(this[_routerList])
// console.log(routerMapItem) // console.log(routerMapItem)
if (!routerMapItem) { if (!routerMapItem) {
console.error('找不到路由') console.error('找不到路由')
...@@ -141,6 +141,7 @@ class Router { ...@@ -141,6 +141,7 @@ class Router {
* 保留当前页面,跳转到应用内的某个页面。但是不能跳到 tabbar 页面。使用 $router.back() 可以返回到原页面。小程序中页面栈最多十层 * 保留当前页面,跳转到应用内的某个页面。但是不能跳到 tabbar 页面。使用 $router.back() 可以返回到原页面。小程序中页面栈最多十层
*/ */
go(route, events) { go(route, events) {
console.log(route);
let { routerMapItem, query } = this.checkRouter(route, events) let { routerMapItem, query } = this.checkRouter(route, events)
// console.log(routerMapItem, query) // console.log(routerMapItem, query)
if (routerMapItem.isTab) { if (routerMapItem.isTab) {
......
/* tabWorkOrder/pages/additionRecordOrder/additionRecordOrder.wxss */
\ No newline at end of file \ No newline at end of file
/* tabWorkOrder/pages/confirmOrder/confirmOrder.wxss */
\ No newline at end of file \ No newline at end of file
/* tabWorkOrder/pages/constructionOrderDetail/constructionOrderDetail.wxss */
\ No newline at end of file \ No newline at end of file
/* tabWorkOrder/pages/createArchives/createArchives.wxss */
\ No newline at end of file \ No newline at end of file
/* tabWorkOrder/pages/createOrder/createOrder.wxss */
\ No newline at end of file \ No newline at end of file
/* tabWorkOrder/pages/orderDetail/orderDetail.wxss */
\ No newline at end of file \ No newline at end of file
/* tabWorkOrder/pages/orderSignature/orderSignature.wxss */
\ No newline at end of file \ No newline at end of file
/* tabWorkOrder/pages/updateOrderInfo/updateOrderInfo.wxss */
\ No newline at end of file \ No newline at end of file
// tabWorkOrder/tpages/ocr/ocr.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})
\ No newline at end of file \ No newline at end of file
{
"usingComponents": {}
}
\ No newline at end of file \ No newline at end of file
/* tabWorkOrder/tpages/ocr/ocr.wxss */
\ No newline at end of file \ No newline at end of file
<!--tabWorkOrder/tpages/ocr/ocr.wxml-->
<text>tabWorkOrder/tpages/ocr/ocr.wxml</text>
...@@ -50,11 +50,12 @@ const domain_items = { ...@@ -50,11 +50,12 @@ const domain_items = {
ip: { ip: {
// dj: 'http://192.168.1.165:8292', // dj: 'http://192.168.1.165:8292',
// dj: 'http://192.168.1.170:8292', //叶立庆 // dj: 'http://192.168.1.170:8292', //叶立庆
dj: 'http://192.168.1.169:8292',//蔡远明 // dj: 'http://192.168.1.169:8292',//蔡远明
dj: 'http://192.168.1.174:8292',//范富荣
// dj: 'http://192.168.1.129:8292',//周杭 // dj: 'http://192.168.1.129:8292',//周杭
// dj:'http://192.168.2.59:8292/',//周立明 // dj:'http://192.168.2.59:8292/',//周立明
// scrm: 'http://192.168.1.165:8292' // scrm: 'http://192.168.1.165:8292'
scrm: 'http://192.168.1.170:8292' scrm: 'https://scrm.dev.glsx.com.cn'
}, },
dev: { dev: {
dj: 'https://dj.dev.glsx.com.cn', dj: 'https://dj.dev.glsx.com.cn',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!