This commit is contained in:
13405411873 2024-10-23 16:53:40 +08:00
parent b3210ffad3
commit 74cc28d805
571 changed files with 104289 additions and 43 deletions

16
.hbuilderx/launch.json Normal file
View File

@ -0,0 +1,16 @@
{ // launch.json configurations app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
// launchtypelocalremote, localremote
"version": "0.0",
"configurations": [{
"default" :
{
"launchtype" : "local"
},
"mp-weixin" :
{
"launchtype" : "local"
},
"type" : "uniCloud"
}
]
}

View File

@ -1,7 +1,7 @@
// 应用全局配置
module.exports = {
baseUrl: 'https://www.nuoyunr.com/admin-api',
//baseUrl: 'http://192.168.2.3:48080/admin-api',
//baseUrl: 'http://127.0.0.1:48080/admin-api',
imagesUrl: 'http://www.nuoyunr.com/lananRsc',
baseImageUrl: 'https://www.nuoyunr.com/minio',
// 应用信息

View File

@ -33,27 +33,31 @@
}
},
onLoad() {
console.log(getToken(),36);
if(getToken()){
let info = uni.getStorageSync('userinfo')
if(info&&info.roles[0]&&info.roles[0].roleKey&&uni.getStorageSync('roleSelect')=='shop'){
uni.navigateTo({
url:'/pages/index/synthesis'
})
}else if(info&&uni.getStorageSync('roleSelect')=='worker'){
uni.navigateTo({
url:'/pages/staff/staff'
})
}
else if(info&&uni.getStorageSync('roleSelect')=='jcgf'){
uni.navigateTo({
url:'/pages/authority/authority'
})
}
else{
let chooseIdx = uni.getStorageSync("chooseIdx")
console.log(chooseIdx,chooseIdx&&chooseIdx == 0,40);
if(chooseIdx==null){
uni.navigateTo({
url:'/pages/Login/login'
})
}
else if(chooseIdx == 0){
uni.navigateTo({
url:'/pages/index/synthesis'
})
}else if(chooseIdx == 2){
uni.navigateTo({
url:'/pages/staff/staff'
})
}
else if(chooseIdx == 1){
uni.navigateTo({
url:'/pages/authority/authority'
})
}
}else{
uni.navigateTo({

View File

@ -111,19 +111,7 @@
})
},
onLoad() {
if(getToken()){
let info = uni.getStorageSync('userinfo')
if(info.roles[0].roleKey == "jcyh"){
uni.navigateTo({
url:'/pages/index/index'
})
}else if(info){
uni.navigateTo({
url:'/pages/staff/staff'
})
}
}
},
computed: {
buttonText() {
@ -192,6 +180,7 @@
}
},
userinfo(){
uni.setStorageSync("chooseIdx",this.shopinfo)
if(this.shopinfo == 0){
uni.showLoading({
title: '加载中'

View File

@ -129,6 +129,7 @@
import config from '@/config';
import request from '../../utils/request';
import upload from '@/utils/upload.js'
import { getToken, getTenantId } from '@/utils/auth'
export default {
data() {
return {
@ -393,14 +394,18 @@
url: this.$baseUrl+'/common/uploadImg', //
filePath: url,
name: 'file',
header: {
'Tenant-Id': getTenantId(),
'Authorization': 'Bearer ' + getToken()
},
formData: {
user: 'test'
},
success: (res) => {
try {
console.log(res,"1212")
let img = JSON.parse(res.data);
this.imagePath = this.imgs + img.fileName
this.imagePath = img.data.url
setTimeout(() => {
this.vehicleLicenseOCR()
}, 1000)
@ -417,9 +422,10 @@
},
async vehicleLicenseOCR(){
let data = {
imagePath :this.baseUrl + this.imagePath
imagePath :this.baseUrl +'/'+ this.imagePath
//imagePath :'http://www.nuoyunr.com/lananRsc/detection/jsz.jpg'
}
console.log(this.baseUrl + this.imagePath,"1212")
let res = await request({
url:'/partnerOwn/partner/vehicleLicenseOCR',
method: 'post',

View File

@ -146,7 +146,7 @@
});
},
async getList(){
this.infoDatas = []
let res = await request({
url:'/partnerOwn/partner/inspectionList',
method: 'get',
@ -158,6 +158,7 @@
pageNum:this.pageNum,
}
})
console.log(res,161);
if(res.code == 200 ){
if (this.pageNum != 1) {

View File

@ -165,6 +165,7 @@
city:'',
area:'',
four:'',
baseImageUrl:this.$baseImageUrl
}
@ -209,7 +210,7 @@
this.fileList6.push(
{
url: res.data.partnerLogo
url: this.baseImageUrl+res.data.partnerLogo
}
)
console.log(this.fileList6);
@ -218,7 +219,7 @@
if(it){
this.fileList4.push(
{
url: it
url: this.baseImageUrl+it
})
}

View File

@ -127,7 +127,7 @@
params: data
})
if(res.code == 200){
this.goodsList = res.rows
this.goodsList = this.goodsList.concat(res.rows)
let total = res.total
this.totalPages = Math.ceil(total / this.pageSize);
}

Binary file not shown.

View File

@ -1 +1 @@
https://app.liuyingyong.cn/build/download/db2ec950-7e06-11ef-aaf6-b32a2be96ade
https://app.liuyingyong.cn/build/download/fdc856c0-90e5-11ef-aac0-018a70970415

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More