Commit db0b801a authored by zhoumaotao's avatar zhoumaotao

页面调整2

parent 69abc167
...@@ -9,13 +9,13 @@ ...@@ -9,13 +9,13 @@
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">开始日期:</span> <span class="search-span">开始日期:</span>
<el-date-picker v-model="queryParams.sgksrq"></el-date-picker> <el-date-picker v-model="queryParams.ksrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">结束日期:</span> <span class="search-span">结束日期:</span>
<el-date-picker v-model="queryParams.sgjsrq" ></el-date-picker> <el-date-picker v-model="queryParams.jsrq" ></el-date-picker>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
...@@ -24,11 +24,11 @@ ...@@ -24,11 +24,11 @@
<el-row class="tool-bar"> <el-row class="tool-bar">
<PrintButton :app='app'></PrintButton> <PrintButton :app='app'></PrintButton>
<ViewButton ref="view" :app='app'></ViewButton> <ViewButton ref="view" :app='app'></ViewButton>
<AttachFileButton :app='app'></AttachFileButton>
<AddButton ref="add" :app='app'></AddButton> <AddButton ref="add" :app='app'></AddButton>
<CopyButton ref="copy" :app='app'></CopyButton> <CopyButton ref="copy" :app='app'></CopyButton>
<EditButton ref="edit" :app='app'></EditButton> <EditButton ref="edit" :app='app'></EditButton>
<AttachFileButton :app='app'></AttachFileButton>
<FieldButton :app='app'></FieldButton> <FieldButton :app='app'></FieldButton>
<ExcelButton :app='app'></ExcelButton> <ExcelButton :app='app'></ExcelButton>
<!-- 额外按钮--> <!-- 额外按钮-->
...@@ -78,8 +78,8 @@ ...@@ -78,8 +78,8 @@
baseUrl: '/aqgl/fxsj', baseUrl: '/aqgl/fxsj',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
sgksrq: new Date().getTime(), ksrq: new Date().getTime(),
sgjsrq: new Date().getTime() jsrq: new Date().getTime() + 1000*60*60*24*30
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
......
...@@ -9,13 +9,13 @@ ...@@ -9,13 +9,13 @@
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">开始日期:</span> <span class="search-span">开始日期:</span>
<el-date-picker v-model="queryParams.sgksrq"></el-date-picker> <el-date-picker v-model="queryParams.ksrq"></el-date-picker>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">结束日期:</span> <span class="search-span">结束日期:</span>
<el-date-picker v-model="queryParams.sgjsrq" ></el-date-picker> <el-date-picker v-model="queryParams.jsrq" ></el-date-picker>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
...@@ -77,8 +77,8 @@ ...@@ -77,8 +77,8 @@
baseUrl: '/aqgl/fxsj', baseUrl: '/aqgl/fxsj',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
sgksrq: new Date().getTime(), ksrq: '',
sgjsrq: new Date().getTime() jsrq: ''
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
......
...@@ -10,13 +10,20 @@ ...@@ -10,13 +10,20 @@
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">岗位:</span> <span class="search-span">岗位:</span>
<el-input style="width:60% ;"></el-input> <el-select v-model="queryParams.gwid" clearable placeholder="请选择">
<el-option
v-for="item in doQueryScgw"
:key="item.id"
:label="item.name"
:value="item.id">
</el-option>
</el-select>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">设备设施风险点:</span> <span class="search-span">风险点:</span>
<el-input></el-input> <el-input v-model="queryParams.fxd"></el-input>
</div> </div>
</el-col> </el-col>
...@@ -76,11 +83,15 @@ ...@@ -76,11 +83,15 @@
UpdateKzzxRole, UpdateKzzxRole,
QtKzzxRole QtKzzxRole
} from "common/src/api/system/dmgSystem.js"; } from "common/src/api/system/dmgSystem.js";
import {
doQueryScgw
} from "@/api/riskPrecontrol/screeningCriteria.js";
/* edit页面*/ /* edit页面*/
import Edit from './edit' import Edit from './edit'
import Details from './details.vue' import Details from './details.vue'
import Cycle from './cycle.vue' import Cycle from './cycle.vue'
import Content from './content.vue' import PersonLiable from './personLiable.vue' import Content from './content.vue'
import PersonLiable from './personLiable.vue'
import { import {
tableMixin tableMixin
} from 'common' } from 'common'
...@@ -90,11 +101,19 @@ ...@@ -90,11 +101,19 @@
/* 初始额外赋值*/ /* 初始额外赋值*/
async mounted() { async mounted() {
await this.$asRun(
[doQueryScgw(),
res => {
var data = res['data']['records'];
this.doQueryScgw = data
}
]
)
this.$refs['TablePager'].pageQuery() this.$refs['TablePager'].pageQuery()
console.log(_)
}, },
data() { data() {
return { return {
doQueryScgw:[],
activeName: 'first', activeName: 'first',
/*需要的额外参数 */ /*需要的额外参数 */
showDialog: false, showDialog: false,
...@@ -105,8 +124,8 @@ ...@@ -105,8 +124,8 @@
baseUrl: 'kzzx/role', baseUrl: 'kzzx/role',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
ksrq: '', gwid: '',
jsrq: '' fxd: ''
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<el-form slot="form" ref="form" :model="form" label-width="80px" :rules="rules"> <el-form slot="form" ref="form" :model="form" label-width="80px" :rules="rules">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="类型编码" ref="code" prop="code"> <el-form-item label="编码" ref="code" prop="code">
<el-input :readonly="readonly" v-model="form.code" ></el-input> <el-input :readonly="readonly" v-model="form.code" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
{label: "类型编码", prop: "code", fieldType: "ftString",width:120}, {label: "编码", prop: "code", fieldType: "ftString",width:120},
{label: "名称", prop: "name", fieldType: "ftString",width:300}, {label: "名称", prop: "name", fieldType: "ftString",width:300},
{label: "备注", prop: "bz", fieldType: "ftString",width:300}, {label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "维护人", prop: "whr", fieldType: "ftString"}, {label: "维护人", prop: "whr", fieldType: "ftString"},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment