Commit 41f545dc authored by dingyoujian's avatar dingyoujian

调整

parent bed3b4ef
......@@ -3,59 +3,90 @@
<!-- 填写表单内容,slot=form必写-->
<el-form slot="form" ref="form" :model="form" label-width="80px" :rules="rules">
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="培训日期" ref="pxrq" prop="pxrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date"
v-model="form.pxrq" placeholder="选择日期">
</el-date-picker>
<el-col :span="6">
<el-form-item label="公司编码" ref="gsid" prop="gsid">
<el-input :readonly="readonly" v-model="form.gsid" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="培训反馈" ref="pxfk" prop="pxfk">
<el-input :readonly="readonly" v-model="form.pxfk" ></el-input>
<el-col :span="6">
<el-form-item label="培训项目" ref="name" prop="name">
<el-input :readonly="readonly" v-model="form.name" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="培训内容" ref="pxnr" prop="pxnr">
<el-input :readonly="readonly" v-model="form.pxnr" ></el-input>
<el-col :span="6">
<el-form-item label="培训对象" ref="pxdx" prop="pxdx">
<el-input :readonly="readonly" v-model="form.pxdx" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="备注" ref="bz" prop="bz">
<el-input :readonly="readonly" v-model="form.bz" ></el-input>
<el-col :span="6">
<el-form-item label="培训人数" ref="pxrs" prop="pxrs">
<el-input :readonly="readonly" v-model="form.pxrs" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="系统版本" ref="sysversion" prop="sysversion">
<el-input :readonly="readonly" v-model="form.sysversion" ></el-input>
<el-col :span="6">
<el-form-item label="培训类型" ref="type" prop="type">
<el-input :readonly="readonly" v-model="form.type" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="附件数" ref="attachcount" prop="attachcount">
<el-input :readonly="readonly" v-model="form.attachcount" ></el-input>
<el-col :span="6">
<el-form-item label="年度" ref="year" prop="year">
<el-input :readonly="readonly" v-model="form.year" ></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="月份" ref="month" prop="month">
<el-input :readonly="readonly" v-model="form.month" ></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="季度" ref="quarter" prop="quarter">
<el-input :readonly="readonly" v-model="form.quarter" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="公司编码" ref="gsid" prop="gsid">
<el-input :readonly="readonly" v-model="form.gsid" ></el-input>
<el-col :span="6">
<el-form-item label="培训目标" ref="pxmb" prop="pxmb">
<el-input :readonly="readonly" v-model="form.pxmb" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="部门编码" ref="bmid" prop="bmid">
<el-input :readonly="readonly" v-model="form.bmid" ></el-input>
<el-col :span="6">
<el-form-item label="培训方式" ref="pxfs" prop="pxfs">
<el-input :readonly="readonly" v-model="form.pxfs" ></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="授课人" ref="skrid" prop="skrid">
<el-input :readonly="readonly" v-model="form.skrid" ></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="课时" ref="pxsc" prop="pxsc">
<el-input :readonly="readonly" v-model="form.pxsc" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="培训计划" ref="jhid" prop="jhid">
<el-input :readonly="readonly" v-model="form.jhid" ></el-input>
<el-col :span="6">
<el-form-item label="主办单位" ref="bmid" prop="bmid">
<el-input :readonly="readonly" v-model="form.bmid" ></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="备注" ref="bz" prop="bz">
<el-input :readonly="readonly" v-model="form.bz" ></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="系统版本" ref="sysversion" prop="sysversion">
<el-input :readonly="readonly" v-model="form.sysversion" ></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="附件数" ref="attachcount" prop="attachcount">
<el-input :readonly="readonly" v-model="form.attachcount" ></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -71,7 +102,7 @@
},
/* 组件名称*/
name: "aqglPxglPxjlEdit",
name: "aqgl/pxglPxjhEdit",
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data() {
......@@ -86,12 +117,32 @@
form: {
//ID
id:'',
//培训日期
pxrq:new Date().getTime(),
//培训反馈
pxfk:'',
//培训内容
pxnr:'',
//公司编码
gsid:'',
//培训项目
name:'',
//培训对象
pxdx:'',
//培训人数
pxrs:'',
//培训类型
type:'',
//年度
year:'',
//月份
month:'',
//季度
quarter:'',
//培训目标
pxmb:'',
//培训方式
pxfs:'',
//授课人
skrid:'',
//课时
pxsc:'',
//主办单位
bmid:'',
//备注
bz:'',
//维护人编码
......@@ -110,12 +161,6 @@
sysversion:'',
//附件数
attachcount:'',
//公司编码
gsid:'',
//部门编码
bmid:'',
//培训计划
jhid:'',
},
/* form提交时的规则,具体规则参考官网*/
rules: {
......
......@@ -53,7 +53,7 @@
} from 'common'
export default {
mixins: [tableMixin],
name: 'aqglPxglPxjl',
name: 'aqgl/pxglPxjh',
/* 初始额外赋值*/
async mounted() {
......@@ -67,25 +67,32 @@
type: '',
DialogTitle: '',
/* 基础url*/
baseUrl: '/aqgl/pxgl/pxjl',
baseUrl: '/aqgl/pxgl/pxjh',
/* 查询参数*/
queryParams: {
info: ''
},
/* 表格标题对应参数*/
tableTitle: [
{label: "培训日期", prop: "pxrq", fieldType: "ftDateTime"},
{label: "培训反馈", prop: "pxfk", fieldType: "ftString",width:300},
{label: "培训内容", prop: "pxnr", fieldType: "ftString",width:300},
{label: "公司编码", prop: "gsid", fieldType: "ftString",width:192},
{label: "培训项目", prop: "name", fieldType: "ftString",width:300},
{label: "培训对象", prop: "pxdx", fieldType: "ftString",width:300},
{label: "培训人数", prop: "pxrs", fieldType: "int"},
{label: "培训类型", prop: "type", fieldType: "ftString",width:60},
{label: "年度", prop: "year", fieldType: "int"},
{label: "月份", prop: "month", fieldType: "int"},
{label: "季度", prop: "quarter", fieldType: "int"},
{label: "培训目标", prop: "pxmb", fieldType: "ftString",width:300},
{label: "培训方式", prop: "pxfs", fieldType: "ftString",width:60},
{label: "授课人", prop: "skrid", fieldType: "ftString",width:192},
{label: "课时", prop: "pxsc", fieldType: "float"},
{label: "主办单位", prop: "bmid", fieldType: "ftString",width:192},
{label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "维护人", prop: "whr", fieldType: "ftString"},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
{label: "创建人", prop: "cjr", fieldType: "ftString"},
{label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
{label: "附件数", prop: "attachcount", fieldType: "int"},
{label: "公司编码", prop: "gsid", fieldType: "ftString",width:192},
{label: "部门编码", prop: "bmid", fieldType: "ftString",width:192},
{label: "培训计划", prop: "jhid", fieldType: "ftString",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