diff --git a/app/config/app.js b/app/config/app.js index dfe56b5..e9e7683 100644 --- a/app/config/app.js +++ b/app/config/app.js @@ -8,7 +8,7 @@ // | Author: CRMEB Team // +---------------------------------------------------------------------- //移动端商城API -let domain = 'http://crmebxcx.test.jiutianda.cn' +let domain = 'https://fzbfwy.com/mobile-api' module.exports = { // 请求域名 格式: https://您的域名 @@ -17,7 +17,7 @@ module.exports = { // #ifdef MP HTTP_REQUEST_URL: domain, // #endif - HTTP_ADMIN_URL:'http://crmeb.test.jiutianda.cn', //PC后台的API请求地址,上传图片用,影响h5上传头像 + HTTP_ADMIN_URL:'https://fzbfwy.com/prod-api', //PC后台的API请求地址,上传图片用,影响h5上传头像 // #ifdef H5 //H5接口是浏览器地址 // HTTP_REQUEST_URL: window.location.protocol+"//"+window.location.host, diff --git a/app/manifest.json b/app/manifest.json index cfca746..eedff33 100644 --- a/app/manifest.json +++ b/app/manifest.json @@ -1,7 +1,7 @@ { - "name" : "甄味馆商城", + "name" : "八方物业", "appid" : "__UNI__B905528", - "description" : "甄味馆商城", + "description" : "八方物业", "versionName" : "1.0.0", "versionCode" : 1001, "transformPx" : false, @@ -130,11 +130,7 @@ "postcss" : true, "es6" : true }, - "permission" : { - "scope.userLocation" : { - "desc" : "你的位置信息将用于和门店的距离长度" - } - }, + "permission" : {}, // "plugins" : { // "chat" : { // "version" : "1.0.8", diff --git a/app/pages/supply_chain/complaint/index.vue b/app/pages/supply_chain/complaint/index.vue index a5ddf15..6ffe889 100644 --- a/app/pages/supply_chain/complaint/index.vue +++ b/app/pages/supply_chain/complaint/index.vue @@ -183,7 +183,7 @@ - {{ item.noticeTime }} + {{ item.noticeTime || '' }} diff --git a/app/pages/supply_chain/notice_detail/index.vue b/app/pages/supply_chain/notice_detail/index.vue index f595020..fbe74e7 100644 --- a/app/pages/supply_chain/notice_detail/index.vue +++ b/app/pages/supply_chain/notice_detail/index.vue @@ -41,8 +41,8 @@ @@ -105,7 +105,11 @@ export default { }, computed: { fileList() { - return Array.isArray(this.notice?.files) ? this.notice.files : []; + const list = Array.isArray(this.notice?.files) ? this.notice.files : []; + return list.map((file, index) => ({ + ...file, + __key: file.attId || file.fileId || index + })); }, imageFiles() { return this.fileList diff --git a/app/pages/supply_chain/repair/components/DispatchRecord.vue b/app/pages/supply_chain/repair/components/DispatchRecord.vue index 5cdba9c..ac1677c 100644 --- a/app/pages/supply_chain/repair/components/DispatchRecord.vue +++ b/app/pages/supply_chain/repair/components/DispatchRecord.vue @@ -13,7 +13,7 @@ :key="index" > - + {{ getDispatchStatusText(item.status) }} {{ item.assignTime }} @@ -87,7 +87,12 @@ export default { data() { return { records: [], - loading: false + loading: false, + dispatchStatusClassMap: { + 0: 'pending', + 1: 'doing', + 2: 'done' + } }; }, watch: { @@ -139,15 +144,6 @@ export default { }; return statusMap[status] || '未知状态'; }, - // 获取派单状态样式类 - dispatchStatusClass(status) { - const classMap = { - 0: 'pending', - 1: 'doing', - 2: 'done' - }; - return classMap[status] || ''; - }, // 关闭弹窗 close() { this.$emit('update:visible', false); diff --git a/app/pages/supply_chain/repair/index.vue b/app/pages/supply_chain/repair/index.vue index 6fa3a88..4fa544f 100644 --- a/app/pages/supply_chain/repair/index.vue +++ b/app/pages/supply_chain/repair/index.vue @@ -158,7 +158,7 @@ - 甄味馆 + 八方物业 - - + +