543 搜索框 加标题
541 搜索框不好使 538 下载按钮 改为蓝色 542 点击查看物资 掉线 541 搜索框不好使 534 先点击新增 再点击编辑 输入信息后保存 是新增一条数据liujun0703-新项目开发
parent
db1d191cbb
commit
f2bc4bdea8
|
@ -7,7 +7,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">搜索</el-button>
|
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">搜索</el-button>
|
||||||
<el-button class="filter-item" type="default" icon="el-icon-refresh" @click="resetQuery">重置</el-button>
|
<el-button class="filter-item" type="info" icon="el-icon-refresh" @click="resetQuery">重置</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -280,7 +280,7 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getDetail(id) {
|
getDetail(id) {
|
||||||
const params = { Id: id }
|
const params = { ID: id }
|
||||||
requestFN('/major/personnel/detail', params).then((response) => {
|
requestFN('/major/personnel/detail', params).then((response) => {
|
||||||
const data = response.msg
|
const data = response.msg
|
||||||
this.form = {
|
this.form = {
|
||||||
|
|
|
@ -1,10 +1,21 @@
|
||||||
<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="KEYWORDS" 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-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" />
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
<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;" />
|
装备名称:<el-input v-model="KEYWORDS" placeholder="搜索" class="filter-item" style="width: 200px;" />
|
||||||
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">
|
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">搜索</el-button>
|
||||||
搜索
|
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="resetting">搜索</el-button>
|
||||||
</el-button>
|
|
||||||
</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" />
|
||||||
|
@ -452,7 +451,7 @@ export default {
|
||||||
requestFN(
|
requestFN(
|
||||||
'/rescueEquip/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
'/rescueEquip/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
||||||
{
|
{
|
||||||
name: this.KEYWORDS,
|
EQUIP_NAME: this.KEYWORDS,
|
||||||
LIBRARY_ID: this.resourceLibraryId
|
LIBRARY_ID: this.resourceLibraryId
|
||||||
}
|
}
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
|
@ -618,6 +617,10 @@ export default {
|
||||||
getQuery() {
|
getQuery() {
|
||||||
this.$refs.multipleTable.clearSelection()
|
this.$refs.multipleTable.clearSelection()
|
||||||
this.getList()
|
this.getList()
|
||||||
|
},
|
||||||
|
resetting() {
|
||||||
|
this.getList()
|
||||||
|
this.KEYWORDS = ''
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,19 +1,18 @@
|
||||||
<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;" />
|
名字:<el-input v-model="KEYWORDS" placeholder="搜索" class="filter-item" style="width: 200px;" />
|
||||||
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">
|
<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-button>
|
|
||||||
</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="FAC_NAME" label="名称" width="180" />
|
<el-table-column prop="FAC_NAME" label="名称" width="180" />
|
||||||
<el-table-column prop="TYPE_NAME" label="设备类型" show-overflow-tooltip="true" />
|
<el-table-column :show-overflow-tooltip="true" prop="TYPE_NAME" label="设备类型" />
|
||||||
<el-table-column prop="CONTACT_PERSON" label="联系人" show-overflow-tooltip="true" />
|
<el-table-column :show-overflow-tooltip="true" prop="CONTACT_PERSON" label="联系人" />
|
||||||
<el-table-column prop="CONTACT_MOBILE_PHONE" label="联系人固定电话" show-overflow-tooltip="true" />
|
<el-table-column :show-overflow-tooltip="true" prop="CONTACT_MOBILE_PHONE" label="联系人固定电话" />
|
||||||
<el-table-column prop="UPDATE_TIME_STRING" label="修改时间" show-overflow-tooltip="true" />
|
<el-table-column :show-overflow-tooltip="true" prop="UPDATE_TIME_STRING" label="修改时间" />
|
||||||
<el-table-column label="操作" align="center" width="300">
|
<el-table-column label="操作" align="center" width="300">
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<el-button type="text" icon="el-icon-document" size="mini" @click="goList('facilitiesInfo', row.FAC_ID)">查看</el-button>
|
<el-button type="text" icon="el-icon-document" size="mini" @click="goList('facilitiesInfo', row.FAC_ID)">查看</el-button>
|
||||||
|
@ -137,11 +136,8 @@
|
||||||
<div style="flex:1;">
|
<div style="flex:1;">
|
||||||
<el-autocomplete v-model="TYPEKeyword" :fetch-suggestions="querySearch" :trigger-on-focus="false" placeholder="请输入详细设备类型" style="width:100%" @select="handleSelect" />
|
<el-autocomplete v-model="TYPEKeyword" :fetch-suggestions="querySearch" :trigger-on-focus="false" placeholder="请输入详细设备类型" style="width:100%" @select="handleSelect" />
|
||||||
</div>
|
</div>
|
||||||
<!-- <el-input v-model="TYPEKeyword" style="width: 200px" placeholder="请输入内容" />-->
|
|
||||||
<!-- <el-button slot="append" icon="el-icon-search" @click="mapNameChange"/>-->
|
|
||||||
</div>
|
</div>
|
||||||
</bm-control>
|
</bm-control>
|
||||||
<!-- <bm-local-search :keyword="TYPEKeyword" :auto-viewport="true"/>-->
|
|
||||||
</baidu-map>
|
</baidu-map>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<span>经度:</span>
|
<span>经度:</span>
|
||||||
|
@ -434,7 +430,7 @@ export default {
|
||||||
requestFN(
|
requestFN(
|
||||||
'/equipmentfacilities/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
'/equipmentfacilities/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
||||||
{
|
{
|
||||||
name: this.KEYWORDS,
|
FAC_NAME: this.KEYWORDS,
|
||||||
LIBRARY_ID: this.resourceLibraryId
|
LIBRARY_ID: this.resourceLibraryId
|
||||||
}
|
}
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
|
@ -600,6 +596,10 @@ export default {
|
||||||
getQuery() {
|
getQuery() {
|
||||||
this.$refs.multipleTable.clearSelection()
|
this.$refs.multipleTable.clearSelection()
|
||||||
this.getList()
|
this.getList()
|
||||||
|
},
|
||||||
|
resetting() {
|
||||||
|
this.KEYWORDS = ''
|
||||||
|
this.getList()
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,12 +31,12 @@
|
||||||
<td>{{ form.CONTACT_MOBILE_TOW_PHONE }}</td>
|
<td>{{ form.CONTACT_MOBILE_TOW_PHONE }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tbg">概述</td>
|
<td class="tbg" >概述</td>
|
||||||
<td>{{ form.OVERVIEW }}</td>
|
<td colspan="3">{{ form.OVERVIEW }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="form.FILE_URL">
|
<tr v-if="form.FILE_URL">
|
||||||
<td class="tbg">附件</td>
|
<td class="tbg">附件</td>
|
||||||
<td><a @click="download(form)">下载</a></td>
|
<td colspan="3"><el-button type="primary" @click="download(form)">下载</el-button></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
<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;" />
|
物资名称:<el-input v-model="KEYWORDS" placeholder="搜索" class="filter-item" style="width: 200px;" />
|
||||||
<el-button class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">
|
<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-button>
|
|
||||||
</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" />
|
||||||
|
@ -139,11 +138,8 @@
|
||||||
<div style="flex:1;">
|
<div style="flex:1;">
|
||||||
<el-autocomplete v-model="TYPEKeyword" :fetch-suggestions="querySearch" :trigger-on-focus="false" placeholder="请输入详细设备类型" style="width:100%" @select="handleSelect" />
|
<el-autocomplete v-model="TYPEKeyword" :fetch-suggestions="querySearch" :trigger-on-focus="false" placeholder="请输入详细设备类型" style="width:100%" @select="handleSelect" />
|
||||||
</div>
|
</div>
|
||||||
<!-- <el-input v-model="TYPEKeyword" style="width: 200px" placeholder="请输入内容" />-->
|
|
||||||
<!-- <el-button slot="append" icon="el-icon-search" @click="mapNameChange"/>-->
|
|
||||||
</div>
|
</div>
|
||||||
</bm-control>
|
</bm-control>
|
||||||
<!-- <bm-local-search :keyword="TYPEKeyword" :auto-viewport="true"/>-->
|
|
||||||
</baidu-map>
|
</baidu-map>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<span>经度:</span>
|
<span>经度:</span>
|
||||||
|
@ -453,7 +449,7 @@ export default {
|
||||||
requestFN(
|
requestFN(
|
||||||
'/rescueSupplies/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
'/rescueSupplies/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
||||||
{
|
{
|
||||||
name: this.KEYWORDS,
|
SUPPLIES_NAME: this.KEYWORDS,
|
||||||
LIBRARY_ID: this.resourceLibraryId
|
LIBRARY_ID: this.resourceLibraryId
|
||||||
}
|
}
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
|
@ -618,6 +614,10 @@ export default {
|
||||||
getQuery() {
|
getQuery() {
|
||||||
this.$refs.multipleTable.clearSelection()
|
this.$refs.multipleTable.clearSelection()
|
||||||
this.getList()
|
this.getList()
|
||||||
|
},
|
||||||
|
resetting() {
|
||||||
|
this.getList()
|
||||||
|
this.KEYWORDS = ''
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue