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
0571460d
Commit
0571460d
authored
Dec 18, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
培训计划,培训评估部分
parent
678b67b4
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
455 additions
and
457 deletions
+455
-457
edit.vue
src/views/train/assessment/edit.vue
+156
-74
index.vue
src/views/train/assessment/index.vue
+140
-175
participants.vue
src/views/train/assessment/participants.vue
+22
-40
edit.vue
src/views/train/planning/edit.vue
+108
-92
index.vue
src/views/train/planning/index.vue
+29
-76
No files found.
src/views/train/assessment/edit.vue
View file @
0571460d
<
template
>
<
template
>
<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=
"12"
>
<el-form-item
label=
"标题"
ref=
"roleid"
prop=
"roleid"
>
<el-form-item
label=
"公司编码"
ref=
"gsid"
prop=
"gsid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.roleid"
></el-input>
<RelSelect
:readonly=
"readonly"
style=
"width: 100%;"
src=
'jcsj/common/bm/queryGs'
filterable
clearable
:match=
"
{value:'id',label:'bmmc'}" v-model='form.gsid' >
</RelSelect>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
<el-col
:span=
"12"
>
<el-row
:gutter=
"20"
>
<el-form-item
label=
"培训项目"
ref=
"name"
prop=
"name"
>
<el-col
:span=
"24"
>
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
<el-form-item
label=
"内容"
ref=
"roleid"
prop=
"roleid"
>
</el-form-item>
<el-input
:readonly=
"readonly"
type=
"textarea"
v-model=
"form.roleid"
></el-input>
</el-col>
</el-form-item>
<el-col
:span=
"12"
>
</el-col>
<el-form-item
label=
"培训对象"
ref=
"pxdx"
prop=
"pxdx"
>
</el-row>
<el-input
:readonly=
"readonly"
v-model=
"form.pxdx"
></el-input>
<el-row
:gutter=
"20"
>
</el-form-item>
<el-col
:span=
"12"
>
</el-col>
<el-form-item
label=
"有效期至"
>
<el-col
:span=
"12"
>
<el-date-picker
style=
"width: 100%;"
<el-form-item
label=
"培训人数"
ref=
"pxrs"
prop=
"pxrs"
>
type=
"date"
<el-input
:readonly=
"readonly"
v-model=
"form.pxrs"
></el-input>
placeholder=
"选择日期"
>
</el-form-item>
</el-date-picker>
</el-col>
</el-form-item>
</el-row>
</el-col>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"编制单位"
>
<el-form-item
label=
"培训类型"
ref=
"type"
prop=
"type"
>
<el-select
placeholder=
"请选择"
style=
"width: 100%;"
>
<el-input
:readonly=
"readonly"
v-model=
"form.type"
></el-input>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
</el-row>
<el-form-item
label=
"年度"
ref=
"year"
prop=
"year"
>
</el-form>
<el-input
:readonly=
"readonly"
v-model=
"form.year"
></el-input>
<!-- 按钮重写, -->
</el-form-item>
<!--
<div
slot=
"reFooter"
>
</el-col>
<span
slot=
"footer"
>
<el-col
:span=
"12"
>
重写按钮写在这里,根据需要重写 slot(reFooter,foorer) 节点样式 重写方法需要在此页重新定义
<el-form-item
label=
"月份"
ref=
"month"
prop=
"month"
>
</span>
<el-input
:readonly=
"readonly"
v-model=
"form.month"
></el-input>
</div>
-->
</el-form-item>
</RelDialog>
</el-col>
<el-col
:span=
"12"
>
<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=
"24"
>
<el-form-item
label=
"培训目标"
ref=
"pxmb"
prop=
"pxmb"
>
<el-input
type=
'textarea'
:readonly=
"readonly"
v-model=
"form.pxmb"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<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=
"12"
>
<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=
"12"
>
<el-form-item
label=
"课时"
ref=
"pxsc"
prop=
"pxsc"
>
<el-input
:readonly=
"readonly"
v-model=
"form.pxsc"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"主办单位"
ref=
"bmid"
prop=
"bmid"
>
<RelSelect
:readonly=
"readonly"
linkage
:linkParams=
"
{pid:form.gsid}" style="width: 100%;" src='jcsj/common/bm/queryBz' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='form.bmid' >
</RelSelect>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-input
type=
"textarea"
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
editMixin
}
from
'common'
import
{
editMixin
}
from
'common'
export
default
{
export
default
{
mixins
:
[
editMixin
],
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
/* 存放index页面传递的额外参数*/
mounted
()
{
mounted
()
{
},
/* 组件名称*/
},
name
:
'roleManagementEdit'
,
/* 组件名称*/
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
name
:
"aqgl/pxglPxjhEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
data
()
{
/* 额外初始化,根据需求*/
return
{
systemType
:
[],
/* 额外初始化,根据需求*/
bmList
:
[],
systemType
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
form
:
{
roleid
:
''
,
//ID
rolename
:
''
,
id
:
''
,
bz
:
""
,
//公司编码
gsid
:
''
,
//培训项目
name
:
''
,
//培训对象
pxdx
:
''
,
//培训人数
pxrs
:
''
,
//培训类型
type
:
''
,
//年度
year
:
''
,
//月份
month
:
''
,
//季度
quarter
:
''
,
//培训目标
pxmb
:
''
,
//培训方式
pxfs
:
''
,
//授课人
skrid
:
''
,
//课时
pxsc
:
''
,
//主办单位
bmid
:
''
,
//备注
bz
:
''
,
//维护人编码
whrid
:
''
,
//维护人
whr
:
''
,
//维护时间
whsj
:
new
Date
().
getTime
(),
//创建人编码
cjrid
:
''
,
//创建人
cjr
:
''
,
//创建时间
cjsj
:
new
Date
().
getTime
(),
//系统版本
sysversion
:
''
,
//附件数
attachcount
:
''
,
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
}
}
},
},
/* form提交时的规则,具体规则参考官网*/
methods
:
{
rules
:
{
roleid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
rolename
:
[{
required
:
true
,
trigger
:
'blur'
},
]
}
}
},
methods
:
{
}
}
}
}
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
...
...
src/views/train/assessment/index.vue
View file @
0571460d
This diff is collapsed.
Click to expand it.
src/views/train/assessment/participants.vue
View file @
0571460d
...
@@ -2,13 +2,10 @@
...
@@ -2,13 +2,10 @@
<div
class=
"min_full"
style=
"height: calc(84vh - 75px);"
>
<div
class=
"min_full"
style=
"height: calc(84vh - 75px);"
>
<!-- 按钮操作-->
<!-- 按钮操作-->
<el-row
class=
"tool-bar"
>
<el-row
class=
"tool-bar"
>
<PrintButton
:app=
'app'
></PrintButton>
<ViewButton
ref=
"view"
:app=
'this'
></ViewButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<AddButton
ref=
"add"
:app=
'this'
></AddButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'this'
></CopyButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'this'
></EditButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
</el-row>
</el-row>
<!-- 表格-->
<!-- 表格-->
<div
class=
"tablePagers"
>
<div
class=
"tablePagers"
>
...
@@ -23,51 +20,36 @@
...
@@ -23,51 +20,36 @@
<
script
>
<
script
>
/* 引入需要的接口*/
/* 引入需要的接口*/
import
{
import
{
QueryAppversion
,
doQueryPxry
QueryApptype
,
}
from
'@/api/train/assessment.js'
;
AddAppversion
,
DelAppversion
,
UpdateAppversion
}
from
"common/src/api/system/dmgSystem.js"
;
/* edit页面*/
/* edit页面*/
import
Edit
from
'./edit'
import
Edit
from
'./edit'
import
{
tableMixin
}
from
'common'
import
{
tableMixin
_noapp
}
from
'common'
export
default
{
export
default
{
mixins
:
[
tableMixin
],
mixins
:
[
tableMixin_noapp
],
name
:
'appVersion'
,
/* 初始额外赋值*/
/* 初始额外赋值*/
async
mounted
()
{
async
mounted
()
{
await
this
.
$asRun
(
[
QueryApptype
(),
res
=>
{
var
data
=
res
[
'data'
][
'records'
];
let
typeMap
=
[]
for
(
var
i
in
data
)
{
typeMap
[
data
[
i
].
id
]
=
data
[
i
].
name
}
this
.
systemType
=
data
this
.
typeMap
=
typeMap
}
]
)
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
},
data
()
{
data
()
{
return
{
return
{
/*需要的额外参数 */
/*需要的额外参数 */
typeMap
:
[],
typeMap
:
[],
systemType
:
[],
systemType
:
[],
baseUrl
:
'
kzzx/appversion
'
,
baseUrl
:
'
aqgl/pxgl/pxjh/queryPxry
'
,
/* 查询参数*/
/* 查询参数*/
queryParams
:
{},
queryParams
:
{
},
/* 表格标题对应参数*/
/* 表格标题对应参数*/
tableTitle
:
[{
tableTitle
:
[{
prop
:
'
app
id'
,
prop
:
'
user
id'
,
label
:
'人员编号'
,
label
:
'人员编号'
,
width
:
'120'
width
:
'120'
},
},
{
{
prop
:
'name'
,
prop
:
'
user
name'
,
label
:
'人员姓名'
,
label
:
'人员姓名'
,
width
:
'120'
width
:
'120'
}
}
...
@@ -76,13 +58,13 @@
...
@@ -76,13 +58,13 @@
},
},
methods
:
{
methods
:
{
/* 基础查询*/
/* 基础查询*/
query
:
QueryAppversion
,
query
:
doQueryPxry
,
/* 基础增*/
/* 基础增*/
apiAdd
:
AddAppversion
,
//
apiAdd: AddAppversion,
/* 基础更新*/
/
/ /
* 基础更新*/
apiUpdate
:
UpdateAppversion
,
//
apiUpdate: UpdateAppversion,
/* 删除操作*/
/
/ /
* 删除操作*/
apiDelete
:
DelAppversion
,
//
apiDelete: DelAppversion,
/* 初始化赋值操作*/
/* 初始化赋值操作*/
},
},
/* 注册组件*/
/* 注册组件*/
...
...
src/views/train/planning/edit.vue
View file @
0571460d
<
template
>
<
template
>
<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=
"12"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"用户编码"
ref=
"userid"
prop=
"userid"
>
<el-form-item
label=
"培训日期"
ref=
"pxrq"
prop=
"pxrq"
>
<el-input
:readonly=
"readonly"
v-toUpperCase
v-model=
"form.userid"
></el-input>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
</el-form-item>
v-model=
"form.pxrq"
placeholder=
"选择日期"
>
</el-col>
</el-date-picker>
<el-col
:span=
"12"
>
</el-form-item>
<el-form-item
label=
"用户名称"
ref=
"username"
prop=
"username"
>
</el-col>
<el-input
:readonly=
"readonly"
v-model=
"form.username"
></el-input>
<el-col
:span=
"24"
>
</el-form-item>
<el-form-item
label=
"培训反馈"
ref=
"pxfk"
prop=
"pxfk"
>
</el-col>
<el-input
type=
'textarea'
:readonly=
"readonly"
v-model=
"form.pxfk"
></el-input>
</el-row>
</el-form-item>
<el-row
:gutter=
"20"
>
</el-col>
<el-col
:span=
"24"
>
</el-row>
<el-form-item
:span=
"24"
label=
"部门"
>
<el-row
:gutter=
"20"
>
<el-select
style=
"width: 100%;"
v-model=
"form.bmid"
placeholder=
""
>
<el-col
:span=
"24"
>
<el-option
v-for=
"(item,index) in bmList"
:key=
"item.id"
:label=
"item.bmmc"
:value=
"item.id"
></el-option>
<el-form-item
label=
"培训内容"
ref=
"pxnr"
prop=
"pxnr"
>
</el-select>
<el-input
type=
'textarea'
:readonly=
"readonly"
v-model=
"form.pxnr"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"电话"
>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.phone"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
</el-row>
<el-form-item
label=
"邮箱"
>
<el-row
:gutter=
"20"
>
<el-input
:readonly=
"readonly"
v-model=
"form.email"
></el-input>
<el-col
:span=
"12"
>
</el-form-item>
<el-form-item
label=
"公司"
ref=
"gsid"
prop=
"gsid"
>
</el-col>
<RelSelect
:readonly=
"readonly"
style=
"width: 100%;"
src=
'jcsj/common/bm/queryGs'
filterable
clearable
:match=
"
{value:'id',label:'bmmc'}" v-model='form.gsid' >
</RelSelect>
<el-col
:span=
"24"
>
</el-form-item>
<el-form-item
label=
"备注"
>
</el-col>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
<el-col
:span=
"12"
>
</el-form-item>
<el-form-item
label=
"班组"
ref=
"bmid"
prop=
"bmid"
>
</el-col>
<RelSelect
:readonly=
"readonly"
linkage
:linkParams=
"
{pid:form.gsid}" style="width: 100%;" src='jcsj/common/bm/queryBz' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='form.bmid' >
</RelSelect>
</el-row>
</el-form-item>
</el-form>
</el-col>
<!-- 按钮重写, -->
</el-row>
<!--
<div
slot=
"reFooter"
>
<el-row
:gutter=
"20"
>
<span
slot=
"footer"
>
<el-col
:span=
"24"
>
重写按钮写在这里,根据需要重写 slot(reFooter,foorer) 节点样式 重写方法需要在此页重新定义
<el-form-item
label=
"培训计划"
ref=
"jhid"
prop=
"jhid"
>
</span>
<el-input
type=
'textarea'
:readonly=
"readonly"
v-model=
"form.jhid"
></el-input>
</div>
-->
</el-form-item>
</RelDialog>
</el-col>
</el-row>
</el-form>
</RelDialog>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
editMixin
}
from
'common'
import
{
editMixin
}
from
'common'
export
default
{
export
default
{
mixins
:
[
editMixin
],
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
/* 存放index页面传递的额外参数*/
mounted
()
{
mounted
()
{
this
.
form
.
bmid
=
this
.
app
.
queryParams
.
bmid
if
(
this
.
form
.
bmid
==
'root'
){
this
.
form
.
bmid
=
''
}
this
.
app
.
apiTreeQuery
({}).
then
(
res
=>
{
this
.
bmList
=
res
.
data
.
records
/* 默认选中 */
})
},
/* 组件名称*/
name
:
'roleManagementEdit'
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
},
return
{
/* 组件名称*/
name
:
"aqglPxglPxjlEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
/* 额外初始化,根据需求*/
bmList
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
form
:
{
bmid
:
''
,
//ID
userid
:
''
,
id
:
''
,
username
:
''
,
//培训日期
phone
:
''
,
pxrq
:
new
Date
().
getTime
(),
email
:
''
,
//培训反馈
bz
:
""
,
pxfk
:
''
,
//培训内容
pxnr
:
''
,
//备注
bz
:
''
,
//维护人编码
whrid
:
''
,
//维护人
whr
:
''
,
//维护时间
whsj
:
''
,
//创建人编码
cjrid
:
''
,
//创建人
cjr
:
''
,
//创建时间
cjsj
:
''
,
//系统版本
sysversion
:
''
,
//附件数
attachcount
:
''
,
//公司编码
gsid
:
''
,
//部门编码
bmid
:
''
,
//培训计划
jhid
:
''
,
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
}
}
},
},
/* form提交时的规则,具体规则参考官网*/
methods
:
{
rules
:
{
userid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
username
:
[{
required
:
true
,
trigger
:
'blur'
},
]
}
}
},
methods
:
{
}
}
}
}
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
...
...
src/views/train/planning/index.vue
View file @
0571460d
...
@@ -38,6 +38,7 @@
...
@@ -38,6 +38,7 @@
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<AttachFileShow
:app=
'app'
></AttachFileShow>
<FieldButton
:app=
'app'
></FieldButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<ExcelButton
:app=
'app'
></ExcelButton>
</el-row>
</el-row>
...
@@ -56,13 +57,16 @@
...
@@ -56,13 +57,16 @@
<
script
>
<
script
>
/* 引入需要的接口*/
/* 引入需要的接口*/
import
{
doQuery
,
doAdd
,
doUpdate
,
doDelete
}
from
'@/api/train/planning.js'
;
import
{
import
{
QueryUser
,
AddUser
,
DeleteUser
,
UpdateUser
,
QueryBm
,
QueryBm
,
}
from
"common/src/api/system/dmgSystem.js"
;
}
from
"common/src/api/system/dmgSystem.js"
;
/* edit页面*/
/* edit页面*/
import
Edit
from
'./edit'
import
Edit
from
'./edit'
import
{
import
{
...
@@ -83,7 +87,7 @@
...
@@ -83,7 +87,7 @@
type
:
''
,
type
:
''
,
DialogTitle
:
''
,
DialogTitle
:
''
,
/* 基础url*/
/* 基础url*/
baseUrl
:
'
kzzx/user
'
,
baseUrl
:
'
/aqgl/pxgl/pxjl
'
,
/* 查询参数*/
/* 查询参数*/
queryParams
:
{
queryParams
:
{
...
@@ -95,70 +99,19 @@
...
@@ -95,70 +99,19 @@
label
:
'bmmc'
label
:
'bmmc'
},
},
/* 表格标题对应参数*/
/* 表格标题对应参数*/
tableTitle
:
[{
tableTitle
:
[
prop
:
'userid'
,
{
label
:
"培训日期"
,
prop
:
"pxrq"
,
fieldType
:
"ftDateTime"
,
width
:
200
},
label
:
'用户编码'
,
{
label
:
"培训反馈"
,
prop
:
"pxfk"
,
fieldType
:
"ftString"
,
width
:
300
},
width
:
'120'
{
label
:
"培训内容"
,
prop
:
"pxnr"
,
fieldType
:
"ftString"
,
width
:
300
},
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
prop
:
'username'
,
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
},
label
:
'姓名'
,
{
label
:
"创建人"
,
prop
:
"cjr"
,
fieldType
:
"ftString"
},
width
:
'160'
{
label
:
"创建时间"
,
prop
:
"cjsj"
,
fieldType
:
"ftDateTime"
},
},
{
label
:
"附件数"
,
prop
:
"attachcount"
,
fieldType
:
"int"
},
{
{
label
:
"公司编码"
,
prop
:
"gsName"
,
fieldType
:
"ftString"
,
width
:
192
},
prop
:
'bmmc'
,
{
label
:
"部门编码"
,
prop
:
"bmName"
,
fieldType
:
"ftString"
,
width
:
192
},
label
:
'所属部门'
,
{
label
:
"培训计划"
,
prop
:
"jhid"
,
fieldType
:
"ftString"
,
width
:
192
},
width
:
'160'
},
{
prop
:
'phone'
,
label
:
'电话'
,
width
:
'160'
},
{
prop
:
'email'
,
label
:
'邮箱'
,
width
:
'160'
},
{
prop
:
'zt'
,
label
:
'状态'
,
width
:
'160'
},
{
prop
:
'login'
,
label
:
'登录用户'
,
width
:
'160'
,
formatter
(
row
,
column
,
cellValue
,
index
)
{
let
value
=
''
if
(
cellValue
==
'Y'
){
value
=
'登录用户'
}
else
{
value
=
'非登录用户'
}
return
value
},
},
{
prop
:
'tyrq'
,
label
:
'停用日期'
,
width
:
'120'
,
...
this
.
$common
(
'ftDate'
)
},
{
prop
:
'whr'
,
label
:
'维护人'
,
width
:
'100'
},
{
prop
:
'whsj'
,
label
:
'维护时间'
,
...
this
.
$common
(
'ftDateTime'
)
},
{
prop
:
'bz'
,
label
:
'备注'
,
},
]
]
}
}
},
},
...
@@ -170,13 +123,13 @@
...
@@ -170,13 +123,13 @@
/* 基础查询*/
/* 基础查询*/
query
:
QueryUser
,
query
:
doQuery
,
/* 基础增*/
/* 基础增*/
apiAdd
:
AddUser
,
apiAdd
:
doAdd
,
/* 基础更新*/
/* 基础更新*/
apiUpdate
:
UpdateUser
,
apiUpdate
:
doUpdate
,
/* 删除操作*/
/* 删除操作*/
apiDelete
:
DeleteUser
,
apiDelete
:
doDelete
,
/* treeQuery */
/* treeQuery */
apiTreeQuery
:
QueryBm
,
apiTreeQuery
:
QueryBm
,
/* 初始化赋值操作*/
/* 初始化赋值操作*/
...
...
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