Browse Source

修改

dev_kxc
xzt 1 year ago
parent
commit
245c9bacf5
  1. 8
      jwtech-admin-page/src/api/projectStatistics/statistics/fwzbcb.js
  2. 10
      jwtech-admin-page/src/api/projectStatistics/statistics/jszbcb.js
  3. 8
      jwtech-admin-page/src/api/projectStatistics/statistics/zhzbcb.js
  4. 10
      jwtech-admin-page/src/views/building/projectInfo/projectProcess/preparationForConstruction.vue
  5. 17
      jwtech-admin-page/src/views/building/projectInfo/projectProcess/qualityControl/options/engineeringQualityInspection.vue
  6. 41
      jwtech-admin-page/src/views/building/projectInfo/projectProcess/qualityControl/options/itemDivision/components/segmentProject.vue
  7. 46
      jwtech-admin-page/src/views/evaluationEarlyWarning/earlyWarningManage/warning/options/warnMsg/index.vue
  8. 86
      jwtech-admin-page/src/views/marketSupervision/comprehensiveInfo/index.vue
  9. 12
      jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/index.vue
  10. 12
      jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/options/basePage.vue
  11. 542
      jwtech-admin-page/src/views/projectStatistics/indexSubmission/comprehensiveStatistics.vue
  12. 577
      jwtech-admin-page/src/views/projectStatistics/indexSubmission/constructionInvestment.vue
  13. 6
      jwtech-admin-page/src/views/projectStatistics/indexSubmission/index.vue
  14. 543
      jwtech-admin-page/src/views/projectStatistics/indexSubmission/serviceIndustry.vue
  15. 3
      jwtech-admin-page/src/views/projectStatistics/projectProcess/index.vue
  16. 4
      jwtech-admin-page/src/views/projectStatistics/projectStatisticsInvest/index.vue
  17. 4
      jwtech-admin-page/src/views/projectStatistics/projectStatisticsMsg/index.vue
  18. 4
      jwtech-admin-page/src/views/projectStatistics/projectStatisticsProgress/index.vue

8
jwtech-admin-page/src/api/projectStatistics/statistics/fwzbcb.js

@ -1,5 +1,13 @@
import request from '@/utils/request' import request from '@/utils/request'
// 修改多条服务业指标
export function updateBatch(query) {
return request({
url: '/statistics/fwzbcb/updateBatch',
method: 'put',
data: query
})
}
// 查询服务业指标从列表 // 查询服务业指标从列表
export function listFwzbcb(query) { export function listFwzbcb(query) {
return request({ return request({

10
jwtech-admin-page/src/api/projectStatistics/statistics/jszbcb.js

@ -1,5 +1,15 @@
import request from '@/utils/request' import request from '@/utils/request'
// 修改多条建设指标
export function updateBatch(query) {
return request({
url: '/statistics/jszbcb/updateBatch',
method: 'put',
data: query
})
}
// 查询建设指标从列表 // 查询建设指标从列表
export function listJszbcb(query) { export function listJszbcb(query) {
return request({ return request({

8
jwtech-admin-page/src/api/projectStatistics/statistics/zhzbcb.js

@ -1,5 +1,13 @@
import request from '@/utils/request' import request from '@/utils/request'
// 修改多条综合指标
export function updateBatch(query) {
return request({
url: '/statistics/zhzbcb/updateBatch',
method: 'put',
data: query
})
}
// 查询综合指标从列表 // 查询综合指标从列表
export function listZhzbcb(query) { export function listZhzbcb(query) {
return request({ return request({

10
jwtech-admin-page/src/views/building/projectInfo/projectProcess/preparationForConstruction.vue

@ -612,19 +612,19 @@ export default {
// //
rules: { rules: {
approvalOpinion1: [ approvalOpinion1: [
{ max: 65500, message: "字符长度最大为65500", trigger: "blur" }, { max: 500, message: "字符长度最大为500", trigger: "blur" },
], ],
approvalOpinion2: [ approvalOpinion2: [
{ max: 65500, message: "字符长度最大为65500", trigger: "blur" }, { max: 500, message: "字符长度最大为500", trigger: "blur" },
], ],
approvalOpinion3: [ approvalOpinion3: [
{ max: 65500, message: "字符长度最大为65500", trigger: "blur" }, { max: 500, message: "字符长度最大为500", trigger: "blur" },
], ],
approvalOpinion4: [ approvalOpinion4: [
{ max: 65500, message: "字符长度最大为65500", trigger: "blur" }, { max: 500, message: "字符长度最大为500", trigger: "blur" },
], ],
approvalOpinion5: [ approvalOpinion5: [
{ max: 65500, message: "字符长度最大为65500", trigger: "blur" }, { max: 500, message: "字符长度最大为500", trigger: "blur" },
], ],
}, },
// //

17
jwtech-admin-page/src/views/building/projectInfo/projectProcess/qualityControl/options/engineeringQualityInspection.vue

@ -11,10 +11,11 @@
clearable clearable
size="small" size="small"
style="width: 100%" style="width: 100%"
v-model="queryParams.applyTime" v-model="queryParams.data.applyTime"
type="date" type="date"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
placeholder="选择申请时间" placeholder="选择申请时间"
@change="handleQuery"
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
@ -36,7 +37,7 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="申请状态" prop="applyStatus"> <!-- <el-form-item label="申请状态" prop="applyStatus">
<el-select <el-select
v-model="queryParams.data.applyStatus" v-model="queryParams.data.applyStatus"
placeholder="请选择申请状态" placeholder="请选择申请状态"
@ -45,7 +46,7 @@
> >
<el-option label="请选择字典生成" value="" /> <el-option label="请选择字典生成" value="" />
</el-select> </el-select>
</el-form-item> </el-form-item> -->
<el-form-item> <el-form-item>
<!-- <el-button <!-- <el-button
@ -104,6 +105,7 @@
v-loading="loading" v-loading="loading"
:data="supervisionList" :data="supervisionList"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
tooltip-effect="dark myTooltips"
> >
<el-table-column type="selection" width="55" align="center" fixed /> <el-table-column type="selection" width="55" align="center" fixed />
<el-table-column <el-table-column
@ -146,6 +148,7 @@
label="质监内容" label="质监内容"
align="center" align="center"
prop="supervisionResult" prop="supervisionResult"
show-overflow-tooltip
min-width="120" min-width="120"
/> />
<el-table-column <el-table-column
@ -1016,7 +1019,7 @@ export default {
// //
downloadFile(scope, index) { downloadFile(scope, index) {
console.log(scope); console.log(scope);
let file = JSON.parse(scope.row.contractFile)[index]; let file = JSON.parse(scope.row.reportAttachment)[index];
this.handlePreview(file); this.handlePreview(file);
}, },
// , // ,
@ -1054,6 +1057,12 @@ export default {
}, },
}; };
</script> </script>
<style lang="scss">
.myTooltips {
max-width: 60vw;
}
</style>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "@/assets/css/dialog.scss"; @import "@/assets/css/dialog.scss";
::v-deep { ::v-deep {

41
jwtech-admin-page/src/views/building/projectInfo/projectProcess/qualityControl/options/itemDivision/components/segmentProject.vue

@ -1,10 +1,6 @@
<template> <template>
<div style="padding-bottom: 20px"> <div style="padding-bottom: 20px">
<div class="formBox"> <div class="formBox">
<div class="dialog-footer">
<el-button @click="submitForm"> </el-button>
</div>
<el-form ref="form" :model="form" :rules="rules" label-width="180px"> <el-form ref="form" :model="form" :rules="rules" label-width="180px">
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
@ -68,7 +64,7 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="24">
<el-form-item label="单元工程数量(个)" prop="unitNumber"> <el-form-item label="单元工程数量(个)" prop="unitNumber">
<el-input <el-input
v-model="form.unitNumber" v-model="form.unitNumber"
@ -76,7 +72,7 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" style="height: 51px"> <!-- <el-col :span="12" style="height: 51px">
<div <div
style=" style="
height: 46px; height: 46px;
@ -89,58 +85,47 @@
>新增重要单元</el-button >新增重要单元</el-button
> >
</div> </div>
</el-col> </el-col> -->
</el-row> </el-row>
<!-- 表格头 --> <!-- 表格头 -->
<el-row> <!-- <el-row>
<el-col :span="8"> <el-col :span="8">
<div class="tableTitle">单元工程名称</div> <div class="tableTitle">单元工程名称</div>
<!-- <el-form-item label="单元工程名称" label=> -->
<!-- <el-input placeholder="请输入单元工程名称" /> -->
<!-- </el-form-item> -->
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<div class="tableTitle">单元工程编号</div> <div class="tableTitle">单元工程编号</div>
<!-- <el-form-item label="单元工程编号">
<el-input placeholder="请输入单元工程编号" />
</el-form-item> -->
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<div class="tableTitle">位置</div> <div class="tableTitle">位置</div>
<!-- <el-form-item label="位置">
<el-input placeholder="请输入位置" />
</el-form-item> -->
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<div class="tableTitle">操作</div> <div class="tableTitle">操作</div>
<!-- <el-form-item label="操作"> 4 </el-form-item> -->
</el-col> </el-col>
</el-row> </el-row> -->
<!-- 列表项 --> <!-- 列表项 -->
<el-row> <!-- <el-row>
<el-col :span="8"> <el-col :span="8">
<!-- <el-form-item label="单元工程名称"> -->
<el-input v-model="value" placeholder="请输入单元工程名称" /> <el-input v-model="value" placeholder="请输入单元工程名称" />
<!-- </el-form-item> -->
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<!-- <el-form-item label="单元工程编号"> -->
<el-input v-model="value" placeholder="请输入单元工程编号" /> <el-input v-model="value" placeholder="请输入单元工程编号" />
<!-- </el-form-item> -->
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<!-- <el-form-item label="位置"> -->
<el-input v-model="value" placeholder="请输入位置" /> <el-input v-model="value" placeholder="请输入位置" />
<!-- </el-form-item> -->
</el-col> </el-col>
<el-col :span="4" style="text-align: center"> <el-col :span="4" style="text-align: center">
<el-button type="primary" plain>删除</el-button> <el-button type="primary" plain>删除</el-button>
</el-col> </el-col>
</el-row> </el-row> -->
<!-- <el-form-item label="单位id" prop="unitId"> <!-- <el-form-item label="单位id" prop="unitId">
<el-input v-model="form.unitId" placeholder="请输入单位id" /> <el-input v-model="form.unitId" placeholder="请输入单位id" />
</el-form-item> --> </el-form-item> -->
</el-form> </el-form>
<div class="dialog-footer">
<el-button @click="submitForm"> </el-button>
</div>
</div> </div>
<div class="listTitle" style="margin-top: 0"> <div class="listTitle" style="margin-top: 0">
@ -603,7 +588,7 @@ export default {
padding: 10px; padding: 10px;
.dialog-footer { .dialog-footer {
display: flex; display: flex;
justify-content: right; justify-content: center;
margin-bottom: 5px; margin-bottom: 5px;
} }
::v-deep { ::v-deep {

46
jwtech-admin-page/src/views/evaluationEarlyWarning/earlyWarningManage/warning/options/warnMsg/index.vue

@ -92,8 +92,9 @@
:visible.sync="open" :visible.sync="open"
direction="btt" direction="btt"
:before-close="handleClose" :before-close="handleClose"
:wrapperClosable="false"
> >
<div class="baseForm"> <!-- <div class="baseForm">
<el-row class="hang"> <el-row class="hang">
<el-col :span="8"> <el-col :span="8">
<div class="itemLabel">工程名称</div> <div class="itemLabel">工程名称</div>
@ -134,7 +135,44 @@
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
</div> </div> -->
<el-descriptions
class="margin-top"
:column="3"
border
:labelStyle="{
'text-align': 'left',
width: '180px',
height: '50px',
}"
:contentStyle="{ minWidth: '250px' }"
>
<el-descriptions-item span="1">
<template slot="label"> 工程名称 </template>
{{ baseForm.projectName }}
</el-descriptions-item>
<el-descriptions-item span="1">
<template slot="label"> 建设单位 </template>
{{ baseForm.unit }}
</el-descriptions-item>
<el-descriptions-item span="1">
<template slot="label"> 项目所在地 </template>
{{ $formatAdcd({ adcd: baseForm.adcd }) }}
</el-descriptions-item>
<el-descriptions-item span="1">
<template slot="label"> 合同名称 </template>
{{ baseForm.contractName }}
</el-descriptions-item>
<el-descriptions-item span="2">
<template slot="label"> 预警事项 </template>
{{ baseForm.warnType }}
</el-descriptions-item>
<el-descriptions-item span="3">
<template slot="label"> 问题描述 </template>
{{ baseForm.warnResult }}
</el-descriptions-item>
</el-descriptions>
<el-divider></el-divider> <el-divider></el-divider>
@ -238,12 +276,12 @@
<el-form-item label="经办人联系方式" prop="handlePhone"> <el-form-item label="经办人联系方式" prop="handlePhone">
<el-input v-model="warnForm.handlePhone" placeholder="请输入" /> <el-input v-model="warnForm.handlePhone" placeholder="请输入" />
</el-form-item> </el-form-item>
<el-form-item label="审核人" prop="checkUser"> <!-- <el-form-item label="审核人" prop="checkUser">
<el-input v-model="warnForm.checkUser" placeholder="请输入审核人" /> <el-input v-model="warnForm.checkUser" placeholder="请输入审核人" />
</el-form-item> </el-form-item>
<el-form-item label="审核人联系方式" prop="checkPhone"> <el-form-item label="审核人联系方式" prop="checkPhone">
<el-input v-model="warnForm.checkPhone" placeholder="请输入" /> <el-input v-model="warnForm.checkPhone" placeholder="请输入" />
</el-form-item> </el-form-item> -->
<el-form-item label="意见" prop="opinion"> <el-form-item label="意见" prop="opinion">
<el-input <el-input
v-model="warnForm.opinion" v-model="warnForm.opinion"

86
jwtech-admin-page/src/views/marketSupervision/comprehensiveInfo/index.vue

@ -158,6 +158,14 @@
fixed="right" fixed="right"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-view"
@click="viewInfo(scope.row)"
v-hasPermi="['enterprise:zhxx:view']"
>查看</el-button
>
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
@ -274,6 +282,66 @@
<el-button @click="cancel"> </el-button> <el-button @click="cancel"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog
:title="viewTitle"
:visible.sync="viewOpen"
width="1200px"
append-to-body
@close="closeView"
:close-on-click-modal="false"
>
<div class="infoTitle">可行性报告</div>
<div class="draLine"></div>
<div class="content">
<el-descriptions
class="margin-top"
:column="2"
border
:labelStyle="{
'text-align': 'left',
width: '180px',
height: '50px',
}"
:contentStyle="{ minWidth: '250px' }"
>
<el-descriptions-item span="2">
<template slot="label"> 标题 </template>
{{ comMsg.title }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label"> 来源 </template>
{{ comMsg.region }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label"> 发布时间 </template>
{{ comMsg.publishTime }}
</el-descriptions-item>
<el-descriptions-item span="2">
<template slot="label"> 内容 </template>
<div v-html="comMsg.text"></div>
</el-descriptions-item>
<el-descriptions-item span="2">
<template slot="label"> 可行性研究报告相关附件 </template>
<template v-if="comMsg.attachment">
<div
v-for="(item, index) in JSON.parse(comMsg.attachment)"
:key="item + index"
>
{{ item.name }}
<i
class="el-icon-download"
@click="downloadFile2(item, index)"
style="cursor: pointer"
></i>
</div>
</template>
</el-descriptions-item>
</el-descriptions>
</div>
</el-dialog>
</div> </div>
</template> </template>
@ -369,8 +437,10 @@ export default {
zhxxList: [], zhxxList: [],
// //
title: "", title: "",
viewTitle: "",
// //
open: false, open: false,
viewOpen: false,
// //
queryParams: { queryParams: {
pageNum: 1, pageNum: 1,
@ -414,6 +484,7 @@ export default {
jianwei: "jwtech " + getToken(), jianwei: "jwtech " + getToken(),
}, },
fileList1: [], fileList1: [],
comMsg: {},
}; };
}, },
created() { created() {
@ -441,6 +512,16 @@ export default {
this.open = false; this.open = false;
this.reset(); this.reset();
}, },
viewInfo(row) {
getZhxx(row.id).then((res) => {
this.comMsg = res.data;
console.log("comMsg", row);
this.viewOpen = true;
});
},
closeView() {
this.comMsg = {};
},
// //
reset() { reset() {
this.fileList1 = []; this.fileList1 = [];
@ -593,6 +674,11 @@ export default {
let file = JSON.parse(fileList)[index]; let file = JSON.parse(fileList)[index];
this.handlePreview(file); this.handlePreview(file);
}, },
// ,
downloadFile2(info, index) {
console.log(info);
this.handleFilePreview(info);
},
// //
handlePreview(file) { handlePreview(file) {
// console.log(file); // console.log(file);

12
jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/index.vue

@ -698,6 +698,12 @@ export default {
], ],
corporateIdNumber: [ corporateIdNumber: [
{ max: 250, message: "字符长度最大为250", trigger: "blur" }, { max: 250, message: "字符长度最大为250", trigger: "blur" },
{
pattern:
/^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,
message: "请输入正确的身份证号",
trigger: "blur",
},
], ],
// score: [ // score: [
// { required: true, message: "", trigger: "blur" }, // { required: true, message: "", trigger: "blur" },
@ -768,6 +774,12 @@ export default {
], ],
unifiedSocialCreditCode: [ unifiedSocialCreditCode: [
{ max: 250, message: "字符长度最大为250", trigger: "blur" }, { max: 250, message: "字符长度最大为250", trigger: "blur" },
{
pattern:
/^([0-9A-HJ-NPQRTUWXY]{2}\d{6}[0-9A-HJ-NPQRTUWXY]{10}|[1-9]\d{14})$/,
message: "请输入正确的统一社会信用代码",
trigger: "blur",
},
], ],
creditCodeIssuingAuthority: [ creditCodeIssuingAuthority: [
{ max: 250, message: "字符长度最大为250", trigger: "blur" }, { max: 250, message: "字符长度最大为250", trigger: "blur" },

12
jwtech-admin-page/src/views/marketSupervision/enterpriseInformation/options/basePage.vue

@ -374,6 +374,12 @@ export default {
], ],
corporateIdNumber: [ corporateIdNumber: [
{ max: 250, message: "字符长度最大为250", trigger: "blur" }, { max: 250, message: "字符长度最大为250", trigger: "blur" },
{
pattern:
/^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,
message: "请输入正确的身份证号",
trigger: "blur",
},
], ],
// score: [ // score: [
// { required: true, message: "", trigger: "blur" }, // { required: true, message: "", trigger: "blur" },
@ -444,6 +450,12 @@ export default {
], ],
unifiedSocialCreditCode: [ unifiedSocialCreditCode: [
{ max: 250, message: "字符长度最大为250", trigger: "blur" }, { max: 250, message: "字符长度最大为250", trigger: "blur" },
{
pattern:
/^([0-9A-HJ-NPQRTUWXY]{2}\d{6}[0-9A-HJ-NPQRTUWXY]{10}|[1-9]\d{14})$/,
message: "请输入正确的统一社会信用代码",
trigger: "blur",
},
], ],
creditCodeIssuingAuthority: [ creditCodeIssuingAuthority: [
{ max: 250, message: "字符长度最大为250", trigger: "blur" }, { max: 250, message: "字符长度最大为250", trigger: "blur" },

542
jwtech-admin-page/src/views/projectStatistics/indexSubmission/comprehensiveStatistics.vue

@ -0,0 +1,542 @@
<template>
<div class="app-container">
<!-- 面包屑 -->
<el-breadcrumb separator="/" style="margin-bottom: 20px">
<el-breadcrumb-item
v-for="(item, index) in routeList"
:key="item + index"
:to="{ path: item.path }"
>{{ item.routeName }}</el-breadcrumb-item
>
</el-breadcrumb>
<el-form
:model="queryParams"
ref="queryForm"
:inline="true"
v-show="showSearch"
>
<el-form-item label="体系名称" prop="systemName">
<el-input
v-model="queryParams.data.systemName"
placeholder="请输入体系名称"
clearable
size="small"
@keyup.enter.native="handleQuery"
>
<el-button
type="primary"
slot="append"
icon="el-icon-search"
size="small"
@click="handleQuery"
></el-button>
</el-input>
</el-form-item>
<el-form-item label="体系类型" prop="systemType">
<el-select
v-model="queryParams.data.systemType"
placeholder="请选择体系类型"
clearable
size="small"
@change="handleQuery"
>
<el-option
v-for="dict in systemTypeOptions"
:key="dict.dictValue"
:label="dict.dictLabel"
:value="dict.dictValue"
/>
</el-select>
</el-form-item>
<el-form-item>
<!-- <el-button
type="cyan"
icon="el-icon-search"
size="mini"
@click="handleQuery"
>搜索</el-button
> -->
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
>重置</el-button
>
</el-form-item>
</el-form>
<el-row :gutter="10" class="mb8">
<right-toolbar
:showSearch.sync="showSearch"
@queryTable="getList"
></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="zhzbList">
<el-table-column
label="序号"
type="index"
width="50"
align="center"
fixed
/>
<el-table-column
label="体系名称"
align="center"
prop="systemName"
min-width="120"
/>
<el-table-column
label="体系类型"
align="center"
prop="systemType"
:formatter="systemTypeFormat"
min-width="120"
/>
<el-table-column
label="周期"
align="center"
prop="cycle"
min-width="120"
/>
<el-table-column
label="填报节点类型"
align="center"
prop="pointType"
:formatter="pointTypeFormat"
min-width="120"
/>
<el-table-column
label="操作"
align="center"
class-name="small-padding fixed-width"
width="180"
fixed="right"
>
<template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleReport(scope.row)"
v-hasPermi="['statistics:zhzb:report']"
>上报</el-button
>
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleExamine(scope.row)"
v-hasPermi="['statistics:zhzb:examine']"
>审核</el-button
>
<!-- <el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['statistics:zhzb:edit']"
>修改</el-button
>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['statistics:zhzb:remove']"
>删除</el-button
> -->
</template>
</el-table-column>
</el-table>
<pagination
v-show="total > 0"
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<!-- 添加或修改综合指标体系对话框 -->
<el-dialog
:title="title"
:visible.sync="open"
width="1200px"
append-to-body
:close-on-click-modal="false"
>
<el-form ref="form" :model="form" :rules="rules" label-width="124px">
<el-form-item label="报送部门" prop="aaa">
<el-input v-model="form.aaa" placeholder="请输入报送部门" disabled />
</el-form-item>
<el-form-item label="报送月份" prop="bbb">
<el-input v-model="form.bbb" placeholder="请输入报送月份" disabled />
</el-form-item>
<el-form-item
v-for="(item, index) in zhzbcbList"
:key="item.id"
:label="item.indexName"
>
<el-input
v-model="zhzbcbList[index].value"
placeholder="请输入值"
:disabled="!isReport"
/>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm">{{
isReport ? "确 定" : "审核通过"
}}</el-button>
<el-button type="warning" @click="disPass" v-if="!isReport"
>不通过</el-button
>
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import {
listZhzb,
getZhzb,
delZhzb,
addZhzb,
updateZhzb,
exportZhzb,
} from "@/api/projectStatistics/statistics/zhzb";
import {
listZhzbcb,
updateBatch,
} from "@/api/projectStatistics/statistics/zhzbcb";
export default {
name: "Zhzb",
data() {
return {
//
routeList: [
{
path: "/projectStatistics/indexSubmission/comprehensiveStatistics",
routeName: "综合统计指标报送",
},
],
//
loading: true,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
//
zhzbList: [],
//
zhzbcbList: [],
//
title: "",
//
open: false,
//
systemTypeOptions: [],
//
pointTypeOptions: [],
//
queryParams: {
pageNum: 1,
pageSize: 10,
ids: null,
data: {
systemName: null,
systemType: null,
cycle: null,
pointType: null,
createUid: null,
updateUid: null,
owerDept: null,
},
//
params: {
//
orderBy: "create_time",
// descasc
sortBy: "desc",
},
},
//
zbQueryParams: {
pageNum: 1,
pageSize: 10,
ids: null,
data: {
jszbId: null,
indexName: null,
content: null,
createUid: null,
updateUid: null,
owerDept: null,
},
//
params: {
//
orderBy: "create_time",
// descasc
sortBy: "desc",
},
},
//
form: {},
//
rules: {},
isReport: true,
};
},
created() {
this.getList();
this.getDicts("system_type").then((response) => {
this.systemTypeOptions = response.data;
});
this.getDicts("enter_node_type").then((response) => {
this.pointTypeOptions = response.data;
});
},
methods: {
handleExamine(row) {
this.isReport = false;
this.zhzbcbList = [];
this.open = true;
this.title = "审核综合信息指标";
this.zbQueryParams.data.jszbId = row.id;
getZhzb(row.id).then((res) => {
this.form = res.data;
});
listZhzbcb(this.zbQueryParams).then((response) => {
this.zhzbcbList = response.records;
// console.log("this.zhzbcbList", this.zhzbcbList);
});
},
handleReport(row) {
this.isReport = true;
this.zhzbcbList = [];
this.open = true;
this.title = "上报综合信息指标";
this.zbQueryParams.data.jszbId = row.id;
getZhzb(row.id).then((res) => {
this.form = res.data;
});
listZhzbcb(this.zbQueryParams).then((response) => {
this.zhzbcbList = response.records;
// console.log("this.zhzbcbList", this.zhzbcbList);
});
},
/** 查询综合指标体系列表 */
getList() {
this.loading = true;
listZhzb(this.queryParams).then((response) => {
this.zhzbList = response.records;
this.total = response.total;
this.loading = false;
});
},
//
systemTypeFormat(row, column) {
return this.selectDictLabel(this.systemTypeOptions, row.systemType);
},
//
pointTypeFormat(row, column) {
return this.selectDictLabel(this.pointTypeOptions, row.pointType);
},
//
cancel() {
this.open = false;
// this.reset();
},
disPass() {
this.form.status = "3";
updateZhzb(this.form).then((response) => {
if (response.code === 200) {
this.msgSuccess("不通过成功");
this.open = false;
// this.getList();
}
});
},
//
reset() {
this.form = {
id: null,
systemName: null,
systemType: null,
cycle: null,
pointType: null,
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
remark: null,
owerDept: null,
};
this.resetForm("form");
},
//
resetQueryForm() {
this.queryParams = {
pageNum: 1,
pageSize: 10,
data: {
id: null,
systemName: null,
systemType: null,
cycle: null,
pointType: null,
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
remark: null,
owerDept: null,
},
//
params: {
//
orderBy: "create_time",
// descasc
sortBy: "desc",
},
};
this.resetForm("form");
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetQueryForm();
this.handleQuery();
},
//
handleSelectionChange(selection) {
this.ids = selection.map((item) => item.id);
this.single = selection.length !== 1;
this.multiple = !selection.length;
},
// /** */
// handleAdd() {
// this.reset();
// this.open = true;
// this.title = "";
// },
// /** */
// handleUpdate(row) {
// this.reset();
// const id = row.id || this.ids;
// getZhzb(id).then((response) => {
// this.form = response.data;
// this.open = true;
// this.title = "";
// });
// },
/** 提交按钮 */
submitForm() {
if (this.isReport) {
updateBatch(this.zhzbcbList).then((response) => {
if (response.code === 200) {
this.msgSuccess("上报成功");
this.open = false;
// this.getList();
}
this.form.status = "1";
updateZhzb(this.form).then((response) => {});
});
} else {
this.form.status = "2";
updateZhzb(this.form).then((response) => {
if (response.code === 200) {
this.msgSuccess("审核通过成功");
this.open = false;
// this.getList();
}
});
}
},
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
if (ids) {
this.$confirm("是否删除选中的数据?", "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(function () {
return delZhzb(ids);
})
.then(() => {
this.getList();
this.msgSuccess("删除成功");
})
.catch(function () {});
} else {
this.$message.warning("请选择要删除的数据!!");
}
},
/** 导出按钮操作 */
handleExport() {
const queryParams = this.queryParams;
let message = "是否确认导出所有的数据项?";
if (this.ids) {
message = "是否确认导出选中的数据项?";
queryParams.ids = this.ids;
}
this.$confirm(message, "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(function () {
return exportZhzb(queryParams);
})
.then((response) => {
this.downloadFile(response, true, response.msg);
// this.download(response.msg);
})
.catch(function () {});
},
},
};
</script>
<style lang="scss" scoped>
@import "@/assets/css/dialog.scss";
//::v-deep {
// .el-dialog {
// margin-top: 10vh !important;
// }
//}
.listTitle {
font-size: 14px;
padding-left: 10px;
padding-right: 30px;
margin: 20px 0;
border-left: 2px solid #36b29e;
display: flex;
justify-content: space-between;
span:nth-child(1) {
font-weight: bold;
}
.addBtn {
color: #36b29e;
cursor: pointer;
}
.addBtn:hover {
color: #31a08e;
}
}
</style>

577
jwtech-admin-page/src/views/projectStatistics/indexSubmission/constructionInvestment.vue

@ -0,0 +1,577 @@
<template>
<div class="app-container">
<!-- 面包屑 -->
<el-breadcrumb separator="/" style="margin-bottom: 20px">
<el-breadcrumb-item
v-for="(item, index) in routeList"
:key="item + index"
:to="{ path: item.path }"
>{{ item.routeName }}</el-breadcrumb-item
>
</el-breadcrumb>
<el-form
:model="queryParams"
ref="queryForm"
:inline="true"
v-show="showSearch"
>
<el-form-item label="体系名称" prop="systemName">
<el-input
v-model="queryParams.data.systemName"
placeholder="请输入体系名称"
clearable
size="small"
@keyup.enter.native="handleQuery"
>
<el-button
type="primary"
slot="append"
icon="el-icon-search"
size="small"
@click="handleQuery"
></el-button>
</el-input>
</el-form-item>
<el-form-item label="体系类型" prop="systemType">
<el-select
v-model="queryParams.data.systemType"
placeholder="请选择体系类型"
clearable
size="small"
@change="handleQuery"
>
<el-option
v-for="dict in systemTypeOptions"
:key="dict.dictValue"
:label="dict.dictLabel"
:value="dict.dictValue"
/>
</el-select>
</el-form-item>
<el-form-item>
<!-- <el-button
type="cyan"
icon="el-icon-search"
size="mini"
@click="handleQuery"
>搜索</el-button
> -->
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
>重置</el-button
>
</el-form-item>
</el-form>
<el-row :gutter="10" class="mb8">
<right-toolbar
:showSearch.sync="showSearch"
@queryTable="getList"
></right-toolbar>
</el-row>
<el-table
v-loading="loading"
:data="jszbList"
@selection-change="handleSelectionChange"
>
<el-table-column type="selection" width="55" align="center" fixed />
<el-table-column
label="序号"
type="index"
width="50"
align="center"
fixed
/>
<el-table-column
label="体系名称"
align="center"
prop="systemName"
min-width="120"
/>
<el-table-column
label="体系类型"
align="center"
prop="systemType"
:formatter="systemTypeFormat"
min-width="120"
/>
<el-table-column
label="周期"
align="center"
prop="cycle"
min-width="120"
/>
<el-table-column
label="填报节点类型"
align="center"
prop="pointType"
:formatter="pointTypeFormat"
min-width="120"
/>
<el-table-column
label="操作"
align="center"
class-name="small-padding fixed-width"
width="180"
fixed="right"
>
<template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleReport(scope.row)"
v-hasPermi="['statistics:jszb:report']"
>上报</el-button
>
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleExamine(scope.row)"
v-hasPermi="['statistics:jszb:examine']"
>审核</el-button
>
<!-- <el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['statistics:jszb:edit']"
>修改</el-button
>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['statistics:jszb:remove']"
>删除</el-button
> -->
</template>
</el-table-column>
</el-table>
<pagination
v-show="total > 0"
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<!-- 添上报对话框 -->
<el-dialog
:title="title"
:visible.sync="open"
width="1200px"
append-to-body
:close-on-click-modal="false"
>
<el-form ref="form" :model="form" :rules="rules" label-width="124px">
<el-form-item label="报送部门" prop="aaa">
<el-input v-model="form.aaa" placeholder="请输入报送部门" disabled />
</el-form-item>
<el-form-item label="报送月份" prop="bbb">
<el-input v-model="form.bbb" placeholder="请输入报送月份" disabled />
</el-form-item>
<el-form-item
v-for="(item, index) in jszbcbList"
:key="item.id"
:label="item.indexName"
>
<el-input
v-model="jszbcbList[index].value"
placeholder="请输入值"
:disabled="!isReport"
/>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm">{{
isReport ? "确 定" : "审核通过"
}}</el-button>
<el-button type="warning" @click="disPass" v-if="!isReport"
>不通过</el-button
>
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import {
listJszb,
getJszb,
delJszb,
addJszb,
updateJszb,
exportJszb,
} from "@/api/projectStatistics/statistics/jszb";
import {
listJszbcb,
updateBatch,
} from "@/api/projectStatistics/statistics/jszbcb";
export default {
name: "Jszb",
data() {
return {
//
routeList: [
{
path: "/projectStatistics/indexSubmission/constructionInvestment",
routeName: "建设投资指标报送",
},
],
//
loading: true,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
//
jszbList: [],
//
jszbcbList: [],
//
title: "",
//
open: false,
//
systemTypeOptions: [],
//
pointTypeOptions: [],
//
queryParams: {
pageNum: 1,
pageSize: 10,
ids: null,
data: {
systemName: null,
systemType: null,
cycle: null,
pointType: null,
createUid: null,
updateUid: null,
owerDept: null,
},
//
params: {
//
orderBy: "create_time",
// descasc
sortBy: "desc",
},
},
//
zbQueryParams: {
pageNum: 1,
pageSize: 10,
ids: null,
data: {
jszbId: null,
indexName: null,
content: null,
createUid: null,
updateUid: null,
owerDept: null,
},
//
params: {
//
orderBy: "create_time",
// descasc
sortBy: "desc",
},
},
//
form: {},
//
rules: {},
isReport: true,
};
},
created() {
this.getList();
this.getDicts("system_type").then((response) => {
this.systemTypeOptions = response.data;
});
this.getDicts("enter_node_type").then((response) => {
this.pointTypeOptions = response.data;
});
},
methods: {
handleExamine(row) {
this.isReport = false;
this.jszbcbList = [];
this.open = true;
this.title = "审核建设投资指标";
this.zbQueryParams.data.jszbId = row.id;
getJszb(row.id).then((res) => {
this.form = res.data;
});
listJszbcb(this.zbQueryParams).then((response) => {
this.jszbcbList = response.records;
// console.log("this.jszbcbList", this.jszbcbList);
});
},
handleReport(row) {
this.isReport = true;
this.jszbcbList = [];
this.open = true;
this.title = "上报建设投资指标";
this.zbQueryParams.data.jszbId = row.id;
getJszb(row.id).then((res) => {
this.form = res.data;
});
listJszbcb(this.zbQueryParams).then((response) => {
this.jszbcbList = response.records;
// console.log("this.jszbcbList", this.jszbcbList);
});
},
/** 查询建设投资指标体系列表 */
getList() {
this.loading = true;
listJszb(this.queryParams).then((response) => {
this.jszbList = response.records;
this.total = response.total;
this.loading = false;
});
},
//
systemTypeFormat(row, column) {
return this.selectDictLabel(this.systemTypeOptions, row.systemType);
},
//
pointTypeFormat(row, column) {
return this.selectDictLabel(this.pointTypeOptions, row.pointType);
},
//
cancel() {
this.open = false;
// this.reset();
},
disPass() {
this.form.status = "3";
updateJszb(this.form).then((response) => {
if (response.code === 200) {
this.msgSuccess("不通过成功");
this.open = false;
// this.getList();
}
});
},
//
reset() {
this.form = {
id: null,
systemName: null,
systemType: null,
cycle: null,
pointType: null,
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
remark: null,
owerDept: null,
};
this.resetForm("form");
},
//
resetQueryForm() {
this.queryParams = {
pageNum: 1,
pageSize: 10,
data: {
id: null,
systemName: null,
systemType: null,
cycle: null,
pointType: null,
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
remark: null,
owerDept: null,
},
//
params: {
//
orderBy: "create_time",
// descasc
sortBy: "desc",
},
};
this.resetForm("form");
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetQueryForm();
this.handleQuery();
},
//
handleSelectionChange(selection) {
this.ids = selection.map((item) => item.id);
this.single = selection.length !== 1;
this.multiple = !selection.length;
},
// /** */
// handleAdd() {
// this.reset();
// this.open = true;
// this.title = "";
// },
// /** */
// handleUpdate(row) {
// this.reset();
// const id = row.id || this.ids;
// getJszb(id).then((response) => {
// this.form = response.data;
// this.open = true;
// this.title = "";
// });
// },
/** 提交按钮 */
submitForm() {
if (this.isReport) {
updateBatch(this.jszbcbList).then((response) => {
if (response.code === 200) {
this.msgSuccess("上报成功");
this.open = false;
// this.getList();
}
this.form.status = "1";
updateJszb(this.form).then((response) => {});
});
} else {
this.form.status = "2";
updateJszb(this.form).then((response) => {
if (response.code === 200) {
this.msgSuccess("审核通过成功");
this.open = false;
// this.getList();
}
});
}
// if (response.code === 200) {
// this.msgSuccess("");
// this.open = false;
// this.getList();
// }
// });
// this.$refs["form"].validate((valid) => {
// if (valid) {
// if (this.form.id != null) {
// updateJszb(this.form).then((response) => {
// if (response.code === 200) {
// this.msgSuccess("");
// this.open = false;
// this.getList();
// }
// });
// } else {
// addJszb(this.form).then((response) => {
// if (response.code === 200) {
// this.msgSuccess("");
// this.open = false;
// this.getList();
// }
// });
// }
// }
// });
},
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
if (ids) {
this.$confirm("是否删除选中的数据?", "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(function () {
return delJszb(ids);
})
.then(() => {
this.getList();
this.msgSuccess("删除成功");
})
.catch(function () {});
} else {
this.$message.warning("请选择要删除的数据!!");
}
},
/** 导出按钮操作 */
handleExport() {
const queryParams = this.queryParams;
let message = "是否确认导出所有的数据项?";
if (this.ids) {
message = "是否确认导出选中的数据项?";
queryParams.ids = this.ids;
}
this.$confirm(message, "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(function () {
return exportJszb(queryParams);
})
.then((response) => {
this.downloadFile(response, true, response.msg);
// this.download(response.msg);
})
.catch(function () {});
},
},
};
</script>
<style lang="scss" scoped>
@import "@/assets/css/dialog.scss";
//::v-deep {
// .el-dialog {
// margin-top: 10vh !important;
// }
//}
.listTitle {
font-size: 14px;
padding-left: 10px;
padding-right: 30px;
margin: 20px 0;
border-left: 2px solid #36b29e;
display: flex;
justify-content: space-between;
span:nth-child(1) {
font-weight: bold;
}
.addBtn {
color: #36b29e;
cursor: pointer;
}
.addBtn:hover {
color: #31a08e;
}
}
</style>

6
jwtech-admin-page/src/views/projectStatistics/indexSubmission/index.vue

@ -0,0 +1,6 @@
<template>
<!-- <div class="app-container"> -->
<div>
<router-view />
</div>
</template>

543
jwtech-admin-page/src/views/projectStatistics/indexSubmission/serviceIndustry.vue

@ -0,0 +1,543 @@
<template>
<div class="app-container">
<!-- 面包屑 -->
<el-breadcrumb separator="/" style="margin-bottom: 20px">
<el-breadcrumb-item
v-for="(item, index) in routeList"
:key="item + index"
:to="{ path: item.path }"
>{{ item.routeName }}</el-breadcrumb-item
>
</el-breadcrumb>
<el-form
:model="queryParams"
ref="queryForm"
:inline="true"
v-show="showSearch"
>
<el-form-item label="体系名称" prop="systemName">
<el-input
v-model="queryParams.data.systemName"
placeholder="请输入体系名称"
clearable
size="small"
@keyup.enter.native="handleQuery"
>
<el-button
type="primary"
slot="append"
icon="el-icon-search"
size="small"
@click="handleQuery"
></el-button>
</el-input>
</el-form-item>
<el-form-item label="体系类型" prop="systemType">
<el-select
v-model="queryParams.data.systemType"
placeholder="请选择体系类型"
clearable
size="small"
@change="handleQuery"
>
<el-option
v-for="dict in systemTypeOptions"
:key="dict.dictValue"
:label="dict.dictLabel"
:value="dict.dictValue"
/>
</el-select>
</el-form-item>
<el-form-item>
<!-- <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> -->
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
>重置</el-button
>
</el-form-item>
</el-form>
<el-row :gutter="10" class="mb8">
<right-toolbar
:showSearch.sync="showSearch"
@queryTable="getList"
></right-toolbar>
</el-row>
<el-table
v-loading="loading"
:data="fwzbList"
@selection-change="handleSelectionChange"
>
<el-table-column type="selection" width="55" align="center" fixed />
<el-table-column
label="序号"
type="index"
width="50"
align="center"
fixed
/>
<el-table-column
label="体系名称"
align="center"
prop="systemName"
min-width="120"
/>
<el-table-column
label="体系类型"
align="center"
prop="systemType"
:formatter="systemTypeFormat"
min-width="120"
/>
<el-table-column
label="周期"
align="center"
prop="cycle"
min-width="120"
/>
<el-table-column
label="填报节点类型"
align="center"
prop="pointType"
:formatter="pointTypeFormat"
min-width="120"
/>
<el-table-column
label="操作"
align="center"
class-name="small-padding fixed-width"
width="180"
fixed="right"
>
<template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleReport(scope.row)"
v-hasPermi="['statistics:fwzb:report']"
>上报</el-button
>
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleExamine(scope.row)"
v-hasPermi="['statistics:fwzb:examine']"
>审核</el-button
>
<!-- <el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['statistics:fwzb:edit']"
>修改</el-button
>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['statistics:fwzb:remove']"
>删除</el-button
> -->
</template>
</el-table-column>
</el-table>
<pagination
v-show="total > 0"
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<!-- 添加或修改服务业指标体系对话框 -->
<el-dialog
:title="title"
:visible.sync="open"
width="1200px"
append-to-body
:close-on-click-modal="false"
>
<el-form ref="form" :model="form" :rules="rules" label-width="124px">
<el-form-item label="报送部门" prop="aaa">
<el-input v-model="form.aaa" placeholder="请输入报送部门" disabled />
</el-form-item>
<el-form-item label="报送月份" prop="bbb">
<el-input v-model="form.bbb" placeholder="请输入报送月份" disabled />
</el-form-item>
<el-form-item
v-for="(item, index) in fwzbcbList"
:key="item.id"
:label="item.indexName"
>
<el-input
v-model="fwzbcbList[index].value"
placeholder="请输入值"
:disabled="!isReport"
/>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm">{{
isReport ? "确 定" : "审核通过"
}}</el-button>
<el-button type="warning" @click="disPass" v-if="!isReport"
>不通过</el-button
>
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import {
listFwzb,
getFwzb,
delFwzb,
addFwzb,
updateFwzb,
exportFwzb,
} from "@/api/projectStatistics/statistics/fwzb";
import {
listFwzbcb,
updateBatch,
} from "@/api/projectStatistics/statistics/fwzbcb";
export default {
name: "Fwzb",
data() {
return {
//
routeList: [
{
path: "/projectStatistics/indexSubmission/serviceIndustry",
routeName: "服务业指标报送",
},
],
//
loading: true,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
//
fwzbList: [],
//
fwzbcbList: [],
//
title: "",
//
open: false,
//
systemTypeOptions: [],
//
pointTypeOptions: [],
//
queryParams: {
pageNum: 1,
pageSize: 10,
ids: null,
data: {
systemName: null,
systemType: null,
cycle: null,
pointType: null,
createUid: null,
updateUid: null,
owerDept: null,
},
//
params: {
//
orderBy: "create_time",
// descasc
sortBy: "desc",
},
},
//
zbQueryParams: {
pageNum: 1,
pageSize: 10,
ids: null,
data: {
jszbId: null,
indexName: null,
content: null,
createUid: null,
updateUid: null,
owerDept: null,
},
//
params: {
//
orderBy: "create_time",
// descasc
sortBy: "desc",
},
},
//
form: {},
//
rules: {},
isReport: true,
};
},
created() {
this.getList();
this.getDicts("system_type").then((response) => {
this.systemTypeOptions = response.data;
});
this.getDicts("enter_node_type").then((response) => {
this.pointTypeOptions = response.data;
});
},
methods: {
handleExamine(row) {
this.isReport = false;
this.fwzbcbList = [];
this.open = true;
this.title = "审核服务业指标";
this.zbQueryParams.data.jszbId = row.id;
getFwzb(row.id).then((res) => {
this.form = res.data;
});
listFwzbcb(this.zbQueryParams).then((response) => {
this.fwzbcbList = response.records;
// console.log("this.fwzbcbList", this.fwzbcbList);
});
},
handleReport(row) {
this.isReport = true;
this.fwzbcbList = [];
this.open = true;
this.title = "上报服务业指标";
this.zbQueryParams.data.jszbId = row.id;
getFwzb(row.id).then((res) => {
this.form = res.data;
});
listFwzbcb(this.zbQueryParams).then((response) => {
this.fwzbcbList = response.records;
// console.log("this.fwzbcbList", this.fwzbcbList);
});
},
/** 查询服务业指标体系列表 */
getList() {
this.loading = true;
listFwzb(this.queryParams).then((response) => {
this.fwzbList = response.records;
this.total = response.total;
this.loading = false;
});
},
//
systemTypeFormat(row, column) {
return this.selectDictLabel(this.systemTypeOptions, row.systemType);
},
//
pointTypeFormat(row, column) {
return this.selectDictLabel(this.pointTypeOptions, row.pointType);
},
//
cancel() {
this.open = false;
// this.reset();
},
disPass() {
this.form.status = "3";
updateFwzb(this.form).then((response) => {
if (response.code === 200) {
this.msgSuccess("不通过成功");
this.open = false;
// this.getList();
}
});
},
//
reset() {
this.form = {
id: null,
systemName: null,
systemType: null,
cycle: null,
pointType: null,
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
remark: null,
owerDept: null,
};
this.resetForm("form");
},
//
resetQueryForm() {
this.queryParams = {
pageNum: 1,
pageSize: 10,
data: {
id: null,
systemName: null,
systemType: null,
cycle: null,
pointType: null,
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
remark: null,
owerDept: null,
},
//
params: {
//
orderBy: "create_time",
// descasc
sortBy: "desc",
},
};
this.resetForm("form");
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetQueryForm();
this.handleQuery();
},
//
handleSelectionChange(selection) {
this.ids = selection.map((item) => item.id);
this.single = selection.length !== 1;
this.multiple = !selection.length;
},
// /** */
// handleAdd() {
// this.reset();
// this.open = true;
// this.title = "";
// },
// /** */
// handleUpdate(row) {
// this.reset();
// const id = row.id || this.ids;
// getFwzb(id).then((response) => {
// this.form = response.data;
// this.open = true;
// this.title = "";
// });
// },
/** 提交按钮 */
submitForm() {
if (this.isReport) {
updateBatch(this.fwzbcbList).then((response) => {
if (response.code === 200) {
this.msgSuccess("上报成功");
this.open = false;
// this.getList();
}
this.form.status = "1";
updateFwzb(this.form).then((response) => {});
});
} else {
this.form.status = "2";
updateFwzb(this.form).then((response) => {
if (response.code === 200) {
this.msgSuccess("审核通过成功");
this.open = false;
// this.getList();
}
});
}
// this.$refs["form"].validate((valid) => {
// if (valid) {
// if (this.form.id != null) {
// updateFwzb(this.form).then((response) => {
// if (response.code === 200) {
// this.msgSuccess("");
// this.open = false;
// this.getList();
// }
// });
// } else {
// addFwzb(this.form).then((response) => {
// if (response.code === 200) {
// this.msgSuccess("");
// this.open = false;
// this.getList();
// }
// });
// }
// }
// });
},
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
if (ids) {
this.$confirm("是否删除选中的数据?", "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(function () {
return delFwzb(ids);
})
.then(() => {
this.getList();
this.msgSuccess("删除成功");
})
.catch(function () {});
} else {
this.$message.warning("请选择要删除的数据!!");
}
},
},
};
</script>
<style lang="scss" scoped>
@import "@/assets/css/dialog.scss";
//::v-deep {
// .el-dialog {
// margin-top: 10vh !important;
// }
//}
.listTitle {
font-size: 14px;
padding-left: 10px;
padding-right: 30px;
margin: 20px 0;
border-left: 2px solid #36b29e;
display: flex;
justify-content: space-between;
span:nth-child(1) {
font-weight: bold;
}
.addBtn {
color: #36b29e;
cursor: pointer;
}
.addBtn:hover {
color: #31a08e;
}
}
</style>

3
jwtech-admin-page/src/views/projectStatistics/projectProcess/index.vue

@ -225,6 +225,9 @@ export default {
created() { created() {
this.routeList = JSON.parse(this.$store.state.basePageData.routeList); this.routeList = JSON.parse(this.$store.state.basePageData.routeList);
this.getList(); this.getList();
if (this.$route.query.activeName) {
this.activeName = this.$route.query.activeName;
}
}, },
methods: { methods: {
/** 查询专题项目前期背景信息列表 */ /** 查询专题项目前期背景信息列表 */

4
jwtech-admin-page/src/views/projectStatistics/projectStatisticsInvest/index.vue

@ -338,7 +338,9 @@ export default {
// //
this.$router.push({ this.$router.push({
// path: "/project/special/options", // path: "/project/special/options",
path: "/projectStatistics/projectProcess?baseDataId=" + row.id, path:
"/projectStatistics/projectProcess?activeName=investment&baseDataId=" +
row.id,
}); });
}, },
// //

4
jwtech-admin-page/src/views/projectStatistics/projectStatisticsMsg/index.vue

@ -270,7 +270,9 @@ export default {
// //
this.$router.push({ this.$router.push({
// path: "/project/special/options", // path: "/project/special/options",
path: "/projectStatistics/projectProcess?baseDataId=" + row.id, path:
"/projectStatistics/projectProcess?activeName=projectAcceptance&baseDataId=" +
row.id,
}); });
}, },
// //

4
jwtech-admin-page/src/views/projectStatistics/projectStatisticsProgress/index.vue

@ -268,7 +268,9 @@ export default {
// //
this.$router.push({ this.$router.push({
// path: "/project/special/options", // path: "/project/special/options",
path: "/projectStatistics/projectProcess?baseDataId=" + row.id, path:
"/projectStatistics/projectProcess?activeName=scheduleManagement&baseDataId=" +
row.id,
}); });
}, },
// //

Loading…
Cancel
Save