feat(custom): 订单列表改版

This commit is contained in:
2023-11-14 20:45:30 +08:00
parent 1ea4b218af
commit ba00cf26a6
10 changed files with 125 additions and 71 deletions

View File

@@ -93,7 +93,6 @@ const days = ref([
const getInfo = async () => {
const res = await api.getMerchantInfo()
infoData.value = res.data.data
console.log((!res.data.data.week_start && 1) || '00:00:00')
model.value = {
...res.data.data,
head_photo: [{ url: res.data.data.head_photo, status: 'finished', id: 1 }],
@@ -129,7 +128,7 @@ const submit = () => {
delete data.lt
const res = await api.updateMerchantInfo(data)
$message.success(res.msg)
getInfo()
await getInfo()
}
})
}
@@ -141,7 +140,6 @@ const submit = () => {
<n-tab-pane name="1" tab="基本信息">
<div>商户名称: {{ infoData.name }}</div>
<div>负责人手机号码: {{ infoData.phone }}</div>
<div>商户类型: {{ infoData.bType === 1 ? '供应商' : '兑换商' }}</div>
<!-- <div>经营类目: {{ infoData.scope }}</div> -->
<div>入驻时间: {{ infoData.add_time }}</div>
</n-tab-pane>