Commit 1eed5ff0 by 李伟康

Merge branch 'SAAS+V5.5.3' of http://192.168.3.233:8090/glsx/gl_tape into SAAS+V5.5.3

2 parents b41d3bce 3c97271f

2.99 MB | W: | H:

2.98 MB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
{ {
"name" : "展业助手", "name": "展业助手",
"appid" : "__UNI__D3BD3DF", "appid": "__UNI__D3BD3DF",
"description" : "", "description": "",
"versionName" : "2.20.0", "versionName": "2.20.2",
"versionCode" : 2200, "versionCode": 2202,
"transformPx" : false, "transformPx": false,
"sassImplementationName" : "node-sass", "sassImplementationName": "node-sass",
/* 5+App特有相关 */ /* 5+App特有相关 */
"app-plus" : { "app-plus": {
"cache" : false, "cache": false,
"bounce" : "none", "bounce": "none",
"usingComponents" : true, "usingComponents": true,
"nvueStyleCompiler" : "uni-app", "nvueStyleCompiler": "uni-app",
"compilerVersion" : 3, "compilerVersion": 3,
"compatible" : { "compatible": {
"ignoreVersion" : true "ignoreVersion": true
}, },
"screenOrientation" : "landscape", "screenOrientation": "landscape",
"splashscreen" : { "splashscreen": {
"alwaysShowBeforeRender" : true, "alwaysShowBeforeRender": true,
"waiting" : true, "waiting": true,
"autoclose" : true, "autoclose": true,
"delay" : 0 "delay": 0
}, },
/* 模块配置 */ /* 模块配置 */
"modules" : { "modules": {
"Camera" : {}, "Camera": {},
"Record" : {}, "Record": {},
"VideoPlayer" : {}, "VideoPlayer": {},
"AudioPlayer" : {}, "AudioPlayer": {},
"SQLite" : {}, "SQLite": {},
"Maps" : {}, "Maps": {},
"Geolocation" : {} "Geolocation": {}
}, },
/* 应用发布信息 */ /* 应用发布信息 */
"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_NETWORK_STATE\"/>", "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
...@@ -54,83 +54,81 @@ ...@@ -54,83 +54,81 @@
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>", "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>" "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>"
], ],
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ], "abiFilters": ["armeabi-v7a", "arm64-v8a", "x86"],
"targetSdkVersion" : 30, "targetSdkVersion": 30,
"minSdkVersion" : 21, "minSdkVersion": 21,
"excludePermissions" : [ "excludePermissions": ["<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>"]
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>"
]
}, },
/* ios打包配置 */ /* ios打包配置 */
"ios" : { "ios": {
"dSYMs" : false, "dSYMs": false,
"UIBackgroundModes" : "audio" "UIBackgroundModes": "audio"
}, },
/* SDK配置 */ /* SDK配置 */
"sdkConfigs" : { "sdkConfigs": {
"ad" : {}, "ad": {},
"speech" : {}, "speech": {},
"geolocation" : { "geolocation": {
"baidu" : { "baidu": {
"__platform__" : [ "android" ], "__platform__": ["android"],
"appkey_ios" : "", "appkey_ios": "",
"appkey_android" : "rfN7u5gCi0KyCGIWWBYGXlmKrVQsKH8z" "appkey_android": "rfN7u5gCi0KyCGIWWBYGXlmKrVQsKH8z"
} }
}, },
"maps" : {} "maps": {}
}, },
"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"
} }
} }
}, },
"nativePlugins" : { "nativePlugins": {
"Ba-KeepAliveSuit" : { "Ba-KeepAliveSuit": {
"__plugin_info__" : { "__plugin_info__": {
"name" : "安卓保活套装(通用、常驻通知、电池优化、自启管理、后台运行等)", "name": "安卓保活套装(通用、常驻通知、电池优化、自启管理、后台运行等)",
"description" : "在Ba-KeepAlive的基础上,新增了忽略电池优化、自启管理、常驻通知。为定位、推送、websocket、定时任务、蓝牙、聊天等保驾护航(**注意:**不保证支持所有机型和场景,建议先试用再购买)", "description": "在Ba-KeepAlive的基础上,新增了忽略电池优化、自启管理、常驻通知。为定位、推送、websocket、定时任务、蓝牙、聊天等保驾护航(**注意:**不保证支持所有机型和场景,建议先试用再购买)",
"platforms" : "Android", "platforms": "Android",
"url" : "https://ext.dcloud.net.cn/plugin?id=11765", "url": "https://ext.dcloud.net.cn/plugin?id=11765",
"android_package_name" : "uni.gltap", "android_package_name": "uni.gltap",
"ios_bundle_id" : "", "ios_bundle_id": "",
"isCloud" : true, "isCloud": true,
"bought" : 1, "bought": 1,
"pid" : "11765", "pid": "11765",
"parameters" : {} "parameters": {}
} }
} }
} }
}, },
/* 快应用特有相关 */ /* 快应用特有相关 */
"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",
"h5" : { "h5": {
"devServer" : { "devServer": {
"port" : 8080, "port": 8080,
"https" : false "https": false
} }
} }
} }
...@@ -243,13 +243,14 @@ ...@@ -243,13 +243,14 @@
</view> </view>
</view> </view>
<view class="flex align-center"> <view class="flex align-center">
<view class="title-label-see mr-16">签约车主</view>
<view>{{ formData.partAName || '-' }}</view>
</view>
<view class="flex align-center">
<view class="title-label-see mr-16">签署人类型</view> <view class="title-label-see mr-16">签署人类型</view>
<view>{{ formData.signerTypeName || (formData.signerType === 1 ? '企业委托' : formData.signerType === 2 ? '企业' : '个人') }}</view> <view>{{ formData.signerTypeName || (formData.signerType === 1 ? '企业委托' : formData.signerType === 2 ? '企业' : '个人') }}</view>
</view> </view>
<view class="flex align-center">
<view class="title-label-see mr-16">签约车主</view>
<view>{{ formData.partAName || '-' }}</view>
</view>
<view class="flex align-center" v-if="formData.signerType === 2"> <view class="flex align-center" v-if="formData.signerType === 2">
<view class="title-label-see mr-16">经办人</view> <view class="title-label-see mr-16">经办人</view>
<view>{{ formData.handler || '-' }}</view> <view>{{ formData.handler || '-' }}</view>
...@@ -846,20 +847,6 @@ export default { ...@@ -846,20 +847,6 @@ export default {
disabled: true disabled: true
}, },
{ {
key: 'partAName',
label: '签约车主',
required: true,
fullWidth: false,
targetNameKey: 'sellerName',
sourceNameKey: 'staffName',
sourceKey: 'uuid',
inputType: 'text',
targetKey: 'partAName',
type: 'input',
maxlength: 20,
disabled: false
},
{
key: 'signerType', key: 'signerType',
label: '签署人类型', label: '签署人类型',
required: true, required: true,
...@@ -886,6 +873,20 @@ export default { ...@@ -886,6 +873,20 @@ export default {
] ]
}, },
{ {
key: 'partAName',
label: '签约车主',
required: true,
fullWidth: false,
targetNameKey: 'sellerName',
sourceNameKey: 'staffName',
sourceKey: 'uuid',
inputType: 'text',
targetKey: 'partAName',
type: 'input',
maxlength: 20,
disabled: false
},
{
key: 'handler', key: 'handler',
label: '经办人', label: '经办人',
required: true, required: true,
...@@ -989,20 +990,6 @@ export default { ...@@ -989,20 +990,6 @@ export default {
disabled: true disabled: true
}, },
{ {
key: 'partAName',
label: '签约车主',
required: true,
fullWidth: false,
targetNameKey: 'sellerName',
sourceNameKey: 'staffName',
sourceKey: 'uuid',
inputType: 'text',
targetKey: 'partAName',
type: 'input',
disabled: false,
maxlength: 20
},
{
key: 'signerType', key: 'signerType',
label: '签署人类型', label: '签署人类型',
required: true, required: true,
...@@ -1029,6 +1016,20 @@ export default { ...@@ -1029,6 +1016,20 @@ export default {
] ]
}, },
{ {
key: 'partAName',
label: '签约车主',
required: true,
fullWidth: false,
targetNameKey: 'sellerName',
sourceNameKey: 'staffName',
sourceKey: 'uuid',
inputType: 'text',
targetKey: 'partAName',
type: 'input',
disabled: false,
maxlength: 20
},
{
key: 'handler', key: 'handler',
label: '经办人', label: '经办人',
required: true, required: true,
...@@ -1533,14 +1534,14 @@ export default { ...@@ -1533,14 +1534,14 @@ export default {
// 个人:必须上传身份证照片 // 个人:必须上传身份证照片
if (!this.formData.idCardFrontUrl) { if (!this.formData.idCardFrontUrl) {
uni.showToast({ uni.showToast({
title: '请上传身份证正面照片', title: '请上传身份证国徽面照片',
icon: 'none' icon: 'none'
}) })
return return
} }
if (!this.formData.idCardBackUrl) { if (!this.formData.idCardBackUrl) {
uni.showToast({ uni.showToast({
title: '请上传身份证反面照片', title: '请上传身份证人像面照片',
icon: 'none' icon: 'none'
}) })
return return
...@@ -1558,14 +1559,14 @@ export default { ...@@ -1558,14 +1559,14 @@ export default {
// 企业委托:必须上传身份证照片 // 企业委托:必须上传身份证照片
if (!this.formData.idCardFrontUrl) { if (!this.formData.idCardFrontUrl) {
uni.showToast({ uni.showToast({
title: '请上传身份证正面照片', title: '请上传身份证国徽面照片',
icon: 'none' icon: 'none'
}) })
return return
} }
if (!this.formData.idCardBackUrl) { if (!this.formData.idCardBackUrl) {
uni.showToast({ uni.showToast({
title: '请上传身份证反面照片', title: '请上传身份证人像面照片',
icon: 'none' icon: 'none'
}) })
return return
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
<view class="sprite-icon icon-weibao"></view> <view class="sprite-icon icon-weibao"></view>
<view> <view>
<view class="title">维保报告</view> <view class="title">维保报告</view>
<view class="desc">含出险,理赔记录</view> <view class="desc">含维修、保养记录</view>
</view> </view>
</view> </view>
</view> </view>
...@@ -199,10 +199,9 @@ export default { ...@@ -199,10 +199,9 @@ export default {
uni.$track.add({ uni.$track.add({
eventCode: 'app_delivery_management' eventCode: 'app_delivery_management'
}) })
},
onShow() {
this.search() this.search()
}, },
onShow() {},
methods: { methods: {
async checkReportNumCount() { async checkReportNumCount() {
const { typeList, tabIndex, searchText } = this, const { typeList, tabIndex, searchText } = this,
...@@ -539,12 +538,17 @@ export default { ...@@ -539,12 +538,17 @@ export default {
return false return false
} }
} }
uni.showLoading({
title: '提交中',
mask: true
})
uni.$api.usedCarApi uni.$api.usedCarApi
.checkReportCreate({ .checkReportCreate({
...this.addParams ...this.addParams
}) })
.then(res => { .then(res => {
console.log('res', res) console.log('res', res)
uni.hideLoading()
if (res.data.code == 0) { if (res.data.code == 0) {
uni.showToast({ title: '提交成功', icon: 'none' }) uni.showToast({ title: '提交成功', icon: 'none' })
setTimeout(() => { setTimeout(() => {
...@@ -555,6 +559,10 @@ export default { ...@@ -555,6 +559,10 @@ export default {
uni.showToast({ title: res.data.msg || '请求失败', icon: 'none' }) uni.showToast({ title: res.data.msg || '请求失败', icon: 'none' })
} }
}) })
.catch(err => {
uni.hideLoading()
uni.showToast({ title: err.message || '请求失败', icon: 'none' })
})
}, },
toDetail(i) { toDetail(i) {
if (i.status === 1) { if (i.status === 1) {
...@@ -593,9 +601,13 @@ export default { ...@@ -593,9 +601,13 @@ export default {
}, },
previewMedia(current) { previewMedia(current) {
const { imgList } = this const { imgList } = this
uni.previewImage({ // uni.previewImage({
current, // current,
urls: imgList // urls: imgList
// })
const url = `/pages/boutique/preview?tabName=预览&sourceType=1&detailUrl=${imgList[0]}`
uni.navigateTo({
url: `${url}`
}) })
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!