Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit db41ad73
authored
Dec 19, 2023
by
Thews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20231219wangwansu
1 parent
913912a7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
25 deletions
src/api/index.js
src/views/etpManage/index.vue
src/api/index.js
View file @
db41ad7
...
...
@@ -218,6 +218,14 @@ export function getETPManageDel(params) {
export
function
getETPManageDelBatch
(
params
)
{
return
post
(
'/kl-talent-pool/updKlTalentPoolBatch'
,
params
);
}
// 专家库名称下拉
export
function
getETPManagePoolName
(
params
)
{
return
post
(
'/kl-talent-pool/gtklPoolName'
,
params
);
}
// 新增专家库名称
export
function
getETPManagePoolNameAdd
(
params
)
{
return
post
(
'/kl-talent-pool/adklPoolName'
,
params
);
}
// 典型案例库管理
...
...
src/views/etpManage/index.vue
View file @
db41ad7
...
...
@@ -84,7 +84,7 @@
:title=
"title"
:visible
.
sync=
"add_dialog"
:center=
"false"
width=
"5
0
%"
>
width=
"5
5
%"
>
<div
class=
"add_dialog_content"
>
<div
class=
"dialog_content_1"
>
<div
class=
"dialog_form_item"
>
...
...
@@ -94,7 +94,7 @@
<div
class=
"dialog_form_item"
>
<div
class=
"dialog_form_item_title"
>
专家库名称
</div>
<el-select
v-model=
"formData.name"
placeholder=
"请选择"
clearable
class=
"search_item"
>
<el-option
v-for=
"(item,idnex) in selectData
2"
:key=
"idnex"
:label=
"item.label"
:value=
"item.value
"
></el-option>
<el-option
v-for=
"(item,idnex) in selectData
1"
:key=
"idnex"
:label=
"item.name"
:value=
"item.ktpId
"
></el-option>
</el-select>
</div>
<div
class=
"dialog_form_item"
>
...
...
@@ -159,6 +159,8 @@ import {
getETPManageDel
,
getETPManageDelBatch
,
getDianXingAnLiSelectData
,
getETPManagePoolName
,
getETPManagePoolNameAdd
,
}
from
"@/api/index.js"
;
import
$
from
'jquery'
;
...
...
@@ -218,18 +220,18 @@ export default {
},
},
selectData1
:
[
{
label
:
"移动应用典型案例"
,
value
:
1
,
},
{
label
:
"数据模型典型案例"
,
value
:
2
,
},
{
label
:
"数据中台典型案例"
,
value
:
3
,
},
//
{
//
label: "移动应用典型案例",
//
value: 1,
//
},
//
{
//
label: "数据模型典型案例",
//
value: 2,
//
},
//
{
//
label: "数据中台典型案例",
//
value: 3,
//
},
],
selectData2
:
[
{
...
...
@@ -339,9 +341,12 @@ export default {
this
.
add_dialog
=
true
;
this
.
title
=
"编辑专家人才库"
;
this
.
formData
=
item
;
this
.
formData
.
name
=
String
(
this
.
formData
.
name
);
this
.
formData
.
state
=
String
(
this
.
formData
.
state
);
this
.
formData
.
level
=
String
(
this
.
formData
.
level
);
this
.
formData
.
ktagId
=
String
(
this
.
formData
.
ktagId
);
if
(
this
.
formData
.
ktagId
)
{
this
.
formData
.
ktagId
=
String
(
this
.
formData
.
ktagId
);
}
}
else
if
(
type
==
"create"
)
{
if
(
this
.
formData
.
ktpId
)
{
// 编辑保存
...
...
@@ -444,14 +449,12 @@ export default {
},
getSelect1
()
{
//专家库下来
const
params
=
{
key
:
"kl_case_type"
getETPManagePoolName
().
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
selectData1
=
res
.
data
;
console
.
log
(
this
.
selectData1
);
}
getDianXingAnLiSelectData
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
selectData1
=
res
.
data
;
}
})
})
},
getSelect2
()
{
//专家级别下拉
const
params
=
{
...
...
@@ -460,7 +463,6 @@ export default {
getDianXingAnLiSelectData
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
selectData2
=
res
.
data
;
console
.
log
(
this
.
selectData2
);
}
})
},
...
...
@@ -471,7 +473,6 @@ export default {
getDianXingAnLiSelectData
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
selectData3
=
res
.
data
;
console
.
log
(
this
.
selectData3
);
}
})
},
...
...
@@ -482,7 +483,6 @@ export default {
getDianXingAnLiSelectData
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
selectData4
=
res
.
data
;
console
.
log
(
this
.
selectData4
);
}
})
},
...
...
@@ -521,6 +521,12 @@ export default {
.dialog_content_1
{
display
:
flex
;
justify-content
:
space-between
;
.el-input{
width
:
210px
;
}
.el-select
{
width
:
210px
;
}
}
.dialog_form_item3
{
margin-top
:
20px
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment