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