Commit 2951a8dc authored by 李苏's avatar 李苏 💬

bug修复 必填等

parent d27ce5c8
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
</el-row> </el-row>
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="演练责任人" ref="ylzrr" prop="ylzrr"> <el-form-item label="演练责任人" ref="ylzrr" prop="ylzrr">
<el-input :readonly="readonly" v-model="form.ylzrr" ></el-input> <el-input :readonly="readonly" v-model="form.ylzrr" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
......
...@@ -69,7 +69,10 @@ ...@@ -69,7 +69,10 @@
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="演练责任人" ref="ylzrrid" prop="ylzrrid"> <el-form-item v-rule="{
required: true,
rules:rules
}" label="演练责任人" ref="ylzrrid" prop="ylzrrid">
<personSelector :label="form.ylzrrName||'暂无'" @selected='ylzrrSelected' ></personSelector> <personSelector :label="form.ylzrrName||'暂无'" @selected='ylzrrSelected' ></personSelector>
<!-- <el-input :readonly="readonly" v-model="form.ylzrrid" ></el-input> --> <!-- <el-input :readonly="readonly" v-model="form.ylzrrid" ></el-input> -->
</el-form-item> </el-form-item>
......
...@@ -126,7 +126,9 @@ ...@@ -126,7 +126,9 @@
{label: "履职分类", prop: "flName", fieldType: "ftString",width:192}, {label: "履职分类", prop: "flName", fieldType: "ftString",width:192},
{label: "履职内容", prop: "content", fieldType: "ftString",width:300}, {label: "履职内容", prop: "content", fieldType: "ftString",width:300},
{label: "履职人员", prop: "ryName", fieldType: "ftString",width:192}, {label: "履职人员", prop: "ryName", fieldType: "ftString",width:192},
{label: "频次", prop: "pc", fieldType: "ftString",width:192}, {label: "频次", prop: "pc", fieldType: "ftString",width:192, transform:{
url:'/aqgl/rcgl/lzbg/init/pc',label:'name',value:'id'
}},
{label: "单据来源", prop: "lyName", fieldType: "ftString",width:148}, {label: "单据来源", prop: "lyName", fieldType: "ftString",width:148},
{label: "状态", prop: "ztName", fieldType: "ftString",width:80}, {label: "状态", prop: "ztName", fieldType: "ftString",width:80},
{label: "维护人", prop: "whr", fieldType: "ftString"}, {label: "维护人", prop: "whr", fieldType: "ftString"},
......
...@@ -128,7 +128,9 @@ ...@@ -128,7 +128,9 @@
{label: "履职分类", prop: "flName", fieldType: "ftString",width:192}, {label: "履职分类", prop: "flName", fieldType: "ftString",width:192},
{label: "履职内容", prop: "content", fieldType: "ftString",width:300}, {label: "履职内容", prop: "content", fieldType: "ftString",width:300},
{label: "履职人员", prop: "ryName", fieldType: "ftString",width:192}, {label: "履职人员", prop: "ryName", fieldType: "ftString",width:192},
{label: "频次", prop: "pc", fieldType: "ftString",width:192}, {label: "频次", prop: "pc", fieldType: "ftString",width:192, transform:{
url:'/aqgl/rcgl/lzbg/init/pc',label:'name',value:'id'
},},
{label: "履职日期", prop: "lzrq", fieldType: "ftDateTime"}, {label: "履职日期", prop: "lzrq", fieldType: "ftDateTime"},
{label: "履职信息", prop: "lzxx", fieldType: "ftString"}, {label: "履职信息", prop: "lzxx", fieldType: "ftString"},
{label: "单据来源", prop: "lyName", fieldType: "ftString",width:148}, {label: "单据来源", prop: "lyName", fieldType: "ftString",width:148},
......
...@@ -502,10 +502,10 @@ ...@@ -502,10 +502,10 @@
homeCzyjType: colorMap[params.color] homeCzyjType: colorMap[params.color]
} }
queryParams[this.menusItems[this.active]['type']] = this.menusItems[this.active]['id'] queryParams[this.menusItems[this.active]['type']] = this.menusItems[this.active]['id']
// if (queryParams['gsId']) { if (queryParams['gsId']) {
// queryParams['homeGsId'] = queryParams['gsId'] // queryParams['homeGsId'] = queryParams['gsId']
// delete queryParams['gsId'] delete queryParams['gsId']
// } }
if (queryParams['bmId']) { if (queryParams['bmId']) {
queryParams['homeBmId'] = queryParams['bmId'] queryParams['homeBmId'] = queryParams['bmId']
delete queryParams['bmId'] delete queryParams['bmId']
...@@ -701,12 +701,12 @@ ...@@ -701,12 +701,12 @@
graphic: [{ graphic: [{
type: "text", type: "text",
left: "center", left: "center",
top: "55%", top: "56%",
style: { style: {
text: (data.wccRatio) + '%', text: (data.ywcRatio) + '%',
textAlign: "center", textAlign: "center",
fill: "#ffffff", fill: "#ffffff",
fontSize: 15, fontSize: 12,
}, },
}, ], }, ],
color: ['#91cc75', '#f56c6c', ], color: ['#91cc75', '#f56c6c', ],
...@@ -760,12 +760,12 @@ ...@@ -760,12 +760,12 @@
graphic: [{ graphic: [{
type: "text", type: "text",
left: "center", left: "center",
top: "55%", top: "56%",
style: { style: {
text: (data.ywcRatio) + '%', text: (data.ywcRatio) + '%',
textAlign: "center", textAlign: "center",
fill: "#ffffff", fill: "#ffffff",
fontSize: 15, fontSize: 12,
}, },
}, ], }, ],
color: ['#91cc75', '#f56c6c', ], color: ['#91cc75', '#f56c6c', ],
......
...@@ -69,7 +69,10 @@ ...@@ -69,7 +69,10 @@
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="培训责任人" ref="pxzrrid" prop="pxzrrid"> <el-form-item v-rule="{
required: true,
rules:rules
}" label="培训责任人" ref="pxzrrid" prop="pxzrrid">
<personSelector :label="form.ylzrrName||'暂无'" @selected='ylzrrSelected' ></personSelector> <personSelector :label="form.ylzrrName||'暂无'" @selected='ylzrrSelected' ></personSelector>
<!-- <el-input :readonly="readonly" v-model="form.pxzrrid" ></el-input> --> <!-- <el-input :readonly="readonly" v-model="form.pxzrrid" ></el-input> -->
</el-form-item> </el-form-item>
......
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