Compare commits

...

8 Commits

Author SHA1 Message Date
ihzero 7d7827e480 打包 2023-11-02 14:37:07 +08:00
ihzero 1e01569286 打包 2023-10-31 17:21:03 +08:00
ihzero 9b921645a1 修改bug 2023-10-31 17:16:44 +08:00
ihzero c96c7befcc 打包 2023-10-29 18:39:01 +08:00
ihzero 94b0188633 修改路径 2023-10-29 18:29:27 +08:00
ihzero 646e064bea 测试环境打包 2023-10-29 18:27:19 +08:00
ihzero b8ead3e0da 修改 2023-09-26 17:38:09 +08:00
ihzero df66a052b3 测试 2023-09-26 17:37:40 +08:00
20 changed files with 42 additions and 26 deletions

View File

@ -1,6 +1,4 @@
ENV = 'test'
VUE_APP_BASE_API = ''
VUE_APP_BASE_API = 'http://lcny.sk797.cn/h5/'

View File

@ -1,2 +1,2 @@
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title></title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel="stylesheet" href="/static/index.97465e7b.css"></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id="app"></div><script src="/static/js/chunk-vendors.959091ef.js"></script><script src="/static/js/index.0de2b65b.js"></script></body></html>
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel="stylesheet" href="/static/index.97465e7b.css"></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id="app"></div><script src="/static/js/chunk-vendors.959091ef.js"></script><script src="/static/js/index.1458fb13.js"></script></body></html>

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

View File

@ -510,8 +510,9 @@ export default {
}
uni.showToast({ title: data.message, icon: 'none' })
})
.catch(() => {
.catch(({data}) => {
hideLoading()
this.$u.toast(data.message)
})
} else {
delete params['id']
@ -527,8 +528,9 @@ export default {
uni.showToast({ title: data.message, icon: 'none' })
}
})
.catch(() => {
.catch(({data}) => {
hideLoading()
this.$u.toast(data.message)
})
}
},

View File

@ -454,9 +454,11 @@
}
uni.showToast({ title: data.message, icon: 'none' });
}).catch(()=>{
hideLoading();
})
.catch(({data}) => {
hideLoading()
this.$u.toast(data.message)
})
}else{
delete params['id'];
this.$http.post(`/api/rice-shrimp-industries`,params).then(({data})=>{
@ -468,9 +470,11 @@
}else{
uni.showToast({ title: data.message, icon: 'none' });
}
}).catch(()=>{
hideLoading();
})
.catch(({data}) => {
hideLoading()
this.$u.toast(data.message)
})
}
},

View File

@ -524,9 +524,11 @@
}
uni.showToast({ title: data.message, icon: 'none' });
}).catch(()=>{
hideLoading()
})
.catch(({data}) => {
hideLoading()
this.$u.toast(data.message)
})
}else{
delete params['id'];
this.$http.post(`/api/materiels`,params).then(({data})=>{
@ -538,9 +540,11 @@
}else{
uni.showToast({ title: data.message, icon: 'none' });
}
}).catch(()=>{
hideLoading()
})
.catch(({data}) => {
hideLoading()
this.$u.toast(data.message)
})
}
},

View File

@ -440,6 +440,7 @@ export default {
this.$http
.get('/api/rice-shrimp-prices', { params: params })
.then(({ data }) => {
console.log("===~~===");
console.log(data)
this.screenShow = false
if (refresh) {
@ -456,11 +457,14 @@ export default {
if (this.list.length >= data.meta.total) {
this.loading = 'nomore'
}
}else{
console.log(data);
}
})
.catch(() => {
.catch((e) => {
this.loading = 'loadmore'
this.screenShow = false
console.log(e);
})
},
//
@ -482,8 +486,9 @@ export default {
}
uni.showToast({ title: data.message, icon: 'none' })
})
.catch(() => {
.catch(({data}) => {
hideLoading()
this.$u.toast(data.message)
})
} else {
delete params['id']
@ -499,8 +504,9 @@ export default {
uni.showToast({ title: data.message, icon: 'none' })
}
})
.catch(() => {
.catch(({data}) => {
hideLoading()
this.$u.toast(data.message)
})
}
},

View File

@ -459,8 +459,9 @@ export default {
}
uni.showToast({ title: data.message, icon: 'none' })
})
.catch(() => {
.catch(({data}) => {
hideLoading()
this.$u.toast(data.message)
})
} else {
delete params['id']
@ -476,8 +477,9 @@ export default {
uni.showToast({ title: data.message, icon: 'none' })
}
})
.catch(() => {
.catch(({data}) => {
hideLoading()
this.$u.toast(data.message)
})
}
},

View File

@ -25,7 +25,7 @@
</view>
<view class="p-list clamp">
<view class="txt">{{userInfo.department?userInfo.department:'——'}}</view>
<view class="tit">角色</view>
<view class="tit">部门</view>
</view>
</view>
</view>