Browse Source

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

shibei_master
jiangyy 3 years ago
parent
commit
50f33548e8
  1. 142
      src/assets/scss/modules/shequzhili/project-info.scss
  2. 373
      src/views/modules/shequzhili/xiangmu/cpts/project-info.vue
  3. 102
      src/views/modules/shequzhili/xiangmu/index.vue

142
src/assets/scss/modules/shequzhili/project-info.scss

@ -1,103 +1,48 @@
@import '../../c/config'; @import "../../c/config";
@import '../../c/function'; @import "../../c/function";
@import './c/common';
.m-pop { .g-page {
@include shield;
background-color: rgba(#000, 0.9);
overflow-y: auto;
.wrap {
position: relative;
margin: 120px auto;
width: 1020px;
.title {
padding: 10px;
font-size: 22px;
font-family: PingFang SC;
font-weight: 800;
color: #ffffff;
display: flex; display: flex;
align-items: center; .g-left {
box-sizing: border-box;
img { width: 65%;
display: block; padding: 5px 10px;
margin-right: 5px;
}
span {
display: block;
}
} }
.g-right {
.btn-close { box-sizing: border-box;
position: absolute; width: 35%;
top: -15px; padding: 5px 10px;
right: -15px;
cursor: pointer;
} }
}
.line { .m-card {
margin: 20px auto; overflow-x: auto;
width: 900px; }
height: 1px;
border: 1px dashed #1257c9;
}
.tabs { .m-fm{
margin-top: 30px;
display: flex;
align-items: center;
padding-left: 20px;
padding-left: 58px;
.tab-btn { }
width: 30px;
text-align: center;
cursor: pointer;
}
.tab { .m-btns {
margin: 0 5px; display: flex;
min-width: 76px; justify-content: center;
padding: 0 5px;
height: 30px;
background: rgba(255, 255, 255, 0);
border: 1px solid #1257c9;
box-shadow: 0 0 10px 0 inset #1257c9;
border-radius: 2px;
text-align: center;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
color: #ffffff;
line-height: 30px;
cursor: pointer;
transition: all ease 0.5s;
&.z-on {
background: linear-gradient(90deg, #1a5afd, #009cff);
box-shadow: none;
}
}
}
}
} }
.m-info { .m-info {
padding-left: 62px; padding-left: 10px;
font-size: 14px; font-size: 14px;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #ffffff; color: #333;
line-height: 24px; line-height: 24px;
width: 500px; // width: 500px;
.info-title { .info-title {
margin-top: 30px; margin-top: 30px;
font-size: 20px; font-size: 20px;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: bold; font-weight: bold;
color: #ffffff; color: #333;
line-height: 30px; line-height: 30px;
} }
.info-content { .info-content {
@ -129,11 +74,11 @@
> span, > span,
> div { > div {
display: block; display: block;
max-width: 300px; // max-width: 300px;
} }
&::before { &::before {
content: ''; content: "";
display: block; display: block;
position: absolute; position: absolute;
top: 9px; top: 9px;
@ -148,7 +93,6 @@
} }
.m-case { .m-case {
@include scrollBar;
height: 600px; height: 600px;
padding: 20px 0 20px 0; padding: 20px 0 20px 0;
overflow-y: auto; overflow-y: auto;
@ -159,12 +103,6 @@
justify-content: space-between; justify-content: space-between;
} }
.m-yanpan {
padding-left: 62px;
padding-right: 0;
min-height: 300px;
}
.m-hint { .m-hint {
position: relative; position: relative;
height: 300px; height: 300px;
@ -194,13 +132,13 @@
font-size: 17px; font-size: 17px;
font-family: Source Han Serif SC; font-family: Source Han Serif SC;
font-weight: 500; font-weight: 500;
color: rgba(#fff, 0.5); color: rgba(#000, 0.5);
line-height: 24px; line-height: 24px;
&.z-weak { &.z-weak {
font-size: 12px; font-size: 12px;
font-family: Source Han Serif SC; font-family: Source Han Serif SC;
font-weight: 500; font-weight: 500;
color: rgba(#fff, 0.5); color: rgba(#000, 0.5);
line-height: 24px; line-height: 24px;
} }
} }
@ -240,7 +178,9 @@
} }
.m-process { .m-process {
width: 400px; margin-top: 30px;
margin-left: 15px;
// min-width: 400px;
.process-title { .process-title {
margin-bottom: 25px; margin-bottom: 25px;
@ -248,7 +188,7 @@
font-size: 16px; font-size: 16px;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: bold; font-weight: bold;
color: #ffffff; color: #333;
line-height: 18px; line-height: 18px;
} }
@ -263,7 +203,7 @@
padding-right: 10px; padding-right: 10px;
&::before { &::before {
content: ''; content: "";
position: absolute; position: absolute;
z-index: 1; z-index: 1;
display: block; display: block;
@ -271,7 +211,7 @@
left: -2px/2; left: -2px/2;
width: 5px/2; width: 5px/2;
height: 20px/2; height: 20px/2;
background-color: #ffffff; background-color: #333;
} }
.item { .item {
@ -282,13 +222,13 @@
font-size: 16px; font-size: 16px;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #fefefe; color: #333;
line-height: 24px; line-height: 24px;
padding-left: 20px; padding-left: 20px;
padding-top: 1px; padding-top: 1px;
&::before { &::before {
content: ''; content: "";
display: block; display: block;
position: absolute; position: absolute;
top: -5px; top: -5px;
@ -325,7 +265,7 @@
font-size: 12px; font-size: 12px;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #fefefe; color: #fff;
line-height: 22px; line-height: 22px;
height: 22px; height: 22px;
border-radius: 10px 0 10px 0; border-radius: 10px 0 10px 0;
@ -344,18 +284,18 @@
.detail { .detail {
@include cs; @include cs;
font-size: 16px; font-size: 14px;
line-height: 20px; line-height: 20px;
margin-bottom: 5px; margin-bottom: 5px;
display: flex; display: flex;
.detail-field { .detail-field {
width: 22%; width: 80px;
text-align: justify; text-align: justify;
text-align-last: justify; text-align-last: justify;
} }
.detail-value { .detail-value {
width: 78%; // width: 78%;
.detail-link { .detail-link {
display: inline; display: inline;
} }
@ -371,7 +311,7 @@
font-size: 14px; font-size: 14px;
i { i {
color: #fff; color: #333;
} }
} }
} }

373
src/views/modules/shequzhili/xiangmu/cpts/project-info.vue

@ -1,16 +1,10 @@
<template> <template>
<div class="m-pop"> <div class="">
<div class="wrap"> <div class="g-page" v-show="pageType == 'info'">
<cpt-card> <div class="g-left">
<div class="title"> <el-card>
<img src="@/assets/img/shuju/title-tip.png" /> <h3>项目详情</h3>
<span>项目详情</span>
</div>
<div class="btn-close" @click="handleClose">
<img src="@/assets/img/shuju/people/close.png" />
</div>
<div class="m-top">
<div class="m-info"> <div class="m-info">
<div class="info-prop"> <div class="info-prop">
<span>项目标题</span> <span>项目标题</span>
@ -34,7 +28,7 @@
</div> </div>
<div class="info-prop" v-if="projectCate.length > 0"> <div class="info-prop" v-if="projectCate.length > 0">
<span>分类</span> <span>分类</span>
<fold-text :row="3"> <fold-text style="width: 300px" :row="3">
<div :key="item.name" v-for="item in projectCate"> <div :key="item.name" v-for="item in projectCate">
{{ item.name }} {{ item.name }}
</div> </div>
@ -42,7 +36,7 @@
</div> </div>
<div class="info-prop" v-if="projectTag.length > 0"> <div class="info-prop" v-if="projectTag.length > 0">
<span>标签</span> <span>标签</span>
<fold-text :row="3"> <fold-text style="width: 300px" :row="3">
<div :key="item.name" v-for="item in projectTag"> <div :key="item.name" v-for="item in projectTag">
{{ item.name }} {{ item.name }}
</div> </div>
@ -50,8 +44,49 @@
</div> </div>
</div> </div>
<div class="m-process" v-if="projectProcess.length > 0"> <div class="m-btns" v-if="type == 'info'">
<div class="process-title">处理进展</div> <el-button size="" style="margin-right: 50px" @click="handleClose"
>关闭</el-button
>
<el-button size="" type="danger" @click="handleClose"
>确定</el-button
>
</div>
</el-card>
<el-card v-if="type == 'edit'">
<h3>处理</h3>
<div class="m-fm">
<el-form
:inline="true"
:model="fmData"
:rules="dataRule"
label-position="left"
label-width="100px"
>
<el-form-item label="处理:" prop="operateType">
<el-radio-group v-model="fmData.operateType">
<el-radio :label="3">处理/响应</el-radio>
<el-radio :label="6">结案</el-radio>
<el-radio :label="9">转其他机关/科室</el-radio>
<el-radio :label="9">退回</el-radio>
</el-radio-group>
</el-form-item>
</el-form>
</div>
<div class="m-btns">
<el-button size="" style="margin-right: 50px" @click="handleClose"
>关闭</el-button
>
<el-button size="" type="danger" @click="handleClose"
>确定</el-button
>
</div>
</el-card>
</div>
<div class="g-right">
<el-card class="m-card" v-if="projectProcess.length > 0">
<h3>处理进展</h3>
<div class="m-process">
<div class="list"> <div class="list">
<div <div
class="item" class="item"
@ -106,64 +141,12 @@
</div> </div>
</div> </div>
</div> </div>
</div> </el-card>
<div v-if="projectInfo.origin !== 'agency'" class="tabs">
<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"
>
{{ item.label }}
</div>
<div
class="tab-btn"
@click="addStartGroupIndex"
v-if="groupList.length > 9"
>
<img src="@/assets/img/shuju/people/arrow-double-right.png" />
</div> </div>
</div> </div>
<div class="m-case" v-if="projectInfo.origin !== 'agency'"> <div class="g-page" v-show="pageType == 'issue-info'">
<div class="m-yanpan" v-if="groupIndex == 0"> <div class="g-left">
<div v-if="projectId || true">
<screen-loading v-if="!yanPan.loading">加载中</screen-loading>
<analyse
v-else-if="yanPan.singleTitle"
:singleTitle="yanPan.singleTitle"
:moreTitle="yanPan.moreTitle"
:userList="yanPan.homeUserList"
:userName="yanPan.icUserName"
:singleList="yanPan.singleList"
:hasEvent="yanPan.hasEvent"
:moreList="yanPan.moreList"
@user="toUserInfo"
@project="toProjectInfo"
/>
<div v-else class="m-hint">
<img
src="@/assets/img/modules/visual/noData.png"
class="no-data-img"
/>
</div>
</div>
</div>
<div v-if="groupIndex == 1">
<div
class="m-row"
v-if="projectInfo.originId && projectInfo.origin !== 'work_event'"
>
<div v-if="projectInfo.origin === 'issue'" class="m-info"> <div v-if="projectInfo.origin === 'issue'" class="m-info">
<div class="info-prop"> <div class="info-prop">
<span>议题标题</span> <span>议题标题</span>
@ -193,95 +176,25 @@
<span>{{ issueInfo.shiftIssueTime }}</span> <span>{{ issueInfo.shiftIssueTime }}</span>
</div> </div>
</div> </div>
<div v-if="projectInfo.origin === 'resi_event'" class="m-info">
<div class="info-title">事件内容</div>
<div class="info-content">{{ info.eventContent }}</div>
<div class="info-pics">
<img
:src="src"
:key="src"
v-for="src in info.eventImgs"
@click="watchImg(src)"
/>
</div>
<div class="info-prop">
<span class="info-title-2">提交时间</span>
<span>{{ info.eventTime }}</span>
</div>
<div class="info-prop">
<span class="info-title-2">报事人</span>
<span>{{ info.eventPeopleName }}</span>
</div>
<div class="info-prop">
<span class="info-title-2">所属网格</span>
<span>{{ info.gridName }}</span>
</div>
<div class="info-prop">
<span class="info-title-2">提报给</span>
<div>
<div>{{ info.eventPersonShow }}</div>
<div>{{ info.eventOrgShow }}</div>
</div>
<!-- <span>{{ info.eventPerson.join("、") || "--" }}</span> -->
</div>
</div>
<div v-if="projectInfo.origin === 'issue'" class="m-line">
<div class="stat">
<div class="stat-item">
<div>
{{ issueTrend.realityVoteCount }}/{{
issueTrend.shouldVoteCount
}}
</div>
<div class="z-weak">已表决/应表决</div>
</div> </div>
<div class="stat-item">
<div>{{ issueTrend.supportAmount }}</div>
<div class="z-weak">支持</div>
</div>
<div class="stat-item">
<div>{{ issueTrend.oppositionAmount }}</div>
<div class="z-weak">反对</div>
</div>
</div>
<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>
</div>
</div>
</cpt-card>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import cptCard from "@/views/modules/visual/cpts/card";
import screenLoading from "@/views/modules/visual/cpts/loading";
import { requestPost } from "@/js/dai/request"; import { requestPost } from "@/js/dai/request";
import cptTb from "@/views/modules/visual/cpts/tb";
import lineChart from "@/views/modules/visual/cpts/line-chart";
import analyse from "@/views/modules/visual/cpts/analyse";
import foldText from "@/views/components/foldText"; import foldText from "@/views/components/foldText";
import dateFormat from "dai-js/tools/dateFormat"; import dateFormat from "dai-js/tools/dateFormat";
function iniData() { function iniData() {
return { return {
pageType: "info",
projectIdCopy: this.projectId, projectIdCopy: this.projectId,
groupList: [{ label: "研判分析" }, { label: "项目来源" }],
groupIndex: 0, fmData: {
startGroupIndex: 0, operateType: "",
},
projectProcess: [], projectProcess: [],
@ -346,66 +259,37 @@ function iniData() {
projectCate: [], projectCate: [],
projectTag: [], projectTag: [],
yanPan: {
loading: false,
icResiUserId: "",
houseId: "",
icUserName: "",
homeUserList: [
// {
// homeId: '',
// icUserId: '',
// icUserName: '',
// }
],
projectData: [
// {
// firstCategoryCode: '',
// firstCategoryName: '',
// projectList: [],
// }
],
hasEvent: false,
singleTitle: "",
moreTitle: "",
singleList: [], //
moreList: [], //
},
}; };
} }
export default { export default {
name: "demandInfo", name: "projectInfo",
props: { props: {
projectId: { projectId: {
type: String, type: String,
default: "", default: "64502a8f1048a7240295527a9b32e513",
}, },
userId: { type: {
type: String, type: String,
default: "", default: "info",
},
categoryCodes: {
type: Array,
default: [],
}, },
}, },
components: { components: {
cptCard,
cptTb,
analyse,
screenLoading,
lineChart,
foldText, foldText,
}, },
data: iniData, data: iniData,
computed: {}, computed: {
dataRule() {
return {
operateType: [
{ required: true, message: "处理方式不能为空", trigger: "blur" },
],
};
},
},
watch: { watch: {
projectId() { projectId() {
@ -430,22 +314,6 @@ export default {
window.open(src); window.open(src);
}, },
addStartGroupIndex() {
const { startGroupIndex, groupList } = this;
if (startGroupIndex < groupList.length - 9) {
this.startGroupIndex = startGroupIndex + 1;
} else {
this.startGroupIndex = groupList.length - 9;
}
},
subStartGroupIndex() {
const { startGroupIndex, groupList } = this;
if (startGroupIndex > 0) {
this.startGroupIndex = startGroupIndex - 1;
} else {
this.startGroupIndex = 0;
}
},
handleClose() { handleClose() {
this.$emit("close"); this.$emit("close");
}, },
@ -460,9 +328,6 @@ export default {
} else if (this.projectInfo.origin === "resi_event") { } else if (this.projectInfo.origin === "resi_event") {
this.getEventInfo(); this.getEventInfo();
} }
if (this.projectInfo.origin !== "agency") {
await this.getYanPan();
}
}, },
// //
@ -585,98 +450,6 @@ export default {
} }
}, },
//
async getYanPan() {
const url = "/data/aggregator/project/projectanalysis";
if (!this.userId) return (this.yanPan.loading = true);
const { data, code, msg } = await requestPost(url, {
categoryCodeList: this.categoryCodes,
userId: this.userId,
projectId: this.projectIdCopy,
});
if (code === 0) {
data.icResiUserId = data.icUserId;
data.homeUserList.forEach((item) => {
item.icResiUserId = item.icUserId;
});
let array1 = [];
let array2 = [];
//
if (
data.groupProjectList &&
data.groupProjectList.length > 0 &&
data.eventProjectList &&
data.eventProjectList.length > 0
) {
this.yanPan.hasEvent = true;
this.yanPan.singleTitle = "楼院小组";
this.yanPan.moreTitle = "事件上报";
array1 = [...data.groupProjectList];
array2 = [...data.eventProjectList];
} else {
this.yanPan.hasEvent = false;
if (data.groupProjectList && data.groupProjectList.length > 0) {
array1 = [...data.groupProjectList];
this.yanPan.singleTitle = "楼院小组";
} else if (
data.eventProjectList &&
data.eventProjectList.length > 0
) {
array1 = [...data.eventProjectList];
this.yanPan.singleTitle = "事件上报";
} else {
array1 = [];
}
}
if (array1.length > 0) {
data.singleList = array1.map((item) => {
return {
categoryCode: item.categoryCode,
categoryName: item.categoryName,
showItem: true,
projectList: item.projectList.map((subItem) => {
return {
title: subItem.title,
status: subItem.status,
statusName: subItem.status == "pending" ? "待处理" : "结案",
projectId: subItem.projectId,
};
}),
};
});
}
if (array2.length > 0) {
data.moreList = array2.map((item) => {
return {
categoryCode: item.categoryCode,
categoryName: item.categoryName,
showItem: true,
projectList: item.projectList.map((subItem) => {
return {
title: subItem.title,
status: subItem.status,
statusName: subItem.status == "pending" ? "待处理" : "结案",
projectId: subItem.projectId,
};
}),
};
});
}
this.yanPan = { ...this.yanPan, ...data };
console.log(this.yanPan);
this.yanPan.loading = true;
} else {
this.$message.error(msg);
}
},
toUserInfo(item) { toUserInfo(item) {
this.$router.push({ this.$router.push({
path: `/main-shuju/visual-basicinfo-people/${item.icResiUserId}`, path: `/main-shuju/visual-basicinfo-people/${item.icResiUserId}`,
@ -698,6 +471,6 @@ export default {
<style <style
lang="scss" lang="scss"
src="@/assets/scss/modules/visual/incident-info.scss" src="@/assets/scss/modules/shequzhili/project-info.scss"
scoped scoped
></style> ></style>

102
src/views/modules/shequzhili/xiangmu/index.vue

@ -10,9 +10,9 @@
class="demo-form-inline" class="demo-form-inline"
> >
<div> <div>
<el-form-item label="项目标题" prop="titleTemp"> <el-form-item label="项目标题" prop="title">
<el-input <el-input
v-model="fmData.titleTemp" v-model="fmData.title"
class="resi-cell-input" class="resi-cell-input"
size="small" size="small"
clearable clearable
@ -21,9 +21,9 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="转项目时间" prop="birthdayTime"> <el-form-item label="转项目时间" prop="date">
<el-date-picker <el-date-picker
v-model="fmData.birthdayTime" v-model="fmData.date"
type="daterange" type="daterange"
range-separator="至" range-separator="至"
start-placeholder="开始日期" start-placeholder="开始日期"
@ -33,9 +33,9 @@
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="状态" prop="remark"> <el-form-item label="状态" prop="status">
<el-select <el-select
v-model.trim="fmData.statusTemp" v-model.trim="fmData.status"
placeholder="请选择" placeholder="请选择"
size="small" size="small"
clearable clearable
@ -128,15 +128,6 @@
align="center" align="center"
width="50" width="50"
/> />
<el-table-column prop="name" fixed="left" label="姓名" align="center">
<template slot-scope="scope">
<a class="name-a" @click="handleWatch(scope.$index)">
{{ scope.row.name }}
</a>
</template>
</el-table-column>
<el-table-column <el-table-column
prop="gridName" prop="gridName"
align="center" align="center"
@ -146,80 +137,50 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="home" prop="title"
label="所属房屋" label="项目标题"
align="center" align="center"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="mobile" prop="shiftProjectTime"
width="100" width="100"
align="center" align="center"
label="手机号" label="转项目时间"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="idCard" prop="projectScheme"
align="center" align="center"
label="身份证号" label="项目方案"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
> >
</el-table-column> </el-table-column>
<el-table-column prop="gender" align="center" label="性别">
</el-table-column>
<el-table-column <el-table-column
prop="birthday" prop="internalRemark"
align="center" align="center"
label="出生日期" label="内部备注"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="birthplace" prop="departmentNameList"
align="center" align="center"
label="出生地" label="当前处理部门 "
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="parentName" prop="detentionDays"
align="center" align="center"
label="出生人父/母姓名" label="滞留工作日 "
:show-overflow-tooltip="true"
>
</el-table-column>
<el-table-column prop="count" align="center" label="胎次">
</el-table-column>
<el-table-column
prop="reportDate"
align="center"
label="申报户口日期"
:show-overflow-tooltip="true"
>
</el-table-column>
<el-table-column
prop="householderName"
align="center"
label="户主姓名"
:show-overflow-tooltip="true"
>
</el-table-column>
<el-table-column
prop="householderRelation"
align="center"
label="与户主关系"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
> >
</el-table-column> </el-table-column>
@ -232,18 +193,20 @@
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
@click="handleWatch(scope.$index)" v-if="scope.status == 'pending'"
@click="handleEdit(scope.$index)"
type="text" type="text"
size="small" size="small"
>查看</el-button class="div-table-button--edit"
>处理</el-button
> >
<el-button <el-button
@click="handleEdit(scope.$index)" v-else
@click="handleWatch(scope.$index)"
type="text" type="text"
size="small" size="small"
class="div-table-button--edit" >查看</el-button
>处理</el-button
> >
<el-popconfirm <el-popconfirm
@ -285,8 +248,8 @@
ref="eleEditForm" ref="eleEditForm"
:type="pageType" :type="pageType"
:projectId="currentProject.projectId" :projectId="currentProject.projectId"
@dialogCancle="handleClose" @close="handleClose"
@dialogOk="handleEditSuccess" @afterEdit="handleEditSuccess"
/> />
</div> </div>
</div> </div>
@ -326,9 +289,9 @@ export default {
fmData: { fmData: {
title: "", title: "",
status: "", status: "",
birthdayStart: "", startDate: "",
birthdayEnd: "", endDate: "",
birthdayTime: ["", ""], date: ["", ""],
}, },
importBtnTitle: "导入", importBtnTitle: "导入",
@ -350,7 +313,7 @@ export default {
...mapGetters(["clientHeight", "iframeHeight"]), ...mapGetters(["clientHeight", "iframeHeight"]),
}, },
watch: { watch: {
"fmData.birthdayTime": function (val) { "fmData.date": function (val) {
if (Array.isArray(val) && val.length == 2) { if (Array.isArray(val) && val.length == 2) {
this.fmData.birthdayStart = val[0]; this.fmData.birthdayStart = val[0];
this.fmData.birthdayEnd = val[1]; this.fmData.birthdayEnd = val[1];
@ -589,7 +552,8 @@ export default {
}, },
async getTableData() { async getTableData() {
const url = "/epmetuser/icBirthRecord/page"; // const url = "/epmetuser/icBirthRecord/page";
const url = "/gov/project/project/project-list";
const { pageSize, pageNo, fmData } = this; const { pageSize, pageNo, fmData } = this;
const { data, code, msg } = await requestPost(url, { const { data, code, msg } = await requestPost(url, {
pageSize, pageSize,

Loading…
Cancel
Save