parent
c5a08bff6d
commit
8f25f537b2
|
@ -258,12 +258,12 @@ export default {
|
||||||
this.$refs.zhiling.getTreeList()
|
this.$refs.zhiling.getTreeList()
|
||||||
},
|
},
|
||||||
|
|
||||||
yjwenancheck(id) {
|
yjwenancheck(row) {
|
||||||
console.log(id)
|
|
||||||
const params = {
|
const params = {
|
||||||
FIRERESERVEPLAN_ID: this.PLAN_ID,
|
FIRERESERVEPLAN_ID: this.PLAN_ID,
|
||||||
CHECKSTATUS: '1',
|
CHECKSTATUS: '1',
|
||||||
AUDIT_UESRID: id
|
AUDIT_UESRID: row.USER_ID,
|
||||||
|
AUDIT_UESR_NAME: row.NAME
|
||||||
}
|
}
|
||||||
requestFN('/major/emergencyplan/submitCheck', params).then((data) => {
|
requestFN('/major/emergencyplan/submitCheck', params).then((data) => {
|
||||||
this.$message({
|
this.$message({
|
||||||
|
|
|
@ -1,16 +1,26 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div class="filter-container">
|
<div class="filter-container">
|
||||||
<el-input v-model="KEYWORDS" placeholder="搜索" class="filter-item" style="width: 200px;margin-right: 10px;" />
|
<el-form>
|
||||||
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">
|
<el-row>
|
||||||
搜索
|
<el-col :span="6">
|
||||||
</el-button>
|
<el-form-item label="预案名称:">
|
||||||
|
<el-input v-model="PLANNAME" placeholder="搜索" class="filter-item" style="width: 200px;margin-right: 10px;" />
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="6">
|
||||||
|
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">搜索</el-button>
|
||||||
|
<el-button class="filter-item" type="info" icon="el-icon-search" @click="resetting">重置</el-button>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<el-table ref="multipleTable" :data="varList" :header-cell-style="{'font-weight': 'bold','color': '#000'}" tooltip-effect="dark" border fit highlight-current-row>
|
<el-table ref="multipleTable" :data="varList" :header-cell-style="{'font-weight': 'bold','color': '#000'}" tooltip-effect="dark" border fit highlight-current-row>
|
||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" 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="PLANNAME" label="预案名称" width="180" />
|
<el-table-column prop="PLANNAME" label="预案名称" width="180" />
|
||||||
<el-table-column prop="PLANCODE" label="预案编码" />
|
<el-table-column prop="PLANCODE" label="预案编码" />
|
||||||
|
<el-table-column prop="AUDIT_UESR_NAME" label="审核人" />
|
||||||
<el-table-column :show-overflow-tooltip="true" prop="PLANDES" label="预案概述" />
|
<el-table-column :show-overflow-tooltip="true" prop="PLANDES" label="预案概述" />
|
||||||
<el-table-column prop="AUDIT_STATUS" label="审核状态" >
|
<el-table-column prop="AUDIT_STATUS" label="审核状态" >
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
|
@ -53,7 +63,7 @@ export default {
|
||||||
},
|
},
|
||||||
total: 0,
|
total: 0,
|
||||||
varList: [],
|
varList: [],
|
||||||
KEYWORDS: '',
|
PLANNAME: '',
|
||||||
dialogFormEdit: false,
|
dialogFormEdit: false,
|
||||||
dialogFormShow: false,
|
dialogFormShow: false,
|
||||||
dialogType: 'add'
|
dialogType: 'add'
|
||||||
|
@ -91,7 +101,7 @@ export default {
|
||||||
requestFN(
|
requestFN(
|
||||||
'/major/emergencyplan/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
'/major/emergencyplan/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
||||||
{
|
{
|
||||||
PLAN_NAME: this.KEYWORDS
|
PLANNAME: this.PLANNAME
|
||||||
}
|
}
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
this.listISLOADing = false
|
this.listISLOADing = false
|
||||||
|
@ -181,6 +191,10 @@ export default {
|
||||||
getQuery() {
|
getQuery() {
|
||||||
this.$refs.multipleTable.clearSelection()
|
this.$refs.multipleTable.clearSelection()
|
||||||
this.getList()
|
this.getList()
|
||||||
|
},
|
||||||
|
resetting() {
|
||||||
|
this.PLANNAME = ''
|
||||||
|
this.getList()
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
<el-input v-model="KEYWORDS" style="width: 150px" placeholder="请输入关键字"/>
|
<el-input v-model="KEYWORDS" style="width: 150px" placeholder="请输入关键字"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="12" style="text-align: right">
|
<el-col :span="12" style="text-align: right">
|
||||||
<el-form-item label-width="10px">
|
<el-form-item label-width="10px">
|
||||||
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">
|
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">
|
||||||
|
@ -46,20 +45,16 @@
|
||||||
border
|
border
|
||||||
fit
|
fit
|
||||||
highlight-current-row>
|
highlight-current-row>
|
||||||
|
|
||||||
<el-table-column type="index" label="序号" width="50" align="center" />
|
<el-table-column type="index" label="序号" width="50" align="center" />
|
||||||
<el-table-column prop="USERNAME" label="用户名" />
|
<el-table-column prop="USERNAME" label="用户名" />
|
||||||
<el-table-column prop="NAME" label="姓名" />
|
<el-table-column prop="NAME" label="姓名" />
|
||||||
<!-- <el-table-column prop="PID_NAME" label="上级部门" />-->
|
|
||||||
|
|
||||||
<el-table-column label="操作" width="80px">
|
<el-table-column label="操作" width="80px">
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<el-button type="primary" size="mini" @click="isChoose(row.USER_ID)">选择</el-button>
|
<el-button type="primary" size="mini" @click="isChoose(row)">选择</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<div class="page-btn-group">
|
<div class="page-btn-group">
|
||||||
|
|
||||||
<pagination :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList(USER_ID)" />
|
<pagination :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList(USER_ID)" />
|
||||||
</div>
|
</div>
|
||||||
</el-main>
|
</el-main>
|
||||||
|
@ -133,8 +128,8 @@ export default {
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
isChoose(id) {
|
isChoose(row) {
|
||||||
this.$emit('yjwenancheck', id)
|
this.$emit('yjwenancheck', row)
|
||||||
},
|
},
|
||||||
getQuery() {
|
getQuery() {
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
<el-table ref="multipleTable" :data="yjzjvarList" :header-cell-style="{'font-weight': 'bold','color': '#000'}" tooltip-effect="dark" border fit highlight-current-row>
|
<el-table ref="multipleTable" :data="yjzjvarList" :header-cell-style="{'font-weight': 'bold','color': '#000'}" tooltip-effect="dark" border fit highlight-current-row>
|
||||||
|
|
||||||
<el-table-column prop="FILENAME" label="文件名称" width="180" />
|
<el-table-column prop="FILENAME" label="文件名称" width="180" />
|
||||||
<el-table-column prop="BZ" label="备注" />
|
<el-table-column prop="BZ" label="备注" />
|
||||||
<el-table-column prop="createTimeStr" label="维护日期" />
|
<el-table-column prop="createTimeStr" label="维护日期" />
|
||||||
|
|
Loading…
Reference in New Issue