Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李苏
sgaqgl-vue
Commits
41f545dc
Commit
41f545dc
authored
Dec 18, 2022
by
dingyoujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
bed3b4ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
104 additions
and
52 deletions
+104
-52
edit.vue
src/views/train/planning/auto/edit.vue
+89
-44
index.vue
src/views/train/planning/auto/index.vue
+15
-8
No files found.
src/views/train/planning/auto/edit.vue
View file @
41f545dc
...
...
@@ -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
:
"aqgl
PxglPxjl
Edit"
,
name
:
"aqgl
/pxglPxjh
Edit"
,
/* 传递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
:
{
...
...
src/views/train/planning/auto/index.vue
View file @
41f545dc
...
...
@@ -53,7 +53,7 @@
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'aqgl
PxglPxjl
'
,
name
:
'aqgl
/pxglPxjh
'
,
/* 初始额外赋值*/
async
mounted
()
{
...
...
@@ -67,25 +67,32 @@
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/pxgl/pxj
l
'
,
baseUrl
:
'/aqgl/pxgl/pxj
h
'
,
/* 查询参数*/
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
},
]
}
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment