Commit 7f67e4e8 authored by 黄自鹏's avatar 黄自鹏

调整

parent 6cf559c2
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
<RelDialog :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp'> <RelDialog :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp'>
<!-- 填写表单内容,slot=form必写--> <!-- 填写表单内容,slot=form必写-->
<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="xtfl" prop="xtfl"> <!--<el-form-item label="系统分类" ref="xtfl" prop="xtfl">-->
<RelSelect :readonly="readonly" style="width: 100%;" src='/aqgl/sbgl/sbfl/init/xtfl' clearable :match="{value:'id',label:'name'}" v-model='form.xtfl' ></RelSelect> <!--<RelSelect :readonly="readonly" style="width: 100%;" src='/aqgl/sbgl/sbfl/init/xtfl' clearable :match="{value:'id',label:'name'}" v-model='form.xtfl' ></RelSelect>-->
</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="code" prop="code"> <el-form-item label="编码" ref="code" prop="code">
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
tableTitle: [ tableTitle: [
{label: "编码", prop: "code", fieldType: "ftString",width:140}, {label: "编码", prop: "code", fieldType: "ftString",width:140},
{label: "名称", prop: "name", fieldType: "ftString",width:200}, {label: "名称", prop: "name", fieldType: "ftString",width:200},
{label: "系统分类", prop: "xtflName",fieldType: "ftString",width:120}, /*{label: "系统分类", prop: "xtflName",fieldType: "ftString",width:120},*/
{label: "备注", prop: "bz", fieldType: "ftString",width:260}, {label: "备注", prop: "bz", fieldType: "ftString",width:260},
{label: "维护人", prop: "whr", fieldType: "ftString"}, {label: "维护人", prop: "whr", fieldType: "ftString"},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"}, {label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,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: "名称111", prop: "name", fieldType: "ftString",width:300},
{label: "保养周期-天", prop: "byzq", fieldType: "int",width:252}, {label: "保养周期-天", prop: "byzq", fieldType: "int",width:252},
// {label: "公司", prop: "gsName", fieldType: "ftString",width:192}, // {label: "公司", prop: "gsName", fieldType: "ftString",width:192},
// {label: "停用标志", prop: "tybz", fieldType: "ftString",width:100}, // {label: "停用标志", prop: "tybz", fieldType: "ftString",width:100},
......
...@@ -90,9 +90,11 @@ ...@@ -90,9 +90,11 @@
// {label: "停用标志", prop: "tybz", fieldType: "ftString",width:100}, // {label: "停用标志", prop: "tybz", fieldType: "ftString",width:100},
// {label: "停用日期", prop: "tyrq", ...this.$common('ftDateTime'),width:192}, // {label: "停用日期", prop: "tyrq", ...this.$common('ftDateTime'),width:192},
{label: "标准工时", prop: "bzgs", fieldType: "float",width:192}, {label: "标准工时", prop: "bzgs", fieldType: "float",width:192},
{label: "责任人", prop: "fzr", fieldType: "ftString",width:192},
// {label: "附件数", prop: "attachcount", fieldType: "int",width:192}, // {label: "附件数", prop: "attachcount", fieldType: "int",width:192},
// {label: "备注", prop: "bz", fieldType: "ftString",width:300}, // {label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "维护人", prop: "whr", fieldType: "ftString",width:192}, {label: "维护人", prop: "whr", fieldType: "ftString",width:192},
{label: "维护时间", prop: "whsj", ...this.$common('ftDateTime'),width:192}, {label: "维护时间", prop: "whsj", ...this.$common('ftDateTime'),width:192},
// {label: "创建人", prop: "cjr", fieldType: "ftString",width:192}, // {label: "创建人", prop: "cjr", fieldType: "ftString",width:192},
// {label: "创建时间", prop: "cjsj", ...this.$common('ftDateTime'),width:192}, // {label: "创建时间", prop: "cjsj", ...this.$common('ftDateTime'),width:192},
......
...@@ -115,6 +115,7 @@ props:['app'], ...@@ -115,6 +115,7 @@ props:['app'],
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: "fzr", fieldType: "ftString",width:300},
{label: "保养周期-天", prop: "byzq", fieldType: "int",width:252}, {label: "保养周期-天", prop: "byzq", fieldType: "int",width:252},
{label: "公司", prop: "gsName", fieldType: "ftString",width:192}, {label: "公司", prop: "gsName", fieldType: "ftString",width:192},
{label: "标准工时", prop: "bzgs", fieldType: "float",width:192}, {label: "标准工时", prop: "bzgs", fieldType: "float",width:192},
...@@ -251,7 +252,7 @@ props:['app'], ...@@ -251,7 +252,7 @@ props:['app'],
} }
let xmList=[] let xmList=[]
this.selectedList.forEach(row=>{ this.selectedList.forEach(row=>{
xmList.push({xmid:row.id}) xmList.push({xmid:row.id,fzrid:row.fzrid})
// delete row.id // delete row.id
}) })
let params={ let params={
......
...@@ -50,7 +50,20 @@ ...@@ -50,7 +50,20 @@
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="24"> <!--<el-col :span="12">
<el-form-item label="责任人" ref="bz" prop="bz">
<el-input :readonly="readonly" v-model="form.fzr" ></el-input>
</el-form-item>
</el-col>-->
<el-col :span="12">
<el-form-item label="责任人" ref="fzrid" prop="fzrid">
<!-- <el-input :readonly="readonly" v-model="form.userid" ></el-input> -->
<personSelector :label="form.fzr||form.fzrid||'暂无'" @selected='userSelected' ></personSelector>
</el-form-item>
</el-col>
<el-col :span="12">
<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>
...@@ -91,6 +104,8 @@ ...@@ -91,6 +104,8 @@
code:'', code:'',
//名称 //名称
name:'', name:'',
fzr:'',
fzrid:'',
//停用标志 //停用标志
// tybz:'', // tybz:'',
// //停用日期 // //停用日期
...@@ -127,7 +142,9 @@ ...@@ -127,7 +142,9 @@
} }
}, },
methods: { methods: {
userSelected(row){
this.form.fzrid=row.id
}
} }
} }
</script> </script>
......
...@@ -78,6 +78,7 @@ ...@@ -78,6 +78,7 @@
{label: "名称", prop: "name", fieldType: "ftString",width:300}, {label: "名称", prop: "name", fieldType: "ftString",width:300},
{label: "保养周期(天)", prop: "byzq", fieldType: "int",width:192}, {label: "保养周期(天)", prop: "byzq", fieldType: "int",width:192},
{label: "公司", prop: "gsName", fieldType: "ftString",width:192}, {label: "公司", prop: "gsName", fieldType: "ftString",width:192},
{label: "负责人", prop: "fzr", fieldType: "ftString",width:192},
{label: "停用标志", prop: "tybz", fieldType: "ftString",width:100}, {label: "停用标志", prop: "tybz", fieldType: "ftString",width:100},
{label: "停用日期", prop: "tyrq", fieldType: "ftDateTime",width:192}, {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime",width:192},
{label: "标准工时", prop: "bzgs", fieldType: "float",width:192}, {label: "标准工时", prop: "bzgs", fieldType: "float",width:192},
......
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