Commit 225aaea4 authored by 李苏's avatar 李苏 💬

履职设置 add报错

parent 61cd0281
...@@ -175,7 +175,7 @@ ...@@ -175,7 +175,7 @@
form: { form: {
// bmid:'', // bmid:'',
gsid:'', gsid:'',
table:'FXSZMX', table:'LZSZMX',
name:'', name:'',
jldw:'', jldw:'',
begintime:'', begintime:'',
...@@ -192,10 +192,12 @@ ...@@ -192,10 +192,12 @@
}, },
/* 多表表头*/ /* 多表表头*/
editTableTitle:[ editTableTitle:[
{label: "检查内容", prop: "nr", fieldType: "ftString",width:300}, {label: "公司", prop: "gsName", fieldType: "ftString",width: 150},
{label: "岗位", prop: "scgwName", fieldType: "ftString",width:150}, {label: "分类", prop: "flName", fieldType: "ftString",width:200},
{label: "任务类型", prop: "rwlxName", fieldType: "ftString",width:150}, {label: "岗位", prop: "scgwName", fieldType: "ftString",width:180},
{label: "检查人", prop: "fzrName", fieldType: "ftString",width:150}, {label: "履职内容", prop: "content", fieldType: "ftString",width:300},
{label: "维护人", prop: "whr", fieldType: "ftString",width:100},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"}
] ]
} }
}, },
......
...@@ -5,19 +5,12 @@ ...@@ -5,19 +5,12 @@
<div class="min_full" style='height:100%;width: 100%;'> <div class="min_full" style='height:100%;width: 100%;'>
<div class="search" v-condition> <div class="search" v-condition>
<SearchButton :app='this'></SearchButton> <SearchButton :app='this'></SearchButton>
<el-row :gutter="20" class="search-row-1"> <el-row :gutter="20" class="search-row-1" style="margin-top: 5px;">
<el-col :span="12" class="search-col"> <el-col :span="12">
<div class="search-item"> <el-form-item label="公司" >
<span class="search-span">任务类型:</span> <RelSelect style="width: 100%;" src='/jcsj/common/bm/queryGs' :match="{value:'id',label:'bmmc'}" v-model='queryParams.gsid' ></RelSelect>
<RelSelect style="width: 100%;" src='aqgl/fxyk/fxpc/init/rwlx' clearable :match="{value:'id',label:'name'}" v-model='queryParams.rwlx' ></RelSelect> </el-form-item>
</div> </el-col>
</el-col>
<el-col :span="12" class="search-col">
<div class="search-item">
<span class="search-span">人员:&nbsp;&nbsp;</span>
<el-input v-model='queryParams.condition' ></el-input>
</div>
</el-col>
</el-row> </el-row>
</div> </div>
...@@ -40,17 +33,16 @@ ...@@ -40,17 +33,16 @@
</template> </template>
<script> <script>
import { import {
doQuery, doQuery,
doAdd, doAdd,
doUpdate, doUpdate,
doDelete, doDelete,
doQueryJcnr, doAutoGen
doAddJcnr, } from '@/api/daily/maintenanceDuty.js';
doUpdateJcnr,
doDeleteJcnr,
doAutoGen,
doQueryScgw
} from "@/api/riskPrecontrol/screeningCriteria.js";
import { import {
tableMixin_noapp tableMixin_noapp
} from 'common' } from 'common'
...@@ -72,7 +64,7 @@ ...@@ -72,7 +64,7 @@
}, },
methods: { methods: {
query: doQueryJcnr, query: doQuery,
/* 基础增*/ /* 基础增*/
apiAdd: doAdd, apiAdd: doAdd,
/* 基础更新*/ /* 基础更新*/
...@@ -109,16 +101,16 @@ ...@@ -109,16 +101,16 @@
data() { data() {
return { return {
queryParams:{ queryParams:{
gwid:'', gsid:'',
condition:'', // info: ''
rwlx:'',
notInIds:[]
}, },
tableTitle: [ tableTitle: [
{label: "检查内容", prop: "nr", fieldType: "ftString",width:300}, {label: "公司", prop: "gsName", fieldType: "ftString",width: 150},
{label: "岗位", prop: "scgwName", fieldType: "ftString",width:150}, {label: "分类", prop: "flName", fieldType: "ftString",width:200},
{label: "任务类型", prop: "rwlxName", fieldType: "ftString",width:150}, {label: "岗位", prop: "scgwName", fieldType: "ftString",width:180},
{label: "检查人", prop: "fzrName", fieldType: "ftString",width:150}, {label: "履职内容", prop: "content", fieldType: "ftString",width:300},
{label: "维护人", prop: "whr", fieldType: "ftString",width:100},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"}
], ],
baseUrl: '/aqgl/fxyk/fxbz', baseUrl: '/aqgl/fxyk/fxbz',
} }
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
</div> </div>
<div class="bottom"> <div class="bottom">
<div class="zttitle"> <div class="zttitle">
处理隐患 处理隐患
</div> </div>
<div class="" style="height: calc(100% - 30px);width: 100%;"> <div class="" style="height: calc(100% - 30px);width: 100%;">
<TablePager isAutoRoll showPagination queryAll :delButton='false' @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem' <TablePager isAutoRoll showPagination queryAll :delButton='false' @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem'
...@@ -263,7 +263,8 @@ ...@@ -263,7 +263,8 @@
}, },
queryParams:{ queryParams:{
zt:'Z' queryType:'YHWCL'
// zt:'S'
}, },
aqpng:aqpng, aqpng:aqpng,
baseurl:baseurl, baseurl:baseurl,
......
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