浏览代码

阳光村务投诉建议

rongxin_prod
庞东旭 2 年前
父节点
当前提交
ce87813de2
共有 5 个文件被更改,包括 38 次插入21 次删除
  1. 二进制
      src/assets/images/sunVillage_info/index_code_btn_8.png
  2. 二进制
      src/assets/images/sunVillage_info/index_code_btn_9.png
  3. +3
    -3
      src/router/index.js
  4. +27
    -17
      src/views/sunVillage_info/list_complaint.vue
  5. +8
    -1
      src/views/sunVillage_info/list_complaint_detail.vue

二进制
src/assets/images/sunVillage_info/index_code_btn_8.png 查看文件

之前 之后
宽度: 341  |  高度: 120  |  大小: 13 KiB

二进制
src/assets/images/sunVillage_info/index_code_btn_9.png 查看文件

之前 之后
宽度: 341  |  高度: 120  |  大小: 9.4 KiB

+ 3
- 3
src/router/index.js 查看文件

@@ -3831,7 +3831,7 @@ export const constantRoutes = [
},
component: (resolve) => require(['@/views/sunVillage_info/list_vote'], resolve)
},
{ ////阳光村务(新)-- 合同信息
{ ////阳光村务(新)-- 投诉建议
path: '/sunVillage_info/list_complaint',
name: 'sunVillageInfoListComplaint',
meta: {
@@ -3840,7 +3840,7 @@ export const constantRoutes = [
},
component: (resolve) => require(['@/views/sunVillage_info/list_complaint'], resolve)
},
{ ////阳光村务(新)-- 合同信息
{ ////阳光村务(新)-- 投诉建议
path: '/sunVillage_info/list_complaint_add',
name: 'sunVillageInfoListComplaintAdd',
meta: {
@@ -3849,7 +3849,7 @@ export const constantRoutes = [
},
component: (resolve) => require(['@/views/sunVillage_info/list_complaint_add'], resolve)
},
{ ////阳光村务(新)-- 合同信息
{ ////阳光村务(新)-- 投诉建议
path: '/sunVillage_info/list_complaint_detail',
name: 'sunVillageInfoListComplaintDetail',
meta: {


+ 27
- 17
src/views/sunVillage_info/list_complaint.vue 查看文件

@@ -2,7 +2,7 @@
<div class="home_wrapper">
<div
class="header_main"
:style="`background-image:url(${require('@/assets/images/sunVillage_info/list_head_green.png')})`"
:style="`background-image:url(${require(showBtn?'@/assets/images/sunVillage_info/list_head_green.png':'@/assets/images/sunVillage_info/list_head_red.png')})`"
>
投诉建议
<div class="return_btn" @click="onClickLeft"></div>
@@ -18,7 +18,7 @@
<van-cell
:border="false"
center
:to="{name: 'sunVillageInfoListComplaintDetail',query:{id:item.id,type:show?'':'code'}}"
:to="{name: 'sunVillageInfoListComplaintDetail',query:{id:item.id,type:showBtn?'':'code'}}"
>
<template #right-icon>
<p :class="{
@@ -57,31 +57,41 @@
applicationList:[],
loading: false,
finished: false,
show: false,
show: true,
fileList:[],
showBtn:true,
queryParams:{}
};
},
created() {
if (!Cookies.get('user')){
Dialog.confirm({
title: '系统提示',
message: '登录状态已过期,请重新登录',
confirmButtonText: '重新登录',
cancelButtonText: '取消'
}).then(() => {
this.$router.push({path:'/sunVillage_info/login_code'})
})
if (this.$route.query.typeX!=1){
if (!Cookies.get('user')){
Dialog.confirm({
title: '系统提示',
message: '登录状态已过期,请重新登录',
confirmButtonText: '重新登录',
cancelButtonText: '取消'
}).then(() => {
this.$router.push({path:'/sunVillage_info/login_code'})
})
}
this.queryParams = {
advicePhone:JSON.parse(Cookies.get('user')).phone,
translate_dict:1,
}
}else{
this.showBtn = false;
this.queryParams = {
deptId:Cookies.get('deptId'),
translate_dict:1,
}
}

},
methods: {
getList(){
var _this = this;
let queryParams = {
advicePhone:JSON.parse(Cookies.get('user')).phone,
translate_dict:1,
}
adviceList(queryParams).then(response => {
adviceList(this.queryParams).then(response => {
_this.listLength = response.total;
response.rows.map(res=>{
_this.applicationList.push(res);


+ 8
- 1
src/views/sunVillage_info/list_complaint_detail.vue 查看文件

@@ -1,6 +1,8 @@
<template>
<div class="home_wrapper">
<div class="header_main">
<div class="header_main"
:style="`background-image:url(${require(showBtn?'@/assets/images/sunVillage_info/list_head_green.png':'@/assets/images/sunVillage_info/list_head_red.png')})`"
>
投诉建议
<div class="return_btn" @click="onClickLeft"></div>
<div class="add_btn"></div>
@@ -153,6 +155,7 @@
fileList:[],
videoList:[],
adviceTypeOptions:[],
showBtn:true,
showDept:false,
showAdviceType:false,
adviceType:''
@@ -166,6 +169,10 @@
this.adviceTypeOptions = response.data;
});

if (this.$route.query.type == 'code'){
this.showBtn = false;
}

this.getDetail();

},


正在加载...
取消
保存