diff --git a/src/api/enterprise.js b/src/api/enterprise.js index b15017c..76b9101 100644 --- a/src/api/enterprise.js +++ b/src/api/enterprise.js @@ -15,9 +15,13 @@ export const queryRegistrationList2 = (params, success, error) => _get("/app/cod export const addEnterpriseComplaint = (params, success, error) => _post("/app/code/complaint/add",params,success,error) // 查询 export const getEnterpriseComplaintById = (id, success, error) => _get("/app/code/complaint/getById/"+id,null,success,error) +//查询投诉工单详情 +export const complaintInfoById = (params, success, error) => _get("/app/code/complaint/queryById",params,success,error) // 诉求工单评价页面 export const toMssqAppraise = (params, success, error) => _post("/app/code/complaint/mssqAppraise",params,success,error) +// 诉求工单评价页面 +export const queryEnterpriseComplaintList = (params, success, error) => _get("/app/code/complaint/queryList",params,success,error) /** * 查询企业行政执法通知记录 * @param {*} params diff --git a/src/components/footer-nav/index.vue b/src/components/footer-nav/index.vue index 0fb5f71..dea5c1b 100644 --- a/src/components/footer-nav/index.vue +++ b/src/components/footer-nav/index.vue @@ -7,9 +7,9 @@ 行政检查预告 - - - + + 工单 + diff --git a/src/router/home.js b/src/router/home.js index 676f83f..b52d329 100644 --- a/src/router/home.js +++ b/src/router/home.js @@ -57,18 +57,24 @@ const routes = [ name: "complaint", component: () => import("@/views/enterprise/complaint.vue"), }, - //在线投诉详情 - { - path: "/enterprise/complaintDetail", - name: "complaintDetail", - component: () => import("@/views/enterprise/complaintDetail.vue"), - }, //在线投诉列表 { path: "/enterprise/complaintList", name: "complaintList", component: () => import("@/views/enterprise/complaintList.vue"), }, + //在线投诉 + // { + // path: "/enterprise/complaintDetail", + // name: "complaintDetail", + // component: () => import("@/views/enterprise/complaintDetail.vue"), + // }, + //在线投诉-详情 + { + path: "/enterprise/complaintDetailView", + name: "complaintDetailView", + component: () => import("@/views/enterprise/complaintDetailView.vue"), + }, // 执法列表 { path: "/enterprise/enterpriseInspectionList", diff --git a/src/views/Home.vue b/src/views/Home.vue index 21bd7cf..a2d05e2 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -258,6 +258,12 @@ }); + const { VITE_BASE_URL,access_key,access_secret } = import.meta.env; + console.log(VITE_BASE_URL); + const apiUrl = ref(import.meta.env.accessKey); + console.log(access_key); + console.log(access_secret); + }); diff --git a/src/views/administrative/appointment.vue b/src/views/administrative/appointment.vue index 366f21a..aec653a 100644 --- a/src/views/administrative/appointment.vue +++ b/src/views/administrative/appointment.vue @@ -89,7 +89,7 @@ @@ -279,6 +279,8 @@ deptTexts: "", deptObjs: [], isUnite: 0, + bureauDeptId:"", + bureauDeptName:"" }) const currentDate =() => { @@ -491,6 +493,9 @@ submitData.lawEnforcerId = success.data.userId; submitData.lawEnforcement = success.data.dept.deptName; submitData.lawEnforcementId = success.data.dept.deptId; + //局级部门 + submitData.bureauDeptName = success.data.bureauDept.deptName; + submitData.bureauDeptId = success.data.bureauDept.deptId; }, error => { }); diff --git a/src/views/administrative/appointmentEdit.vue b/src/views/administrative/appointmentEdit.vue index 2d5a40d..06ab0cd 100644 --- a/src/views/administrative/appointmentEdit.vue +++ b/src/views/administrative/appointmentEdit.vue @@ -261,6 +261,9 @@ deptObjs: [], isUnite: 0, uniteCheck:"", + /**局级部门 */ + bureauDeptId:"", + bureauDeptName:"" }) const onConfirm = (time) => { diff --git a/src/views/administrative/appointmentList.vue b/src/views/administrative/appointmentList.vue index 060d5b2..59fd71e 100644 --- a/src/views/administrative/appointmentList.vue +++ b/src/views/administrative/appointmentList.vue @@ -71,7 +71,7 @@

登记编号: {{ item.lawEnforcementCode }}

-->
-

执法部门: {{ item.lawEnforcement }}

+

执法部门: {{ item.bureauDeptName }}

企业名称: {{ item.enterpriseName }}

diff --git a/src/views/enforce/enforcementPlanAdd.vue b/src/views/enforce/enforcementPlanAdd.vue index 2da9b2f..362ef1d 100644 --- a/src/views/enforce/enforcementPlanAdd.vue +++ b/src/views/enforce/enforcementPlanAdd.vue @@ -62,7 +62,7 @@ /> { submitData.enforcementDepartment = success.data.dept.deptName; submitData.enforcementDepartmentId = success.data.dept.deptId; + //局级部门 + submitData.bureauDeptName = success.data.bureauDept.deptName; + submitData.bureauDeptId = success.data.bureauDept.deptId; }, error => { }) diff --git a/src/views/enforce/evaluate.vue b/src/views/enforce/evaluate.vue index 541df26..17bf6ce 100644 --- a/src/views/enforce/evaluate.vue +++ b/src/views/enforce/evaluate.vue @@ -23,7 +23,7 @@ label="评价|建议" type="textarea" maxlength="300" - placeholder="请输入" + placeholder="请输入评价|意见建议" required :rules="[{ required: true, message: '请输入评价|意见建议' }]" show-word-limit diff --git a/src/views/enforce/sign.vue b/src/views/enforce/sign.vue index 7186496..2308660 100644 --- a/src/views/enforce/sign.vue +++ b/src/views/enforce/sign.vue @@ -19,7 +19,7 @@ @click="data.lawChecked=true" /> + - + /> --> @@ -300,6 +306,9 @@ const submitData = reactive({ enforce: "", checkCss: "", enforceReason: "", + /**局级部门 */ + bureauDeptName:"", + bureauDeptId:"", }) const tapGood = () => { @@ -378,6 +387,9 @@ onMounted(() =>{ submitData.lawEnforcerId = success.data.userId submitData.lawEnforcement = success.data.dept.deptName; submitData.lawEnforcementId = success.data.dept.deptId; + //局级部门 + submitData.bureauDeptName = success.data.bureauDept.deptName; + submitData.bureauDeptId = success.data.bureauDept.deptId; } },error=>{ diff --git a/src/views/enterprise/complaintList.vue b/src/views/enterprise/complaintList.vue index 3611c3d..bdcecb6 100644 --- a/src/views/enterprise/complaintList.vue +++ b/src/views/enterprise/complaintList.vue @@ -61,18 +61,18 @@ 未处理
-
+

{{ item.lawEnforcementItemText }}

-

执法部门: {{ item.lawEnforcement }}

+

问题描述: {{ item.problemDescription }}

-
+ @@ -95,7 +95,7 @@