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
678b67b4
Commit
678b67b4
authored
Dec 17, 2022
by
dingyoujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
培训相关生成代码
parent
8f55b9c9
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
658 additions
and
10 deletions
+658
-10
assessment.js
src/api/train/assessment.js
+52
-0
planning.js
src/api/train/planning.js
+36
-0
index.js
src/router/index.js
+1
-1
edit.vue
src/views/train/assessment/pxfk/edit.vue
+181
-0
index.vue
src/views/train/assessment/pxfk/index.vue
+125
-0
edit.vue
src/views/train/planning/auto/edit.vue
+136
-0
index.vue
src/views/train/planning/auto/index.vue
+118
-0
edit.vue
src/views/train/questionManage/auto/edit.vue
+2
-2
index.vue
src/views/train/questionManage/auto/index.vue
+1
-1
index.vue
src/views/train/questionManage/index.vue
+1
-1
selecter.vue
src/views/train/questionManage/selecter.vue
+2
-2
index.vue
src/views/train/trainRecord/index.vue
+1
-1
edit.vue
src/views/train/tsubject/edit.vue
+1
-1
index.vue
src/views/train/tsubject/index.vue
+1
-1
No files found.
src/api/train/assessment.js
0 → 100644
View file @
678b67b4
/* 查询培训人员及得分,设计书培训反馈功能,参与人员/考试成绩 */
import
request
from
"common/src/utils/request"
;
/* 查询 */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/pxgl/pxjh/query'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doQueryPxry
(
query
)
{
return
request
({
url
:
'/aqgl/pxgl/pxjh/queryPxry'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/* 查询培训内容及效果评估 */
export
function
doQueryPxjl
(
query
)
{
return
request
({
url
:
'/aqgl/pxgl/pxjh/queryPxjl'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/* 更新 */
export
function
doUpdatePxjl
(
query
)
{
return
request
({
url
:
'/aqgl/pxgl/pxjl/update'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doAddPxjl
(
query
)
{
return
request
({
url
:
'/aqgl/pxgl/pxjl/add'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doDeletePxjl
(
query
)
{
return
request
({
url
:
'/aqgl/pxgl/pxjl/delete'
,
method
:
'post'
,
data
:
query
||
{}
})
}
src/api/train/planning.js
0 → 100644
View file @
678b67b4
import
request
from
'common/src/utils/request'
/* 查询 */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/pxgl/pxjh/query'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/* 更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/pxgl/pxjh/update'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doAdd
(
query
)
{
return
request
({
url
:
'/aqgl/pxgl/pxjh/add'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doDelete
(
query
)
{
return
request
({
url
:
'/aqgl/pxgl/pxjh/delete'
,
method
:
'post'
,
data
:
query
||
{}
})
}
src/router/index.js
View file @
678b67b4
...
...
@@ -824,7 +824,7 @@ export const powerRoutes=[
component
:
'train/tsubject/index'
,
hidden
:
false
,
meta
:{
"title"
:
"
培训项目
"
,
"title"
:
"
题库维护
"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
...
...
src/views/train/assessment/pxfk/edit.vue
0 → 100644
View file @
678b67b4
<
template
>
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<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=
"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-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=
"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=
"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=
"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=
"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=
"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=
"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>
</el-form>
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
},
/* 组件名称*/
name
:
"aqgl/pxglPxjhEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
//ID
id
:
''
,
//公司编码
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
:
{
}
}
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/train/assessment/pxfk/index.vue
0 → 100644
View file @
678b67b4
<
template
>
<div
class=
"min_full"
>
<!-- 查询条件-->
<div
class=
"search"
v-condition
>
<SearchButton
:app=
'app'
></SearchButton>
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-col
:span=
"12"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
名称:
</span>
<el-input
v-model=
"queryParams.info"
></el-input>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
<el-row
class=
"tool-bar"
>
<PrintButton
:app=
'app'
></PrintButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<AttachFileButton
:app=
'app'
></AttachFileButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
<!-- 表格-->
<div
class=
"tablePagers"
>
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
@
getRow=
'getRow'
>
</TablePager>
</div>
</div>
</
template
>
<
script
>
/* 引入需要的接口*/
import
{
doQueryPxjl
,
doAddPxjl
,
doUpdatePxjl
,
doDeletePxjl
}
from
'@/api/train/planning.js'
;
/* edit页面*/
import
Edit
from
'./edit'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'aqgl/pxglPxjh'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/pxgl/pxjh'
,
/* 查询参数*/
queryParams
:
{
info
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
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"
},
]
}
},
methods
:
{
/* 基础查询*/
query
:
doQuery
,
/* 基础增*/
apiAdd
:
doAdd
,
/* 基础更新*/
apiUpdate
:
doUpdate
,
/* 删除操作*/
apiDelete
:
doDelete
,
/* 初始化赋值操作*/
init
()
{
}
},
components
:
{
Edit
,
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/train/planning/auto/edit.vue
0 → 100644
View file @
678b67b4
<
template
>
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<!-- 填写表单内容,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-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-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-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-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-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-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-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-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-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
},
/* 组件名称*/
name
:
"aqglPxglPxjlEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
//ID
id
:
''
,
//培训日期
pxrq
:
new
Date
().
getTime
(),
//培训反馈
pxfk
:
''
,
//培训内容
pxnr
:
''
,
//备注
bz
:
''
,
//维护人编码
whrid
:
''
,
//维护人
whr
:
''
,
//维护时间
whsj
:
new
Date
().
getTime
(),
//创建人编码
cjrid
:
''
,
//创建人
cjr
:
''
,
//创建时间
cjsj
:
new
Date
().
getTime
(),
//系统版本
sysversion
:
''
,
//附件数
attachcount
:
''
,
//公司编码
gsid
:
''
,
//部门编码
bmid
:
''
,
//培训计划
jhid
:
''
,
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
}
}
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/train/planning/auto/index.vue
0 → 100644
View file @
678b67b4
<
template
>
<div
class=
"min_full"
>
<!-- 查询条件-->
<div
class=
"search"
v-condition
>
<SearchButton
:app=
'app'
></SearchButton>
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-col
:span=
"12"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
名称:
</span>
<el-input
v-model=
"queryParams.info"
></el-input>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
<el-row
class=
"tool-bar"
>
<PrintButton
:app=
'app'
></PrintButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<AttachFileButton
:app=
'app'
></AttachFileButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
<!-- 表格-->
<div
class=
"tablePagers"
>
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
@
getRow=
'getRow'
>
</TablePager>
</div>
</div>
</
template
>
<
script
>
/* 引入需要的接口*/
import
{
doQuery
,
doAdd
,
doUpdate
,
doDelete
}
from
'@/api/train/planning.js'
;
/* edit页面*/
import
Edit
from
'./edit'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'aqglPxglPxjl'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/pxgl/pxjl'
,
/* 查询参数*/
queryParams
:
{
info
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"培训日期"
,
prop
:
"pxrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"培训反馈"
,
prop
:
"pxfk"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"培训内容"
,
prop
:
"pxnr"
,
fieldType
:
"ftString"
,
width
:
300
},
{
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
},
]
}
},
methods
:
{
/* 基础查询*/
query
:
doQuery
,
/* 基础增*/
apiAdd
:
doAdd
,
/* 基础更新*/
apiUpdate
:
doUpdate
,
/* 删除操作*/
apiDelete
:
doDelete
,
/* 初始化赋值操作*/
init
()
{
}
},
components
:
{
Edit
,
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/train/questionManage/auto/edit.vue
View file @
678b67b4
...
...
@@ -82,7 +82,7 @@
},
/* 组件名称*/
name
:
"aqgl
/p
xglPxstEdit"
,
name
:
"aqgl
P
xglPxstEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
...
...
@@ -97,7 +97,7 @@
form
:
{
//ID
id
:
''
,
//试题类型
//试题类型
type
:
''
,
//题库编码
mid
:
''
,
...
...
src/views/train/questionManage/auto/index.vue
View file @
678b67b4
...
...
@@ -53,7 +53,7 @@
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'aqgl
/p
xglPxst'
,
name
:
'aqgl
P
xglPxst'
,
/* 初始额外赋值*/
async
mounted
()
{
...
...
src/views/train/questionManage/index.vue
View file @
678b67b4
...
...
@@ -66,7 +66,7 @@
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'aqgl
/p
xglPxst'
,
name
:
'aqgl
P
xglPxst'
,
/* 初始额外赋值*/
async
mounted
()
{
...
...
src/views/train/questionManage/selecter.vue
View file @
678b67b4
...
...
@@ -47,7 +47,7 @@ import {
}},
methods
:
{
drexcel
(){
let
that
=
this
let
input
=
document
.
createElement
(
'input'
);
input
.
type
=
'file'
...
...
@@ -81,7 +81,7 @@ import {
},
save
(){
if
(
!
this
.
xmid
){
this
.
$warning
(
'请选中
一条培训项目
'
)
this
.
$warning
(
'请选中
题库
'
)
}
else
{
this
.
drexcel
()
}
...
...
src/views/train/trainRecord/index.vue
View file @
678b67b4
...
...
@@ -124,7 +124,7 @@
},
{
prop
:
'whr'
,
label
:
'培训项目'
,
label
:
'
·
培训项目'
,
width
:
'100'
},
{
...
...
src/views/train/tsubject/edit.vue
View file @
678b67b4
...
...
@@ -49,7 +49,7 @@
},
/* 组件名称*/
name
:
"aqgl
/p
xglPxxmEdit"
,
name
:
"aqgl
P
xglPxxmEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
...
...
src/views/train/tsubject/index.vue
View file @
678b67b4
...
...
@@ -53,7 +53,7 @@
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'aqgl
/p
xglPxxm'
,
name
:
'aqgl
P
xglPxxm'
,
/* 初始额外赋值*/
async
mounted
()
{
...
...
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