Commit fe6c8b12 by 胡悦

Merge branch 'v1.0.1' of http://192.168.3.233:8090/glsx/gl_tape into v1.0.1

2 parents 95a36eb9 12e81dcb
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
> >
<view <view
class="tips-wrapper" class="tips-wrapper"
:style="{ width: popupW + 'rpx', height: popupH + 'rpx' }" :style="{ width: popupW + 'rpx', minHeight: popupH + 'rpx' }"
> >
<view class="tips-content"> <view class="tips-content">
<view class="tips-title" <view class="tips-title"
...@@ -87,6 +87,7 @@ export default { ...@@ -87,6 +87,7 @@ export default {
.tips-content { .tips-content {
padding: 48rpx; padding: 48rpx;
border-bottom: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8;
height: 100%;
.tips-title { .tips-title {
position: relative; position: relative;
width: 100%; width: 100%;
......
{ {
"name" : "展业助手", "name": "展业助手",
"appid" : "__UNI__D3BD3DF", "appid": "__UNI__D3BD3DF",
"description" : "", "description": "",
"versionName" : "1.0.0", "versionName": "1.0.0",
"versionCode" : "100", "versionCode": "100",
"transformPx" : false, "transformPx": false,
/* 5+App特有相关 */ /* 5+App特有相关 */
"app-plus" : { "app-plus": {
"bounce" : "none", "bounce": "none",
"usingComponents" : true, "usingComponents": true,
"nvueStyleCompiler" : "uni-app", "nvueStyleCompiler": "uni-app",
"compilerVersion" : 3, "compilerVersion": 3,
"screenOrientation" : "landscape", "screenOrientation": "landscape",
"splashscreen" : { "splashscreen": {
"alwaysShowBeforeRender" : true, "alwaysShowBeforeRender": true,
"waiting" : true, "waiting": true,
"autoclose" : true, "autoclose": true,
"delay" : 0 "delay": 0
}, },
/* 模块配置 */ /* 模块配置 */
"modules" : {}, "modules": {},
/* 应用发布信息 */ /* 应用发布信息 */
"distribute" : { "distribute": {
/* android打包配置 */ /* android打包配置 */
"android" : { "android": {
"permissions" : [ "permissions": [
"<uses-feature android:name=\"android.hardware.camera\"/>", "<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>", "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>", "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
...@@ -43,46 +43,47 @@ ...@@ -43,46 +43,47 @@
"<uses-permission android:name=\"android.permission.VIBRATE\"/>", "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>", "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>" "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
] ],
"orientation": "landscape"
}, },
/* ios打包配置 */ /* ios打包配置 */
"ios" : { "ios": {
"dSYMs" : false "dSYMs": false
}, },
/* SDK配置 */ /* SDK配置 */
"sdkConfigs" : { "sdkConfigs": {
"ad" : {} "ad": {}
}, },
"icons" : { "icons": {
"android" : { "android": {
"hdpi" : "static/72.png", "hdpi": "static/72.png",
"xhdpi" : "static/96.png", "xhdpi": "static/96.png",
"xxhdpi" : "static/144.png" "xxhdpi": "static/144.png"
} }
} }
} }
}, },
/* 快应用特有相关 */ /* 快应用特有相关 */
"quickapp" : {}, "quickapp": {},
/* 小程序特有相关 */ /* 小程序特有相关 */
"mp-weixin" : { "mp-weixin": {
"appid" : "wx79d1ff39bee3d047", "appid": "wx79d1ff39bee3d047",
"setting" : { "setting": {
"urlCheck" : false "urlCheck": false
}, },
"usingComponents" : true "usingComponents": true
}, },
"mp-alipay" : { "mp-alipay": {
"usingComponents" : true "usingComponents": true
}, },
"mp-baidu" : { "mp-baidu": {
"usingComponents" : true "usingComponents": true
}, },
"mp-toutiao" : { "mp-toutiao": {
"usingComponents" : true "usingComponents": true
}, },
"uniStatistics" : { "uniStatistics": {
"enable" : false "enable": false
}, },
"vueVersion" : "2" "vueVersion": "2"
} }
\ No newline at end of file \ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-04-08 11:28:48 * @Date: 2024-04-08 11:28:48
* @LastEditors: 前端 qianduan01@didihu.com.cn * @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-04-09 17:47:43 * @LastEditTime: 2024-04-09 18:46:44
* @FilePath: \gl_tape\mixin\click.js * @FilePath: \gl_tape\mixin\click.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
...@@ -16,7 +16,7 @@ export default { ...@@ -16,7 +16,7 @@ export default {
voicePath: "", voicePath: "",
timer: null, timer: null,
times: 0, times: 0,
timeout: 30000, //十分钟提示 timeout: 600, //十分钟提示
reaction: 10, reaction: 10,
}; };
}, },
...@@ -55,13 +55,16 @@ export default { ...@@ -55,13 +55,16 @@ export default {
const { phone, merchantId, uuid, name } = uni.$storage.get("userInfo"), const { phone, merchantId, uuid, name } = uni.$storage.get("userInfo"),
params = { params = {
carModel: "问界", carModel: "问界",
endReasonType: "",
customerName: name, customerName: name,
phoneNumber: phone, phoneNumber: phone,
loginPhone: phone, loginPhone: phone,
salesUuid: uuid, salesUuid: uuid,
receptionStatus: 1, //接待结果 1.成交 0.战败
recordUrlList: tempFilePath, recordUrlList: tempFilePath,
receptionStartTime: this.receptionEndTime, receptionStartTime: this.receptionStartTime,
receptionEndTime: this.receptionEndTime, receptionEndTime: this.receptionEndTime,
receptionCustomerPaySourceList: [], //1.付款凭证文件路径 2.客户购车发票文件路径 3.客户延保合同文件路径
merchantId, merchantId,
}; };
console.log(params, "params"); console.log(params, "params");
...@@ -108,6 +111,7 @@ export default { ...@@ -108,6 +111,7 @@ export default {
if (this.times >= this.reaction + this.timeout) { if (this.times >= this.reaction + this.timeout) {
//结束接待 //结束接待
this.stopAudio(); this.stopAudio();
this.tipVisible = false;
} }
}, 1000); }, 1000);
}, },
......
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
"navigationBarTitleText": "生意助手", "navigationBarTitleText": "生意助手",
"navigationBarBackgroundColor": "#F8F8F8", "navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8",
"pageOrientation": "landscape",
"app-plus": { "app-plus": {
"bounce": "none" "bounce": "none"
} }
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<view class="select-box"> <view class="select-box">
<view <view
class="select-item" class="select-item"
:class="{ checked: selectId == item.id }" :class="{ checked: customerInfo.carModel == item.name }"
@click="handleSelect(item,'carBoxVisible')" @click="handleSelect(item,'carBoxVisible')"
v-for="(item, index) in carlist" v-for="(item, index) in carlist"
:key="index" :key="index"
...@@ -76,7 +76,6 @@ ...@@ -76,7 +76,6 @@
<template v-if="employeeBoxVisible"> <template v-if="employeeBoxVisible">
<MessageBox <MessageBox
position="bottom" position="bottom"
popupH="480"
:isFooter="false" :isFooter="false"
title="请选择销售" title="请选择销售"
@cancel="employeeBoxVisible = false" @cancel="employeeBoxVisible = false"
...@@ -84,7 +83,7 @@ ...@@ -84,7 +83,7 @@
<view class="select-box"> <view class="select-box">
<view <view
class="select-item" class="select-item"
:class="{ checked: selectId == item.id }" :class="{ checked: customerInfo.salesUuid == item.uuid }"
@click="handleSelect(item,'employeeBoxVisible')" @click="handleSelect(item,'employeeBoxVisible')"
v-for="(item, index) in employeeList" v-for="(item, index) in employeeList"
:key="index" :key="index"
...@@ -263,6 +262,7 @@ export default { ...@@ -263,6 +262,7 @@ export default {
gap: 20rpx; gap: 20rpx;
overflow-y: scroll; overflow-y: scroll;
height: 100%; height: 100%;
padding-bottom: 60rpx;
.select-item { .select-item {
text-align: center; text-align: center;
height: 68rpx; height: 68rpx;
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<MessageBox <MessageBox
v-if="finishVisible" v-if="finishVisible"
@cancel="finishVisible = false" @cancel="finishVisible = false"
@confirm="stopAudio" @confirm="done"
content="是否返回首页并结束本次接待" content="是否返回首页并结束本次接待"
confirmBtnText="确认" confirmBtnText="确认"
></MessageBox> ></MessageBox>
...@@ -148,6 +148,7 @@ export default { ...@@ -148,6 +148,7 @@ export default {
}, },
// 完成接待 // 完成接待
done () { done () {
this.stopAudio();
uni.navigateBack(); uni.navigateBack();
}, },
// 选择付款方式 // 选择付款方式
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!