Browse Source

Merge branch 'test' of http://git.elinkit.com.cn:7070/r/epmet-oper-gov into test

shibei_prod
dai 4 years ago
parent
commit
f8db89c889
  1. 6
      src/assets/scss/modules/visual/basicInfoMain.scss
  2. 2
      src/views/modules/base/community/buildTable.vue
  3. 2
      src/views/modules/base/community/communityTable.vue
  4. 2
      src/views/modules/base/community/roomTable.vue
  5. 2
      src/views/modules/visual/basicinfo/basicInfoCommunity.vue
  6. 204
      src/views/modules/visual/basicinfo/cpts/topic-info.vue
  7. 3
      src/views/modules/visual/communityGovern/cpt/project-info.vue
  8. 70
      src/views/modules/visual/heart/index.vue

6
src/assets/scss/modules/visual/basicInfoMain.scss

@ -267,13 +267,13 @@
// margin-left: 0;
// }
> span {
.housename {
margin-top: 70px;
font-size: 24px;
font-family: PingFang SC;
font-weight: 500;
color: #ffffff;
line-height: 18px;
line-height: 190px;
// line-height: 180px;
}
.icon_party {

2
src/views/modules/base/community/buildTable.vue

@ -156,7 +156,7 @@ export default {
return {
loading: false,
total: 0,
pageSize: 10,
pageSize: 20,
pageNo: 0,
tableLoading: true,

2
src/views/modules/base/community/communityTable.vue

@ -157,7 +157,7 @@ export default {
return {
loading: false,
total: 0,
pageSize: 10,
pageSize: 20,
pageNo: 0,
tableLoading: true,

2
src/views/modules/base/community/roomTable.vue

@ -167,7 +167,7 @@ export default {
return {
loading: false,
total: 0,
pageSize: 10,
pageSize: 20,
pageNo: 0,
tableLoading: true,

2
src/views/modules/visual/basicinfo/basicInfoCommunity.vue

@ -29,7 +29,7 @@
:key="index"
:class="['item',{'item_sel':selHouseIndex==index}]"
@click="handleClickRoom(index)">
<span>{{item.houseName}}</span>
<div class="housename">{{item.houseName}}</div>
<div class="icon_party">
<img :src="item.partyUrl"

204
src/views/modules/visual/basicinfo/cpts/topic-info.vue

@ -7,7 +7,8 @@
<span>话题详情</span>
</div>
<div class="btn-close" @click="handleClose">
<div class="btn-close"
@click="handleClose">
<img src="@/assets/img/shuju/people/close.png" />
</div>
@ -15,12 +16,10 @@
<div class="info-title">话题内容</div>
<div class="info-content">{{ info.topicContent }}</div>
<div class="info-pics">
<img
:src="src"
:key="src"
v-for="src in info.topicImgs"
@click="watchImg(src)"
/>
<img :src="src"
:key="src"
v-for="src in info.topicImgs"
@click="watchImg(src)" />
</div>
<div class="info-prop">
<span>发布时间</span>
@ -37,65 +36,57 @@
</div>
<div class="tabs">
<div
class="tab-btn"
@click="subStartGroupIndex"
v-if="groupList.length > 9"
>
<div class="tab-btn"
@click="subStartGroupIndex"
v-if="groupList.length > 9">
<img src="@/assets/img/shuju/people/arrow-double-left.png" />
</div>
<div
v-show="index >= startGroupIndex && index < startGroupIndex + 9"
class="tab"
:class="groupIndex % groupList.length == index ? 'z-on' : ''"
:key="'tab' + index"
@click="groupIndex = index"
v-for="(item, index) in groupList"
>
<div v-show="index >= startGroupIndex && index < startGroupIndex + 9"
class="tab"
:class="groupIndex % groupList.length == index ? 'z-on' : ''"
:key="'tab' + index"
@click="groupIndex = index"
v-for="(item, index) in groupList">
{{ item.label }}
</div>
<div
class="tab-btn"
@click="addStartGroupIndex"
v-if="groupList.length > 9"
>
<div class="tab-btn"
@click="addStartGroupIndex"
v-if="groupList.length > 9">
<img src="@/assets/img/shuju/people/arrow-double-right.png" />
</div>
</div>
<div class="m-case">
<div class="m-yanpan" v-if="groupIndex == 0">
<div class="m-yanpan"
v-if="groupIndex == 0">
<div v-if="issueInfo.projectId">
<analyse
v-if="yanPan.loading"
singleTitle="楼院小组"
:userList="yanPan.houseUserList"
:userName="yanPan.icUserName"
:singleList="yanPan.categoryList"
@user="toUserInfo"
@project="toProjectInfo"
/>
<analyse v-if="yanPan.loading"
singleTitle="楼院小组"
:userList="yanPan.houseUserList"
:userName="yanPan.icUserName"
:singleList="yanPan.categoryList"
@user="toUserInfo"
@project="toProjectInfo" />
<screen-loading v-else>加载中</screen-loading>
</div>
<div v-else class="m-hint">
<img
src="@/assets/img/modules/visual/noData.png"
class="no-data-img"
/>
<div v-else
class="m-hint">
<img src="@/assets/img/modules/visual/noData.png"
class="no-data-img" />
</div>
</div>
<div class="m-tb" v-if="groupIndex == 1">
<cpt-tb
:col-list="comment.colList"
:loading="comment.loading"
:header="comment.header"
:list="comment.list"
@operate="checkTopicCommentImg"
></cpt-tb>
<div class="m-tb"
v-if="groupIndex == 1">
<cpt-tb :col-list="comment.colList"
:loading="comment.loading"
:header="comment.header"
:list="comment.list"
@operate="checkTopicCommentImg"></cpt-tb>
</div>
<div v-if="groupIndex == 2">
<div class="m-row" v-if="info.issueId">
<div class="m-row"
v-if="info.issueId">
<div class="m-info">
<div class="info-prop">
<span>议题标题</span>
@ -113,7 +104,8 @@
<span>议题发起人</span>
<span>{{ issueInfo.issueInitiator }}</span>
</div>
<div class="info-prop">
<div v-if="issueInfo.topicInfo&&issueInfo.topicInfo.groupName"
class="info-prop">
<span>议题来源</span>
<span>{{ issueInfo.topicInfo.groupName }}</span>
</div>
@ -143,22 +135,20 @@
</div>
</div>
<line-chart
v-if="issueChartData.length > 0"
:list="issueChartData"
/>
<line-chart v-if="issueChartData.length > 0"
:list="issueChartData" />
</div>
</div>
<div v-else class="m-hint">
<img
src="@/assets/img/modules/visual/noData.png"
class="no-data-img"
/>
<div v-else
class="m-hint">
<img src="@/assets/img/modules/visual/noData.png"
class="no-data-img" />
</div>
</div>
<div v-if="groupIndex == 3">
<div class="m-row" v-if="issueInfo.projectId">
<div class="m-row"
v-if="issueInfo.projectId">
<div class="m-info">
<div class="info-prop">
<span>项目标题</span>
@ -176,33 +166,36 @@
<span>当前处理部门</span>
<span>{{ projectInfo.departmentNameList.join("、") }}</span>
</div>
<div class="info-prop" v-if="projectCate.length > 0">
<div class="info-prop"
v-if="projectCate.length > 0">
<span>分类</span>
<fold-text :row="3">
<div :key="item.name" v-for="item in projectCate">
<div :key="item.name"
v-for="item in projectCate">
{{ item.name }}
</div>
</fold-text>
</div>
<div class="info-prop" v-if="projectTag.length > 0">
<div class="info-prop"
v-if="projectTag.length > 0">
<span>标签</span>
<fold-text :row="3">
<div :key="item.name" v-for="item in projectTag">
<div :key="item.name"
v-for="item in projectTag">
{{ item.name }}
</div>
</fold-text>
</div>
</div>
<div class="m-process" v-if="projectProcess.length > 0">
<div class="m-process"
v-if="projectProcess.length > 0">
<div class="process-title">处理进展</div>
<div class="list">
<div
class="item"
:class="index === 0 ? 'z-on' : ''"
:key="item.processId"
v-for="(item, index) in projectProcess"
>
<div class="item"
:class="index === 0 ? 'z-on' : ''"
:key="item.processId"
v-for="(item, index) in projectProcess">
<div class="item-row">
<div class="name">{{ item.processName }}</div>
<div class="date">
@ -215,20 +208,16 @@
<div class="detail-value">{{ item.departmentName }}</div>
</div>
<div
class="detail"
v-if="item.processName != '转项目' && item.publicReply"
>
<div class="detail"
v-if="item.processName != '转项目' && item.publicReply">
<div class="detail-field"> </div>
<div class="detail-value">
<fold-text :row="3">{{ item.publicReply }}</fold-text>
</div>
</div>
<div
class="detail"
v-if="item.processName != '转项目' && item.internalRemark"
>
<div class="detail"
v-if="item.processName != '转项目' && item.internalRemark">
<div class="detail-field">内部备注</div>
<div class="detail-value">
<fold-text :row="3">{{
@ -238,12 +227,10 @@
</div>
<div class="detail">
<div class="attachement-list">
<a
:href="att.url"
target="_blank"
:key="att.url"
v-for="att in item.internalFile"
>
<a :href="att.url"
target="_blank"
:key="att.url"
v-for="att in item.internalFile">
<i class="el-icon-folder-opened"></i>
{{ att.name }}
</a>
@ -253,11 +240,10 @@
</div>
</div>
</div>
<div v-else class="m-hint">
<img
src="@/assets/img/modules/visual/noData.png"
class="no-data-img"
/>
<div v-else
class="m-hint">
<img src="@/assets/img/modules/visual/noData.png"
class="no-data-img" />
</div>
</div>
</div>
@ -276,7 +262,7 @@ import analyse from "@/views/modules/visual/cpts/analyse";
import foldText from "@/views/components/foldText";
import dateFormat from "dai-js/tools/dateFormat";
function iniData() {
function iniData () {
return {
groupList: [
{ label: "研判分析" },
@ -434,7 +420,7 @@ export default {
computed: {},
watch: {
topicId() {
topicId () {
let data = iniData();
Object.keys(data).forEach((k) => {
this[k] = data[k];
@ -443,16 +429,16 @@ export default {
},
},
mounted() {
mounted () {
this.getApiData();
},
methods: {
watchImg(src) {
watchImg (src) {
window.open(src);
},
addStartGroupIndex() {
addStartGroupIndex () {
const { startGroupIndex, groupList } = this;
if (startGroupIndex < groupList.length - 9) {
this.startGroupIndex = startGroupIndex + 1;
@ -460,7 +446,7 @@ export default {
this.startGroupIndex = groupList.length - 9;
}
},
subStartGroupIndex() {
subStartGroupIndex () {
const { startGroupIndex, groupList } = this;
if (startGroupIndex > 0) {
this.startGroupIndex = startGroupIndex - 1;
@ -468,11 +454,11 @@ export default {
this.startGroupIndex = 0;
}
},
handleClose() {
handleClose () {
this.$emit("close");
},
async getApiData() {
async getApiData () {
this.getComment();
await this.getInfo();
await this.getIssueInfo();
@ -484,7 +470,7 @@ export default {
},
//
async getInfo() {
async getInfo () {
const url = "/resi/group/topic/gettopicdetail";
const { data, code, msg } = await requestPost(url, {
@ -499,7 +485,7 @@ export default {
},
//
async getComment() {
async getComment () {
const url = "/resi/group/comment/getcommentlistoftopic";
const { data, code, msg } = await requestPost(url, {
@ -526,7 +512,7 @@ export default {
}
},
checkTopicCommentImg(index) {
checkTopicCommentImg (index) {
const {
comment: { srcList },
} = this;
@ -536,7 +522,7 @@ export default {
},
//
async getIssueInfo() {
async getIssueInfo () {
const {
info: { issueId },
} = this;
@ -555,7 +541,7 @@ export default {
},
//
async getIssueTrend() {
async getIssueTrend () {
const {
info: { issueId },
} = this;
@ -592,7 +578,7 @@ export default {
},
//
async getProjectProcess() {
async getProjectProcess () {
const { issueInfo } = this;
if (!issueInfo || !issueInfo.projectId) return;
const url = "/gov/project/trace/processlist-v2";
@ -615,7 +601,7 @@ export default {
},
//
async getProjectInfo() {
async getProjectInfo () {
const { issueInfo } = this;
if (!issueInfo || !issueInfo.projectId) return;
const url = "/gov/project/trace/projectdetail";
@ -631,7 +617,7 @@ export default {
}
},
async getProjectCate() {
async getProjectCate () {
const { issueInfo } = this;
if (!issueInfo || !issueInfo.projectId) return;
const url = "/gov/project/projectcategory/categorytaglist";
@ -649,7 +635,7 @@ export default {
},
//
async getYanPan() {
async getYanPan () {
const url = "/gov/project/project/topic-research-analysis";
if (!this.issueInfo.projectId) return;
@ -685,13 +671,13 @@ export default {
}
},
toUserInfo(item) {
toUserInfo (item) {
this.$router.push({
path: `/main-shuju/visual-basicinfo-people/${item.icResiUserId}`,
});
},
toProjectInfo(item) {
toProjectInfo (item) {
console.log(item);
this.topicId = item.topicId;
},

3
src/views/modules/visual/communityGovern/cpt/project-info.vue

@ -173,7 +173,8 @@
<span>议题发起人</span>
<span>{{ issueInfo.issueInitiator }}</span>
</div>
<div class="info-prop">
<div v-if="issueInfo.topicInfo&&issueInfo.topicInfo.groupName"
class="info-prop">
<span>议题来源</span>
<span>{{ issueInfo.topicInfo.groupName }}</span>
</div>

70
src/views/modules/visual/heart/index.vue

@ -2,14 +2,12 @@
<div>
<div class="m-sizer">
<span>时间</span>
<el-date-picker
v-model="monthId"
type="month"
:clearable="false"
prefix-icon="el-icon-caret-bottom"
placeholder="选择日期"
value-format="yyyyMM"
>
<el-date-picker v-model="monthId"
type="month"
:clearable="false"
prefix-icon="el-icon-caret-bottom"
placeholder="选择日期"
value-format="yyyyMM">
</el-date-picker>
</div>
@ -22,13 +20,11 @@
</div>
<div class="tb">
<cpt-tb
:highlight-top3="true"
:col-list="tb3.colList"
:loading="tb3.loading"
:header="tb3.header"
:list="tb3.list"
></cpt-tb>
<cpt-tb :highlight-top3="true"
:col-list="tb3.colList"
:loading="tb3.loading"
:header="tb3.header"
:list="tb3.list"></cpt-tb>
</div>
</cpt-card>
</div>
@ -41,13 +37,11 @@
</div>
<div class="tb">
<cpt-tb
:highlight-top3="true"
:col-list="tb2.colList"
:loading="tb2.loading"
:header="tb2.header"
:list="tb2.list"
></cpt-tb>
<cpt-tb :highlight-top3="true"
:col-list="tb2.colList"
:loading="tb2.loading"
:header="tb2.header"
:list="tb2.list"></cpt-tb>
</div>
</cpt-card>
</div>
@ -60,13 +54,11 @@
</div>
<div class="tb">
<cpt-tb
:highlight-top3="true"
:col-list="tb1.colList"
:loading="tb1.loading"
:header="tb1.header"
:list="tb1.list"
></cpt-tb>
<cpt-tb :highlight-top3="true"
:col-list="tb1.colList"
:loading="tb1.loading"
:header="tb1.header"
:list="tb1.list"></cpt-tb>
</div>
</cpt-card>
</div>
@ -84,7 +76,7 @@ import dateFormat from "dai-js/tools/dateFormat";
export default {
name: "heart",
data() {
data () {
return {
agencyId: this.$store.state.user.agencyId,
areaCode: "",
@ -187,33 +179,33 @@ export default {
},
watch: {
monthId() {
monthId () {
this.getApiData();
},
},
async mounted() {
async mounted () {
this.userId = this.uid;
await nextTick(100);
this.getApiData();
},
methods: {
handleSearch() {},
handleSearch () { },
async getApiData() {
async getApiData () {
//await this.getAgencyInfo();
this.getTb1();
this.getTb2();
this.getTb3();
},
toUserInfo(uid) {
toUserInfo (uid) {
this.$router.push({ path: `/main-shuju/visual-basicinfo-people/${uid}` });
},
//
async getAgencyInfo() {
async getAgencyInfo () {
const { data, code, msg } = await requestPost(
"/data/report/screen/agency/agencydetail-multic",
{
@ -227,7 +219,7 @@ export default {
},
//
async getTb1() {
async getTb1 () {
const { agencyId, areaCode } = this;
const url = "/data/report/screen/index/advancedbranchrank";
let params = {
@ -252,7 +244,7 @@ export default {
},
//
async getTb2() {
async getTb2 () {
const { agencyId, areaCode } = this;
const url = "/data/report/screen/user/partypointrank";
let params = {
@ -282,7 +274,7 @@ export default {
},
//
async getTb3() {
async getTb3 () {
const { agencyId, areaCode } = this;
const url = "/data/report/screen/user/userpointrank/withoutpartymember";
let params = {

Loading…
Cancel
Save