Browse Source

质量管理

dev_kxc
zhuyulei 1 year ago
parent
commit
d20abaa9a4
  1. 53
      jwtech-admin-page/src/api/build/filings.js
  2. 53
      jwtech-admin-page/src/api/build/inspect.js
  3. 53
      jwtech-admin-page/src/api/build/respons.js
  4. 53
      jwtech-admin-page/src/api/build/supervision.js
  5. 445
      jwtech-admin-page/src/views/build/filings/index.vue
  6. 446
      jwtech-admin-page/src/views/build/inspect/index.vue
  7. 481
      jwtech-admin-page/src/views/build/respons/index.vue
  8. 439
      jwtech-admin-page/src/views/build/supervision/index.vue
  9. 114
      jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiProInspectController.java
  10. 114
      jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiProSupervisionController.java
  11. 114
      jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiResponsController.java
  12. 114
      jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiSafeFilingsController.java
  13. 91
      jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiProInspect.java
  14. 81
      jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiProSupervision.java
  15. 93
      jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiRespons.java
  16. 88
      jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiSafeFilings.java
  17. 3
      jwtech-system/src/main/java/com/kms/build/domain/BsSgcjsjdBuiProInfo.java
  18. 16
      jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiProInspectMapper.java
  19. 16
      jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiProSupervisionMapper.java
  20. 16
      jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiResponsMapper.java
  21. 16
      jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiSafeFilingsMapper.java
  22. 17
      jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiProInspectService.java
  23. 17
      jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiProSupervisionService.java
  24. 17
      jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiResponsService.java
  25. 17
      jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiSafeFilingsService.java

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

@ -0,0 +1,53 @@
import request from '@/utils/request'
// 查询安全备案列表
export function listFilings(query) {
return request({
url: '/build/filings/list',
method: 'post',
data: query
})
}
// 查询安全备案详细
export function getFilings(id) {
return request({
url: '/build/filings/' + id,
method: 'get'
})
}
// 新增安全备案
export function addFilings(data) {
return request({
url: '/build/filings',
method: 'post',
data: data
})
}
// 修改安全备案
export function updateFilings(data) {
return request({
url: '/build/filings',
method: 'put',
data: data
})
}
// 删除安全备案
export function delFilings(id) {
return request({
url: '/build/filings/' + id,
method: 'delete'
})
}
// 导出安全备案
export function exportFilings(query) {
return request({
url: '/build/filings/export',
method: 'get',
params: query
})
}

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

@ -0,0 +1,53 @@
import request from '@/utils/request'
// 查询工程质量监管与检查列表
export function listInspect(query) {
return request({
url: '/build/inspect/list',
method: 'post',
data: query
})
}
// 查询工程质量监管与检查详细
export function getInspect(id) {
return request({
url: '/build/inspect/' + id,
method: 'get'
})
}
// 新增工程质量监管与检查
export function addInspect(data) {
return request({
url: '/build/inspect',
method: 'post',
data: data
})
}
// 修改工程质量监管与检查
export function updateInspect(data) {
return request({
url: '/build/inspect',
method: 'put',
data: data
})
}
// 删除工程质量监管与检查
export function delInspect(id) {
return request({
url: '/build/inspect/' + id,
method: 'delete'
})
}
// 导出工程质量监管与检查
export function exportInspect(query) {
return request({
url: '/build/inspect/export',
method: 'get',
params: query
})
}

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

@ -0,0 +1,53 @@
import request from '@/utils/request'
// 查询质量终身责任制落实列表
export function listRespons(query) {
return request({
url: '/build/respons/list',
method: 'post',
data: query
})
}
// 查询质量终身责任制落实详细
export function getRespons(id) {
return request({
url: '/build/respons/' + id,
method: 'get'
})
}
// 新增质量终身责任制落实
export function addRespons(data) {
return request({
url: '/build/respons',
method: 'post',
data: data
})
}
// 修改质量终身责任制落实
export function updateRespons(data) {
return request({
url: '/build/respons',
method: 'put',
data: data
})
}
// 删除质量终身责任制落实
export function delRespons(id) {
return request({
url: '/build/respons/' + id,
method: 'delete'
})
}
// 导出质量终身责任制落实
export function exportRespons(query) {
return request({
url: '/build/respons/export',
method: 'get',
params: query
})
}

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

@ -0,0 +1,53 @@
import request from '@/utils/request'
// 查询工程质量监测管理列表
export function listSupervision(query) {
return request({
url: '/build/supervision/list',
method: 'post',
data: query
})
}
// 查询工程质量监测管理详细
export function getSupervision(id) {
return request({
url: '/build/supervision/' + id,
method: 'get'
})
}
// 新增工程质量监测管理
export function addSupervision(data) {
return request({
url: '/build/supervision',
method: 'post',
data: data
})
}
// 修改工程质量监测管理
export function updateSupervision(data) {
return request({
url: '/build/supervision',
method: 'put',
data: data
})
}
// 删除工程质量监测管理
export function delSupervision(id) {
return request({
url: '/build/supervision/' + id,
method: 'delete'
})
}
// 导出工程质量监测管理
export function exportSupervision(query) {
return request({
url: '/build/supervision/export',
method: 'get',
params: query
})
}

445
jwtech-admin-page/src/views/build/filings/index.vue

@ -0,0 +1,445 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="年度" prop="year">
<el-input
v-model="queryParams.data.year"
placeholder="请输入年度"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="批复单位" prop="approvalUnit">
<el-input
v-model="queryParams.data.approvalUnit"
placeholder="请输入批复单位"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="批复单位" prop="approvalOpinionNumber">
<el-input
v-model="queryParams.data.approvalOpinionNumber"
placeholder="请输入批复单位"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="批复单位" prop="filingsUnit">
<el-input
v-model="queryParams.data.filingsUnit"
placeholder="请输入批复单位"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="批复单位" prop="type">
<el-select v-model="queryParams.data.type" 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-form-item>
<el-form-item label="批复单位" prop="updateUid">
<el-input
v-model="queryParams.data.updateUid"
placeholder="请输入批复单位"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</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-form-item>
<el-form-item label="批复单位" prop="proNo">
<el-input
v-model="queryParams.data.proNo"
placeholder="请输入批复单位"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="批复单位" prop="owerDept">
<el-input
v-model="queryParams.data.owerDept"
placeholder="请输入批复单位"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</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:filings: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:filings: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:filings: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:filings:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="filingsList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" type="index" width="50" align="center"/>
<el-table-column label="年度" align="center" prop="year" />
<el-table-column label="内容描述" align="center" prop="content" />
<el-table-column label="内容描述" align="center" prop="remarks" />
<el-table-column label="批复单位" align="center" prop="approvalUnit" />
<el-table-column label="批复单位" align="center" prop="approvalOpinionNumber" />
<el-table-column label="批复单位" align="center" prop="filingsUnit" />
<el-table-column label="批复单位" align="center" prop="type" />
<el-table-column label="批复单位" align="center" prop="createUid" />
<el-table-column label="批复单位" align="center" prop="updateUid" />
<el-table-column label="批复单位" align="center" prop="proCode" />
<el-table-column label="批复单位" align="center" prop="proNo" />
<el-table-column label="批复单位" align="center" prop="owerDept" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['build:filings:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['build:filings: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="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="年度" prop="year">
<el-input v-model="form.year" placeholder="请输入年度" />
</el-form-item>
<el-form-item label="内容描述" prop="content">
<el-input v-model="form.content" type="textarea" placeholder="请输入内容" />
</el-form-item>
<el-form-item label="内容描述" prop="remarks">
<el-input v-model="form.remarks" type="textarea" placeholder="请输入内容" />
</el-form-item>
<el-form-item label="批复单位" prop="approvalUnit">
<el-input v-model="form.approvalUnit" placeholder="请输入批复单位" />
</el-form-item>
<el-form-item label="批复单位" prop="approvalOpinionNumber">
<el-input v-model="form.approvalOpinionNumber" placeholder="请输入批复单位" />
</el-form-item>
<el-form-item label="批复单位" prop="filingsUnit">
<el-input v-model="form.filingsUnit" placeholder="请输入批复单位" />
</el-form-item>
<el-form-item label="批复单位" prop="type">
<el-select v-model="form.type" placeholder="请选择批复单位">
<el-option label="请选择字典生成" value="" />
</el-select>
</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="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="owerDept">
<el-input v-model="form.owerDept" 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 { listFilings, getFilings, delFilings, addFilings, updateFilings, exportFilings } from "@/api/build/filings";
export default {
name: "Filings",
data() {
return {
//
loading: true,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
//
filingsList: [],
//
title: "",
//
open: false,
//
queryParams: {
pageNum: 1,
pageSize: 10,
ids:null,
data:{
year: null,
content: null,
remarks: null,
approvalUnit: null,
approvalOpinionNumber: null,
filingsUnit: null,
type: null,
createUid: null,
updateUid: null,
proCode: null,
proNo: null,
owerDept: null
}
},
//
form: {},
//
rules: {
}
};
},
created() {
this.getList();
},
methods: {
/** 查询安全备案列表 */
getList() {
this.loading = true;
listFilings(this.queryParams).then(response => {
this.filingsList = response.records;
this.total = response.total;
this.loading = false;
});
},
//
cancel() {
this.open = false;
this.reset();
},
//
reset() {
this.form = {
id: null,
year: null,
content: null,
remarks: null,
approvalUnit: null,
approvalOpinionNumber: null,
filingsUnit: null,
type: null,
createUid: null,
updateUid: null,
createTime: null,
updateTime: null,
proCode: null,
proNo: null,
owerDept: null
};
this.resetForm("form");
},
//
resetQueryForm() {
this.queryParams = {
pageNum: 1,
pageSize: 10,
data:{
id: null,
year: null,
content: null,
remarks: null,
approvalUnit: null,
approvalOpinionNumber: null,
filingsUnit: null,
type: null,
createUid: null,
updateUid: null,
createTime: null,
updateTime: null,
proCode: null,
proNo: null,
owerDept: null
}
};
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
getFilings(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) {
updateFilings(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("修改成功");
this.open = false;
this.getList();
}
});
} else {
addFilings(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 delFilings(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 exportFilings(queryParams);
}).then(response => {
this.downloadFile(response, true, response.msg);
// this.download(response.msg);
}).catch(function() {});
}
}
};
</script>

446
jwtech-admin-page/src/views/build/inspect/index.vue

@ -0,0 +1,446 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="检查单位" prop="inspectUnit">
<el-input
v-model="queryParams.data.inspectUnit"
placeholder="请输入检查单位"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="检察人员" prop="inspectPerson">
<el-input
v-model="queryParams.data.inspectPerson"
placeholder="请输入检察人员"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="检查意见报告" prop="inspectTime">
<el-date-picker clearable size="small" style="width: 200px"
v-model="queryParams.inspectTime"
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-form-item>
<el-form-item label="整改落实情况" prop="updateUid">
<el-input
v-model="queryParams.data.updateUid"
placeholder="请输入整改落实情况"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="整改落实情况" prop="owerDept">
<el-input
v-model="queryParams.data.owerDept"
placeholder="请输入整改落实情况"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="整改落实情况" prop="remarks">
<el-input
v-model="queryParams.data.remarks"
placeholder="请输入整改落实情况"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</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-form-item>
<el-form-item label="整改落实情况" prop="proNo">
<el-input
v-model="queryParams.data.proNo"
placeholder="请输入整改落实情况"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</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:inspect: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:inspect: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:inspect: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:inspect:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="inspectList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" type="index" width="50" align="center"/>
<el-table-column label="检查内容" align="center" prop="inspectContent" />
<el-table-column label="检查单位" align="center" prop="inspectUnit" />
<el-table-column label="检察人员" align="center" prop="inspectPerson" />
<el-table-column label="检查意见报告" align="center" prop="inspectOpinion" />
<el-table-column label="检查意见报告" align="center" prop="inspectTime" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.inspectTime, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="整改落实情况" align="center" prop="rectificationContent" />
<el-table-column label="整改落实情况" align="center" prop="createUid" />
<el-table-column label="整改落实情况" align="center" prop="updateUid" />
<el-table-column label="整改落实情况" align="center" prop="owerDept" />
<el-table-column label="整改落实情况" align="center" prop="remarks" />
<el-table-column label="整改落实情况" align="center" prop="proCode" />
<el-table-column label="整改落实情况" align="center" prop="proNo" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['build:inspect:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['build:inspect: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="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="检查内容" prop="inspectContent">
<el-input v-model="form.inspectContent" type="textarea" placeholder="请输入内容" />
</el-form-item>
<el-form-item label="检查单位" prop="inspectUnit">
<el-input v-model="form.inspectUnit" placeholder="请输入检查单位" />
</el-form-item>
<el-form-item label="检察人员" prop="inspectPerson">
<el-input v-model="form.inspectPerson" placeholder="请输入检察人员" />
</el-form-item>
<el-form-item label="检查意见报告" prop="inspectOpinion">
<el-input v-model="form.inspectOpinion" type="textarea" placeholder="请输入内容" />
</el-form-item>
<el-form-item label="检查意见报告" prop="inspectTime">
<el-date-picker clearable size="small" style="width: 200px"
v-model="form.inspectTime"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择检查意见报告">
</el-date-picker>
</el-form-item>
<el-form-item label="整改落实情况" prop="rectificationContent">
<el-input v-model="form.rectificationContent" type="textarea" placeholder="请输入内容" />
</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="owerDept">
<el-input v-model="form.owerDept" placeholder="请输入整改落实情况" />
</el-form-item>
<el-form-item label="整改落实情况" prop="remarks">
<el-input v-model="form.remarks" 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>
<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 { listInspect, getInspect, delInspect, addInspect, updateInspect, exportInspect } from "@/api/build/inspect";
export default {
name: "Inspect",
data() {
return {
//
loading: true,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
//
inspectList: [],
//
title: "",
//
open: false,
//
queryParams: {
pageNum: 1,
pageSize: 10,
ids:null,
data:{
inspectContent: null,
inspectUnit: null,
inspectPerson: null,
inspectOpinion: null,
inspectTime: null,
rectificationContent: null,
createUid: null,
updateUid: null,
owerDept: null,
remarks: null,
proCode: null,
proNo: null
}
},
//
form: {},
//
rules: {
}
};
},
created() {
this.getList();
},
methods: {
/** 查询工程质量监管与检查列表 */
getList() {
this.loading = true;
listInspect(this.queryParams).then(response => {
this.inspectList = response.records;
this.total = response.total;
this.loading = false;
});
},
//
cancel() {
this.open = false;
this.reset();
},
//
reset() {
this.form = {
id: null,
inspectContent: null,
inspectUnit: null,
inspectPerson: null,
inspectOpinion: null,
inspectTime: null,
rectificationContent: null,
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
owerDept: null,
remarks: null,
proCode: null,
proNo: null
};
this.resetForm("form");
},
//
resetQueryForm() {
this.queryParams = {
pageNum: 1,
pageSize: 10,
data:{
id: null,
inspectContent: null,
inspectUnit: null,
inspectPerson: null,
inspectOpinion: null,
inspectTime: null,
rectificationContent: null,
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
owerDept: null,
remarks: null,
proCode: null,
proNo: null
}
};
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
getInspect(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) {
updateInspect(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("修改成功");
this.open = false;
this.getList();
}
});
} else {
addInspect(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 delInspect(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 exportInspect(queryParams);
}).then(response => {
this.downloadFile(response, true, response.msg);
// this.download(response.msg);
}).catch(function() {});
}
}
};
</script>

481
jwtech-admin-page/src/views/build/respons/index.vue

@ -0,0 +1,481 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="项目法人单位工程质量终身责任承诺书" prop="enginerQualityAttachment">
<el-input
v-model="queryParams.data.enginerQualityAttachment"
placeholder="请输入项目法人单位工程质量终身责任承诺书"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="设计单位工程质量终身责任承诺书" prop="designUnitAttachment">
<el-input
v-model="queryParams.data.designUnitAttachment"
placeholder="请输入设计单位工程质量终身责任承诺书"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="勘测单位工程质量终身责任承诺书" prop="surveyUnitAttachment">
<el-input
v-model="queryParams.data.surveyUnitAttachment"
placeholder="请输入勘测单位工程质量终身责任承诺书"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="施工单位工程质量终身责任承诺书" prop="constructionUnitAttachment">
<el-input
v-model="queryParams.data.constructionUnitAttachment"
placeholder="请输入施工单位工程质量终身责任承诺书"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="监理单位工程质量终身责任承诺书" prop="supervisionUnitAttachment">
<el-input
v-model="queryParams.data.supervisionUnitAttachment"
placeholder="请输入监理单位工程质量终身责任承诺书"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="质量检测单位工程质量终身责任承诺书" prop="inspectionUnitAttachment">
<el-input
v-model="queryParams.data.inspectionUnitAttachment"
placeholder="请输入质量检测单位工程质量终身责任承诺书"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="永久性责任标牌" prop="responsibilitySignAttachment">
<el-input
v-model="queryParams.data.responsibilitySignAttachment"
placeholder="请输入永久性责任标牌"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="永久性责任标牌" prop="remarks">
<el-input
v-model="queryParams.data.remarks"
placeholder="请输入永久性责任标牌"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</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-form-item>
<el-form-item label="永久性责任标牌" prop="updateUid">
<el-input
v-model="queryParams.data.updateUid"
placeholder="请输入永久性责任标牌"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</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-form-item>
<el-form-item label="永久性责任标牌" prop="proCode">
<el-input
v-model="queryParams.data.proCode"
placeholder="请输入永久性责任标牌"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="永久性责任标牌" prop="owerDept">
<el-input
v-model="queryParams.data.owerDept"
placeholder="请输入永久性责任标牌"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</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:respons: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:respons: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:respons: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:respons:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="responsList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" type="index" width="50" align="center"/>
<el-table-column label="项目法人单位工程质量终身责任承诺书" align="center" prop="enginerQualityAttachment" />
<el-table-column label="设计单位工程质量终身责任承诺书" align="center" prop="designUnitAttachment" />
<el-table-column label="勘测单位工程质量终身责任承诺书" align="center" prop="surveyUnitAttachment" />
<el-table-column label="施工单位工程质量终身责任承诺书" align="center" prop="constructionUnitAttachment" />
<el-table-column label="监理单位工程质量终身责任承诺书" align="center" prop="supervisionUnitAttachment" />
<el-table-column label="质量检测单位工程质量终身责任承诺书" align="center" prop="inspectionUnitAttachment" />
<el-table-column label="永久性责任标牌" align="center" prop="responsibilitySignAttachment" />
<el-table-column label="永久性责任标牌" align="center" prop="remarks" />
<el-table-column label="永久性责任标牌" align="center" prop="createUid" />
<el-table-column label="永久性责任标牌" align="center" prop="updateUid" />
<el-table-column label="永久性责任标牌" align="center" prop="proNo" />
<el-table-column label="永久性责任标牌" align="center" prop="proCode" />
<el-table-column label="永久性责任标牌" align="center" prop="owerDept" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['build:respons:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['build:respons: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="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="项目法人单位工程质量终身责任承诺书" prop="enginerQualityAttachment">
<el-input v-model="form.enginerQualityAttachment" placeholder="请输入项目法人单位工程质量终身责任承诺书" />
</el-form-item>
<el-form-item label="设计单位工程质量终身责任承诺书" prop="designUnitAttachment">
<el-input v-model="form.designUnitAttachment" placeholder="请输入设计单位工程质量终身责任承诺书" />
</el-form-item>
<el-form-item label="勘测单位工程质量终身责任承诺书" prop="surveyUnitAttachment">
<el-input v-model="form.surveyUnitAttachment" placeholder="请输入勘测单位工程质量终身责任承诺书" />
</el-form-item>
<el-form-item label="施工单位工程质量终身责任承诺书" prop="constructionUnitAttachment">
<el-input v-model="form.constructionUnitAttachment" placeholder="请输入施工单位工程质量终身责任承诺书" />
</el-form-item>
<el-form-item label="监理单位工程质量终身责任承诺书" prop="supervisionUnitAttachment">
<el-input v-model="form.supervisionUnitAttachment" placeholder="请输入监理单位工程质量终身责任承诺书" />
</el-form-item>
<el-form-item label="质量检测单位工程质量终身责任承诺书" prop="inspectionUnitAttachment">
<el-input v-model="form.inspectionUnitAttachment" placeholder="请输入质量检测单位工程质量终身责任承诺书" />
</el-form-item>
<el-form-item label="永久性责任标牌" prop="responsibilitySignAttachment">
<el-input v-model="form.responsibilitySignAttachment" placeholder="请输入永久性责任标牌" />
</el-form-item>
<el-form-item label="永久性责任标牌" prop="remarks">
<el-input v-model="form.remarks" placeholder="请输入永久性责任标牌" />
</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="proNo">
<el-input v-model="form.proNo" 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="owerDept">
<el-input v-model="form.owerDept" 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 { listRespons, getRespons, delRespons, addRespons, updateRespons, exportRespons } from "@/api/build/respons";
export default {
name: "Respons",
data() {
return {
//
loading: true,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
//
responsList: [],
//
title: "",
//
open: false,
//
queryParams: {
pageNum: 1,
pageSize: 10,
ids:null,
data:{
enginerQualityAttachment: null,
designUnitAttachment: null,
surveyUnitAttachment: null,
constructionUnitAttachment: null,
supervisionUnitAttachment: null,
inspectionUnitAttachment: null,
responsibilitySignAttachment: null,
remarks: null,
createUid: null,
updateUid: null,
proNo: null,
proCode: null,
owerDept: null
}
},
//
form: {},
//
rules: {
}
};
},
created() {
this.getList();
},
methods: {
/** 查询质量终身责任制落实列表 */
getList() {
this.loading = true;
listRespons(this.queryParams).then(response => {
this.responsList = response.records;
this.total = response.total;
this.loading = false;
});
},
//
cancel() {
this.open = false;
this.reset();
},
//
reset() {
this.form = {
id: null,
enginerQualityAttachment: null,
designUnitAttachment: null,
surveyUnitAttachment: null,
constructionUnitAttachment: null,
supervisionUnitAttachment: null,
inspectionUnitAttachment: null,
responsibilitySignAttachment: null,
remarks: null,
createUid: null,
updateUid: null,
createTime: null,
updateTime: null,
proNo: null,
proCode: null,
owerDept: null
};
this.resetForm("form");
},
//
resetQueryForm() {
this.queryParams = {
pageNum: 1,
pageSize: 10,
data:{
id: null,
enginerQualityAttachment: null,
designUnitAttachment: null,
surveyUnitAttachment: null,
constructionUnitAttachment: null,
supervisionUnitAttachment: null,
inspectionUnitAttachment: null,
responsibilitySignAttachment: null,
remarks: null,
createUid: null,
updateUid: null,
createTime: null,
updateTime: null,
proNo: null,
proCode: null,
owerDept: null
}
};
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
getRespons(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) {
updateRespons(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("修改成功");
this.open = false;
this.getList();
}
});
} else {
addRespons(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 delRespons(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 exportRespons(queryParams);
}).then(response => {
this.downloadFile(response, true, response.msg);
// this.download(response.msg);
}).catch(function() {});
}
}
};
</script>

439
jwtech-admin-page/src/views/build/supervision/index.vue

@ -0,0 +1,439 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="标段" prop="section">
<el-input
v-model="queryParams.data.section"
placeholder="请输入标段"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="监督机构" prop="qualitySupervisionAgency">
<el-input
v-model="queryParams.data.qualitySupervisionAgency"
placeholder="请输入监督机构"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="监督机构" prop="applyTime">
<el-date-picker clearable size="small" style="width: 200px"
v-model="queryParams.applyTime"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择监督机构">
</el-date-picker>
</el-form-item>
<el-form-item label="申请状态" prop="applyStatus">
<el-select v-model="queryParams.data.applyStatus" placeholder="请选择申请状态" clearable size="small">
<el-option label="请选择字典生成" value="" />
</el-select>
</el-form-item>
<el-form-item label="监督结果" prop="supervisionResult">
<el-input
v-model="queryParams.data.supervisionResult"
placeholder="请输入监督结果"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</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-form-item>
<el-form-item label="监督结果" prop="updateUid">
<el-input
v-model="queryParams.data.updateUid"
placeholder="请输入监督结果"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="监督结果" prop="owerDept">
<el-input
v-model="queryParams.data.owerDept"
placeholder="请输入监督结果"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</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-form-item>
<el-form-item label="监督结果" prop="proNo">
<el-input
v-model="queryParams.data.proNo"
placeholder="请输入监督结果"
clearable
size="small"
@keyup.enter.native="handleQuery"
/>
</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:supervision: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:supervision: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:supervision: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:supervision:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="supervisionList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" type="index" width="50" align="center"/>
<el-table-column label="标段" align="center" prop="section" />
<el-table-column label="监督机构" align="center" prop="qualitySupervisionAgency" />
<el-table-column label="监督机构" align="center" prop="applyTime" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.applyTime, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="申请状态" align="center" prop="applyStatus" />
<el-table-column label="监督结果" align="center" prop="supervisionResult" />
<el-table-column label="监督结果" align="center" prop="createUid" />
<el-table-column label="监督结果" align="center" prop="updateUid" />
<el-table-column label="监督结果" align="center" prop="owerDept" />
<el-table-column label="监督结果" align="center" prop="proCode" />
<el-table-column label="监督结果" align="center" prop="proNo" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['build:supervision:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['build:supervision: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="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="标段" prop="section">
<el-input v-model="form.section" placeholder="请输入标段" />
</el-form-item>
<el-form-item label="监督机构" prop="qualitySupervisionAgency">
<el-input v-model="form.qualitySupervisionAgency" placeholder="请输入监督机构" />
</el-form-item>
<el-form-item label="监督机构" prop="applyTime">
<el-date-picker clearable size="small" style="width: 200px"
v-model="form.applyTime"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择监督机构">
</el-date-picker>
</el-form-item>
<el-form-item label="申请状态">
<el-radio-group v-model="form.applyStatus">
<el-radio label="1">请选择字典生成</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="监督结果" prop="supervisionResult">
<el-input v-model="form.supervisionResult" placeholder="请输入监督结果" />
</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="owerDept">
<el-input v-model="form.owerDept" 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>
<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 { listSupervision, getSupervision, delSupervision, addSupervision, updateSupervision, exportSupervision } from "@/api/build/supervision";
export default {
name: "Supervision",
data() {
return {
//
loading: true,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
//
supervisionList: [],
//
title: "",
//
open: false,
//
queryParams: {
pageNum: 1,
pageSize: 10,
ids:null,
data:{
section: null,
qualitySupervisionAgency: null,
applyTime: null,
applyStatus: null,
supervisionResult: null,
createUid: null,
updateUid: null,
owerDept: null,
proCode: null,
proNo: null
}
},
//
form: {},
//
rules: {
}
};
},
created() {
this.getList();
},
methods: {
/** 查询工程质量监测管理列表 */
getList() {
this.loading = true;
listSupervision(this.queryParams).then(response => {
this.supervisionList = response.records;
this.total = response.total;
this.loading = false;
});
},
//
cancel() {
this.open = false;
this.reset();
},
//
reset() {
this.form = {
id: null,
section: null,
qualitySupervisionAgency: null,
applyTime: null,
applyStatus: "0",
supervisionResult: null,
createUid: null,
updateUid: null,
createTime: null,
updateTime: null,
owerDept: null,
proCode: null,
proNo: null
};
this.resetForm("form");
},
//
resetQueryForm() {
this.queryParams = {
pageNum: 1,
pageSize: 10,
data:{
id: null,
section: null,
qualitySupervisionAgency: null,
applyTime: null,
applyStatus: "0",
supervisionResult: null,
createUid: null,
updateUid: null,
createTime: null,
updateTime: null,
owerDept: null,
proCode: null,
proNo: null
}
};
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
getSupervision(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) {
updateSupervision(this.form).then(response => {
if (response.code === 200) {
this.msgSuccess("修改成功");
this.open = false;
this.getList();
}
});
} else {
addSupervision(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 delSupervision(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 exportSupervision(queryParams);
}).then(response => {
this.downloadFile(response, true, response.msg);
// this.download(response.msg);
}).catch(function() {});
}
}
};
</script>

114
jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiProInspectController.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.BsSgcJsjdBuiProInspect;
import com.kms.build.service.BsSgcJsjdBuiProInspectService;
/**
* 工程质量监管与检查Controller
*
* @author kms
* @date 2023-12-12
*/
@RestController
@RequestMapping("/build/inspect")
@Api(tags = "工程质量监管与检查")
public class BsSgcJsjdBuiProInspectController extends BaseController
{
@Autowired
private BsSgcJsjdBuiProInspectService bsSgcJsjdBuiProInspectService;
/**
* 查询工程质量监管与检查列表
*/
@PostMapping("/list")
@ApiOperation("工程质量监管与检查列表")
public IPage list(@RequestBody SearchParam<BsSgcJsjdBuiProInspect> sp)
{
return bsSgcJsjdBuiProInspectService.selectPage(sp);
}
/**
* 导出工程质量监管与检查列表
*/
@Log(title = "工程质量监管与检查导出", businessType = BusinessType.EXPORT)
@PostMapping("/export")
@ApiOperation("工程质量监管与检查导出")
public AjaxResult export(@RequestBody BsSgcJsjdBuiProInspect bsSgcJsjdBuiProInspect)
{
List<BsSgcJsjdBuiProInspect> list = bsSgcJsjdBuiProInspectService.listByIds(bsSgcJsjdBuiProInspect.getIds());
ExcelUtil<BsSgcJsjdBuiProInspect> util = new ExcelUtil<>(BsSgcJsjdBuiProInspect.class);
return util.exportExcel(list, "inspect");
}
/**
* 获取工程质量监管与检查详细信息
*/
@ApiOperation(" 工程质量监管与检查详情")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String id)
{
return AjaxResult.success(bsSgcJsjdBuiProInspectService.getById(id));
}
/**
* 新增工程质量监管与检查
*/
@Log(title = "工程质量监管与检查新增", businessType = BusinessType.INSERT)
@PostMapping
@ApiOperation("工程质量监管与检查新增")
public AjaxResult add(@RequestBody BsSgcJsjdBuiProInspect bsSgcJsjdBuiProInspect)
{
BaseEntityUtils.preInsert(bsSgcJsjdBuiProInspect);
return toAjax(bsSgcJsjdBuiProInspectService.save(bsSgcJsjdBuiProInspect));
}
/**
* 修改工程质量监管与检查
*/
@ApiOperation("工程质量监管与检查修改")
@Log(title = "工程质量监管与检查修改", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BsSgcJsjdBuiProInspect bsSgcJsjdBuiProInspect)
{
return toAjax(bsSgcJsjdBuiProInspectService.updateById(bsSgcJsjdBuiProInspect));
}
/**
* 删除工程质量监管与检查
*/
@ApiOperation("工程质量监管与检查删除")
@Log(title = "工程质量监管与检查删除", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids)
{
return toAjax(bsSgcJsjdBuiProInspectService.removeByIds(Arrays.asList(ids)));
}
}

114
jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiProSupervisionController.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.BsSgcJsjdBuiProSupervision;
import com.kms.build.service.BsSgcJsjdBuiProSupervisionService;
/**
* 工程质量监测管理Controller
*
* @author kms
* @date 2023-12-12
*/
@RestController
@RequestMapping("/build/supervision")
@Api(tags = "工程质量监测管理")
public class BsSgcJsjdBuiProSupervisionController extends BaseController
{
@Autowired
private BsSgcJsjdBuiProSupervisionService bsSgcJsjdBuiProSupervisionService;
/**
* 查询工程质量监测管理列表
*/
@PostMapping("/list")
@ApiOperation("工程质量监测管理列表")
public IPage list(@RequestBody SearchParam<BsSgcJsjdBuiProSupervision> sp)
{
return bsSgcJsjdBuiProSupervisionService.selectPage(sp);
}
/**
* 导出工程质量监测管理列表
*/
@Log(title = "工程质量监测管理导出", businessType = BusinessType.EXPORT)
@PostMapping("/export")
@ApiOperation("工程质量监测管理导出")
public AjaxResult export(@RequestBody BsSgcJsjdBuiProSupervision bsSgcJsjdBuiProSupervision)
{
List<BsSgcJsjdBuiProSupervision> list = bsSgcJsjdBuiProSupervisionService.listByIds(bsSgcJsjdBuiProSupervision.getIds());
ExcelUtil<BsSgcJsjdBuiProSupervision> util = new ExcelUtil<>(BsSgcJsjdBuiProSupervision.class);
return util.exportExcel(list, "supervision");
}
/**
* 获取工程质量监测管理详细信息
*/
@ApiOperation(" 工程质量监测管理详情")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String id)
{
return AjaxResult.success(bsSgcJsjdBuiProSupervisionService.getById(id));
}
/**
* 新增工程质量监测管理
*/
@Log(title = "工程质量监测管理新增", businessType = BusinessType.INSERT)
@PostMapping
@ApiOperation("工程质量监测管理新增")
public AjaxResult add(@RequestBody BsSgcJsjdBuiProSupervision bsSgcJsjdBuiProSupervision)
{
BaseEntityUtils.preInsert(bsSgcJsjdBuiProSupervision);
return toAjax(bsSgcJsjdBuiProSupervisionService.save(bsSgcJsjdBuiProSupervision));
}
/**
* 修改工程质量监测管理
*/
@ApiOperation("工程质量监测管理修改")
@Log(title = "工程质量监测管理修改", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BsSgcJsjdBuiProSupervision bsSgcJsjdBuiProSupervision)
{
return toAjax(bsSgcJsjdBuiProSupervisionService.updateById(bsSgcJsjdBuiProSupervision));
}
/**
* 删除工程质量监测管理
*/
@ApiOperation("工程质量监测管理删除")
@Log(title = "工程质量监测管理删除", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids)
{
return toAjax(bsSgcJsjdBuiProSupervisionService.removeByIds(Arrays.asList(ids)));
}
}

114
jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiResponsController.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.BsSgcJsjdBuiRespons;
import com.kms.build.service.BsSgcJsjdBuiResponsService;
/**
* 质量终身责任制落实Controller
*
* @author kms
* @date 2023-12-12
*/
@RestController
@RequestMapping("/build/respons")
@Api(tags = "质量终身责任制落实")
public class BsSgcJsjdBuiResponsController extends BaseController
{
@Autowired
private BsSgcJsjdBuiResponsService bsSgcJsjdBuiResponsService;
/**
* 查询质量终身责任制落实列表
*/
@PostMapping("/list")
@ApiOperation("质量终身责任制落实列表")
public IPage list(@RequestBody SearchParam<BsSgcJsjdBuiRespons> sp)
{
return bsSgcJsjdBuiResponsService.selectPage(sp);
}
/**
* 导出质量终身责任制落实列表
*/
@Log(title = "质量终身责任制落实导出", businessType = BusinessType.EXPORT)
@PostMapping("/export")
@ApiOperation("质量终身责任制落实导出")
public AjaxResult export(@RequestBody BsSgcJsjdBuiRespons bsSgcJsjdBuiRespons)
{
List<BsSgcJsjdBuiRespons> list = bsSgcJsjdBuiResponsService.listByIds(bsSgcJsjdBuiRespons.getIds());
ExcelUtil<BsSgcJsjdBuiRespons> util = new ExcelUtil<>(BsSgcJsjdBuiRespons.class);
return util.exportExcel(list, "respons");
}
/**
* 获取质量终身责任制落实详细信息
*/
@ApiOperation(" 质量终身责任制落实详情")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String id)
{
return AjaxResult.success(bsSgcJsjdBuiResponsService.getById(id));
}
/**
* 新增质量终身责任制落实
*/
@Log(title = "质量终身责任制落实新增", businessType = BusinessType.INSERT)
@PostMapping
@ApiOperation("质量终身责任制落实新增")
public AjaxResult add(@RequestBody BsSgcJsjdBuiRespons bsSgcJsjdBuiRespons)
{
BaseEntityUtils.preInsert(bsSgcJsjdBuiRespons);
return toAjax(bsSgcJsjdBuiResponsService.save(bsSgcJsjdBuiRespons));
}
/**
* 修改质量终身责任制落实
*/
@ApiOperation("质量终身责任制落实修改")
@Log(title = "质量终身责任制落实修改", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BsSgcJsjdBuiRespons bsSgcJsjdBuiRespons)
{
return toAjax(bsSgcJsjdBuiResponsService.updateById(bsSgcJsjdBuiRespons));
}
/**
* 删除质量终身责任制落实
*/
@ApiOperation("质量终身责任制落实删除")
@Log(title = "质量终身责任制落实删除", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids)
{
return toAjax(bsSgcJsjdBuiResponsService.removeByIds(Arrays.asList(ids)));
}
}

114
jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiSafeFilingsController.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.BsSgcJsjdBuiSafeFilings;
import com.kms.build.service.BsSgcJsjdBuiSafeFilingsService;
/**
* 安全备案Controller
*
* @author kms
* @date 2023-12-12
*/
@RestController
@RequestMapping("/build/filings")
@Api(tags = "安全备案")
public class BsSgcJsjdBuiSafeFilingsController extends BaseController
{
@Autowired
private BsSgcJsjdBuiSafeFilingsService bsSgcJsjdBuiSafeFilingsService;
/**
* 查询安全备案列表
*/
@PostMapping("/list")
@ApiOperation("安全备案列表")
public IPage list(@RequestBody SearchParam<BsSgcJsjdBuiSafeFilings> sp)
{
return bsSgcJsjdBuiSafeFilingsService.selectPage(sp);
}
/**
* 导出安全备案列表
*/
@Log(title = "安全备案导出", businessType = BusinessType.EXPORT)
@PostMapping("/export")
@ApiOperation("安全备案导出")
public AjaxResult export(@RequestBody BsSgcJsjdBuiSafeFilings bsSgcJsjdBuiSafeFilings)
{
List<BsSgcJsjdBuiSafeFilings> list = bsSgcJsjdBuiSafeFilingsService.listByIds(bsSgcJsjdBuiSafeFilings.getIds());
ExcelUtil<BsSgcJsjdBuiSafeFilings> util = new ExcelUtil<>(BsSgcJsjdBuiSafeFilings.class);
return util.exportExcel(list, "filings");
}
/**
* 获取安全备案详细信息
*/
@ApiOperation(" 安全备案详情")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String id)
{
return AjaxResult.success(bsSgcJsjdBuiSafeFilingsService.getById(id));
}
/**
* 新增安全备案
*/
@Log(title = "安全备案新增", businessType = BusinessType.INSERT)
@PostMapping
@ApiOperation("安全备案新增")
public AjaxResult add(@RequestBody BsSgcJsjdBuiSafeFilings bsSgcJsjdBuiSafeFilings)
{
BaseEntityUtils.preInsert(bsSgcJsjdBuiSafeFilings);
return toAjax(bsSgcJsjdBuiSafeFilingsService.save(bsSgcJsjdBuiSafeFilings));
}
/**
* 修改安全备案
*/
@ApiOperation("安全备案修改")
@Log(title = "安全备案修改", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BsSgcJsjdBuiSafeFilings bsSgcJsjdBuiSafeFilings)
{
return toAjax(bsSgcJsjdBuiSafeFilingsService.updateById(bsSgcJsjdBuiSafeFilings));
}
/**
* 删除安全备案
*/
@ApiOperation("安全备案删除")
@Log(title = "安全备案删除", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids)
{
return toAjax(bsSgcJsjdBuiSafeFilingsService.removeByIds(Arrays.asList(ids)));
}
}

91
jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiProInspect.java

@ -0,0 +1,91 @@
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_pro_inspect
*
* @author kms
* @date 2023-12-12
*/
@TableName("bs_sgc_jsjd_bui_pro_inspect")
@Data
@ApiModel("工程质量监管与检查")
public class BsSgcJsjdBuiProInspect extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 检查内容 */
@Excel(name = "检查内容")
@ApiModelProperty("检查内容")
private String inspectContent;
/** 检查单位 */
@Excel(name = "检查单位")
@ApiModelProperty("检查单位")
private String inspectUnit;
/** 检察人员 */
@Excel(name = "检察人员")
@ApiModelProperty("检察人员")
private String inspectPerson;
/** 检查意见报告 */
@Excel(name = "检查意见报告")
@ApiModelProperty("检查意见报告")
private String inspectOpinion;
/** $column.columnComment */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "检查意见报告", width = 30, dateFormat = "yyyy-MM-dd")
@ApiModelProperty("检查意见报告")
private Date inspectTime;
/** 整改落实情况 */
@Excel(name = "整改落实情况")
@ApiModelProperty("整改落实情况")
private String rectificationContent;
/** $column.columnComment */
@Excel(name = "整改落实情况")
@ApiModelProperty("整改落实情况")
private String createUid;
/** $column.columnComment */
@Excel(name = "整改落实情况")
@ApiModelProperty("整改落实情况")
private String updateUid;
/** $column.columnComment */
@Excel(name = "整改落实情况")
@ApiModelProperty("整改落实情况")
private String owerDept;
/** $column.columnComment */
@Excel(name = "整改落实情况")
@ApiModelProperty("整改落实情况")
private String remarks;
/** $column.columnComment */
@Excel(name = "整改落实情况")
@ApiModelProperty("整改落实情况")
private String proCode;
/** $column.columnComment */
@Excel(name = "整改落实情况")
@ApiModelProperty("整改落实情况")
private String proNo;
}

81
jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiProSupervision.java

@ -0,0 +1,81 @@
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_pro_supervision
*
* @author kms
* @date 2023-12-12
*/
@TableName("bs_sgc_jsjd_bui_pro_supervision")
@Data
@ApiModel("工程质量监测管理")
public class BsSgcJsjdBuiProSupervision extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 标段 */
@Excel(name = "标段")
@ApiModelProperty("标段")
private String section;
/** 监督机构 */
@Excel(name = "监督机构")
@ApiModelProperty("监督机构")
private String qualitySupervisionAgency;
/** $column.columnComment */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "监督机构", width = 30, dateFormat = "yyyy-MM-dd")
@ApiModelProperty("监督机构")
private Date applyTime;
/** 申请状态 */
@Excel(name = "申请状态")
@ApiModelProperty("申请状态")
private String applyStatus;
/** 监督结果 */
@Excel(name = "监督结果")
@ApiModelProperty("监督结果")
private String supervisionResult;
/** $column.columnComment */
@Excel(name = "监督结果")
@ApiModelProperty("监督结果")
private String createUid;
/** $column.columnComment */
@Excel(name = "监督结果")
@ApiModelProperty("监督结果")
private String updateUid;
/** $column.columnComment */
@Excel(name = "监督结果")
@ApiModelProperty("监督结果")
private String owerDept;
/** $column.columnComment */
@Excel(name = "监督结果")
@ApiModelProperty("监督结果")
private String proCode;
/** $column.columnComment */
@Excel(name = "监督结果")
@ApiModelProperty("监督结果")
private String proNo;
}

93
jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiRespons.java

@ -0,0 +1,93 @@
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_respons
*
* @author kms
* @date 2023-12-12
*/
@TableName("bs_sgc_jsjd_bui_respons")
@Data
@ApiModel("质量终身责任制落实")
public class BsSgcJsjdBuiRespons extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 项目法人单位工程质量终身责任承诺书 */
@Excel(name = "项目法人单位工程质量终身责任承诺书")
@ApiModelProperty("项目法人单位工程质量终身责任承诺书")
private String enginerQualityAttachment;
/** 设计单位工程质量终身责任承诺书 */
@Excel(name = "设计单位工程质量终身责任承诺书")
@ApiModelProperty("设计单位工程质量终身责任承诺书")
private String designUnitAttachment;
/** 勘测单位工程质量终身责任承诺书 */
@Excel(name = "勘测单位工程质量终身责任承诺书")
@ApiModelProperty("勘测单位工程质量终身责任承诺书")
private String surveyUnitAttachment;
/** 施工单位工程质量终身责任承诺书 */
@Excel(name = "施工单位工程质量终身责任承诺书")
@ApiModelProperty("施工单位工程质量终身责任承诺书")
private String constructionUnitAttachment;
/** 监理单位工程质量终身责任承诺书 */
@Excel(name = "监理单位工程质量终身责任承诺书")
@ApiModelProperty("监理单位工程质量终身责任承诺书")
private String supervisionUnitAttachment;
/** 质量检测单位工程质量终身责任承诺书 */
@Excel(name = "质量检测单位工程质量终身责任承诺书")
@ApiModelProperty("质量检测单位工程质量终身责任承诺书")
private String inspectionUnitAttachment;
/** 永久性责任标牌 */
@Excel(name = "永久性责任标牌")
@ApiModelProperty("永久性责任标牌")
private String responsibilitySignAttachment;
/** $column.columnComment */
@Excel(name = "永久性责任标牌")
@ApiModelProperty("永久性责任标牌")
private String remarks;
/** $column.columnComment */
@Excel(name = "永久性责任标牌")
@ApiModelProperty("永久性责任标牌")
private String createUid;
/** $column.columnComment */
@Excel(name = "永久性责任标牌")
@ApiModelProperty("永久性责任标牌")
private String updateUid;
/** $column.columnComment */
@Excel(name = "永久性责任标牌")
@ApiModelProperty("永久性责任标牌")
private String proNo;
/** $column.columnComment */
@Excel(name = "永久性责任标牌")
@ApiModelProperty("永久性责任标牌")
private String proCode;
/** $column.columnComment */
@Excel(name = "永久性责任标牌")
@ApiModelProperty("永久性责任标牌")
private String owerDept;
}

88
jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiSafeFilings.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_safe_filings
*
* @author kms
* @date 2023-12-12
*/
@TableName("bs_sgc_jsjd_bui_safe_filings")
@Data
@ApiModel("安全备案")
public class BsSgcJsjdBuiSafeFilings extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 年度 */
@Excel(name = "年度")
@ApiModelProperty("年度")
private String year;
/** 内容描述 */
@Excel(name = "内容描述")
@ApiModelProperty("内容描述")
private String content;
/** $column.columnComment */
@Excel(name = "内容描述")
@ApiModelProperty("内容描述")
private String remarks;
/** 批复单位 */
@Excel(name = "批复单位")
@ApiModelProperty("批复单位")
private String approvalUnit;
/** $column.columnComment */
@Excel(name = "批复单位")
@ApiModelProperty("批复单位")
private String approvalOpinionNumber;
/** $column.columnComment */
@Excel(name = "批复单位")
@ApiModelProperty("批复单位")
private String filingsUnit;
/** $column.columnComment */
@Excel(name = "批复单位")
@ApiModelProperty("批复单位")
private String type;
/** $column.columnComment */
@Excel(name = "批复单位")
@ApiModelProperty("批复单位")
private String createUid;
/** $column.columnComment */
@Excel(name = "批复单位")
@ApiModelProperty("批复单位")
private String updateUid;
/** $column.columnComment */
@Excel(name = "批复单位")
@ApiModelProperty("批复单位")
private String proCode;
/** $column.columnComment */
@Excel(name = "批复单位")
@ApiModelProperty("批复单位")
private String proNo;
/** $column.columnComment */
@Excel(name = "批复单位")
@ApiModelProperty("批复单位")
private String owerDept;
}

3
jwtech-system/src/main/java/com/kms/build/domain/BsSgcjsjdBuiProInfo.java

@ -207,4 +207,7 @@ public class BsSgcjsjdBuiProInfo extends BaseEntity
@TableField(exist = false)
private List<BsSgcJsjdBuiEnteInfo> enterpriseInfoList;
private String projectDivision;
}

16
jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiProInspectMapper.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.BsSgcJsjdBuiProInspect;
/**
* 工程质量监管与检查Mapper接口
*
* @author kms
* @date 2023-12-12
*/
@Repository
public interface BsSgcJsjdBuiProInspectMapper extends BaseMapper<BsSgcJsjdBuiProInspect> {
}

16
jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiProSupervisionMapper.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.BsSgcJsjdBuiProSupervision;
/**
* 工程质量监测管理Mapper接口
*
* @author kms
* @date 2023-12-12
*/
@Repository
public interface BsSgcJsjdBuiProSupervisionMapper extends BaseMapper<BsSgcJsjdBuiProSupervision> {
}

16
jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiResponsMapper.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.BsSgcJsjdBuiRespons;
/**
* 质量终身责任制落实Mapper接口
*
* @author kms
* @date 2023-12-12
*/
@Repository
public interface BsSgcJsjdBuiResponsMapper extends BaseMapper<BsSgcJsjdBuiRespons> {
}

16
jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiSafeFilingsMapper.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.BsSgcJsjdBuiSafeFilings;
/**
* 安全备案Mapper接口
*
* @author kms
* @date 2023-12-12
*/
@Repository
public interface BsSgcJsjdBuiSafeFilingsMapper extends BaseMapper<BsSgcJsjdBuiSafeFilings> {
}

17
jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiProInspectService.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.BsSgcJsjdBuiProInspectMapper;
import com.kms.build.domain.BsSgcJsjdBuiProInspect;
/**
* 工程质量监管与检查Service接口
*
* @author kms
* @date 2023-12-12
*/
@Service
public class BsSgcJsjdBuiProInspectService extends BaseService<BsSgcJsjdBuiProInspectMapper, BsSgcJsjdBuiProInspect>{
}

17
jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiProSupervisionService.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.BsSgcJsjdBuiProSupervisionMapper;
import com.kms.build.domain.BsSgcJsjdBuiProSupervision;
/**
* 工程质量监测管理Service接口
*
* @author kms
* @date 2023-12-12
*/
@Service
public class BsSgcJsjdBuiProSupervisionService extends BaseService<BsSgcJsjdBuiProSupervisionMapper, BsSgcJsjdBuiProSupervision>{
}

17
jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiResponsService.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.BsSgcJsjdBuiResponsMapper;
import com.kms.build.domain.BsSgcJsjdBuiRespons;
/**
* 质量终身责任制落实Service接口
*
* @author kms
* @date 2023-12-12
*/
@Service
public class BsSgcJsjdBuiResponsService extends BaseService<BsSgcJsjdBuiResponsMapper, BsSgcJsjdBuiRespons>{
}

17
jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiSafeFilingsService.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.BsSgcJsjdBuiSafeFilingsMapper;
import com.kms.build.domain.BsSgcJsjdBuiSafeFilings;
/**
* 安全备案Service接口
*
* @author kms
* @date 2023-12-12
*/
@Service
public class BsSgcJsjdBuiSafeFilingsService extends BaseService<BsSgcJsjdBuiSafeFilingsMapper, BsSgcJsjdBuiSafeFilings>{
}
Loading…
Cancel
Save