Commit 09262811 by chenxin

fix: scan

parent 7710efb1
......@@ -49,7 +49,7 @@
{{ formatDateTimeByType(item.endDate, 'yyyy-MM-dd-HH-mm-ss') }}
</p>
</el-col>
<el-col :span="3">{{ item.timesForPeople || 0 }}</el-col>
<el-col :span="3">{{ item.timesForPeople || '--' }}</el-col>
<el-col :span="2" v-if="$store.state.marketing.openFlag">{{ item.creatorName || 0 }}</el-col>
<el-col :span="4">
<el-button type="text" @click="toRecord(item)">记录</el-button>
......
......@@ -32,7 +32,17 @@
</el-table-column>
<el-table-column label="匹配扫码营销计划" align="left" min-width="140">
<template slot-scope="scope">
<el-button type="text" @click="$router.push({ name: 'scanInfo', query: { new: 1 }, params: { id: scope.row.ecmPlanId, path: '/scan/list' } })">{{ scope.row.ecmPlanName || '--' }}</el-button>
<el-button
type="text"
@click="
() => {
if (scope.row.ecmPlanId) {
$router.push({ name: 'scanInfo', query: { new: 1 }, params: { id: scope.row.ecmPlanId, path: '/scan/list' } });
}
}
"
>{{ scope.row.ecmPlanName || '--' }}</el-button
>
</template>
</el-table-column>
</el-table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment