Commit ac850fc6 authored by 李苏's avatar 李苏 💬

修复

parent d9316139
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div slot="form"> <div slot="form">
<div style="height: 400px;width: 100%;margin-bottom: 5px;"> <div style="height: 400px;width: 100%;margin-bottom: 5px;">
<!-- <EditTable :app='this'></EditTable> --> <!-- <EditTable :app='this'></EditTable> -->
<TablePager @getData='getData' :ref="'TablePager'" :app='this' :query='query' @selectItem='selectItem' <TablePager showSelection @getData='getData' :ref="'TablePager'" :app='this' :query='query' @selectItem='selectItem'
:delButton='false' @getRow='getRow'> :delButton='false' @getRow='getRow'>
</TablePager> </TablePager>
</div> </div>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<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>
<!-- 额外按钮--> <!-- 额外按钮-->
......
...@@ -29,6 +29,11 @@ ...@@ -29,6 +29,11 @@
<RelSelect :readonly="readonly" style="width: 100%;" src='/aqgl/jcsj/scgw/query' clearable :match="{value:'id',label:'name'}" v-model='form.gwid' ></RelSelect> <RelSelect :readonly="readonly" style="width: 100%;" src='/aqgl/jcsj/scgw/query' clearable :match="{value:'id',label:'name'}" v-model='form.gwid' ></RelSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-form-item label="任务类型" ref="rwlx" prop="rwlx">
<RelSelect style="width: 100%;" clearable :readonly="readonly" src='aqgl/fxyk/fxpc/init/rwlx' :match="{value:'id',label:'name'}" v-model='form.rwlx' ></RelSelect>
</el-form-item>
</el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
...@@ -107,6 +112,7 @@ ...@@ -107,6 +112,7 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/ /* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form: { form: {
rwlx:'',
fxpcdd:'', fxpcdd:'',
fxd:'', fxd:'',
cjName:'', cjName:'',
......
...@@ -48,6 +48,12 @@ ...@@ -48,6 +48,12 @@
<RelSelect linkage :linkParams="{pid:queryParams.gsid}" style="width: 100%;" src='jcsj/common/bm/queryBz' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='queryParams.bmid' ></RelSelect> <RelSelect linkage :linkParams="{pid:queryParams.gsid}" style="width: 100%;" src='jcsj/common/bm/queryBz' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='queryParams.bmid' ></RelSelect>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col">
<div class="search-item">
<span class="search-span">任务类型:</span>
<RelSelect style="width: 100%;" src='aqgl/fxyk/fxpc/init/rwlx' clearable :match="{value:'id',label:'name'}" v-model='queryParams.rwlx' ></RelSelect>
</div>
</el-col>
</el-row> </el-row>
</div> </div>
<!-- 按钮操作--> <!-- 按钮操作-->
...@@ -57,7 +63,7 @@ ...@@ -57,7 +63,7 @@
<!-- <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> <AttachFileShow :app='app'></AttachFileShow>
<FieldButton :app='app'></FieldButton> <FieldButton :app='app'></FieldButton>
<ExcelButton :app='app'></ExcelButton> <ExcelButton :app='app'></ExcelButton>
<el-button size='mini' @click="zdzrr" type="primary">指定责任人</el-button> <el-button size='mini' @click="zdzrr" type="primary">指定责任人</el-button>
...@@ -150,6 +156,7 @@ import Zdzrr from './zdzrr' ...@@ -150,6 +156,7 @@ import Zdzrr from './zdzrr'
baseUrl: '/aqgl/fxyk/fxpc', baseUrl: '/aqgl/fxyk/fxpc',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
rwlx:'',
queryType:'history', queryType:'history',
gsid:'', gsid:'',
bmid:'', bmid:'',
...@@ -164,6 +171,7 @@ import Zdzrr from './zdzrr' ...@@ -164,6 +171,7 @@ import Zdzrr from './zdzrr'
// {label: "单据来源", prop: "djly", fieldType: "ftString",width:60}, // {label: "单据来源", prop: "djly", fieldType: "ftString",width:60},
// {label: "风险排查标准编码", prop: "fxbzid", fieldType: "ftString",width:192}, // {label: "风险排查标准编码", prop: "fxbzid", fieldType: "ftString",width:192},
{label: "状态", prop: "ztName", fieldType: "ftString",width:50}, {label: "状态", prop: "ztName", fieldType: "ftString",width:50},
{label: "任务类型", prop: "rwlxName", fieldType: "ftString",width:100},
{label: "下达日期", prop: "xdrq", fieldType: "ftDate"}, {label: "下达日期", prop: "xdrq", fieldType: "ftDate"},
// {label: "截止日期", prop: "jzrq", fieldType: "ftDateTime"}, // {label: "截止日期", prop: "jzrq", fieldType: "ftDateTime"},
{label: "检查时间", prop: "sjjcsj", fieldType: "ftDateTime"}, {label: "检查时间", prop: "sjjcsj", fieldType: "ftDateTime"},
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<!-- <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> -->
<!-- 额外按钮--> <!-- 额外按钮-->
......
...@@ -29,6 +29,11 @@ ...@@ -29,6 +29,11 @@
<RelSelect :readonly="readonly" style="width: 100%;" src='/aqgl/jcsj/scgw/query' clearable :match="{value:'id',label:'name'}" v-model='form.gwid' ></RelSelect> <RelSelect :readonly="readonly" style="width: 100%;" src='/aqgl/jcsj/scgw/query' clearable :match="{value:'id',label:'name'}" v-model='form.gwid' ></RelSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-form-item label="任务类型" ref="rwlx" prop="rwlx">
<RelSelect style="width: 100%;" clearable :readonly="readonly" src='aqgl/fxyk/fxpc/init/rwlx' :match="{value:'id',label:'name'}" v-model='form.rwlx' ></RelSelect>
</el-form-item>
</el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
......
...@@ -54,13 +54,19 @@ ...@@ -54,13 +54,19 @@
<RelSelect style="width: 100%;" src='aqgl/fxyk/fxpc/init/jcjg' filterable clearable :match="{value:'id',label:'name'}" v-model='queryParams.jcjg' ></RelSelect> <RelSelect style="width: 100%;" src='aqgl/fxyk/fxpc/init/jcjg' filterable clearable :match="{value:'id',label:'name'}" v-model='queryParams.jcjg' ></RelSelect>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col">
<div class="search-item">
<span class="search-span">任务类型:</span>
<RelSelect style="width: 100%;" src='aqgl/fxyk/fxpc/init/rwlx' clearable :match="{value:'id',label:'name'}" v-model='queryParams.rwlx' ></RelSelect>
</div>
</el-col>
</el-row> </el-row>
</div> </div>
<!-- 按钮操作--> <!-- 按钮操作-->
<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> <AttachFileShow :app='app'></AttachFileShow>
<FieldButton :app='app'></FieldButton> <FieldButton :app='app'></FieldButton>
<ExcelButton :app='app'></ExcelButton> <ExcelButton :app='app'></ExcelButton>
<!-- 额外按钮--> <!-- 额外按钮-->
...@@ -137,6 +143,7 @@ ...@@ -137,6 +143,7 @@
baseUrl: '/aqgl/fxyk/fxpc', baseUrl: '/aqgl/fxyk/fxpc',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
rwlx:'',
jcjg:'', jcjg:'',
gsid:'', gsid:'',
bmid:'', bmid:'',
...@@ -151,6 +158,7 @@ ...@@ -151,6 +158,7 @@
// {label: "单据来源", prop: "djly", fieldType: "ftString",width:60}, // {label: "单据来源", prop: "djly", fieldType: "ftString",width:60},
// {label: "风险排查标准编码", prop: "fxbzid", fieldType: "ftString",width:192}, // {label: "风险排查标准编码", prop: "fxbzid", fieldType: "ftString",width:192},
{label: "状态", prop: "ztName", fieldType: "ftString",width:50}, {label: "状态", prop: "ztName", fieldType: "ftString",width:50},
{label: "任务类型", prop: "rwlxName", fieldType: "ftString",width:100},
{label: "下达日期", prop: "xdrq", fieldType: "ftDate"}, {label: "下达日期", prop: "xdrq", fieldType: "ftDate"},
// {label: "截止日期", prop: "jzrq", fieldType: "ftDateTime"}, // {label: "截止日期", prop: "jzrq", fieldType: "ftDateTime"},
{label: "检查时间", prop: "sjjcsj", fieldType: "ftDateTime"}, {label: "检查时间", prop: "sjjcsj", fieldType: "ftDateTime"},
......
...@@ -7,24 +7,23 @@ ...@@ -7,24 +7,23 @@
<div class="search" v-condition> <div class="search" v-condition>
<SearchButton :app='app'></SearchButton> <SearchButton :app='app'></SearchButton>
<el-row :gutter="20" class="search-row-1"> <el-row :gutter="20" class="search-row-1">
<el-col :span="6" class="search-col">
<div class="search-item">
<span class="search-span">任务类型:</span>
<RelSelect style="width: 100%;" src='aqgl/fxyk/fxpc/init/rwlx' clearable :match="{value:'id',label:'name'}" v-model='queryParams.rwlx' ></RelSelect>
</div>
</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-select v-model="queryParams.gwid" clearable placeholder="请选择"> <el-date-picker value-format="timestamp" v-model="queryParams.ksrq"></el-date-picker>
<el-option </div>
v-for="item in doQueryScgw"
:key="item.id"
:label="item.name"
:value="item.id">
</el-option>
</el-select>
</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 v-model="queryParams.fxd"></el-input> <el-date-picker value-format="timestamp" v-model="queryParams.jsrq" ></el-date-picker>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
...@@ -102,14 +101,6 @@ ...@@ -102,14 +101,6 @@
/* 初始额外赋值*/ /* 初始额外赋值*/
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()
}, },
data() { data() {
...@@ -125,8 +116,11 @@ ...@@ -125,8 +116,11 @@
baseUrl: 'kzzx/role', baseUrl: 'kzzx/role',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
gwid: '', rwlx: '',
fxd: '' ksrq: new Date().getTime()-1000*60*60*24*30,
jsrq: new Date().getTime()
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
......
...@@ -75,7 +75,18 @@ ...@@ -75,7 +75,18 @@
<div style="display: flex;transform: translateY(-10px);"> <div style="display: flex;transform: translateY(-10px);">
<el-button @click.native='showDialog=true' size='mini' type="primary">添加指标</el-button> <el-button @click.native='showDialog=true' size='mini' type="primary">添加指标</el-button>
</div> </div>
<EditTable :editTableData='formDetail' staticHeader :app='this' ></EditTable> <EditTable :editTableData='formDetail' staticHeader :app='this' >
<template slot="tabCustom">
<el-table-column style="border-right: 0px;" fixed="right" label="操作" header-align="center">
<template slot-scope="scope">
<el-button style="text-align: center;color: red;width: 100%;"
@click.native.prevent="del(scope.$index, tableData,scope)" type="text" size="small">
<i class="el-icon-delete"></i>删除
</el-button>
</template>
</el-table-column>
</template>
</EditTable>
</div> </div>
</el-form-item> </el-form-item>
...@@ -102,6 +113,14 @@ ...@@ -102,6 +113,14 @@
} }
}, },
watch:{ watch:{
formDetail(val){
if(val.length){
this.notInIds=[]
val.forEach(e=>{
this.notInIds.push(e.jcnrid)
})
}
},
jldw(val){ jldw(val){
if(val=='week'){ if(val=='week'){
this.days=7 this.days=7
...@@ -116,6 +135,7 @@ ...@@ -116,6 +135,7 @@
data() { data() {
return { return {
notInIds:[],
formDetail:[], formDetail:[],
showDialog:false, showDialog:false,
DialogTitle:'排查标准', DialogTitle:'排查标准',
...@@ -172,13 +192,20 @@ ...@@ -172,13 +192,20 @@
}, },
/* 多表表头*/ /* 多表表头*/
editTableTitle:[ editTableTitle:[
{label: "检查内容", prop: "nr", fieldType: "ftString",width:300}, {label: "检查内容", prop: "nr", fieldType: "ftString",width:300},
{label: "岗位", prop: "scgwName", fieldType: "ftString",width:300}, {label: "岗位", prop: "scgwName", fieldType: "ftString",width:150},
{label: "检查人", prop: "fzrName", fieldType: "ftString",width:300}, {label: "任务类型", prop: "rwlxName", fieldType: "ftString",width:150},
{label: "检查人", prop: "fzrName", fieldType: "ftString",width:150},
] ]
} }
}, },
methods: { methods: {
del(index){
if(this.type=='view'){
return
}
this.formDetail.splice(index,1)
},
numberChange (val,maxNum,str) { numberChange (val,maxNum,str) {
//转换数字类型 //转换数字类型
this.form[str] = Number(val) this.form[str] = Number(val)
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<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> -->
<el-button @click="doStart" size='mini'type="primary">启动</el-button> <el-button @click="doStart" size='mini'type="primary">启动</el-button>
......
...@@ -2,11 +2,31 @@ ...@@ -2,11 +2,31 @@
<DefaultDialog :app='app'> <DefaultDialog :app='app'>
<div slot="form" style="height: 70vh;"> <div slot="form" style="height: 70vh;">
<!-- 按钮--> <!-- 按钮-->
<div style='height:100%;width: 100%;'> <div class="min_full" style='height:100%;width: 100%;'>
<div class="search" v-condition>
<SearchButton :app='this'></SearchButton>
<el-row :gutter="20" class="search-row-1">
<el-col :span="12" class="search-col">
<div class="search-item">
<span class="search-span">任务类型:</span>
<RelSelect style="width: 100%;" src='aqgl/fxyk/fxpc/init/rwlx' clearable :match="{value:'id',label:'name'}" v-model='queryParams.rwlx' ></RelSelect>
</div>
</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>
</div>
<div class="tablePagers">
<TablePager showSelection :delButton='false' @getData='getData' :ref="'TablePager'" :app='this' :query='query' @selectItem='selectItem' <TablePager showSelection :delButton='false' @getData='getData' :ref="'TablePager'" :app='this' :query='query' @selectItem='selectItem'
@getRow='getRow'> @getRow='getRow'>
</TablePager> </TablePager>
</div>
</div> </div>
<!-- 表格--> <!-- 表格-->
</div> </div>
...@@ -45,6 +65,7 @@ ...@@ -45,6 +65,7 @@
async mounted() { async mounted() {
this.$nextTick(()=>{ this.$nextTick(()=>{
this.queryParams.gsid=this.app.form.gsid this.queryParams.gsid=this.app.form.gsid
this.queryParams.notInIds=this.app.notInIds
// this.queryParams.bmid=this.app.form.bmid // this.queryParams.bmid=this.app.form.bmid
this.$refs['TablePager'].pageQuery() this.$refs['TablePager'].pageQuery()
}) })
...@@ -88,12 +109,16 @@ ...@@ -88,12 +109,16 @@
data() { data() {
return { return {
queryParams:{ queryParams:{
gwid:'' gwid:'',
condition:'',
rwlx:'',
notInIds:[]
}, },
tableTitle: [ tableTitle: [
{label: "检查内容", prop: "nr", fieldType: "ftString",width:300}, {label: "检查内容", prop: "nr", fieldType: "ftString",width:300},
{label: "岗位", prop: "scgwName", fieldType: "ftString",width:300}, {label: "岗位", prop: "scgwName", fieldType: "ftString",width:150},
{label: "检查人", prop: "fzrName", fieldType: "ftString",width:300}, {label: "任务类型", prop: "rwlxName", fieldType: "ftString",width:150},
{label: "检查人", prop: "fzrName", fieldType: "ftString",width:150},
], ],
baseUrl: '/aqgl/fxyk/fxbz', baseUrl: '/aqgl/fxyk/fxbz',
} }
......
<template> <template>
<div v-show="queryParams.mid" class="min_full" style="height: calc(84vh - 75px);"> <div v-show="queryParams.mid" class="min_full" style="height: calc(84vh - 75px);">
<div class="search" v-condition>
<SearchButton :app='this'></SearchButton>
<el-row :gutter="20" class="search-row-1">
<el-col :span="6" class="search-col">
<div class="search-item">
<span class="search-span">任务类型:</span>
<RelSelect style="width: 100%;" src='aqgl/fxyk/fxpc/init/rwlx' clearable :match="{value:'id',label:'name'}" v-model='queryParams.rwlx' ></RelSelect>
</div>
</el-col>
</el-row>
</div>
<Fp ref='fp' :app='this' v-if='showDialog'></Fp> <Fp ref='fp' :app='this' v-if='showDialog'></Fp>
<!-- 分配弹框--> <!-- 分配弹框-->
<!-- 按钮操作--> <!-- 按钮操作-->
...@@ -67,13 +79,15 @@ ...@@ -67,13 +79,15 @@
baseUrl: '/aqgl/fxyk/fxjcnr', baseUrl: '/aqgl/fxyk/fxjcnr',
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
mid:'' mid:'',
rwlx:''
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
// {label: "标准ID", prop: "mid", fieldType: "ftString",width:192}, // {label: "标准ID", prop: "mid", fieldType: "ftString",width:192},
{label: "检查内容", prop: "nr", fieldType: "ftString",width:300}, {label: "检查内容", prop: "nr", fieldType: "ftString",width:300},
{label: "岗位", prop: "scgwName", fieldType: "ftString",width:300}, {label: "岗位", prop: "scgwName", fieldType: "ftString",width:150},
{label: "任务类型", prop: "rwlxName", fieldType: "ftString",width:150},
{label: "检查人", prop: "fzrName", fieldType: "ftString",width:300}, {label: "检查人", prop: "fzrName", fieldType: "ftString",width:300},
// {label: "检查分值", prop: "jcfz", fieldType: "float"}, // {label: "检查分值", prop: "jcfz", fieldType: "float"},
// {label: "备注", prop: "bz", fieldType: "ftString",width:300}, // {label: "备注", prop: "bz", fieldType: "ftString",width:300},
......
...@@ -18,6 +18,11 @@ ...@@ -18,6 +18,11 @@
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="24">
<el-form-item label="任务类型" ref="rwlx" prop="rwlx">
<RelSelect style="width: 100%;" clearable :readonly="readonly" src='aqgl/fxyk/fxpc/init/rwlx' :match="{value:'id',label:'name'}" v-model='form.rwlx' ></RelSelect>
</el-form-item>
</el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="岗位" ref="gwid" prop="gwid"> <el-form-item label="岗位" ref="gwid" prop="gwid">
<RelSelect style="width: 100%;" :params="{gsid:app.vMain.rowItem.gsid}" clearable :readonly="readonly" src='/aqgl/jcsj/scgw/query' :match="{value:'id',label:'name'}" v-model='form.gwid' ></RelSelect> <RelSelect style="width: 100%;" :params="{gsid:app.vMain.rowItem.gsid}" clearable :readonly="readonly" src='/aqgl/jcsj/scgw/query' :match="{value:'id',label:'name'}" v-model='form.gwid' ></RelSelect>
...@@ -25,7 +30,7 @@ ...@@ -25,7 +30,7 @@
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="检查人" ref="fzrid" prop="fzrid"> <el-form-item label="检查人" ref="fzrid" prop="fzrid">
<RelSelect linkage :linkParams="{scgwid:form.gwid}" filterable style="width: 100%;" :params="{bmid:app.vMain.rowItem.gsid}" clearable :readonly="readonly" src='aqgl/jcsj/scgwry/queryScgwry' :match="{value:'id',label:'username'}" v-model='form.fzrid' ></RelSelect> <RelSelect linkage :linkParams="{scgwid:form.gwid}" filterable style="width: 100%;" clearable :readonly="readonly" src='aqgl/jcsj/scgwry/queryScgwry' :match="{value:'id',label:'username'}" v-model='form.fzrid' ></RelSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
...@@ -55,6 +60,7 @@ ...@@ -55,6 +60,7 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/ /* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form: { form: {
rwlx:'',
gwid:'', gwid:'',
fzrid:'', fzrid:'',
id:'', id:'',
......
...@@ -21,18 +21,9 @@ ...@@ -21,18 +21,9 @@
<div class="search-item"> <div class="search-item">
<span class="search-span">岗位:</span> <span class="search-span">岗位:</span>
<RelSelect linkage :linkParams="{gsid:queryParams.gsid}" style="width: 100%;" src='/aqgl/jcsj/scgw/query' clearable :match="{value:'id',label:'name'}" v-model='queryParams.gwid' ></RelSelect> <RelSelect linkage :linkParams="{gsid:queryParams.gsid}" style="width: 100%;" src='/aqgl/jcsj/scgw/query' clearable :match="{value:'id',label:'name'}" v-model='queryParams.gwid' ></RelSelect>
<!-- <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-row> </el-row>
</div> </div>
<!-- 按钮操作--> <!-- 按钮操作-->
...@@ -42,7 +33,6 @@ ...@@ -42,7 +33,6 @@
<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>
<!-- 额外按钮--> <!-- 额外按钮-->
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<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>
<!-- 额外按钮--> <!-- 额外按钮-->
......
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