forked from natuka/web.puabadge.com
bug修改
This commit is contained in:
1 parent
8bb73181e0
commit
fa4a71f860
3 files changed
+9
-7
No files matched your search
@@ -97,6 +97,8 @@ const getPid = async () => {
|
|||||||
showLoadingToast({
|
showLoadingToast({
|
||||||
message: '上传中...',
|
message: '上传中...',
|
||||||
forbidClick: true,
|
forbidClick: true,
|
||||||
|
loadingType: 'spinner',
|
||||||
|
duration: 0,
|
||||||
})
|
})
|
||||||
// kindId.value = checkId.value == 0 ? getRandomNumber() : checkId.value
|
// kindId.value = checkId.value == 0 ? getRandomNumber() : checkId.value
|
||||||
const params = {
|
const params = {
|
||||||
@@ -176,7 +178,7 @@ const sendToOss = async (src: string, url: string) => {
|
|||||||
if (--pendingUploads.value === 0 && !isAnotherAPICalled.value) {
|
if (--pendingUploads.value === 0 && !isAnotherAPICalled.value) {
|
||||||
const params = {
|
const params = {
|
||||||
pid: pid.value,
|
pid: pid.value,
|
||||||
kind_id: kindId.value,
|
kind_id: checkId.value,
|
||||||
extend_value: isBgShow.value ? -1 : 0,
|
extend_value: isBgShow.value ? -1 : 0,
|
||||||
group: 1,
|
group: 1,
|
||||||
}
|
}
|
||||||
@@ -204,7 +206,7 @@ const createLog = () => {
|
|||||||
const params = {
|
const params = {
|
||||||
pid: pid.value,
|
pid: pid.value,
|
||||||
group: 1,
|
group: 1,
|
||||||
kind_id: kindId.value,
|
kind_id: checkId.value,
|
||||||
}
|
}
|
||||||
badgeApi.createLog(params).then((res: any) => {
|
badgeApi.createLog(params).then((res: any) => {
|
||||||
console.log('createLog', res)
|
console.log('createLog', res)
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<div class="status-info">
|
<div class="status-info">
|
||||||
<div class="status-title">{{ getStatus(order.status) }}</div>
|
<div class="status-title">{{ getStatus(order.status) }}</div>
|
||||||
<div class="status-desc">
|
<div class="status-desc">
|
||||||
下单后预计需要7天完成生产发货。如对产品有疑问,可以联系客服咨询。
|
下单后预计需要10天完成生产发货。如对产品有疑问,可以联系客服咨询。
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="padding: 0 16px;">
|
<div style="padding: 0 16px;">
|
||||||
|
|||||||
@@ -190,10 +190,6 @@ function compare() {
|
|||||||
const kindList = ref([])
|
const kindList = ref([])
|
||||||
const checkId = ref(0)
|
const checkId = ref(0)
|
||||||
function reload() {
|
function reload() {
|
||||||
if (checkId.value == 0) {
|
|
||||||
showToast('请选择风格样式')
|
|
||||||
return
|
|
||||||
}
|
|
||||||
badgeApi.getKindList({
|
badgeApi.getKindList({
|
||||||
page: 1,
|
page: 1,
|
||||||
size: 20,
|
size: 20,
|
||||||
@@ -216,6 +212,10 @@ function reload() {
|
|||||||
// }
|
// }
|
||||||
function sureReload() {
|
function sureReload() {
|
||||||
console.log('sureReload')
|
console.log('sureReload')
|
||||||
|
if (checkId.value == 0) {
|
||||||
|
showToast('请选择风格样式')
|
||||||
|
return
|
||||||
|
}
|
||||||
imageUrl.value = '';
|
imageUrl.value = '';
|
||||||
group.value = newGroup.value
|
group.value = newGroup.value
|
||||||
const params = {
|
const params = {
|
||||||
|
|||||||
Reference in new issue
Block a user