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

修改

parent f4c01ecb
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
tableTitle: [{ tableTitle: [{
prop: 'bmmc', prop: 'bmmc',
label: '部门名称', label: '部门名称',
width: '120' width: '300'
}, },
{ {
prop: 'bmid', prop: 'bmid',
......
...@@ -16,19 +16,6 @@ ...@@ -16,19 +16,6 @@
<div class="tablePagers"> <div class="tablePagers">
<TablePager @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem' <TablePager @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem'
@getRow='getRow'> @getRow='getRow'>
<template slot="tabCustom">
<el-table-column fixed="right" label="分配操作" width="90" header-align="center" >
<template slot-scope="scope" v-if="scope.row.id" >
<el-button v-if="scope.row.id" style="text-align: center;color: #13ce66;width: 100%;"
@click.native.prevent="apiFp(scope.row)" type="text" size="small">
<i class="el-icon-s-promotion"></i>分配
</el-button>
<!-- <el-switch @click.native="setEnable(scope.row.id)" :value='tybz(scope)' style="width: 80px;justify-content: center;"
active-color="#13ce66" inactive-color="#eee">
</el-switch> -->
</template>
</el-table-column>
</template>
</TablePager> </TablePager>
</div> </div>
</div> </div>
...@@ -78,12 +65,14 @@ ...@@ -78,12 +65,14 @@
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: "jcfz", fieldType: "float"}, {label: "岗位", prop: "gwName", fieldType: "ftString",width:300},
{label: "备注", prop: "bz", fieldType: "ftString",width:300}, {label: "检查人", prop: "jcrName", fieldType: "ftString",width:300},
{label: "维护人", prop: "whr", fieldType: "ftString"}, // {label: "检查分值", prop: "jcfz", fieldType: "float"},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"}, // {label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "创建人", prop: "cjr", fieldType: "ftString"}, // {label: "维护人", prop: "whr", fieldType: "ftString"},
{label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"}, // {label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
// {label: "创建人", prop: "cjr", fieldType: "ftString"},
// {label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
] ]
} }
}, },
...@@ -99,7 +88,7 @@ ...@@ -99,7 +88,7 @@
let jcnrid=row.id let jcnrid=row.id
doQueryFpgw({jcnrid:jcnrid}).then(res=>{ doQueryFpgw({jcnrid:jcnrid}).then(res=>{
if(res.success){ if(res.success){
let gwlist=res.data.records||[] let gwlist=res.data.records||[]
let newGwlist=[] let newGwlist=[]
gwlist.forEach(e=>{ gwlist.forEach(e=>{
......
...@@ -16,20 +16,26 @@ ...@@ -16,20 +16,26 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="24">
<el-form-item label="岗位" ref="gwid" prop="gwid">
<RelSelect style="width: 100%;" clearable :readonly="readonly" src='/aqgl/jcsj/scgw/query' :match="{value:'id',label:'name'}" v-model='form.gwid' ></RelSelect>
</el-form-item>
</el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="检查分值" ref="jcfz" prop="jcfz"> <el-form-item label="检查人" ref="jcr" prop="jcr">
<el-input :readonly="readonly" v-model="form.jcfz" ></el-input> <el-input :readonly="readonly" v-model="form.jcr" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20"> <!-- <el-row :gutter="20">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="备注" ref="bz" prop="bz"> <el-form-item label="备注" ref="bz" prop="bz">
<el-input :readonly="readonly" v-model="form.bz" ></el-input> <el-input :readonly="readonly" v-model="form.bz" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row> -->
<!-- <el-row :gutter="20"> <!-- <el-row :gutter="20">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="系统版本" ref="sysversion" prop="sysversion"> <el-form-item label="系统版本" ref="sysversion" prop="sysversion">
...@@ -63,6 +69,8 @@ ...@@ -63,6 +69,8 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/ /* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form: { form: {
gwid:'',
jcr:'',
id:'', id:'',
mid:'', mid:'',
...@@ -90,7 +98,7 @@ ...@@ -90,7 +98,7 @@
}, },
/* form提交时的规则,具体规则参考官网*/ /* form提交时的规则,具体规则参考官网*/
rules: { rules: {
} }
} }
}, },
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
<!-- <el-tab-pane label="检查周期" name="second"> <!-- <el-tab-pane label="检查周期" name="second">
<Cycle /> <Cycle />
</el-tab-pane> --> </el-tab-pane> -->
<el-tab-pane label="检查内容" name="third"> <el-tab-pane label="检查任务" name="third">
<Content ref="Content" /> <Content ref="Content" />
</el-tab-pane> </el-tab-pane>
<!-- <el-tab-pane label="责任人" name="fourth"> <!-- <el-tab-pane label="责任人" name="fourth">
......
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