flx:提交阳光工程

This commit is contained in:
X_Rian 2024-09-23 16:32:56 +08:00
parent 7aa3163258
commit e57b69ae29
14 changed files with 72 additions and 63 deletions

View File

@ -6,7 +6,7 @@ NODE_ENV = "production"
# VITE_API_URL = "http://139.9.66.234:6688"
# VITE_API_URL = "http://jxj.zhgdyun.com:6688"
# VITE_API_URL = 'http://jxj.zhgdyun.com:100'
VITE_API_URL = 'http://jxj.zhgdyun.com:33981'
# VITE_API_URL = 'http://jxj.zhgdyun.com:33981'
# 沈阳合盈线上
# VITE_API_URL = "http://101.43.164.214:45022"
# 嘉兴王江泾公用码头
@ -41,7 +41,7 @@ VITE_API_URL = 'http://jxj.zhgdyun.com:33981'
# 九柱集团
# VITE_API_URL = 'http://218.95.151.122:31004'
# 包头化工
# VITE_API_URL = 'http://jxj.zhgdyun.com:18000'
VITE_API_URL = 'http://jxj.zhgdyun.com:18000'
# 大连金笔
# VITE_API_URL = 'http://101.43.164.214:11126'
# 打包

View File

@ -0,0 +1,17 @@
// 党建引领接口API
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 分页列表查询阳光工程信息
export const getSunshineProjectPage = (params: {}) => {
return http.get(BASEURL + `/xmgl/sunshineProject/page`, params, {
headers: { noLoading: true }
});
};
// 通过id查询阳光工程信息
export const getSunshineProjectById = (params: {}) => {
return http.get(BASEURL + `/xmgl/sunshineProject/queryById`, params, {
headers: { noLoading: true }
});
};

View File

@ -20,16 +20,16 @@
import Card from "@/components/card.vue";
import { onMounted, ref } from "vue";
import { GlobalStore } from "@/stores";
import { getPartyBuildingGuidancePage } from "@/api/modules/guidancePartyBuilding";
import { getSunshineProjectPage } from "@/api/modules/sunshineProject";
const store = GlobalStore();
const memberCareList = ref({} as any);
//
const getMemberCareList = () => {
getPartyBuildingGuidancePage({
getSunshineProjectPage({
projectSn: store.sn,
pageNo: 1,
pageSize: 10,
type: 1
type: 8
}).then((res: any) => {
console.log("获取装置投用运行效果后评价公开", res);
if (res.success) {
@ -69,7 +69,7 @@ onMounted(() => {
.list-content {
width: 95%;
height: 100%;
margin: 0 2% 0 5%;
margin: 0 2% 0 2%;
.list-detail {
display: flex;

View File

@ -20,16 +20,16 @@
import Card from "@/components/card.vue";
import { onMounted, ref } from "vue";
import { GlobalStore } from "@/stores";
import { getPartyBuildingGuidancePage } from "@/api/modules/guidancePartyBuilding";
import { getSunshineProjectPage } from "@/api/modules/sunshineProject";
const store = GlobalStore();
const memberCareList = ref({} as any);
//
const getMemberCareList = () => {
getPartyBuildingGuidancePage({
getSunshineProjectPage({
projectSn: store.sn,
pageNo: 1,
pageSize: 10,
type: 1
type: 7
}).then((res: any) => {
console.log("获取重大合同及设计变更公开", res);
if (res.success) {

View File

@ -20,16 +20,16 @@
import Card from "@/components/card.vue";
import { onMounted, ref } from "vue";
import { GlobalStore } from "@/stores";
import { getPartyBuildingGuidancePage } from "@/api/modules/guidancePartyBuilding";
import { getSunshineProjectPage } from "@/api/modules/sunshineProject";
const store = GlobalStore();
const memberCareList = ref({} as any);
//
const getMemberCareList = () => {
getPartyBuildingGuidancePage({
getSunshineProjectPage({
projectSn: store.sn,
pageNo: 1,
pageSize: 10,
type: 1
type: 9
}).then((res: any) => {
console.log("获取各类检查", res);
if (res.success) {

View File

@ -6,13 +6,7 @@
<div class="main-article" v-if="articleNewList.length > 0">
<el-scrollbar class="left-content" v-infinite-scroll="loadChildren">
<div class="content-tab">
<div
class="tab-box"
:style="boxStyle(item)"
v-for="(item, index) in articleNewList"
:key="item.id"
@click="activeBtn(item, index)"
>
<div class="tab-box" :style="boxStyle(item)" v-for="item in articleNewList" :key="item.id" @click="activeBtn(item)">
<div class="text" :title="item.title" :style="getStyle(item)">{{ item.title || "" }}</div>
<div class="time">时间: {{ item.createDate || "" }}</div>
</div>
@ -39,7 +33,7 @@
import { ref, watch, onMounted, reactive } from "vue";
import firstIcon from "@/assets/images/smartPartyBuilding/contentBox.png";
import { GlobalStore } from "@/stores";
import { getPartyBuildingGuidancePage, getPartyBuildingGuidanceQueryById } from "@/api/modules/guidancePartyBuilding";
import { getSunshineProjectPage, getSunshineProjectById } from "@/api/modules/sunshineProject";
const store = GlobalStore();
let selectTitle = ref("" as any);
@ -126,7 +120,7 @@ watch(
);
const getArticleDetail = async () => {
const res: any = await getPartyBuildingGuidanceQueryById({ id: detailId.value });
const res: any = await getSunshineProjectById({ id: detailId.value });
console.log("获取详情数据", res);
if (res.success) {
detailData.value = res.result;
@ -152,7 +146,7 @@ const loadChildren = () => {
// 怀 type123怀
const getArticleList = async () => {
//
const res: any = await getPartyBuildingGuidancePage({
const res: any = await getSunshineProjectPage({
projectSn: store.sn,
type: props.currentListIndex,
title: selectTitle.value,

View File

@ -8,42 +8,42 @@
</div>
<div class="left-center">
<left-center></left-center>
<div class="show-more" @click="openPeopleCountDialog(1)">更多</div>
<div class="show-more" @click="openPeopleCountDialog(4)">更多</div>
</div>
</div>
<div class="topCenter">
<div class="center-top">
<topCenter></topCenter>
<div class="show-more" @click="openPeopleCountDialog(1)">更多</div>
<div class="show-more" @click="openPeopleCountDialog(2)">更多</div>
</div>
<div class="center-bottom">
<topBottomCenter></topBottomCenter>
<div class="show-more" @click="openPeopleCountDialog(1)">更多</div>
<div class="show-more" @click="openPeopleCountDialog(5)">更多</div>
</div>
</div>
<div class="topRight">
<div class="right-top">
<rightTop></rightTop>
<div class="show-more" @click="openPeopleCountDialog(1)">更多</div>
<div class="show-more" @click="openPeopleCountDialog(3)">更多</div>
</div>
<div class="right-center">
<rightCenter></rightCenter>
<div class="show-more" @click="openPeopleCountDialog(2)">更多</div>
<div class="show-more" @click="openPeopleCountDialog(6)">更多</div>
</div>
</div>
</div>
<div class="bottom">
<div class="bottomLeft">
<BottomLeft @open-dialog="openPeopleCountDialog"></BottomLeft>
<div class="show-more" @click="openPeopleCountDialog(9)">更多</div>
<div class="show-more" @click="openPeopleCountDialog(7)">更多</div>
</div>
<div class="bottomCenter">
<BottomCenter @open-dialog="openPeopleCountDialog"></BottomCenter>
<div class="show-more" @click="openPeopleCountDialog(4)">更多</div>
<div class="show-more" @click="openPeopleCountDialog(8)">更多</div>
</div>
<div class="bottomRight">
<BottomRight></BottomRight>
<div class="show-more" @click="openPeopleCountDialog(3)">更多</div>
<div class="show-more" @click="openPeopleCountDialog(9)">更多</div>
</div>
</div>
<party-build-dialog ref="partyBuildRef" @openCancelDialog="openCancelDialog"></party-build-dialog>
@ -63,7 +63,7 @@ import leftTop from "@/views/sevenLargeScreen/comprehensiveManage/sunshineProjec
import leftCenter from "@/views/sevenLargeScreen/comprehensiveManage/sunshineProject/leftCenter.vue";
import partyBuildDialog from "@/views/sevenLargeScreen/comprehensiveManage/sunshineProject/party-build-dialog.vue";
import { ref, reactive, onMounted, watch } from "vue";
import { ref } from "vue";
//
const partyBuildRef = ref();

View File

@ -23,16 +23,16 @@
import Card from "@/components/card.vue";
import { onMounted, ref } from "vue";
import { GlobalStore } from "@/stores";
import { getPartyBuildingGuidancePage } from "@/api/modules/guidancePartyBuilding";
import { getSunshineProjectPage } from "@/api/modules/sunshineProject";
const store = GlobalStore();
const memberCareList = ref({} as any);
//
const getMemberCareList = () => {
getPartyBuildingGuidancePage({
getSunshineProjectPage({
projectSn: store.sn,
pageNo: 1,
pageSize: 10,
type: 1
type: 4
}).then((res: any) => {
console.log("获取交工验收", res);
if (res.success) {

View File

@ -23,12 +23,12 @@
import Card from "@/components/card.vue";
import { onMounted, ref } from "vue";
import { GlobalStore } from "@/stores";
import { getPartyBuildingGuidancePage } from "@/api/modules/guidancePartyBuilding";
import { getSunshineProjectPage } from "@/api/modules/sunshineProject";
const store = GlobalStore();
const memberCareList = ref({} as any);
//
const getMemberCareList = async () => {
getPartyBuildingGuidancePage({
getSunshineProjectPage({
projectSn: store.sn,
pageNo: 1,
pageSize: 10,

View File

@ -27,7 +27,7 @@
import { ref, onMounted } from "vue";
// import partyMemberDemeanor from "@/views/sevenLargeScreen/comprehensiveManage/guidancePartyBuilding/party-member-demeanor.vue";
// import politicalOutlook from "@/views/sevenLargeScreen/comprehensiveManage/guidancePartyBuilding/political-outlook.vue";
import dialogArticle from "@/views/sevenLargeScreen/comprehensiveManage/guidancePartyBuilding/dialog-article.vue";
import dialogArticle from "@/views/sevenLargeScreen/comprehensiveManage/sunshineProject/dialog-article.vue";
// import { GlobalStore } from "@/stores";
let showDialog = ref(false as any);
const emits = defineEmits(["openCancelDialog"]);
@ -45,25 +45,23 @@ function openDialog(type: any) {
dialogIndex.value = type;
showDialog.value = true;
if (type === 1) {
dialogTitle.value = "宣传报道";
dialogTitle.value = "招标过程";
} else if (type === 2) {
dialogTitle.value = "专题活动";
dialogTitle.value = "资金使用公开";
} else if (type === 3) {
dialogTitle.value = "学习园地";
dialogTitle.value = "施工管理过程";
} else if (type === 4) {
dialogTitle.value = "党建共建活动纪实";
dialogTitle.value = "交工验收";
} else if (type === 5) {
dialogTitle.value = "党建共建方案";
dialogTitle.value = "非招标类物资 服务采购公开";
} else if (type === 6) {
dialogTitle.value = "党建共建协议";
dialogTitle.value = "征地管理";
} else if (type === 7) {
dialogTitle.value = "党建品牌";
dialogTitle.value = "重大合同及设计变更公开";
} else if (type === 8) {
dialogTitle.value = "党员示范岗";
dialogTitle.value = "装置投用运行效果后评价公开";
} else if (type === 9) {
dialogTitle.value = "模范先锋";
} else if (type === 10) {
dialogTitle.value = "联合党小组";
dialogTitle.value = "各类检查";
}
}

View File

@ -20,16 +20,16 @@
import Card from "@/components/card.vue";
import { onMounted, ref } from "vue";
import { GlobalStore } from "@/stores";
import { getPartyBuildingGuidancePage } from "@/api/modules/guidancePartyBuilding";
import { getSunshineProjectPage } from "@/api/modules/sunshineProject";
const store = GlobalStore();
const memberCareList = ref({} as any);
//
const getMemberCareList = () => {
getPartyBuildingGuidancePage({
getSunshineProjectPage({
projectSn: store.sn,
pageNo: 1,
pageSize: 10,
type: 1
type: 6
}).then((res: any) => {
console.log("获取征地管理", res);
if (res.success) {

View File

@ -20,16 +20,16 @@
import Card from "@/components/card.vue";
import { onMounted, ref } from "vue";
import { GlobalStore } from "@/stores";
import { getPartyBuildingGuidancePage } from "@/api/modules/guidancePartyBuilding";
import { getSunshineProjectPage } from "@/api/modules/sunshineProject";
const store = GlobalStore();
const memberCareList = ref({} as any);
//
const getMemberCareList = () => {
getPartyBuildingGuidancePage({
getSunshineProjectPage({
projectSn: store.sn,
pageNo: 1,
pageSize: 10,
type: 1
type: 3
}).then((res: any) => {
console.log("获取施工管理过程", res);
if (res.success) {

View File

@ -20,16 +20,16 @@
import Card from "@/components/card.vue";
import { onMounted, ref } from "vue";
import { GlobalStore } from "@/stores";
import { getPartyBuildingGuidancePage } from "@/api/modules/guidancePartyBuilding";
import { getSunshineProjectPage } from "@/api/modules/sunshineProject";
const store = GlobalStore();
const memberCareList = ref({} as any);
//
const getMemberCareList = () => {
getPartyBuildingGuidancePage({
getSunshineProjectPage({
projectSn: store.sn,
pageNo: 1,
pageSize: 10,
type: 1
type: 5
}).then((res: any) => {
console.log("获取非招标类物资 服务采购公开查", res);
if (res.success) {
@ -69,7 +69,7 @@ onMounted(() => {
.list-content {
width: 95%;
height: 100%;
margin: 0 2% 0 5%;
margin: 0 2% 0 2%;
.list-detail {
display: flex;

View File

@ -20,18 +20,18 @@
import Card from "@/components/card.vue";
import { onMounted, ref } from "vue";
import { GlobalStore } from "@/stores";
import { getPartyBuildingGuidancePage } from "@/api/modules/guidancePartyBuilding";
import { getSunshineProjectPage } from "@/api/modules/sunshineProject";
const store = GlobalStore();
const memberCareList = ref({} as any);
//
const getMemberCareList = () => {
getPartyBuildingGuidancePage({
getSunshineProjectPage({
projectSn: store.sn,
pageNo: 1,
pageSize: 10,
type: 1
type: 2
}).then((res: any) => {
console.log("获取各类检查", res);
console.log("获取资金使用公开", res);
if (res.success) {
memberCareList.value = res.result.records;
}
@ -69,7 +69,7 @@ onMounted(() => {
.list-content {
width: 95%;
height: 100%;
margin: 0 2% 0 5%;
margin: 0 2% 0 2%;
.list-detail {
display: flex;