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 481c73a5
authored
Apr 02, 2024
by
史敦盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
专家人才库修改
1 parent
5285e457
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
22 additions
and
18 deletions
src/api/index.js
src/components/SearchFormItem.vue
src/components/TableConfig.vue
src/utils/index.js
src/views/busi-assets-list/index.vue
src/views/conceptualReview/Tab8Left.vue
src/views/etpManage/AddExpert.vue
src/views/etpManage/index.vue
src/api/index.js
View file @
481c73a
...
...
@@ -788,6 +788,10 @@ export function addKlPerson(params) {
export
function
updKlPerson
(
params
)
{
return
post
(
EADC_KNOWLEDGE_POOL
+
'/kl-talent-pool/upKlPerson'
,
params
)
}
// 专家人才库管理-删除
export
function
delKlPerson
(
params
)
{
return
post
(
EADC_KNOWLEDGE_POOL
+
'/kl-talent-pool/del'
,
params
)
}
export
function
postRequest
(
url
,
params
)
{
return
post
(
EADC_ARRCHITECTURE
+
url
,
params
)
}
src/components/SearchFormItem.vue
View file @
481c73a
...
...
@@ -4,7 +4,7 @@
* @Autor: pan
* @Date: 2024-03-12 15:11:47
* @LastEditors: pan
* @LastEditTime: 2024-04-0
1 17:08:42
* @LastEditTime: 2024-04-0
2 09:29:25
-->
<
template
>
<div
class=
"form-item"
>
...
...
@@ -248,7 +248,7 @@ export default {
}
else
{
const
params
=
{
key
}
const
res
=
await
getDianXingAnLiSelectData
(
params
)
if
(
res
.
code
!==
200
)
return
if
(
res
.
code
!==
200
||
!
res
.
data
.
length
)
return
dictTypeOptions
=
res
.
data
const
jsonStr
=
JSON
.
stringify
(
res
.
data
)
localStorage
.
setItem
(
'dic_'
+
key
,
jsonStr
)
...
...
src/components/TableConfig.vue
View file @
481c73a
...
...
@@ -4,7 +4,7 @@
* @Autor: pan
* @Date: 2024-03-11 14:53:40
* @LastEditors: pan
* @LastEditTime: 2024-04-0
1 15:17:0
3
* @LastEditTime: 2024-04-0
2 09:14:1
3
-->
<!-- 示例
columns: [{ label: '头像', prop: 'avatar', align: 'center', __slotName: 'avatar',callback: (row, title) => {
...
...
@@ -240,7 +240,7 @@ export default {
if
(
!
val
)
{
val
=
item
.
emptyToNum
||
0
}
const
obj
=
item
.
options
.
find
((
v
)
=>
v
.
value
==
val
)
||
{}
const
obj
=
item
.
options
?
.
find
((
v
)
=>
v
.
value
==
val
)
||
{}
return
obj
[
'label'
]
},
/**
...
...
src/utils/index.js
View file @
481c73a
...
...
@@ -43,7 +43,7 @@ export async function getDictTypeOptions(key) {
}
else
{
const
params
=
{
key
}
const
res
=
await
getDianXingAnLiSelectData
(
params
)
if
(
res
.
code
!==
200
)
return
if
(
res
.
code
!==
200
||
!
res
.
data
.
length
)
return
dictTypeOptions
=
res
.
data
const
jsonStr
=
JSON
.
stringify
(
res
.
data
)
localStorage
.
setItem
(
'dic_'
+
key
,
jsonStr
)
...
...
src/views/busi-assets-list/index.vue
View file @
481c73a
...
...
@@ -234,10 +234,10 @@
<el-dialog
:title=
"
is_add_edit == 'add'
? '新建
架构
'
? '新建
资产
'
: is_add_edit == 'edit'
? '编辑
架构
'
: '查看
架构
'
? '编辑
资产
'
: '查看
资产
'
"
:visible
.
sync=
"addDialog"
:center=
"false"
...
...
@@ -251,7 +251,7 @@
style=
"height: 500px; overflow-y: auto"
>
<div
class=
"form_item_container"
>
<el-form-item
label=
"
架构组件
名称:"
prop=
"let1"
>
<el-form-item
label=
"
资产
名称:"
prop=
"let1"
>
<el-input
placeholder=
"请输入内容"
v-no-backslash
...
...
@@ -261,7 +261,7 @@
></el-input>
</el-form-item>
<el-form-item
label=
"
组件类型
:"
prop=
"let3"
>
<el-form-item
label=
"
所属元素
:"
prop=
"let3"
>
<el-select
:disabled=
"is_add_edit == 'view' ? true : false"
@
change=
"zuJianLeiXingSelectChange"
...
...
src/views/conceptualReview/Tab8Left.vue
View file @
481c73a
...
...
@@ -136,6 +136,7 @@ export default {
} else {
const params = { key }
const res = await getDianXingAnLiSelectData(params)
if (res.code !== 200 || !res.data.length) return
dictTypeOptions = res.data
const jsonStr = JSON.stringify(res.data)
if (jsonStr) {
...
...
src/views/etpManage/AddExpert.vue
View file @
481c73a
...
...
@@ -4,7 +4,7 @@
* @Autor: pan
* @Date: 2024-04-01 14:39:48
* @LastEditors: pan
* @LastEditTime: 2024-04-0
1 17:48:32
* @LastEditTime: 2024-04-0
2 08:56:20
-->
<
template
>
<el-dialog
...
...
@@ -96,7 +96,7 @@ export default {
},
{
label
:
'出生年月'
,
// label文字
prop
:
'
createMan
'
,
// 字段名
prop
:
'
birthday
'
,
// 字段名
type
:
'date'
,
valueFormat
:
'yyyy-MM-dd'
,
element
:
'el-date-picker'
,
// 指定elementui组件
...
...
src/views/etpManage/index.vue
View file @
481c73a
...
...
@@ -4,7 +4,7 @@
* @Autor: pan
* @Date: 2024-04-01 14:05:50
* @LastEditors: pan
* @LastEditTime: 2024-04-0
1 17:57:39
* @LastEditTime: 2024-04-0
2 09:28:36
-->
<
template
>
<div
class=
"searchTable"
>
...
...
@@ -73,7 +73,7 @@ import AddExpert from './AddExpert.vue'
import
AddTalent
from
'./AddTalent.vue'
import
{
queryqKLPerson
,
queryExpert
}
from
'@/api/interface'
import
{
getETPManageUpdate
}
from
'@/api'
import
{
getETPManageUpdate
,
delKlPerson
}
from
'@/api'
import
{
getDictTypeOptions
}
from
'@/utils'
export
default
{
name
:
'etpManage'
,
...
...
@@ -176,7 +176,7 @@ export default {
collectionType
:
true
,
},
{
label
:
'联系方式'
,
prop
:
'telephone'
},
{
label
:
'邮箱'
,
prop
:
'email'
},
{
label
:
'邮箱'
,
prop
:
'email'
,
width
:
'120px'
},
{
label
:
'专业领域'
,
prop
:
'professionalField'
,
...
...
@@ -378,10 +378,9 @@ export default {
})
.
then
(()
=>
{
const
params
=
{
talentId
:
row
.
talentId
,
delFlag
:
1
,
ids
:
[
row
.
talentId
],
}
getETPManageUpdate
(
params
).
then
((
res
)
=>
{
delKlPerson
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
'删除成功'
)
this
.
$refs
.
searchTable
.
queryData
()
...
...
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