This commit is contained in:
Vinjor 2024-10-31 13:57:02 +08:00
parent ae5278af76
commit 4afceb2415
5 changed files with 39 additions and 16 deletions

View File

@ -13,7 +13,7 @@
"type" : "uniCloud" "type" : "uniCloud"
}, },
{ {
"playground" : "standard", "playground" : "custom",
"type" : "uni-app:app-android" "type" : "uni-app:app-android"
} }
] ]

View File

@ -119,7 +119,7 @@ export default {
// //
this.roleCanQc = true this.roleCanQc = true
} }
if(this.userInfo.roleCodes.includes("repair_staff") && this.order.nowRepairId==userInfo.id){ if(this.userInfo.roleCodes.includes("repair_staff") && this.order.nowRepairId==this.userInfo.id){
//, //,
this.roleCanJd = true this.roleCanJd = true
} }

View File

@ -17,7 +17,9 @@
"delay" : 0 "delay" : 0
}, },
/* */ /* */
"modules" : {}, "modules" : {
"Camera" : {}
},
/* */ /* */
"distribute" : { "distribute" : {
/* android */ /* android */
@ -45,7 +47,39 @@
"dSYMs" : false "dSYMs" : false
}, },
/* SDK */ /* SDK */
"sdkConfigs" : {} "sdkConfigs" : {},
"icons" : {
"android" : {
"hdpi" : "unpackage/res/icons/72x72.png",
"xhdpi" : "unpackage/res/icons/96x96.png",
"xxhdpi" : "unpackage/res/icons/144x144.png",
"xxxhdpi" : "unpackage/res/icons/192x192.png"
},
"ios" : {
"appstore" : "unpackage/res/icons/1024x1024.png",
"ipad" : {
"app" : "unpackage/res/icons/76x76.png",
"app@2x" : "unpackage/res/icons/152x152.png",
"notification" : "unpackage/res/icons/20x20.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"proapp@2x" : "unpackage/res/icons/167x167.png",
"settings" : "unpackage/res/icons/29x29.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"spotlight" : "unpackage/res/icons/40x40.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png"
},
"iphone" : {
"app@2x" : "unpackage/res/icons/120x120.png",
"app@3x" : "unpackage/res/icons/180x180.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"notification@3x" : "unpackage/res/icons/60x60.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"settings@3x" : "unpackage/res/icons/87x87.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png",
"spotlight@3x" : "unpackage/res/icons/120x120.png"
}
}
}
}, },
"nativePlugins" : { "nativePlugins" : {
"Ba-KeepAlive" : { "Ba-KeepAlive" : {

View File

@ -742,17 +742,6 @@ export default {
item.createTime = formatTimestamp(item.createTime) item.createTime = formatTimestamp(item.createTime)
}) })
} }
//
if (null != resultObj.wares){
resultObj.wares.map((item)=>{
getDictTextByCodeAndValue("repair_unit",item.itemUnit).then(value => {
item.itemUnit = value
}).catch(error => {
item.itemUnit = "未知"
console.error(error);
});
})
}
this.ticketInfo = resultObj this.ticketInfo = resultObj
// //
this.checkRoleOperate() this.checkRoleOperate()

View File

@ -6,7 +6,7 @@
<script> <script>
import {getToken,getUserInfo} from "@/utils/auth"; import {getToken,getUserInfo} from "@/utils/auth";
const keepAlivePlugin = uni.requireNativePlugin('Ba-KeepAlive')
export default { export default {
data() { data() {
return { return {