Browse Source

部分可视化的通过手机号查找居民画像的实现

feature
duanliangtao 2 years ago
parent
commit
cb897f08f9
  1. 23
      src/views/dataBoard/overview/components/MapDialog/CommunityList.vue
  2. 27
      src/views/dataBoard/overview/components/MapDialog/DemandList.vue
  3. 22
      src/views/dataBoard/overview/components/MapDialog/List12345.vue
  4. 27
      src/views/dataBoard/overview/components/MapDialog/Njjwtqk.vue
  5. 22
      src/views/dataBoard/overview/components/MapDialog/SatisfactionList.vue
  6. 21
      src/views/dataBoard/overview/potentialPeople/12345.vue
  7. 21
      src/views/dataBoard/overview/potentialPeople/province.vue
  8. 21
      src/views/dataBoard/overview/potentialPeople/selfInspect.vue

23
src/views/dataBoard/overview/components/MapDialog/CommunityList.vue

@ -28,7 +28,17 @@
<el-table-column label="姓名" prop="reporterName" width="100"/> <el-table-column label="姓名" prop="reporterName" width="100"/>
<el-table-column label="电话" min-width="120" prop="reporterMobile"> <el-table-column label="电话" min-width="120" prop="reporterMobile">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button
v-if="scope.row.resiId != null && scope.row.resiId != ''"
@click="handleLook(scope.row)"
type="text"
size="small"
>
{{ $sensitive(scope.row.reporterMobile, 3, 7) }} {{ $sensitive(scope.row.reporterMobile, 3, 7) }}
</el-button>
<span v-else>
{{ $sensitive(scope.row.reporterMobile, 3, 7) }}
</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="是否回访" prop="followUpStatus" width="150" :formatter="(row) => row.followUpStatus === -1?'否':'是'"/> <el-table-column label="是否回访" prop="followUpStatus" width="150" :formatter="(row) => row.followUpStatus === -1?'否':'是'"/>
@ -106,6 +116,19 @@ export default {
this.id = id; this.id = id;
this.$refs.detail.open(id); this.$refs.detail.open(id);
}, },
//
handleLook(row) {
let { resiId } = row
this.$router.push({
path: "/dataBoard/overview/resident",
query: {
user_id: resiId,
type:'renfang'
},
});
},
} }
} }
</script> </script>

27
src/views/dataBoard/overview/components/MapDialog/DemandList.vue

@ -8,7 +8,21 @@
<el-table-column label="需求类别" prop="categoryAllName"/> <el-table-column label="需求类别" prop="categoryAllName"/>
<el-table-column label="需求内容" prop="content"/> <el-table-column label="需求内容" prop="content"/>
<el-table-column label="需求人" prop="reportUserName"/> <el-table-column label="需求人" prop="reportUserName"/>
<el-table-column label="需求人联系电话" prop="reportUserMobile" width="200"/> <el-table-column label="需求人联系电话" prop="reportUserMobile" width="200">
<template slot-scope="scope">
<el-button
v-if="scope.row.demandUserId != null && scope.row.demandUserId != ''"
@click="handleLook(scope.row)"
type="text"
size="small"
>
{{ $sensitive(scope.row.reportUserMobile, 3, 7) }}
</el-button>
<span v-else>
{{ $sensitive(scope.row.reportUserMobile, 3, 7) }}
</span>
</template>
</el-table-column>
<el-table-column label="状态" prop="statusName"/> <el-table-column label="状态" prop="statusName"/>
<el-table-column label="服务方" prop="serviceName"/> <el-table-column label="服务方" prop="serviceName"/>
<el-table-column label="操作" prop="op" width="250"> <el-table-column label="操作" prop="op" width="250">
@ -158,6 +172,17 @@ export default {
showDetail2(id) { showDetail2(id) {
this.$refs.Bmysxxq.open(id); this.$refs.Bmysxxq.open(id);
}, },
//
handleLook(row) {
let { demandUserId } = row
this.$router.push({
path: "/dataBoard/overview/resident",
query: {
user_id: demandUserId,
type:'renfang'
},
});
},
handleViews(data) { handleViews(data) {
if(this.type === '1') { if(this.type === '1') {
this.showDetail(data.demandRecId) this.showDetail(data.demandRecId)

22
src/views/dataBoard/overview/components/MapDialog/List12345.vue

@ -11,7 +11,17 @@
<el-table-column label="联系人" prop="name" width="80"/> <el-table-column label="联系人" prop="name" width="80"/>
<el-table-column label="联系电话" prop="mobile" width="100"> <el-table-column label="联系电话" prop="mobile" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button
v-if="scope.row.reportUserId != null && scope.row.reportUserId != ''"
@click="handleLook(scope.row)"
type="text"
size="small"
>
{{ $sensitive(scope.row.mobile, 3, 7) }} {{ $sensitive(scope.row.mobile, 3, 7) }}
</el-button>
<span v-else>
{{ $sensitive(scope.row.mobile, 3, 7) }}
</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="状态" prop="statusName" width="80"/> <el-table-column label="状态" prop="statusName" width="80"/>
@ -125,6 +135,18 @@ export default {
this.showDialog = true; this.showDialog = true;
this.rowId = icEventId; this.rowId = icEventId;
}, },
//
handleLook(row) {
let { reportUserId } = row
this.$router.push({
path: "/dataBoard/overview/resident",
query: {
user_id: reportUserId,
type:'renfang'
},
});
},
} }
} }
</script> </script>

27
src/views/dataBoard/overview/components/MapDialog/Njjwtqk.vue

@ -10,7 +10,21 @@
<!-- <el-table-column label="语音" prop="key" width="120"/>--> <!-- <el-table-column label="语音" prop="key" width="120"/>-->
<el-table-column label="办结时限" prop="timeLimit" width="120"/> <el-table-column label="办结时限" prop="timeLimit" width="120"/>
<el-table-column label="联系人" prop="name" width="120"/> <el-table-column label="联系人" prop="name" width="120"/>
<el-table-column label="联系电话" prop="mobile" width="120"/> <el-table-column label="联系电话" prop="mobile" width="120">
<template slot-scope="scope">
<el-button
v-if="scope.row.reportUserId != null && scope.row.reportUserId != ''"
@click="handleLook(scope.row)"
type="text"
size="small"
>
{{ $sensitive(scope.row.mobile, 3, 7) }}
</el-button>
<span v-else>
{{ $sensitive(scope.row.mobile, 3, 7) }}
</span>
</template>
</el-table-column>
<el-table-column label="状态" prop="statusName" width="120"/> <el-table-column label="状态" prop="statusName" width="120"/>
<el-table-column label="操作" prop="op" width="200" fixed="right"> <el-table-column label="操作" prop="op" width="200" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
@ -121,6 +135,17 @@ export default {
this.showDialog = true; this.showDialog = true;
this.rowId = icEventId; this.rowId = icEventId;
}, },
//
handleLook(row) {
let { reportUserId } = row
this.$router.push({
path: "/dataBoard/overview/resident",
query: {
user_id: reportUserId,
type:'renfang'
},
});
},
} }
} }
</script> </script>

22
src/views/dataBoard/overview/components/MapDialog/SatisfactionList.vue

@ -22,7 +22,17 @@
<el-table-column label="姓名" prop="name"/> <el-table-column label="姓名" prop="name"/>
<el-table-column label="电话" prop="mobile"> <el-table-column label="电话" prop="mobile">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button
v-if="scope.row.resiId != null && scope.row.resiId != ''"
@click="handleLook(scope.row)"
type="text"
size="small"
>
{{ $sensitive(scope.row.mobile, 3, 7) }} {{ $sensitive(scope.row.mobile, 3, 7) }}
</el-button>
<span v-else>
{{ $sensitive(scope.row.mobile, 3, 7) }}
</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="是否完成" prop="completeFlag"/> <el-table-column label="是否完成" prop="completeFlag"/>
@ -125,6 +135,18 @@ export default {
close() { close() {
this.showDialog = false; this.showDialog = false;
}, },
//
handleLook(row) {
let { resiId } = row
this.$router.push({
path: "/dataBoard/overview/resident",
query: {
user_id: resiId,
type:'renfang'
},
});
},
} }
} }
</script> </script>

21
src/views/dataBoard/overview/potentialPeople/12345.vue

@ -14,7 +14,17 @@
<el-table-column prop="mobile" label="上报人电话"> <el-table-column prop="mobile" label="上报人电话">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button
v-if="scope.row.reportUserId != null && scope.row.reportUserId != ''"
@click="handleLook(scope.row)"
type="text"
size="small"
>
{{ $sensitive(scope.row.mobile, 3, 7) }}
</el-button>
<span v-else>
{{ $sensitive(scope.row.mobile, 3, 7) }} {{ $sensitive(scope.row.mobile, 3, 7) }}
</span>
</template> </template>
</el-table-column> </el-table-column>
@ -112,6 +122,17 @@ export default {
close() { close() {
this.showDialog = false; this.showDialog = false;
}, },
//
handleLook(row) {
let { reportUserId } = row
this.$router.push({
path: "/dataBoard/overview/resident",
query: {
user_id: reportUserId,
type:'renfang'
},
});
},
}, },
}; };
</script> </script>

21
src/views/dataBoard/overview/potentialPeople/province.vue

@ -22,7 +22,17 @@
<el-table-column prop="mobile" label="上报人电话"> <el-table-column prop="mobile" label="上报人电话">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button
v-if="scope.row.resiId != null && scope.row.resiId != ''"
@click="handleLook(scope.row)"
type="text"
size="small"
>
{{ $sensitive(scope.row.mobile, 3, 7) }}
</el-button>
<span v-else>
{{ $sensitive(scope.row.mobile, 3, 7) }} {{ $sensitive(scope.row.mobile, 3, 7) }}
</span>
</template> </template>
</el-table-column> </el-table-column>
@ -115,6 +125,17 @@ export default {
close() { close() {
this.showDialog = false; this.showDialog = false;
}, },
//
handleLook(row) {
let { resiId } = row
this.$router.push({
path: "/dataBoard/overview/resident",
query: {
user_id: resiId,
type:'renfang'
},
});
},
}, },
}; };
</script> </script>

21
src/views/dataBoard/overview/potentialPeople/selfInspect.vue

@ -31,7 +31,17 @@
<el-table-column label="姓名" prop="reporterName" width="100"/> <el-table-column label="姓名" prop="reporterName" width="100"/>
<el-table-column label="电话" min-width="120" prop="reporterMobile"> <el-table-column label="电话" min-width="120" prop="reporterMobile">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button
v-if="scope.row.resiId != null && scope.row.resiId != ''"
@click="handleLook(scope.row)"
type="text"
size="small"
>
{{ $sensitive(scope.row.reporterMobile, 3, 7) }}
</el-button>
<span v-else>
{{ $sensitive(scope.row.reporterMobile, 3, 7) }} {{ $sensitive(scope.row.reporterMobile, 3, 7) }}
</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="是否回访" prop="followUpStatus" width="150" :formatter="(row) => row.followUpStatus === -1?'否':'是'"/> <el-table-column label="是否回访" prop="followUpStatus" width="150" :formatter="(row) => row.followUpStatus === -1?'否':'是'"/>
@ -111,6 +121,17 @@ export default {
this.id = id; this.id = id;
this.$refs.detail.open(id); this.$refs.detail.open(id);
}, },
//
handleLook(row) {
let { resiId } = row
this.$router.push({
path: "/dataBoard/overview/resident",
query: {
user_id: resiId,
type:'renfang'
},
});
},
}, },
}; };
</script> </script>

Loading…
Cancel
Save