|
|
|
@ -47,12 +47,12 @@ |
|
|
|
<!-- 中间 --> |
|
|
|
<div class="shop-center"> |
|
|
|
<lodding-card :isLodding="isLodding"> |
|
|
|
<refresh-list v-model:freshMap="freshMap" :classMap="classMap" @refresh="onRefresh" @onLoad="onLoad" |
|
|
|
<refresh-list v-model:freshMap="freshMap" @refresh="onRefresh" @onLoad="onLoad" |
|
|
|
:resetScroll="resetScroll" class="refresh_box"> |
|
|
|
<div class="refresh_content" v-if="data?.dataList.length"> |
|
|
|
<div class="goods_box" v-for="(item, index) in data?.dataList" :key="index"> |
|
|
|
<van-swipe-cell class="swipe_cell"> |
|
|
|
<div class="card_box"> |
|
|
|
<div class="card_box" onclick="toDetailView(item.id)"> |
|
|
|
<div class="card_box_span"> |
|
|
|
<p>执法时间:{{ item.createTime }} <span class="card_box_action"> |
|
|
|
<van-button @click="toComplaintView(item.id,item.lawEnforcementItem)" type="primary" size="mini">投诉</van-button> |
|
|
|
@ -68,7 +68,10 @@ |
|
|
|
<p><span class="card_box_label">执法部门:</span> {{ item.lawEnforcement }}</p> |
|
|
|
</div> |
|
|
|
<div class="card_box_span"> |
|
|
|
<p><span class="card_box_label">执法人员:</span> {{ item.lawEnforcer }}</p> |
|
|
|
<p><span class="card_box_label">执法人员:</span> {{ item.lawEnforcer }},{{ item.lawEnforcerTwo }}</p> |
|
|
|
</div> |
|
|
|
<div class="card_box_span"> |
|
|
|
<p><span class="card_box_label">企业名称:</span> {{ item.enterpriseName }}</p> |
|
|
|
</div> |
|
|
|
<div class="card_box_span"> |
|
|
|
<p><span class="card_box_label">备注:</span> {{ item.remark }}</p> |
|
|
|
@ -163,6 +166,11 @@ const onClickButton = () =>{ |
|
|
|
queryList(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 企业投诉页面 |
|
|
|
* @param {*} id |
|
|
|
* @param {*} name |
|
|
|
*/ |
|
|
|
const toComplaintView = (id,name) =>{ |
|
|
|
console.log(id,name) |
|
|
|
router.push( |
|
|
|
@ -175,6 +183,21 @@ const toComplaintView = (id,name) =>{ |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
/** |
|
|
|
* 查看执法登记详情 |
|
|
|
* @param {} id |
|
|
|
* @param {*} name |
|
|
|
*/ |
|
|
|
const toDetailView = (id) =>{ |
|
|
|
console.log(id) |
|
|
|
router.push( |
|
|
|
{ |
|
|
|
path: "/registrationDetail", |
|
|
|
query: { |
|
|
|
id: id, |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
onActivated(() => { |
|
|
|
}); |
|
|
|
|
|
|
|
|