[新增流程](mengfanliang_0726_businessPerson_table):
安全环保检查同步mengfanliang-0726-businessPerson_table
parent
2c06d3ceac
commit
efec4586aa
|
@ -244,7 +244,7 @@ export default {
|
||||||
getData() {
|
getData() {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
requestFN(
|
requestFN(
|
||||||
'/safetyenvironmental/V2/goShow',
|
'/safetyenvironmental/goShow',
|
||||||
{
|
{
|
||||||
INSPECTION_ID: this.$parent.INSPECTION_ID
|
INSPECTION_ID: this.$parent.INSPECTION_ID
|
||||||
}
|
}
|
||||||
|
|
|
@ -142,7 +142,6 @@
|
||||||
<div/>
|
<div/>
|
||||||
<pagination :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList" />
|
<pagination :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-dialog :visible.sync="dialogFormEdit" title="检查确认" width="600px">
|
<el-dialog :visible.sync="dialogFormEdit" title="检查确认" width="600px">
|
||||||
<el-form ref="form" :rules="rules" :model="form" label-width="110px" style="width: 500px;">
|
<el-form ref="form" :rules="rules" :model="form" label-width="110px" style="width: 500px;">
|
||||||
<el-form-item label="是否申辩" prop="INSPECTED_EXPLAIN">
|
<el-form-item label="是否申辩" prop="INSPECTED_EXPLAIN">
|
||||||
|
@ -191,7 +190,6 @@ import waves from '@/directive/waves' // waves directive
|
||||||
import { upload } from '@/utils/upload'
|
import { upload } from '@/utils/upload'
|
||||||
import formatDate from '@/utils/dateformat'
|
import formatDate from '@/utils/dateformat'
|
||||||
import SelectTree from '@/components/SelectTree'
|
import SelectTree from '@/components/SelectTree'
|
||||||
import { inspectedList } from '../Mock'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: { Pagination, WriteSign, SelectTree },
|
components: { Pagination, WriteSign, SelectTree },
|
||||||
|
@ -293,7 +291,7 @@ export default {
|
||||||
getList() {
|
getList() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
requestFN(
|
requestFN(
|
||||||
'/safetyenvironmental/V2/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
'/safetyenvironmental/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
||||||
{
|
{
|
||||||
...this.search,
|
...this.search,
|
||||||
INSPECTION_TIME_START: this.search.INSPECTION_TIME[0],
|
INSPECTION_TIME_START: this.search.INSPECTION_TIME[0],
|
||||||
|
@ -302,7 +300,7 @@ export default {
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
this.varList = data.varList
|
this.varList = data.varList
|
||||||
this.total = data.page.totalResult
|
this.total = data.page.totalCount
|
||||||
this.hasButton()
|
this.hasButton()
|
||||||
this.pd = data.pd
|
this.pd = data.pd
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
|
@ -323,7 +321,7 @@ export default {
|
||||||
/** 处理确认按钮 */
|
/** 处理确认按钮 */
|
||||||
handleConfirm(row) {
|
handleConfirm(row) {
|
||||||
this.resetForm(row)
|
this.resetForm(row)
|
||||||
this.hiddenCount(row.INSPECTION_ID)
|
// this.hiddenCount(row.INSPECTION_ID)
|
||||||
this.dialogFormEdit = true
|
this.dialogFormEdit = true
|
||||||
},
|
},
|
||||||
/** 上传文件前的钩子处理函数 */
|
/** 上传文件前的钩子处理函数 */
|
||||||
|
@ -344,7 +342,7 @@ export default {
|
||||||
hiddenCount(INSPECTION_ID) {
|
hiddenCount(INSPECTION_ID) {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
requestFN(
|
requestFN(
|
||||||
'/safetyenvironmental/V2/hiddencount',
|
'/safetyenvironmental/hiddencount',
|
||||||
{
|
{
|
||||||
INSPECTION_ID: INSPECTION_ID
|
INSPECTION_ID: INSPECTION_ID
|
||||||
}
|
}
|
||||||
|
|
|
@ -306,7 +306,7 @@ export default {
|
||||||
getData() {
|
getData() {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
requestFN(
|
requestFN(
|
||||||
'/safetyenvironmental/V2/goShow',
|
'/safetyenvironmental/goShow',
|
||||||
{
|
{
|
||||||
INSPECTION_ID: this.$parent.INSPECTION_ID
|
INSPECTION_ID: this.$parent.INSPECTION_ID
|
||||||
}
|
}
|
||||||
|
|
|
@ -99,7 +99,7 @@
|
||||||
{{ INSPECT_NAME }}<i>{{ safetyTotal }}</i>
|
{{ INSPECT_NAME }}<i>{{ safetyTotal }}</i>
|
||||||
</span>
|
</span>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
{{ INSPECT_NAME }}<i>{{ safetyTotal }}</i>
|
{{ INSPECT_NAME }}<i>{{ total }}</i>
|
||||||
</span>
|
</span>
|
||||||
<span>
|
<span>
|
||||||
涉及隐患总数:<i>{{ hiddenTotal }}</i>
|
涉及隐患总数:<i>{{ hiddenTotal }}</i>
|
||||||
|
@ -360,7 +360,7 @@ export default {
|
||||||
getList() {
|
getList() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
requestFN(
|
requestFN(
|
||||||
'/safetyenvironmental/V2/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
'/safetyenvironmental/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
||||||
{
|
{
|
||||||
...this.search,
|
...this.search,
|
||||||
INSPECTION_TIME_START: this.search.INSPECTION_TIME[0],
|
INSPECTION_TIME_START: this.search.INSPECTION_TIME[0],
|
||||||
|
@ -371,7 +371,7 @@ export default {
|
||||||
this.varList = data.varList
|
this.varList = data.varList
|
||||||
this.safetyTotal = data.safetyTotal
|
this.safetyTotal = data.safetyTotal
|
||||||
this.hiddenTotal = data.hiddenTotal
|
this.hiddenTotal = data.hiddenTotal
|
||||||
this.total = data.page.totalResult
|
this.total = data.page.totalCount
|
||||||
this.hasButton()
|
this.hasButton()
|
||||||
this.pd = data.pd
|
this.pd = data.pd
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
|
@ -474,7 +474,7 @@ export default {
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
requestFN(
|
requestFN(
|
||||||
'/safetyenvironmental/V2/hide',
|
'/safetyenvironmental/hide',
|
||||||
{
|
{
|
||||||
INSPECTION_ID: id,
|
INSPECTION_ID: id,
|
||||||
hide: '1'
|
hide: '1'
|
||||||
|
|
|
@ -92,7 +92,7 @@
|
||||||
fiexd="left"
|
fiexd="left"
|
||||||
align="center"/>
|
align="center"/>
|
||||||
<el-table-column type="index" label="序号" width="50" align="center" />
|
<el-table-column type="index" label="序号" width="50" align="center" />
|
||||||
<el-table-column prop="INSPECTED_DEPARTMENT_NAMES" show-overflow-tooltip label="被检查单位" align="center" />
|
<el-table-column prop="INSPECTED_DEPARTMENT_NAME" show-overflow-tooltip label="被检查单位" align="center" />
|
||||||
<el-table-column prop="INSPECTION_LEADDEPARTMENT_NAME" show-overflow-tooltip label="检查部门" align="center" />
|
<el-table-column prop="INSPECTION_LEADDEPARTMENT_NAME" show-overflow-tooltip label="检查部门" align="center" />
|
||||||
<el-table-column prop="INSPECTION_ORIGINATOR_NAME" show-overflow-tooltip label="检查发起人" align="center" />
|
<el-table-column prop="INSPECTION_ORIGINATOR_NAME" show-overflow-tooltip label="检查发起人" align="center" />
|
||||||
<el-table-column prop="INSPECTION_TYPE_NAME" show-overflow-tooltip label="检查类型" width="150" align="center" />
|
<el-table-column prop="INSPECTION_TYPE_NAME" show-overflow-tooltip label="检查类型" width="150" align="center" />
|
||||||
|
@ -121,7 +121,7 @@
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<el-button icon="el-icon-view" size="mini" @click="goDetail(row)">查看</el-button>
|
<el-button icon="el-icon-view" size="mini" @click="goDetail(row)">查看</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
v-show="edit && !validStr(row.INSPECTION_USER_SIGN_TIME) && validStr(row.USER_ID) &&(row.INSPECTION_STATUS == '0' || row.INSPECTION_STATUS == '1')"
|
v-show="validStr(row.USER_ID) &&(row.INSPECTION_STATUS == '0' || row.INSPECTION_STATUS == '1')"
|
||||||
type="primary"
|
type="primary"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
size="mini"
|
size="mini"
|
||||||
|
@ -253,7 +253,7 @@ export default {
|
||||||
getList() {
|
getList() {
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
requestFN(
|
requestFN(
|
||||||
'/safetyenvironmentalinspector/V2/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
'/safetyenvironmentalinspector/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
||||||
{
|
{
|
||||||
...this.search,
|
...this.search,
|
||||||
INSPECTION_TIME_START: this.search.INSPECTION_TIME[0],
|
INSPECTION_TIME_START: this.search.INSPECTION_TIME[0],
|
||||||
|
@ -318,7 +318,7 @@ export default {
|
||||||
})
|
})
|
||||||
this.listLoading = true
|
this.listLoading = true
|
||||||
requestFN(
|
requestFN(
|
||||||
'/safetyenvironmentalinspector/V2/verify',
|
'/safetyenvironmentalinspector/verify',
|
||||||
{ ...this.form,
|
{ ...this.form,
|
||||||
INSPECTION_STATUS: INSPECTION_STATUS
|
INSPECTION_STATUS: INSPECTION_STATUS
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue