20261008
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
<template>
|
||||
<view>
|
||||
<view class="bg-gray-light flex justify-center items-center table-header p-30">
|
||||
<view class="text-gray font-bold text-30 flex-1">品名/材质</view>
|
||||
<view class="text-gray font-bold text-30 flex-1">加工量</view>
|
||||
<!-- <view class="text-gray flex-1">收购地</view>-->
|
||||
<view class="text-gray font-bold text-30 flex-2">采购企业</view>
|
||||
<view class="text-gray font-bold text-30 flex-1">报价情况</view>
|
||||
<view class="text-gray font-bold text-30 flex-1">发布时间</view>
|
||||
<view class="text-gray font-bold text-30 flex-1 flex justify-end">操作</view>
|
||||
</view>
|
||||
<view class="flex justify-center items-center w-100p p-30"
|
||||
v-for="(item, index) in info.processList" :key="`processList_${index}`">
|
||||
<view class="text-main flex-1 font-bold">{{ item.title }}</view>
|
||||
<!-- <view class="flex-1">{{ item.address }}</view>-->
|
||||
<view class="flex-1">{{ item.num }}</view>
|
||||
<view class="flex-2">{{ info.company.companyName }}</view>
|
||||
<view class="flex-1">{{ item.answerNumber }}家已报价</view>
|
||||
<view class="flex-1">{{ item._add_time_str }}</view>
|
||||
<view class="flex-1 flex justify-end">
|
||||
<el-button type="primary" plain class="empty-bg-plain-btn"
|
||||
@click.native="toProcessDetail(item._id)">查看详情
|
||||
</el-button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "process",
|
||||
props: {
|
||||
info: Object,
|
||||
limit: {
|
||||
type: Number,
|
||||
default: 999999
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
methods: {
|
||||
async toProcessDetail(id) {
|
||||
const {userInfo} = await vk.callFunction({
|
||||
url: 'user/kh/getMyUserInfo'
|
||||
})
|
||||
if (!userInfo.fadadaConfirm && userInfo.authStatus === 1) {
|
||||
this.$confirm('您尚未认证, 是否前往个人中心认证?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
vk.navigateTo({url: '/pages/user/user?menu=fadada'});
|
||||
})
|
||||
} else if (vk.pubfn.isNull(userInfo.businessCard)) {
|
||||
this.$confirm('您尚未认证和完善名片,是否前往个人中心?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
vk.navigateTo('/pages/user/user?menu=fadada');
|
||||
})
|
||||
} else {
|
||||
vk.navigateTo({
|
||||
url: `/pages/process/detail?id=${id}`
|
||||
})
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user