Commit 0e0c3cad authored by 李苏's avatar 李苏 💬

id=>Name input=>select

parent 5d44ec17
......@@ -88,17 +88,17 @@
tableTitle: [
{label: "演练名称", prop: "name", fieldType: "ftString",width:300},
{label: "分公司", prop: "gsName", fieldType: "ftString",width:192},
{label: "演练组织单位", prop: "yldwid", fieldType: "ftString",width:192},
{label: "演练计划", prop: "yljhName", fieldType: "ftString",width:192},
{label: "演练组织单位", prop: "yldwName", fieldType: "ftString",width:192},
// {label: "演练计划", prop: "yljhName", fieldType: "ftString",width:192},
{label: "培训人数", prop: "pxrs", fieldType: "int"},
{label: "演练目标", prop: "ylmb", fieldType: "ftString",width:300},
{label: "演练方式", prop: "ylfs", fieldType: "ftString",width:60},
{label: "演练方式", prop: "ylfs", fieldType: "ftString",width:160},
{label: "演练时间", prop: "ylrq", fieldType: "ftDateTime"},
{label: "演练责任人", prop: "ylzrrid", fieldType: "ftString",width:192},
{label: "演练责任人", prop: "ylzrrName", fieldType: "ftString",width:192},
{label: "演练时长", prop: "ylsc", fieldType: "float"},
{label: "主(协)办单位", prop: "zbdwid", fieldType: "ftString",width:192},
{label: "演练负责人", prop: "ylfzrid", fieldType: "ftString",width:192},
{label: "质量负责人", prop: "zlfzrid", fieldType: "ftString",width:192},
{label: "演练负责人", prop: "ylfzrName", fieldType: "ftString",width:192},
{label: "质量负责人", prop: "zlfzrName", fieldType: "ftString",width:192},
{label: "估计费用", prop: "gjfy", fieldType: "float"},
{label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "维护人", prop: "whr", fieldType: "ftString"},
......
......@@ -15,9 +15,12 @@
</el-col> -->
<el-col :span="12">
<el-form-item label="演练组织单位" ref="yldwid" prop="yldwid">
<el-input :readonly="readonly" v-model="form.yldwid" ></el-input>
<!-- <el-input :readonly="readonly" v-model="form.yldwid" ></el-input> -->
<RelSelect style="width: 100%;" src='jcsj/common/bm/queryGs' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='form.yldwid' ></RelSelect>
</el-form-item>
</el-col>
<!--<el-col :span="6">-->
<!--<el-form-item label="演练计划ID" ref="yljhid" prop="yljhid">-->
<!--<el-input :readonly="readonly" v-model="form.yljhid" ></el-input>-->
......@@ -51,7 +54,8 @@
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="演练责任人" ref="ylzrrid" prop="ylzrrid">
<el-input :readonly="readonly" v-model="form.ylzrrid" ></el-input>
<personSelector :label="form.ylzrrName||'暂无'" @selected='ylzrrSelected' ></personSelector>
<!-- <el-input :readonly="readonly" v-model="form.ylzrrid" ></el-input> -->
</el-form-item>
</el-col>
<el-col :span="12">
......@@ -66,19 +70,21 @@
</el-col>
<el-col :span="12">
<el-form-item label="演练负责人" ref="ylfzrid" prop="ylfzrid">
<el-input :readonly="readonly" v-model="form.ylfzrid" ></el-input>
<personSelector :label="form.ylfzrName||'暂无'" @selected='ylfzrSelected' ></personSelector>
<!-- <el-input :readonly="readonly" v-model="form.ylfzrid" ></el-input> -->
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="质量负责人" ref="zlfzrid" prop="zlfzrid">
<el-input :readonly="readonly" v-model="form.zlfzrid" ></el-input>
<personSelector :label="form.zlfzrName||'暂无'" @selected='zlfzrSelected' ></personSelector>
<!-- <el-input :readonly="readonly" v-model="form.zlfzrid" ></el-input> -->
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="估计费用(元)" ref="gjfy" prop="gjfy">
<el-input :readonly="readonly" v-model="form.gjfy" ></el-input>
<el-input type='number' :readonly="readonly" v-model="form.gjfy" ></el-input>
</el-form-item>
</el-col>
<el-col :span="24">
......@@ -171,6 +177,15 @@
}
},
methods: {
ylzrrSelected(row){
this.form.ylzrrid=row.id
},
ylfzrSelected(row){
this.form.ylfzrid=row.id
},
zlfzrSelected(row){
this.form.zlfzrid=row.id
}
}
}
......
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