|
|
|
@ -61,18 +61,18 @@ |
|
|
|
<span class="state-text">未处理</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div @click="toDetailView(item.id)"> |
|
|
|
<div @click="toComplaint(item.id)"> |
|
|
|
<div class="van-hairline--bottom"></div> |
|
|
|
<div class="card_box_span"> |
|
|
|
<p>{{ item.lawEnforcementItemText }}</p> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="card_box_span"> |
|
|
|
<p><span class="card_box_label">执法部门:</span> {{ item.lawEnforcement }}</p> |
|
|
|
<p><span class="card_box_label">问题描述:</span> {{ item.problemDescription }}</p> |
|
|
|
</div> |
|
|
|
<div class="card_box_span"> |
|
|
|
<!-- <div class="card_box_span"> |
|
|
|
<p><span class="card_box_label">执法人员:</span> {{ item.lawEnforcer }},{{ item.lawEnforcerTwo }}</p> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
<!-- <div class="card_box_span"> |
|
|
|
<p><span class="card_box_label">企业名称:</span> {{ item.enterpriseName }}</p> |
|
|
|
</div>--> |
|
|
|
@ -95,7 +95,7 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script setup name="registrationList"> |
|
|
|
import {queryRegistrationList, toMssqAppraise} from '../../api/enterprise'; |
|
|
|
import {queryRegistrationList, toMssqAppraise,queryEnterpriseComplaintList} from '../../api/enterprise'; |
|
|
|
import {queryLinkage, queryLinkageById, queryLinkageDictByValueAndParentId} from "@/api/linkage"; |
|
|
|
import { setGoodsNum } from "@/util/util"; |
|
|
|
const { useCommon, useShopCard } = $globalStore; |
|
|
|
@ -161,9 +161,13 @@ onMounted(() => { |
|
|
|
searchParam.enterpriseNumber = useCommon.enterpriseNumber; |
|
|
|
// queryList(); |
|
|
|
data.dateSearch = nowDate(new Date()); |
|
|
|
queryLinkageDictByValueAndParentId({"value": "check_item", "parentId": "100"}, success => { |
|
|
|
getLinkageByParentIdToItem(success.id) |
|
|
|
},error=>{}); |
|
|
|
// queryLinkageDictByValueAndParentId({"value": "check_item", "parentId": "100"}, success => { |
|
|
|
// getLinkageByParentIdToItem(success.id) |
|
|
|
// },error=>{}); |
|
|
|
queryEnterpriseComplaintList({}, success => { |
|
|
|
console.log(success.data) |
|
|
|
data.dataList = success.data; |
|
|
|
},error=>{}) |
|
|
|
}); |
|
|
|
const getLinkageByParentIdToItem = (parentId) => { |
|
|
|
// 查询检查要求字典信息 |
|
|
|
@ -171,16 +175,16 @@ const getLinkageByParentIdToItem = (parentId) => { |
|
|
|
for(var i=0; i<success.length; i++) { |
|
|
|
data.ga_columns.push({ text: success[i].title, value: success[i].id, id: success[i].id }) |
|
|
|
} |
|
|
|
queryList(); |
|
|
|
// queryList(); |
|
|
|
},error=>{}); |
|
|
|
} |
|
|
|
const queryList = () =>{ |
|
|
|
queryRegistrationList(searchParam,success =>{ |
|
|
|
console.log(success) |
|
|
|
data.dataList = success.data; |
|
|
|
},error =>{ |
|
|
|
// queryRegistrationList(searchParam,success =>{ |
|
|
|
// console.log(success) |
|
|
|
// data.dataList = success.data; |
|
|
|
// },error =>{ |
|
|
|
|
|
|
|
}) |
|
|
|
// }) |
|
|
|
} |
|
|
|
const setLinkageItem = (id,item) => { |
|
|
|
queryLinkageById({"id": id}, success => { |
|
|
|
@ -236,6 +240,16 @@ const toDetailView = (id) =>{ |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
const toComplaint = (id) => { |
|
|
|
router.push({ |
|
|
|
path: "/enterprise/complaintDetailView", |
|
|
|
query: { |
|
|
|
comOrOpi: 2, |
|
|
|
isSelect: false, |
|
|
|
id: id, |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
onActivated(() => { |
|
|
|
}); |
|
|
|
|
|
|
|
|