Browse Source

添加多个模块

master
xzt 1 month ago
parent
commit
440bd6897b
  1. 53
      jwtech-admin-page/src/api/build/buildProgressWarning.js
  2. 53
      jwtech-admin-page/src/api/build/costChangeWarning.js
  3. 53
      jwtech-admin-page/src/api/build/fundPayWarning.js
  4. 53
      jwtech-admin-page/src/api/build/investCompleteConfig.js
  5. 2466
      jwtech-admin-page/src/views/building/projectInfo/buildProgressWarning/index.vue
  6. 678
      jwtech-admin-page/src/views/building/projectInfo/buildProgressWarning/list.vue
  7. 2458
      jwtech-admin-page/src/views/building/projectInfo/costChangeWarning/index.vue
  8. 467
      jwtech-admin-page/src/views/building/projectInfo/costChangeWarning/list.vue
  9. 2451
      jwtech-admin-page/src/views/building/projectInfo/fundPayWarning/index.vue
  10. 504
      jwtech-admin-page/src/views/building/projectInfo/fundPayWarning/list.vue
  11. 2466
      jwtech-admin-page/src/views/building/projectInfo/investCompleteWarning/index.vue
  12. 644
      jwtech-admin-page/src/views/building/projectInfo/investCompleteWarning/list.vue
  13. 114
      jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiConstProReportController.java
  14. 114
      jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiCostChangeRuleController.java
  15. 114
      jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiInvestConfigController.java
  16. 114
      jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiInvestRuleController.java
  17. 114
      jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiPayAmountRuleController.java
  18. 107
      jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiConstProReport.java
  19. 88
      jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiCostChangeRule.java
  20. 102
      jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiInvestConfig.java
  21. 73
      jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiInvestRule.java
  22. 88
      jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiPayAmountRule.java
  23. 16
      jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiConstProReportMapper.java
  24. 16
      jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiCostChangeRuleMapper.java
  25. 16
      jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiInvestConfigMapper.java
  26. 16
      jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiInvestRuleMapper.java
  27. 16
      jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiPayAmountRuleMapper.java
  28. 17
      jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiConstProReportService.java
  29. 17
      jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiCostChangeRuleService.java
  30. 17
      jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiInvestConfigService.java
  31. 17
      jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiInvestRuleService.java
  32. 17
      jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiPayAmountRuleService.java

53
jwtech-admin-page/src/api/build/buildProgressWarning.js

@ -0,0 +1,53 @@
import request from '@/utils/request'
// 查询建设进度预警列表
export function listBuildProgressWarning(query) {
return request({
url: '/build/buildProgressWarning/list',
method: 'post',
data: query
})
}
// 查询建设进度预警详细
export function getBuildProgressWarning(id) {
return request({
url: '/build/buildProgressWarning/' + id,
method: 'get'
})
}
// 新增建设进度预警
export function addBuildProgressWarning(data) {
return request({
url: '/build/buildProgressWarning',
method: 'post',
data: data
})
}
// 修改建设进度预警
export function updateBuildProgressWarning(data) {
return request({
url: '/build/buildProgressWarning',
method: 'put',
data: data
})
}
// 删除建设进度预警
export function delBuildProgressWarning(id) {
return request({
url: '/build/buildProgressWarning/' + id,
method: 'delete'
})
}
// 导出建设进度预警
export function exportBuildProgressWarning(query) {
return request({
url: '/build/buildProgressWarning/export',
method: 'get',
params: query
})
}

53
jwtech-admin-page/src/api/build/costChangeWarning.js

@ -0,0 +1,53 @@
import request from '@/utils/request'
// 查询造价变幅预警管理列表
export function listCostChangeWarning(query) {
return request({
url: '/build/costChangeWarning/list',
method: 'post',
data: query
})
}
// 查询造价变幅预警管理详细
export function getCostChangeWarning(id) {
return request({
url: '/build/costChangeWarning/' + id,
method: 'get'
})
}
// 新增造价变幅预警管理
export function addCostChangeWarning(data) {
return request({
url: '/build/costChangeWarning',
method: 'post',
data: data
})
}
// 修改造价变幅预警管理
export function updateCostChangeWarning(data) {
return request({
url: '/build/costChangeWarning',
method: 'put',
data: data
})
}
// 删除造价变幅预警管理
export function delCostChangeWarning(id) {
return request({
url: '/build/costChangeWarning/' + id,
method: 'delete'
})
}
// 导出造价变幅预警管理
export function exportCostChangeWarning(query) {
return request({
url: '/build/costChangeWarning/export',
method: 'get',
params: query
})
}

53
jwtech-admin-page/src/api/build/fundPayWarning.js

@ -0,0 +1,53 @@
import request from '@/utils/request'
// 查询资金支付预警管理列表
export function listFundPayWarning(query) {
return request({
url: '/build/fundPayWarning/list',
method: 'post',
data: query
})
}
// 查询资金支付预警管理详细
export function getFundPayWarning(id) {
return request({
url: '/build/fundPayWarning/' + id,
method: 'get'
})
}
// 新增资金支付预警管理
export function addFundPayWarning(data) {
return request({
url: '/build/fundPayWarning',
method: 'post',
data: data
})
}
// 修改资金支付预警管理
export function updateFundPayWarning(data) {
return request({
url: '/build/fundPayWarning',
method: 'put',
data: data
})
}
// 删除资金支付预警管理
export function delFundPayWarning(id) {
return request({
url: '/build/fundPayWarning/' + id,
method: 'delete'
})
}
// 导出资金支付预警管理
export function exportFundPayWarning(query) {
return request({
url: '/build/fundPayWarning/export',
method: 'get',
params: query
})
}

53
jwtech-admin-page/src/api/build/investCompleteConfig.js

@ -0,0 +1,53 @@
import request from '@/utils/request'
// 查询投资完成验收申请列表
export function listInvestCompleteConfig(query) {
return request({
url: '/build/investCompleteConfig/list',
method: 'post',
data: query
})
}
// 查询投资完成验收申请详细
export function getInvestCompleteConfig(id) {
return request({
url: '/build/investCompleteConfig/' + id,
method: 'get'
})
}
// 新增投资完成验收申请
export function addInvestCompleteConfig(data) {
return request({
url: '/build/investCompleteConfig',
method: 'post',
data: data
})
}
// 修改投资完成验收申请
export function updateInvestCompleteConfig(data) {
return request({
url: '/build/investCompleteConfig',
method: 'put',
data: data
})
}
// 删除投资完成验收申请
export function delInvestCompleteConfig(id) {
return request({
url: '/build/investCompleteConfig/' + id,
method: 'delete'
})
}
// 导出投资完成验收申请
export function exportInvestCompleteConfig(query) {
return request({
url: '/build/investCompleteConfig/export',
method: 'get',
params: query
})
}

2466
jwtech-admin-page/src/views/building/projectInfo/buildProgressWarning/index.vue

File diff suppressed because it is too large

678
jwtech-admin-page/src/views/building/projectInfo/buildProgressWarning/list.vue

@ -0,0 +1,678 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch">
<el-form-item label="所属项目" prop="projectName">
<el-input
v-model="queryParams.data.projectName"
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="proCode">
<el-input
v-model="queryParams.data.proCode"
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="proNo">
<el-input
v-model="queryParams.data.proNo"
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="scheduleReq">
<el-input
v-model="queryParams.data.scheduleReq"
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="execEnv">
<el-input
v-model="queryParams.data.execEnv"
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="reportDate">
<el-date-picker clearable size="small" style="width: 200px"
v-model="queryParams.reportDate"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择填写日期">
</el-date-picker>
</el-form-item>
<el-form-item label="填报人" prop="reportPerson">
<el-input
v-model="queryParams.data.reportPerson"
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="telLink">
<el-input
v-model="queryParams.data.telLink"
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="attachment">
<el-input
v-model="queryParams.data.attachment"
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="applyPerson">
<el-input
v-model="queryParams.data.applyPerson"
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="applyDate">
<el-date-picker clearable size="small" style="width: 200px"
v-model="queryParams.applyDate"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择审核日期">
</el-date-picker>
</el-form-item>
<el-form-item label="审核意见" prop="applyOpinion">
<el-input
v-model="queryParams.data.applyOpinion"
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="status">
<el-select v-model="queryParams.data.status" placeholder="请选择审核状态" clearable size="small">
<el-option label="请选择字典生成" value="" />
</el-select>
</el-form-item>
<el-form-item label="创建人" prop="createUid">
<el-input
v-model="queryParams.data.createUid"
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="createTime">
<el-date-picker clearable size="small" style="width: 200px"
v-model="queryParams.createTime"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择创建时间">
</el-date-picker>
</el-form-item>
<el-form-item label="更新人" prop="updateUid">
<el-input
v-model="queryParams.data.updateUid"
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="updateTime">
<el-date-picker clearable size="small" style="width: 200px"
v-model="queryParams.updateTime"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择更新时间">
</el-date-picker>
</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">
<el-col :span="1.5">
<el-button
type="primary"
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['build:buildProgressWarning:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="success"
icon="el-icon-edit"
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['build:buildProgressWarning:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="danger"
icon="el-icon-delete"
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['build:buildProgressWarning:remove']"
>删除</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="warning"
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['build:buildProgressWarning:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="buildProgressWarningList" @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="projectName" min-width="120"/>
<el-table-column label="项目编码" align="center" prop="proCode" min-width="120"/>
<el-table-column label="项目编号" align="center" prop="proNo" min-width="120"/>
<el-table-column label="进度要求" align="center" prop="scheduleReq" min-width="120"/>
<el-table-column label="执行情况" align="center" prop="execEnv" min-width="120"/>
<el-table-column label="填写日期" align="center" prop="reportDate" min-width="120">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.reportDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="填报人" align="center" prop="reportPerson" min-width="120"/>
<el-table-column label="联系人" align="center" prop="telLink" min-width="120"/>
<el-table-column label="附件" align="center" prop="attachment" min-width="120"/>
<el-table-column label="审核人" align="center" prop="applyPerson" min-width="120"/>
<el-table-column label="审核日期" align="center" prop="applyDate" min-width="120">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.applyDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="审核意见" align="center" prop="applyOpinion" min-width="120"/>
<el-table-column label="审核状态" align="center" prop="status" min-width="120"/>
<el-table-column label="创建人" align="center" prop="createUid" min-width="120"/>
<el-table-column label="创建时间" align="center" prop="createTime" min-width="120">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="更新人" align="center" prop="updateUid" min-width="120"/>
<el-table-column label="更新时间" align="center" prop="updateTime" min-width="120">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.updateTime, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark" 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="handleUpdate(scope.row)"
v-hasPermi="['build:buildProgressWarning:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['build:buildProgressWarning: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="80px">
<el-form-item label="所属项目" prop="projectName">
<el-input v-model="form.projectName" placeholder="请输入所属项目" />
</el-form-item>
<el-form-item label="项目编码" prop="proCode">
<el-input v-model="form.proCode" placeholder="请输入项目编码" />
</el-form-item>
<el-form-item label="项目编号" prop="proNo">
<el-input v-model="form.proNo" placeholder="请输入项目编号" />
</el-form-item>
<el-form-item label="进度要求" prop="scheduleReq">
<el-input v-model="form.scheduleReq" placeholder="请输入进度要求" />
</el-form-item>
<el-form-item label="执行情况" prop="execEnv">
<el-input v-model="form.execEnv" placeholder="请输入执行情况" />
</el-form-item>
<el-form-item label="填写日期" prop="reportDate">
<el-date-picker clearable size="small" style="width: 100%"
v-model="form.reportDate"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择填写日期">
</el-date-picker>
</el-form-item>
<el-form-item label="填报人" prop="reportPerson">
<el-input v-model="form.reportPerson" placeholder="请输入填报人" />
</el-form-item>
<el-form-item label="联系人" prop="telLink">
<el-input v-model="form.telLink" placeholder="请输入联系人" />
</el-form-item>
<el-form-item label="附件" prop="attachment">
<el-input v-model="form.attachment" placeholder="请输入附件" />
</el-form-item>
<el-form-item label="审核人" prop="applyPerson">
<el-input v-model="form.applyPerson" placeholder="请输入审核人" />
</el-form-item>
<el-form-item label="审核日期" prop="applyDate">
<el-date-picker clearable size="small" style="width: 100%"
v-model="form.applyDate"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择审核日期">
</el-date-picker>
</el-form-item>
<el-form-item label="审核意见" prop="applyOpinion">
<el-input v-model="form.applyOpinion" placeholder="请输入审核意见" />
</el-form-item>
<el-form-item label="审核状态">
<el-radio-group v-model="form.status">
<el-radio label="1">请选择字典生成</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="创建人" prop="createUid">
<el-input v-model="form.createUid" placeholder="请输入创建人" />
</el-form-item>
<el-form-item label="更新人" prop="updateUid">
<el-input v-model="form.updateUid" placeholder="请输入更新人" />
</el-form-item>
<el-form-item label="备注" prop="remark">
<el-input v-model="form.remark" placeholder="请输入备注" />
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { listBuildProgressWarning, getBuildProgressWarning, delBuildProgressWarning, addBuildProgressWarning, updateBuildProgressWarning, exportBuildProgressWarning } from "@/api/build/buildProgressWarning";
export default {
name: "BuildProgressWarning",
data() {
return {
//
loading: true,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
//
buildProgressWarningList: [],
//
title: "",
//
open: false,
//
queryParams: {
pageNum: 1,
pageSize: 10,
ids:null,
data:{
projectName: null,
proCode: null,
proNo: null,
scheduleReq: null,
execEnv: null,
reportDate: null,
reportPerson: null,
telLink: null,
attachment: null,
applyPerson: null,
applyDate: null,
applyOpinion: null,
status: null,
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
},
//
params: {
//
orderBy: "create_time",
// descasc
sortBy: "desc",
},
},
//
form: {},
//
rules: {
}
};
},
created() {
this.getList();
},
methods: {
/** 查询建设进度预警列表 */
getList() {
this.loading = true;
listBuildProgressWarning(this.queryParams).then(response => {
this.buildProgressWarningList = response.records;
this.total = response.total;
this.loading = false;
});
},
//
cancel() {
this.open = false;
this.reset();
},
//
reset() {
this.form = {
id: null,
projectName: null,
proCode: null,
proNo: null,
scheduleReq: null,
execEnv: null,
reportDate: null,
reportPerson: null,
telLink: null,
attachment: null,
applyPerson: null,
applyDate: null,
applyOpinion: null,
status: "0",
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
remark: null
};
this.resetForm("form");
},
//
resetQueryForm() {
this.queryParams = {
pageNum: 1,
pageSize: 10,
data:{
id: null,
projectName: null,
proCode: null,
proNo: null,
scheduleReq: null,
execEnv: null,
reportDate: null,
reportPerson: null,
telLink: null,
attachment: null,
applyPerson: null,
applyDate: null,
applyOpinion: null,
status: "0",
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
remark: 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
getBuildProgressWarning(id).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改建设进度预警";
});
},
/** 提交按钮 */
submitForm() {
this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.id != null) {
updateBuildProgressWarning(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("修改成功");
this.open = false;
this.getList();
}
});
} else {
addBuildProgressWarning(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 delBuildProgressWarning(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 exportBuildProgressWarning(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;
// }
//}
</style>

2458
jwtech-admin-page/src/views/building/projectInfo/costChangeWarning/index.vue

File diff suppressed because it is too large

467
jwtech-admin-page/src/views/building/projectInfo/costChangeWarning/list.vue

@ -0,0 +1,467 @@
<template>
<div class="app-container">
<div style="font-size: 24px;margin-bottom: 16px;">{{ formData.projectName }}</div>
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch">
<el-form-item label="条件" prop="warnCondition">
<el-input
v-model="queryParams.data.warnCondition"
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>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
type="primary"
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['build:costChangeWarning:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="success"
icon="el-icon-edit"
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['build:costChangeWarning:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="danger"
icon="el-icon-delete"
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['build:costChangeWarning:remove']"
>删除</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="warning"
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['build:costChangeWarning:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="costChangeWarningList" @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="projectName" min-width="120">
<template slot-scope="scope">
{{ formData.projectName }}
</template>
</el-table-column>
<el-table-column label="项目编码" align="center" prop="proCode" min-width="120">
<template slot-scope="scope">
{{ formData.proCode }}
</template>
</el-table-column>
<el-table-column label="项目编号" align="center" prop="proNo" min-width="120">
<template slot-scope="scope">
{{ formData.proNo }}
</template>
</el-table-column>
<el-table-column label="预警类型" align="center" prop="warnType" min-width="120"/>
<el-table-column label="条件" align="center" prop="warnCondition" min-width="120"/>
<el-table-column label="金额" align="center" prop="amount" min-width="120"/>
<el-table-column label="预警级别" align="center" prop="warnLevel" min-width="120"/>
<el-table-column label="时间节点" align="center" prop="dateNode" min-width="120"/>
<el-table-column label="预警描述" align="center" prop="ruleMsg" min-width="120"/>
<el-table-column label="项目编号" align="center" prop="proNo" min-width="120">
<template slot-scope="scope">
<span>{{ scope.row.status=='1' ? '预警' : '正常' }}</span>
</template>
</el-table-column>
<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="handleUpdate(scope.row)"
v-hasPermi="['build:costChangeWarning:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['build:costChangeWarning: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="650px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="预警类型" prop="warnType">
<el-select v-model="form.warnType" placeholder="请选择预警类型" style="width: 100%">
<el-option
v-for="dict in warningTypeOptions"
:key="dict.dictValue"
:label="dict.dictLabel"
:value="dict.dictValue"
/>
</el-select>
</el-form-item>
<el-form-item label="条件" prop="warnCondition">
<el-input v-model="form.warnCondition" placeholder="请输入条件" />
</el-form-item>
<el-form-item label="金额" prop="amount">
<el-input v-model="form.amount" placeholder="请输入金额" />
</el-form-item>
<el-form-item label="预警级别" prop="warnLevel">
<el-input v-model="form.warnLevel" placeholder="请输入预警级别" />
</el-form-item>
<el-form-item label="时间节点" prop="dateNode">
<el-date-picker
v-model="form.dateNode"
type="date"
style="width: 100%;"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
placeholder="请选择日期">
</el-date-picker>
</el-form-item>
<el-form-item label="预警描述" prop="ruleMsg">
<el-input type="textarea" :rows="5" v-model="form.ruleMsg" placeholder="请输入预警描述" />
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { listCostChangeWarning, getCostChangeWarning, delCostChangeWarning, addCostChangeWarning, updateCostChangeWarning, exportCostChangeWarning } from "@/api/build/costChangeWarning";
import {
getInfo
} from "@/api/build/projectInfo";
export default {
name: "CostChangeWarning",
data() {
return {
//
loading: true,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
//
costChangeWarningList: [],
//
title: "",
//
open: false,
//
queryParams: {
pageNum: 1,
pageSize: 10,
ids:null,
data:{
projectName: null,
proCode: null,
proNo: null,
warnType: null,
warnCondition: null,
amount: null,
warnLevel: null,
dateNode: null,
ruleMsg: null,
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
status: null
},
//
params: {
//
orderBy: "create_time",
// descasc
sortBy: "desc",
},
},
//
form: {},
//
rules: {
warnType: [
{
required: true,
message: "请选择预警类型",
trigger: "change",
}
],
warnCondition: [
{
required: true,
message: "请输入条件",
trigger: "blur",
}
],
amount: [
{
required: true,
message: "请输入金额",
trigger: "blur",
}
],
warnLevel: [
{
required: true,
message: "请输入预警级别",
trigger: "blur",
}
],
dateNode: [
{
required: true,
message: "请选择时间节点",
trigger: "change",
}
]
},
formData: {},
warningTypeOptions: []
};
},
created() {
this.queryParams.data.proNo = this.$route.query.proNo
this.getDictList()
this.getList()
this.getProjectInfo()
},
methods: {
//
getProjectInfo() {
getInfo(this.$route.query.baseDataId).then((response) => {
this.formData = response.data
});
},
/** 查询造价变幅预警管理列表 */
getList() {
this.loading = true;
listCostChangeWarning(this.queryParams).then(response => {
this.costChangeWarningList = response.records;
this.total = response.total;
this.loading = false;
});
},
//
getDictList() {
this.getDicts("warning_type").then((response) => {
this.warningTypeOptions = response.data;
})
},
//
cancel() {
this.open = false;
this.reset();
},
//
reset() {
this.form = {
id: null,
projectName: null,
proCode: null,
proNo: null,
warnType: null,
warnCondition: null,
amount: null,
warnLevel: null,
dateNode: null,
ruleMsg: null,
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
remark: null,
status: "0"
};
this.resetForm("form");
},
//
resetQueryForm() {
this.queryParams = {
pageNum: 1,
pageSize: 10,
data:{
id: null,
projectName: null,
proCode: null,
proNo: null,
warnType: null,
warnCondition: null,
amount: null,
warnLevel: null,
dateNode: null,
ruleMsg: null,
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
remark: null,
status: "0"
},
//
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
getCostChangeWarning(id).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改造价变幅预警管理";
});
},
/** 提交按钮 */
submitForm() {
this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.id != null) {
updateCostChangeWarning(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("修改成功");
this.open = false;
this.getList();
}
});
} else {
this.form.projectName = this.formData.projectName
this.form.proCode = this.formData.proCode
this.form.proNo = this.formData.proNo
addCostChangeWarning(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 delCostChangeWarning(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 exportCostChangeWarning(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;
// }
//}
</style>

2451
jwtech-admin-page/src/views/building/projectInfo/fundPayWarning/index.vue

File diff suppressed because it is too large

504
jwtech-admin-page/src/views/building/projectInfo/fundPayWarning/list.vue

@ -0,0 +1,504 @@
<template>
<div class="app-container">
<div style="font-size: 24px;margin-bottom: 16px;">{{ formData.projectName }}</div>
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch">
<el-form-item label="原因" prop="reason">
<el-input
v-model="queryParams.data.reason"
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>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
type="primary"
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['build:fundPayWarning:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="success"
icon="el-icon-edit"
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['build:fundPayWarning:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="danger"
icon="el-icon-delete"
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['build:fundPayWarning:remove']"
>删除</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="warning"
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['build:fundPayWarning:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="fundPayWarningList" @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="projectName" min-width="120">
<template slot-scope="scope">
{{ formData.projectName }}
</template>
</el-table-column>
<el-table-column label="项目编码" align="center" prop="proCode" min-width="120">
<template slot-scope="scope">
{{ formData.proCode }}
</template>
</el-table-column>
<el-table-column label="项目编号" align="center" prop="proNo" min-width="120">
<template slot-scope="scope">
{{ formData.proNo }}
</template>
</el-table-column>
<el-table-column label="支付时间范围" align="center" prop="payDateRange" min-width="120"/>
<el-table-column label="支付金额" align="center" prop="payAmount" min-width="120"/>
<el-table-column label="预警描述" align="center" prop="ruleMsg" min-width="120"/>
<el-table-column label="说明情况" align="center" prop="describe" min-width="120"/>
<el-table-column label="原因" align="center" prop="reason" min-width="120"/>
<el-table-column label="状态" align="center" prop="status" 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="handleUpdate(scope.row)"
v-hasPermi="['build:fundPayWarning:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['build:fundPayWarning: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="650px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="110px">
<el-form-item label="支付时间范围" prop="payDateRange">
<!-- <el-input v-model="form.payDateRange" placeholder="请输入支付时间范围" /> -->
<el-date-picker
v-model="timeRange"
type="daterange"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
style="width: 100%;">
</el-date-picker>
</el-form-item>
<el-form-item label="支付金额" prop="payAmount">
<el-input v-model="form.payAmount" placeholder="请输入支付金额" />
</el-form-item>
<el-form-item label="预警描述" prop="ruleMsg">
<el-input v-model="form.ruleMsg" placeholder="请输入预警描述" />
</el-form-item>
<el-form-item label="说明情况" prop="describe">
<el-input v-model="form.describe" placeholder="请输入说明情况" />
</el-form-item>
<el-form-item label="原因" prop="reason">
<el-input v-model="form.reason" placeholder="请输入原因" />
</el-form-item>
<el-form-item label="预警状态" prop="status">
<el-select v-model="form.status" placeholder="请选择预警状态" style="width: 100%">
<el-option
v-for="dict in warningStatusOptions"
:key="dict.dictValue"
:label="dict.dictLabel"
:value="dict.dictValue"
/>
</el-select>
</el-form-item>
<el-form-item label="处置状态" prop="handle">
<el-select v-model="form.handle" placeholder="请选择处置状态" style="width: 100%">
<el-option
v-for="dict in handleStatusOptions"
:key="dict.dictValue"
:label="dict.dictLabel"
:value="dict.dictValue"
/>
</el-select>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { listFundPayWarning, getFundPayWarning, delFundPayWarning, addFundPayWarning, updateFundPayWarning, exportFundPayWarning } from "@/api/build/fundPayWarning";
import {
getInfo
} from "@/api/build/projectInfo";
export default {
name: "FundPayWarning",
data() {
return {
//
loading: true,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
//
fundPayWarningList: [],
//
title: "",
//
open: false,
//
queryParams: {
pageNum: 1,
pageSize: 10,
ids:null,
data:{
projectName: null,
proCode: null,
proNo: null,
payDateRange: null,
payAmount: null,
ruleMsg: null,
describe: null,
reason: null,
status: null,
handle: null,
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
},
//
params: {
//
orderBy: "create_time",
// descasc
sortBy: "desc",
},
},
//
form: {},
//
rules: {
// payDateRange: [
// {
// required: true,
// message: "",
// trigger: "change",
// }
// ],
payAmount: [
{
required: true,
message: "请输入支付金额",
trigger: "blur",
}
],
ruleMsg: [
{
required: true,
message: "请输入预警描述",
trigger: "blur",
}
],
describe: [
{
required: true,
message: "请输入说明情况",
trigger: "blur",
}
],
reason: [
{
required: true,
message: "请输入说明情况",
trigger: "blur",
}
],
status: [
{
required: true,
message: "请选择预警状态",
trigger: "change",
}
],
handle: [
{
required: true,
message: "请选择处置状态",
trigger: "change",
}
],
},
formData: {},
handleStatusOptions: [],
warningStatusOptions: [],
timeRange: []
};
},
watch: {
timeRange(newVal) {
if (newVal) {
this.form.payDateRange = newVal.join(',')
} else {
this.form.payDateRange = null
}
console.log(newVal)
}
},
created() {
this.queryParams.data.proNo = this.$route.query.proNo
this.getDictList()
this.getList()
this.getProjectInfo()
},
methods: {
//
getProjectInfo() {
getInfo(this.$route.query.baseDataId).then((response) => {
this.formData = response.data
});
},
/** 查询资金支付预警管理列表 */
getList() {
this.loading = true;
listFundPayWarning(this.queryParams).then(response => {
this.fundPayWarningList = response.records;
this.total = response.total;
this.loading = false;
});
},
//
getDictList() {
this.getDicts("warning_status").then((response) => {
this.warningStatusOptions = response.data;
})
this.getDicts("handle_status").then((response) => {
this.handleStatusOptions = response.data;
})
},
//
cancel() {
this.open = false;
this.reset();
},
//
reset() {
this.form = {
id: null,
projectName: null,
proCode: null,
proNo: null,
payDateRange: null,
payAmount: null,
ruleMsg: null,
describe: null,
reason: null,
status: null,
handle: null,
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
remark: null
};
this.resetForm("form");
},
//
resetQueryForm() {
this.queryParams = {
pageNum: 1,
pageSize: 10,
data:{
id: null,
projectName: null,
proCode: null,
proNo: null,
payDateRange: null,
payAmount: null,
ruleMsg: null,
describe: null,
reason: null,
status: "0",
handle: null,
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
remark: 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
getFundPayWarning(id).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改资金支付预警管理";
});
},
/** 提交按钮 */
submitForm() {
this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.id != null) {
updateFundPayWarning(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("修改成功");
this.open = false;
this.getList();
}
});
} else {
this.form.projectName = this.formData.projectName
this.form.proCode = this.formData.proCode
this.form.proNo = this.formData.proNo
addFundPayWarning(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 delFundPayWarning(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 exportFundPayWarning(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;
// }
//}
</style>

2466
jwtech-admin-page/src/views/building/projectInfo/investCompleteWarning/index.vue

File diff suppressed because it is too large

644
jwtech-admin-page/src/views/building/projectInfo/investCompleteWarning/list.vue

@ -0,0 +1,644 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch">
<el-form-item label="所属项目" prop="projectName">
<el-input
v-model="queryParams.data.projectName"
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="proCode">
<el-input
v-model="queryParams.data.proCode"
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="proNo">
<el-input
v-model="queryParams.data.proNo"
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="configName">
<el-input
v-model="queryParams.data.configName"
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="configType">
<el-select v-model="queryParams.data.configType" placeholder="请选择类型" clearable size="small">
<el-option label="请选择字典生成" value="" />
</el-select>
</el-form-item>
<el-form-item label="验收申请内容" prop="configContent">
<el-input
v-model="queryParams.data.configContent"
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="applyAttachment">
<el-input
v-model="queryParams.data.applyAttachment"
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="applyContent">
<el-input
v-model="queryParams.data.applyContent"
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="applyDate">
<el-date-picker clearable size="small" style="width: 200px"
v-model="queryParams.applyDate"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择申请时间">
</el-date-picker>
</el-form-item>
<el-form-item label="审批意见" prop="examineOpinion">
<el-input
v-model="queryParams.data.examineOpinion"
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="examineDate">
<el-date-picker clearable size="small" style="width: 200px"
v-model="queryParams.examineDate"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择审核时间">
</el-date-picker>
</el-form-item>
<el-form-item label="创建人" prop="createUid">
<el-input
v-model="queryParams.data.createUid"
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="createTime">
<el-date-picker clearable size="small" style="width: 200px"
v-model="queryParams.createTime"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择创建时间">
</el-date-picker>
</el-form-item>
<el-form-item label="更新人" prop="updateUid">
<el-input
v-model="queryParams.data.updateUid"
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="updateTime">
<el-date-picker clearable size="small" style="width: 200px"
v-model="queryParams.updateTime"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择更新时间">
</el-date-picker>
</el-form-item>
<el-form-item label="状态" prop="status">
<el-select v-model="queryParams.data.status" placeholder="请选择状态" clearable size="small">
<el-option label="请选择字典生成" value="" />
</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">
<el-col :span="1.5">
<el-button
type="primary"
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['build:investCompleteConfig:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="success"
icon="el-icon-edit"
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['build:investCompleteConfig:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="danger"
icon="el-icon-delete"
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['build:investCompleteConfig:remove']"
>删除</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="warning"
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['build:investCompleteConfig:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="investCompleteConfigList" @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="projectName" min-width="120"/>
<el-table-column label="项目编码" align="center" prop="proCode" min-width="120"/>
<el-table-column label="项目编号" align="center" prop="proNo" min-width="120"/>
<el-table-column label="配置名称" align="center" prop="configName" min-width="120"/>
<el-table-column label="类型" align="center" prop="configType" min-width="120"/>
<el-table-column label="验收申请内容" align="center" prop="configContent" min-width="120"/>
<el-table-column label="附件" align="center" prop="applyAttachment" min-width="120"/>
<el-table-column label="审核反馈" align="center" prop="applyContent" min-width="120"/>
<el-table-column label="申请时间" align="center" prop="applyDate" min-width="120">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.applyDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="审批意见" align="center" prop="examineOpinion" min-width="120"/>
<el-table-column label="审核时间" align="center" prop="examineDate" min-width="120">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.examineDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="创建人" align="center" prop="createUid" min-width="120"/>
<el-table-column label="创建时间" align="center" prop="createTime" min-width="120">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="更新人" align="center" prop="updateUid" min-width="120"/>
<el-table-column label="更新时间" align="center" prop="updateTime" min-width="120">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.updateTime, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark" min-width="120"/>
<el-table-column label="状态" align="center" prop="status" 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="handleUpdate(scope.row)"
v-hasPermi="['build:investCompleteConfig:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['build:investCompleteConfig: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="80px">
<el-form-item label="所属项目" prop="projectName">
<el-input v-model="form.projectName" placeholder="请输入所属项目" />
</el-form-item>
<el-form-item label="项目编码" prop="proCode">
<el-input v-model="form.proCode" placeholder="请输入项目编码" />
</el-form-item>
<el-form-item label="项目编号" prop="proNo">
<el-input v-model="form.proNo" placeholder="请输入项目编号" />
</el-form-item>
<el-form-item label="配置名称" prop="configName">
<el-input v-model="form.configName" placeholder="请输入配置名称" />
</el-form-item>
<el-form-item label="类型" prop="configType">
<el-select v-model="form.configType" placeholder="请选择类型" style="width: 100%">
<el-option label="请选择字典生成" value="" />
</el-select>
</el-form-item>
<el-form-item label="验收申请内容" prop="configContent">
<el-input v-model="form.configContent" placeholder="请输入验收申请内容" />
</el-form-item>
<el-form-item label="附件" prop="applyAttachment">
<el-input v-model="form.applyAttachment" placeholder="请输入附件" />
</el-form-item>
<el-form-item label="审核反馈" prop="applyContent">
<el-input v-model="form.applyContent" placeholder="请输入审核反馈" />
</el-form-item>
<el-form-item label="申请时间" prop="applyDate">
<el-date-picker clearable size="small" style="width: 100%"
v-model="form.applyDate"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择申请时间">
</el-date-picker>
</el-form-item>
<el-form-item label="审批意见" prop="examineOpinion">
<el-input v-model="form.examineOpinion" placeholder="请输入审批意见" />
</el-form-item>
<el-form-item label="审核时间" prop="examineDate">
<el-date-picker clearable size="small" style="width: 100%"
v-model="form.examineDate"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择审核时间">
</el-date-picker>
</el-form-item>
<el-form-item label="创建人" prop="createUid">
<el-input v-model="form.createUid" placeholder="请输入创建人" />
</el-form-item>
<el-form-item label="更新人" prop="updateUid">
<el-input v-model="form.updateUid" placeholder="请输入更新人" />
</el-form-item>
<el-form-item label="备注" prop="remark">
<el-input v-model="form.remark" placeholder="请输入备注" />
</el-form-item>
<el-form-item label="状态">
<el-radio-group v-model="form.status">
<el-radio label="1">请选择字典生成</el-radio>
</el-radio-group>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { listInvestCompleteConfig, getInvestCompleteConfig, delInvestCompleteConfig, addInvestCompleteConfig, updateInvestCompleteConfig, exportInvestCompleteConfig } from "@/api/build/investCompleteConfig";
export default {
name: "InvestCompleteConfig",
data() {
return {
//
loading: true,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
//
investCompleteConfigList: [],
//
title: "",
//
open: false,
//
queryParams: {
pageNum: 1,
pageSize: 10,
ids:null,
data:{
projectName: null,
proCode: null,
proNo: null,
configName: null,
configType: null,
configContent: null,
applyAttachment: null,
applyContent: null,
applyDate: null,
examineOpinion: null,
examineDate: null,
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
status: null
},
//
params: {
//
orderBy: "create_time",
// descasc
sortBy: "desc",
},
},
//
form: {},
//
rules: {
}
};
},
created() {
this.getList();
},
methods: {
/** 查询投资完成验收申请列表 */
getList() {
this.loading = true;
listInvestCompleteConfig(this.queryParams).then(response => {
this.investCompleteConfigList = response.records;
this.total = response.total;
this.loading = false;
});
},
//
cancel() {
this.open = false;
this.reset();
},
//
reset() {
this.form = {
id: null,
projectName: null,
proCode: null,
proNo: null,
configName: null,
configType: null,
configContent: null,
applyAttachment: null,
applyContent: null,
applyDate: null,
examineOpinion: null,
examineDate: null,
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
remark: null,
status: "0"
};
this.resetForm("form");
},
//
resetQueryForm() {
this.queryParams = {
pageNum: 1,
pageSize: 10,
data:{
id: null,
projectName: null,
proCode: null,
proNo: null,
configName: null,
configType: null,
configContent: null,
applyAttachment: null,
applyContent: null,
applyDate: null,
examineOpinion: null,
examineDate: null,
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
remark: null,
status: "0"
},
//
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
getInvestCompleteConfig(id).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改投资完成验收申请";
});
},
/** 提交按钮 */
submitForm() {
this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.id != null) {
updateInvestCompleteConfig(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("修改成功");
this.open = false;
this.getList();
}
});
} else {
addInvestCompleteConfig(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 delInvestCompleteConfig(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 exportInvestCompleteConfig(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;
// }
//}
</style>

114
jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiConstProReportController.java

@ -0,0 +1,114 @@
package com.kms.build.controller;
import java.util.Arrays;
import java.util.List;
import com.jianwei.common.core.controller.BaseController;
import com.jianwei.common.core.domain.SearchParam;
import com.jianwei.common.utils.poi.ExcelUtil;
import com.kms.common.utils.BaseEntityUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jianwei.common.mybaitsplus.BeanToWrapper;
import com.jianwei.common.annotation.Log;
import com.jianwei.common.core.domain.AjaxResult;
import com.jianwei.common.enums.BusinessType;
import com.kms.build.domain.BsSgcJsjdBuiConstProReport;
import com.kms.build.service.BsSgcJsjdBuiConstProReportService;
/**
* 建设进度预警Controller
*
* @author kms
* @date 2025-03-12
*/
@RestController
@RequestMapping("/build/buildProgressWarning")
@Api(tags = "建设进度预警")
public class BsSgcJsjdBuiConstProReportController extends BaseController
{
@Autowired
private BsSgcJsjdBuiConstProReportService bsSgcJsjdBuiConstProReportService;
/**
* 查询建设进度预警列表
*/
@PostMapping("/list")
@ApiOperation("建设进度预警列表")
public IPage list(@RequestBody SearchParam<BsSgcJsjdBuiConstProReport> sp)
{
return bsSgcJsjdBuiConstProReportService.selectPage(sp);
}
/**
* 导出建设进度预警列表
*/
@Log(title = "建设进度预警导出", businessType = BusinessType.EXPORT)
@PostMapping("/export")
@ApiOperation("建设进度预警导出")
public AjaxResult export(@RequestBody BsSgcJsjdBuiConstProReport bsSgcJsjdBuiConstProReport)
{
List<BsSgcJsjdBuiConstProReport> list = bsSgcJsjdBuiConstProReportService.listByIds(bsSgcJsjdBuiConstProReport.getIds());
ExcelUtil<BsSgcJsjdBuiConstProReport> util = new ExcelUtil<>(BsSgcJsjdBuiConstProReport.class);
return util.exportExcel(list, "buildProgressWarning");
}
/**
* 获取建设进度预警详细信息
*/
@ApiOperation(" 建设进度预警详情")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String id)
{
return AjaxResult.success(bsSgcJsjdBuiConstProReportService.getById(id));
}
/**
* 新增建设进度预警
*/
@Log(title = "建设进度预警新增", businessType = BusinessType.INSERT)
@PostMapping
@ApiOperation("建设进度预警新增")
public AjaxResult add(@RequestBody BsSgcJsjdBuiConstProReport bsSgcJsjdBuiConstProReport)
{
BaseEntityUtils.preInsert(bsSgcJsjdBuiConstProReport);
return toAjax(bsSgcJsjdBuiConstProReportService.save(bsSgcJsjdBuiConstProReport));
}
/**
* 修改建设进度预警
*/
@ApiOperation("建设进度预警修改")
@Log(title = "建设进度预警修改", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BsSgcJsjdBuiConstProReport bsSgcJsjdBuiConstProReport)
{
return toAjax(bsSgcJsjdBuiConstProReportService.updateById(bsSgcJsjdBuiConstProReport));
}
/**
* 删除建设进度预警
*/
@ApiOperation("建设进度预警删除")
@Log(title = "建设进度预警删除", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids)
{
return toAjax(bsSgcJsjdBuiConstProReportService.removeByIds(Arrays.asList(ids)));
}
}

114
jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiCostChangeRuleController.java

@ -0,0 +1,114 @@
package com.kms.build.controller;
import java.util.Arrays;
import java.util.List;
import com.jianwei.common.core.controller.BaseController;
import com.jianwei.common.core.domain.SearchParam;
import com.jianwei.common.utils.poi.ExcelUtil;
import com.kms.common.utils.BaseEntityUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jianwei.common.mybaitsplus.BeanToWrapper;
import com.jianwei.common.annotation.Log;
import com.jianwei.common.core.domain.AjaxResult;
import com.jianwei.common.enums.BusinessType;
import com.kms.build.domain.BsSgcJsjdBuiCostChangeRule;
import com.kms.build.service.BsSgcJsjdBuiCostChangeRuleService;
/**
* 造价变幅预警管理Controller
*
* @author kms
* @date 2025-03-11
*/
@RestController
@RequestMapping("/build/costChangeWarning")
@Api(tags = "造价变幅预警管理")
public class BsSgcJsjdBuiCostChangeRuleController extends BaseController
{
@Autowired
private BsSgcJsjdBuiCostChangeRuleService bsSgcJsjdBuiCostChangeRuleService;
/**
* 查询造价变幅预警管理列表
*/
@PostMapping("/list")
@ApiOperation("造价变幅预警管理列表")
public IPage list(@RequestBody SearchParam<BsSgcJsjdBuiCostChangeRule> sp)
{
return bsSgcJsjdBuiCostChangeRuleService.selectPage(sp);
}
/**
* 导出造价变幅预警管理列表
*/
@Log(title = "造价变幅预警管理导出", businessType = BusinessType.EXPORT)
@PostMapping("/export")
@ApiOperation("造价变幅预警管理导出")
public AjaxResult export(@RequestBody BsSgcJsjdBuiCostChangeRule bsSgcJsjdBuiCostChangeRule)
{
List<BsSgcJsjdBuiCostChangeRule> list = bsSgcJsjdBuiCostChangeRuleService.listByIds(bsSgcJsjdBuiCostChangeRule.getIds());
ExcelUtil<BsSgcJsjdBuiCostChangeRule> util = new ExcelUtil<>(BsSgcJsjdBuiCostChangeRule.class);
return util.exportExcel(list, "costChangeWarning");
}
/**
* 获取造价变幅预警管理详细信息
*/
@ApiOperation(" 造价变幅预警管理详情")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String id)
{
return AjaxResult.success(bsSgcJsjdBuiCostChangeRuleService.getById(id));
}
/**
* 新增造价变幅预警管理
*/
@Log(title = "造价变幅预警管理新增", businessType = BusinessType.INSERT)
@PostMapping
@ApiOperation("造价变幅预警管理新增")
public AjaxResult add(@RequestBody BsSgcJsjdBuiCostChangeRule bsSgcJsjdBuiCostChangeRule)
{
BaseEntityUtils.preInsert(bsSgcJsjdBuiCostChangeRule);
return toAjax(bsSgcJsjdBuiCostChangeRuleService.save(bsSgcJsjdBuiCostChangeRule));
}
/**
* 修改造价变幅预警管理
*/
@ApiOperation("造价变幅预警管理修改")
@Log(title = "造价变幅预警管理修改", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BsSgcJsjdBuiCostChangeRule bsSgcJsjdBuiCostChangeRule)
{
return toAjax(bsSgcJsjdBuiCostChangeRuleService.updateById(bsSgcJsjdBuiCostChangeRule));
}
/**
* 删除造价变幅预警管理
*/
@ApiOperation("造价变幅预警管理删除")
@Log(title = "造价变幅预警管理删除", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids)
{
return toAjax(bsSgcJsjdBuiCostChangeRuleService.removeByIds(Arrays.asList(ids)));
}
}

114
jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiInvestConfigController.java

@ -0,0 +1,114 @@
package com.kms.build.controller;
import java.util.Arrays;
import java.util.List;
import com.jianwei.common.core.controller.BaseController;
import com.jianwei.common.core.domain.SearchParam;
import com.jianwei.common.utils.poi.ExcelUtil;
import com.kms.common.utils.BaseEntityUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jianwei.common.mybaitsplus.BeanToWrapper;
import com.jianwei.common.annotation.Log;
import com.jianwei.common.core.domain.AjaxResult;
import com.jianwei.common.enums.BusinessType;
import com.kms.build.domain.BsSgcJsjdBuiInvestConfig;
import com.kms.build.service.BsSgcJsjdBuiInvestConfigService;
/**
* 投资完成验收申请Controller
*
* @author kms
* @date 2025-03-12
*/
@RestController
@RequestMapping("/build/investCompleteConfig")
@Api(tags = "投资完成验收申请")
public class BsSgcJsjdBuiInvestConfigController extends BaseController
{
@Autowired
private BsSgcJsjdBuiInvestConfigService bsSgcJsjdBuiInvestConfigService;
/**
* 查询投资完成验收申请列表
*/
@PostMapping("/list")
@ApiOperation("投资完成验收申请列表")
public IPage list(@RequestBody SearchParam<BsSgcJsjdBuiInvestConfig> sp)
{
return bsSgcJsjdBuiInvestConfigService.selectPage(sp);
}
/**
* 导出投资完成验收申请列表
*/
@Log(title = "投资完成验收申请导出", businessType = BusinessType.EXPORT)
@PostMapping("/export")
@ApiOperation("投资完成验收申请导出")
public AjaxResult export(@RequestBody BsSgcJsjdBuiInvestConfig bsSgcJsjdBuiInvestConfig)
{
List<BsSgcJsjdBuiInvestConfig> list = bsSgcJsjdBuiInvestConfigService.listByIds(bsSgcJsjdBuiInvestConfig.getIds());
ExcelUtil<BsSgcJsjdBuiInvestConfig> util = new ExcelUtil<>(BsSgcJsjdBuiInvestConfig.class);
return util.exportExcel(list, "investCompleteConfig");
}
/**
* 获取投资完成验收申请详细信息
*/
@ApiOperation(" 投资完成验收申请详情")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String id)
{
return AjaxResult.success(bsSgcJsjdBuiInvestConfigService.getById(id));
}
/**
* 新增投资完成验收申请
*/
@Log(title = "投资完成验收申请新增", businessType = BusinessType.INSERT)
@PostMapping
@ApiOperation("投资完成验收申请新增")
public AjaxResult add(@RequestBody BsSgcJsjdBuiInvestConfig bsSgcJsjdBuiInvestConfig)
{
BaseEntityUtils.preInsert(bsSgcJsjdBuiInvestConfig);
return toAjax(bsSgcJsjdBuiInvestConfigService.save(bsSgcJsjdBuiInvestConfig));
}
/**
* 修改投资完成验收申请
*/
@ApiOperation("投资完成验收申请修改")
@Log(title = "投资完成验收申请修改", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BsSgcJsjdBuiInvestConfig bsSgcJsjdBuiInvestConfig)
{
return toAjax(bsSgcJsjdBuiInvestConfigService.updateById(bsSgcJsjdBuiInvestConfig));
}
/**
* 删除投资完成验收申请
*/
@ApiOperation("投资完成验收申请删除")
@Log(title = "投资完成验收申请删除", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids)
{
return toAjax(bsSgcJsjdBuiInvestConfigService.removeByIds(Arrays.asList(ids)));
}
}

114
jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiInvestRuleController.java

@ -0,0 +1,114 @@
package com.kms.build.controller;
import java.util.Arrays;
import java.util.List;
import com.jianwei.common.core.controller.BaseController;
import com.jianwei.common.core.domain.SearchParam;
import com.jianwei.common.utils.poi.ExcelUtil;
import com.kms.common.utils.BaseEntityUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jianwei.common.mybaitsplus.BeanToWrapper;
import com.jianwei.common.annotation.Log;
import com.jianwei.common.core.domain.AjaxResult;
import com.jianwei.common.enums.BusinessType;
import com.kms.build.domain.BsSgcJsjdBuiInvestRule;
import com.kms.build.service.BsSgcJsjdBuiInvestRuleService;
/**
* 投资完成预警管理Controller
*
* @author kms
* @date 2025-03-12
*/
@RestController
@RequestMapping("/build/investCompleteWarning")
@Api(tags = "投资完成预警管理")
public class BsSgcJsjdBuiInvestRuleController extends BaseController
{
@Autowired
private BsSgcJsjdBuiInvestRuleService bsSgcJsjdBuiInvestRuleService;
/**
* 查询投资完成预警管理列表
*/
@PostMapping("/list")
@ApiOperation("投资完成预警管理列表")
public IPage list(@RequestBody SearchParam<BsSgcJsjdBuiInvestRule> sp)
{
return bsSgcJsjdBuiInvestRuleService.selectPage(sp);
}
/**
* 导出投资完成预警管理列表
*/
@Log(title = "投资完成预警管理导出", businessType = BusinessType.EXPORT)
@PostMapping("/export")
@ApiOperation("投资完成预警管理导出")
public AjaxResult export(@RequestBody BsSgcJsjdBuiInvestRule bsSgcJsjdBuiInvestRule)
{
List<BsSgcJsjdBuiInvestRule> list = bsSgcJsjdBuiInvestRuleService.listByIds(bsSgcJsjdBuiInvestRule.getIds());
ExcelUtil<BsSgcJsjdBuiInvestRule> util = new ExcelUtil<>(BsSgcJsjdBuiInvestRule.class);
return util.exportExcel(list, "investCompleteWarning");
}
/**
* 获取投资完成预警管理详细信息
*/
@ApiOperation(" 投资完成预警管理详情")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String id)
{
return AjaxResult.success(bsSgcJsjdBuiInvestRuleService.getById(id));
}
/**
* 新增投资完成预警管理
*/
@Log(title = "投资完成预警管理新增", businessType = BusinessType.INSERT)
@PostMapping
@ApiOperation("投资完成预警管理新增")
public AjaxResult add(@RequestBody BsSgcJsjdBuiInvestRule bsSgcJsjdBuiInvestRule)
{
BaseEntityUtils.preInsert(bsSgcJsjdBuiInvestRule);
return toAjax(bsSgcJsjdBuiInvestRuleService.save(bsSgcJsjdBuiInvestRule));
}
/**
* 修改投资完成预警管理
*/
@ApiOperation("投资完成预警管理修改")
@Log(title = "投资完成预警管理修改", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BsSgcJsjdBuiInvestRule bsSgcJsjdBuiInvestRule)
{
return toAjax(bsSgcJsjdBuiInvestRuleService.updateById(bsSgcJsjdBuiInvestRule));
}
/**
* 删除投资完成预警管理
*/
@ApiOperation("投资完成预警管理删除")
@Log(title = "投资完成预警管理删除", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids)
{
return toAjax(bsSgcJsjdBuiInvestRuleService.removeByIds(Arrays.asList(ids)));
}
}

114
jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiPayAmountRuleController.java

@ -0,0 +1,114 @@
package com.kms.build.controller;
import java.util.Arrays;
import java.util.List;
import com.jianwei.common.core.controller.BaseController;
import com.jianwei.common.core.domain.SearchParam;
import com.jianwei.common.utils.poi.ExcelUtil;
import com.kms.common.utils.BaseEntityUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jianwei.common.mybaitsplus.BeanToWrapper;
import com.jianwei.common.annotation.Log;
import com.jianwei.common.core.domain.AjaxResult;
import com.jianwei.common.enums.BusinessType;
import com.kms.build.domain.BsSgcJsjdBuiPayAmountRule;
import com.kms.build.service.BsSgcJsjdBuiPayAmountRuleService;
/**
* 资金支付预警管理Controller
*
* @author kms
* @date 2025-03-12
*/
@RestController
@RequestMapping("/build/fundPayWarning")
@Api(tags = "资金支付预警管理")
public class BsSgcJsjdBuiPayAmountRuleController extends BaseController
{
@Autowired
private BsSgcJsjdBuiPayAmountRuleService bsSgcJsjdBuiPayAmountRuleService;
/**
* 查询资金支付预警管理列表
*/
@PostMapping("/list")
@ApiOperation("资金支付预警管理列表")
public IPage list(@RequestBody SearchParam<BsSgcJsjdBuiPayAmountRule> sp)
{
return bsSgcJsjdBuiPayAmountRuleService.selectPage(sp);
}
/**
* 导出资金支付预警管理列表
*/
@Log(title = "资金支付预警管理导出", businessType = BusinessType.EXPORT)
@PostMapping("/export")
@ApiOperation("资金支付预警管理导出")
public AjaxResult export(@RequestBody BsSgcJsjdBuiPayAmountRule bsSgcJsjdBuiPayAmountRule)
{
List<BsSgcJsjdBuiPayAmountRule> list = bsSgcJsjdBuiPayAmountRuleService.listByIds(bsSgcJsjdBuiPayAmountRule.getIds());
ExcelUtil<BsSgcJsjdBuiPayAmountRule> util = new ExcelUtil<>(BsSgcJsjdBuiPayAmountRule.class);
return util.exportExcel(list, "fundPayWarning");
}
/**
* 获取资金支付预警管理详细信息
*/
@ApiOperation(" 资金支付预警管理详情")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String id)
{
return AjaxResult.success(bsSgcJsjdBuiPayAmountRuleService.getById(id));
}
/**
* 新增资金支付预警管理
*/
@Log(title = "资金支付预警管理新增", businessType = BusinessType.INSERT)
@PostMapping
@ApiOperation("资金支付预警管理新增")
public AjaxResult add(@RequestBody BsSgcJsjdBuiPayAmountRule bsSgcJsjdBuiPayAmountRule)
{
BaseEntityUtils.preInsert(bsSgcJsjdBuiPayAmountRule);
return toAjax(bsSgcJsjdBuiPayAmountRuleService.save(bsSgcJsjdBuiPayAmountRule));
}
/**
* 修改资金支付预警管理
*/
@ApiOperation("资金支付预警管理修改")
@Log(title = "资金支付预警管理修改", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BsSgcJsjdBuiPayAmountRule bsSgcJsjdBuiPayAmountRule)
{
return toAjax(bsSgcJsjdBuiPayAmountRuleService.updateById(bsSgcJsjdBuiPayAmountRule));
}
/**
* 删除资金支付预警管理
*/
@ApiOperation("资金支付预警管理删除")
@Log(title = "资金支付预警管理删除", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids)
{
return toAjax(bsSgcJsjdBuiPayAmountRuleService.removeByIds(Arrays.asList(ids)));
}
}

107
jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiConstProReport.java

@ -0,0 +1,107 @@
package com.kms.build.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianwei.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jianwei.common.core.domain.BaseEntity;
/**
* 建设进度预警对象 bs_sgc_jsjd_bui_const_pro_report
*
* @author kms
* @date 2025-03-12
*/
@TableName("bs_sgc_jsjd_bui_const_pro_report")
@Data
@ApiModel("建设进度预警")
public class BsSgcJsjdBuiConstProReport extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 所属项目 */
@Excel(name = "所属项目")
@ApiModelProperty("所属项目")
private String projectName;
/** 项目编码 */
@Excel(name = "项目编码")
@ApiModelProperty("项目编码")
private String proCode;
/** 项目编号 */
@Excel(name = "项目编号")
@ApiModelProperty("项目编号")
private String proNo;
/** 进度要求 */
@Excel(name = "进度要求")
@ApiModelProperty("进度要求")
private String scheduleReq;
/** 执行情况 */
@Excel(name = "执行情况")
@ApiModelProperty("执行情况")
private String execEnv;
/** 填写日期 */
@JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
@Excel(name = "填写日期", width = 30, dateFormat = "yyyy-MM-dd")
@ApiModelProperty("填写日期")
private Date reportDate;
/** 填报人 */
@Excel(name = "填报人")
@ApiModelProperty("填报人")
private String reportPerson;
/** 联系人 */
@Excel(name = "联系人")
@ApiModelProperty("联系人")
private String telLink;
/** 附件 */
@Excel(name = "附件")
@ApiModelProperty("附件")
private String attachment;
/** 审核人 */
@Excel(name = "审核人")
@ApiModelProperty("审核人")
private String applyPerson;
/** 审核日期 */
@JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
@Excel(name = "审核日期", width = 30, dateFormat = "yyyy-MM-dd")
@ApiModelProperty("审核日期")
private Date applyDate;
/** 审核意见 */
@Excel(name = "审核意见")
@ApiModelProperty("审核意见")
private String applyOpinion;
/** 审核状态(0:待审核,1:已审核) */
@Excel(name = "审核状态", readConverterExp = "0=:待审核,1:已审核")
@ApiModelProperty("审核状态")
private String status;
/** 创建人 */
@Excel(name = "创建人")
@ApiModelProperty("创建人")
private String createUid;
/** 更新人 */
@Excel(name = "更新人")
@ApiModelProperty("更新人")
private String updateUid;
}

88
jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiCostChangeRule.java

@ -0,0 +1,88 @@
package com.kms.build.domain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianwei.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jianwei.common.core.domain.BaseEntity;
/**
* 造价变幅预警管理对象 bs_sgc_jsjd_bui_cost_change_rule
*
* @author kms
* @date 2025-03-11
*/
@TableName("bs_sgc_jsjd_bui_cost_change_rule")
@Data
@ApiModel("造价变幅预警管理")
public class BsSgcJsjdBuiCostChangeRule extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 所属项目 */
@Excel(name = "所属项目")
@ApiModelProperty("所属项目")
private String projectName;
/** 项目编码 */
@Excel(name = "项目编码")
@ApiModelProperty("项目编码")
private String proCode;
/** 项目编号 */
@Excel(name = "项目编号")
@ApiModelProperty("项目编号")
private String proNo;
/** 预警类型 */
@Excel(name = "预警类型")
@ApiModelProperty("预警类型")
private String warnType;
/** 条件 */
@Excel(name = "条件")
@ApiModelProperty("条件")
private String warnCondition;
/** 金额 */
@Excel(name = "金额")
@ApiModelProperty("金额")
private String amount;
/** 预警级别 */
@Excel(name = "预警级别")
@ApiModelProperty("预警级别")
private String warnLevel;
/** 时间节点 */
@Excel(name = "时间节点")
@ApiModelProperty("时间节点")
private String dateNode;
/** 预警描述 */
@Excel(name = "预警描述")
@ApiModelProperty("预警描述")
private String ruleMsg;
/** 创建人 */
@Excel(name = "创建人")
@ApiModelProperty("创建人")
private String createUid;
/** 更新人 */
@Excel(name = "更新人")
@ApiModelProperty("更新人")
private String updateUid;
/** 状态(0:没有预警,1:预警 */
@Excel(name = "状态", readConverterExp = "状态(0:没有预警,1:预警")
@ApiModelProperty("状态")
private String status;
}

102
jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiInvestConfig.java

@ -0,0 +1,102 @@
package com.kms.build.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianwei.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jianwei.common.core.domain.BaseEntity;
/**
* 投资完成验收申请对象 bs_sgc_jsjd_bui_invest_config
*
* @author kms
* @date 2025-03-12
*/
@TableName("bs_sgc_jsjd_bui_invest_config")
@Data
@ApiModel("投资完成验收申请")
public class BsSgcJsjdBuiInvestConfig extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 所属项目 */
@Excel(name = "所属项目")
@ApiModelProperty("所属项目")
private String projectName;
/** 项目编码 */
@Excel(name = "项目编码")
@ApiModelProperty("项目编码")
private String proCode;
/** 项目编号 */
@Excel(name = "项目编号")
@ApiModelProperty("项目编号")
private String proNo;
/** 配置名称 */
@Excel(name = "配置名称")
@ApiModelProperty("配置名称")
private String configName;
/** 类型 */
@Excel(name = "类型")
@ApiModelProperty("类型")
private String configType;
/** 验收申请内容 */
@Excel(name = "验收申请内容")
@ApiModelProperty("验收申请内容")
private String configContent;
/** 附件 */
@Excel(name = "附件")
@ApiModelProperty("附件")
private String applyAttachment;
/** 审核反馈 */
@Excel(name = "审核反馈")
@ApiModelProperty("审核反馈")
private String applyContent;
/** 申请时间 */
@JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
@Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
@ApiModelProperty("申请时间")
private Date applyDate;
/** 审批意见 */
@Excel(name = "审批意见")
@ApiModelProperty("审批意见")
private String examineOpinion;
/** 审核时间 */
@JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
@Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
@ApiModelProperty("审核时间")
private Date examineDate;
/** 创建人 */
@Excel(name = "创建人")
@ApiModelProperty("创建人")
private String createUid;
/** 更新人 */
@Excel(name = "更新人")
@ApiModelProperty("更新人")
private String updateUid;
/** 状态(0:已配置,1:已申请,2:已审核 */
@Excel(name = "状态", readConverterExp = "状态(0:已配置,1:已申请,2:已审核")
@ApiModelProperty("状态")
private String status;
}

73
jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiInvestRule.java

@ -0,0 +1,73 @@
package com.kms.build.domain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianwei.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jianwei.common.core.domain.BaseEntity;
/**
* 投资完成预警管理对象 bs_sgc_jsjd_bui_invest_rule
*
* @author kms
* @date 2025-03-12
*/
@TableName("bs_sgc_jsjd_bui_invest_rule")
@Data
@ApiModel("投资完成预警管理")
public class BsSgcJsjdBuiInvestRule extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 所属项目 */
@Excel(name = "所属项目")
@ApiModelProperty("所属项目")
private String projectName;
/** 项目编码 */
@Excel(name = "项目编码")
@ApiModelProperty("项目编码")
private String proCode;
/** 项目编号 */
@Excel(name = "项目编号")
@ApiModelProperty("项目编号")
private String proNo;
/** 预警描述 */
@Excel(name = "预警描述")
@ApiModelProperty("预警描述")
private String ruleMsg;
/** 时间节点 */
@Excel(name = "时间节点")
@ApiModelProperty("时间节点")
private String dateNode;
/** 预警事项 */
@Excel(name = "预警事项")
@ApiModelProperty("预警事项")
private String warnMatters;
/** 创建人 */
@Excel(name = "创建人")
@ApiModelProperty("创建人")
private String createUid;
/** 更新人 */
@Excel(name = "更新人")
@ApiModelProperty("更新人")
private String updateUid;
/** 状态(0:没有预警,1:预警 */
@Excel(name = "状态", readConverterExp = "状态(0:没有预警,1:预警")
@ApiModelProperty("状态")
private String status;
}

88
jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiPayAmountRule.java

@ -0,0 +1,88 @@
package com.kms.build.domain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianwei.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jianwei.common.core.domain.BaseEntity;
/**
* 资金支付预警管理对象 bs_sgc_jsjd_bui_pay_amount_rule
*
* @author kms
* @date 2025-03-12
*/
@TableName("bs_sgc_jsjd_bui_pay_amount_rule")
@Data
@ApiModel("资金支付预警管理")
public class BsSgcJsjdBuiPayAmountRule extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 所属项目 */
@Excel(name = "所属项目")
@ApiModelProperty("所属项目")
private String projectName;
/** 项目编码 */
@Excel(name = "项目编码")
@ApiModelProperty("项目编码")
private String proCode;
/** 项目编号 */
@Excel(name = "项目编号")
@ApiModelProperty("项目编号")
private String proNo;
/** 支付时间范围 */
@Excel(name = "支付时间范围")
@ApiModelProperty("支付时间范围")
private String payDateRange;
/** 支付金额 */
@Excel(name = "支付金额")
@ApiModelProperty("支付金额")
private String payAmount;
/** 预警描述 */
@Excel(name = "预警描述")
@ApiModelProperty("预警描述")
private String ruleMsg;
/** 说明情况 */
@Excel(name = "说明情况")
@ApiModelProperty("说明情况")
private String describe;
/** 原因 */
@Excel(name = "原因")
@ApiModelProperty("原因")
private String reason;
/** 状态(0:没有预警,1:预警 */
@Excel(name = "状态", readConverterExp = "状态(0:没有预警,1:预警")
@ApiModelProperty("状态")
private String status;
/** 状态(0:未处置,1:已处置) */
@Excel(name = "状态", readConverterExp = "0=:未处置,1:已处置")
@ApiModelProperty("状态")
private String handle;
/** 创建人 */
@Excel(name = "创建人")
@ApiModelProperty("创建人")
private String createUid;
/** 更新人 */
@Excel(name = "更新人")
@ApiModelProperty("更新人")
private String updateUid;
}

16
jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiConstProReportMapper.java

@ -0,0 +1,16 @@
package com.kms.build.mapper;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kms.build.domain.BsSgcJsjdBuiConstProReport;
/**
* 建设进度预警Mapper接口
*
* @author kms
* @date 2025-03-12
*/
@Repository
public interface BsSgcJsjdBuiConstProReportMapper extends BaseMapper<BsSgcJsjdBuiConstProReport> {
}

16
jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiCostChangeRuleMapper.java

@ -0,0 +1,16 @@
package com.kms.build.mapper;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kms.build.domain.BsSgcJsjdBuiCostChangeRule;
/**
* 造价变幅预警管理Mapper接口
*
* @author kms
* @date 2025-03-11
*/
@Repository
public interface BsSgcJsjdBuiCostChangeRuleMapper extends BaseMapper<BsSgcJsjdBuiCostChangeRule> {
}

16
jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiInvestConfigMapper.java

@ -0,0 +1,16 @@
package com.kms.build.mapper;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kms.build.domain.BsSgcJsjdBuiInvestConfig;
/**
* 投资完成验收申请Mapper接口
*
* @author kms
* @date 2025-03-12
*/
@Repository
public interface BsSgcJsjdBuiInvestConfigMapper extends BaseMapper<BsSgcJsjdBuiInvestConfig> {
}

16
jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiInvestRuleMapper.java

@ -0,0 +1,16 @@
package com.kms.build.mapper;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kms.build.domain.BsSgcJsjdBuiInvestRule;
/**
* 投资完成预警管理Mapper接口
*
* @author kms
* @date 2025-03-12
*/
@Repository
public interface BsSgcJsjdBuiInvestRuleMapper extends BaseMapper<BsSgcJsjdBuiInvestRule> {
}

16
jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiPayAmountRuleMapper.java

@ -0,0 +1,16 @@
package com.kms.build.mapper;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kms.build.domain.BsSgcJsjdBuiPayAmountRule;
/**
* 资金支付预警管理Mapper接口
*
* @author kms
* @date 2025-03-12
*/
@Repository
public interface BsSgcJsjdBuiPayAmountRuleMapper extends BaseMapper<BsSgcJsjdBuiPayAmountRule> {
}

17
jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiConstProReportService.java

@ -0,0 +1,17 @@
package com.kms.build.service;
import org.springframework.stereotype.Service;
import com.jianwei.common.core.service.BaseService;
import com.kms.build.mapper.BsSgcJsjdBuiConstProReportMapper;
import com.kms.build.domain.BsSgcJsjdBuiConstProReport;
/**
* 建设进度预警Service接口
*
* @author kms
* @date 2025-03-12
*/
@Service
public class BsSgcJsjdBuiConstProReportService extends BaseService<BsSgcJsjdBuiConstProReportMapper, BsSgcJsjdBuiConstProReport>{
}

17
jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiCostChangeRuleService.java

@ -0,0 +1,17 @@
package com.kms.build.service;
import org.springframework.stereotype.Service;
import com.jianwei.common.core.service.BaseService;
import com.kms.build.mapper.BsSgcJsjdBuiCostChangeRuleMapper;
import com.kms.build.domain.BsSgcJsjdBuiCostChangeRule;
/**
* 造价变幅预警管理Service接口
*
* @author kms
* @date 2025-03-11
*/
@Service
public class BsSgcJsjdBuiCostChangeRuleService extends BaseService<BsSgcJsjdBuiCostChangeRuleMapper, BsSgcJsjdBuiCostChangeRule>{
}

17
jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiInvestConfigService.java

@ -0,0 +1,17 @@
package com.kms.build.service;
import org.springframework.stereotype.Service;
import com.jianwei.common.core.service.BaseService;
import com.kms.build.mapper.BsSgcJsjdBuiInvestConfigMapper;
import com.kms.build.domain.BsSgcJsjdBuiInvestConfig;
/**
* 投资完成验收申请Service接口
*
* @author kms
* @date 2025-03-12
*/
@Service
public class BsSgcJsjdBuiInvestConfigService extends BaseService<BsSgcJsjdBuiInvestConfigMapper, BsSgcJsjdBuiInvestConfig>{
}

17
jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiInvestRuleService.java

@ -0,0 +1,17 @@
package com.kms.build.service;
import org.springframework.stereotype.Service;
import com.jianwei.common.core.service.BaseService;
import com.kms.build.mapper.BsSgcJsjdBuiInvestRuleMapper;
import com.kms.build.domain.BsSgcJsjdBuiInvestRule;
/**
* 投资完成预警管理Service接口
*
* @author kms
* @date 2025-03-12
*/
@Service
public class BsSgcJsjdBuiInvestRuleService extends BaseService<BsSgcJsjdBuiInvestRuleMapper, BsSgcJsjdBuiInvestRule>{
}

17
jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiPayAmountRuleService.java

@ -0,0 +1,17 @@
package com.kms.build.service;
import org.springframework.stereotype.Service;
import com.jianwei.common.core.service.BaseService;
import com.kms.build.mapper.BsSgcJsjdBuiPayAmountRuleMapper;
import com.kms.build.domain.BsSgcJsjdBuiPayAmountRule;
/**
* 资金支付预警管理Service接口
*
* @author kms
* @date 2025-03-12
*/
@Service
public class BsSgcJsjdBuiPayAmountRuleService extends BaseService<BsSgcJsjdBuiPayAmountRuleMapper, BsSgcJsjdBuiPayAmountRule>{
}
Loading…
Cancel
Save