Commit 5324a15d authored by Zhang Xiaojie's avatar Zhang Xiaojie

fix

parent 83c3438a
......@@ -14,7 +14,7 @@
<span slot="name" slot-scope="text">
{{ text.inst_name }}-{{ text.product_name }}
</span>
<template #product_type="text">
<template #loan_type="text">
{{ text | filterLoanType }}
</template>
<span slot="date" slot-scope="text">
......@@ -53,12 +53,6 @@
<div v-if="record.product_status == eProductStatus.unpublished">
<a @click="toAdd(record)">上架</a>
<a-divider type="vertical" />
<a @click="toDelete(record)">删除</a>
</div>
<!-- 上架状态 -->
<div v-else>
<a @click="toRemove(record)">下架</a>
<a-divider type="vertical" />
<a
@click="
$router.push({
......@@ -69,6 +63,12 @@
>编辑</a
>
<a-divider type="vertical" />
<a @click="toDelete(record)">删除</a>
</div>
<!-- 上架状态 -->
<div v-else>
<a @click="toRemove(record)">下架</a>
<a-divider type="vertical" />
<a
v-if="record.product_status == eProductStatus.normal"
@click="setAsHot(record)"
......
......@@ -13,8 +13,8 @@ export default[
{
title: '产品分类',
align: 'center',
dataIndex: 'product_type',
scopedSlots: { customRender: 'product_type' },
dataIndex: 'loan_type',
scopedSlots: { customRender: 'loan_type' },
},
{
title: '贷款期限(月)',
......
......@@ -89,7 +89,7 @@ export default class LoanProductService {
items: iLoanProdcutItem[]
total: number
}>({
url: prefix + '/list',
url: '/loan/query/direct/list',
method: 'POST',
data,
})
......
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