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 f5cf67b8
authored
Dec 21, 2023
by
liuyong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://47.97.176.204:19000/wangwansu/iact_jiagou_drowio
into develop
2 parents
5a539968
a4b76b27
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
9 deletions
src/api/index.js
src/views/etpManage/index.vue
src/views/total-archi-property-document/index.vue
src/views/typical-example-manage/index.vue
src/views/typical-example-relative-use/index.vue
src/api/index.js
View file @
f5cf67b
...
@@ -210,10 +210,22 @@ export function getETPManageAdd(params) {
...
@@ -210,10 +210,22 @@ export function getETPManageAdd(params) {
export
function
getETPManageUpdate
(
params
)
{
export
function
getETPManageUpdate
(
params
)
{
return
post
(
'/kl-talent-pool/updKlTalentPool'
,
params
);
return
post
(
'/kl-talent-pool/updKlTalentPool'
,
params
);
}
}
//
编辑
专家人才库
//
删除
专家人才库
export
function
getETPManageDel
(
params
)
{
export
function
getETPManageDel
(
params
)
{
return
post
(
'/kl-talent-pool/delKlTalentPool'
,
params
);
return
post
(
'/kl-talent-pool/delKlTalentPool'
,
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 @
f5cf67b
This diff is collapsed.
Click to expand it.
src/views/total-archi-property-document/index.vue
View file @
f5cf67b
...
@@ -261,7 +261,6 @@ export default {
...
@@ -261,7 +261,6 @@ export default {
if
(
this
.
formData
.
ktcId
)
{
if
(
this
.
formData
.
ktcId
)
{
// 编辑保存
// 编辑保存
getTypicalExampleUpdate
(
this
.
formData
).
then
(
res
=>
{
getTypicalExampleUpdate
(
this
.
formData
).
then
(
res
=>
{
console
.
log
(
this
.
formData
,
res
);
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"保存成功"
);
this
.
$message
.
success
(
"保存成功"
);
this
.
add_dialog
=
false
;
this
.
add_dialog
=
false
;
...
@@ -280,7 +279,6 @@ export default {
...
@@ -280,7 +279,6 @@ export default {
this
.
getList
();
this
.
getList
();
}
else
{
}
else
{
this
.
add_dialog
=
false
;
this
.
add_dialog
=
false
;
console
.
log
(
res
);
this
.
$message
.
error
(
res
.
msg
);
this
.
$message
.
error
(
res
.
msg
);
}
}
});
});
...
@@ -361,9 +359,9 @@ export default {
...
@@ -361,9 +359,9 @@ export default {
},
},
handleFileUploadSuccess
(
res
,
file
,
fileList
)
{
//文件上传
handleFileUploadSuccess
(
res
,
file
,
fileList
)
{
//文件上传
this
.
formData
.
fileId
=
res
.
data
.
fileId
;
this
.
formData
.
fileId
=
res
.
data
.
fileId
;
console
.
log
(
res
);
//
console.log(res);
console
.
log
(
file
);
//
console.log(file);
console
.
log
(
fileList
);
//
console.log(fileList);
},
},
getFileTypeSelect
()
{
//案例类型下拉
getFileTypeSelect
()
{
//案例类型下拉
...
@@ -373,7 +371,6 @@ export default {
...
@@ -373,7 +371,6 @@ export default {
getDianXingAnLiSelectData
(
params
).
then
(
res
=>
{
getDianXingAnLiSelectData
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
selectData1
=
res
.
data
;
this
.
selectData1
=
res
.
data
;
console
.
log
(
this
.
selectData1
);
}
}
})
})
},
},
...
...
src/views/typical-example-manage/index.vue
View file @
f5cf67b
...
@@ -306,11 +306,14 @@ export default {
...
@@ -306,11 +306,14 @@ export default {
this
.
add_dialog
=
true
;
this
.
add_dialog
=
true
;
this
.
title
=
"编辑案例"
;
this
.
title
=
"编辑案例"
;
this
.
formData
=
item
;
this
.
formData
=
item
;
this
.
formData
.
tcType
=
String
(
this
.
formData
.
tcType
);
this
.
formData
.
problemType
=
String
(
this
.
formData
.
problemType
);
this
.
formData
.
prjType
=
String
(
this
.
formData
.
prjType
);
this
.
formData
.
problemLevel
=
String
(
this
.
formData
.
problemLevel
);
}
else
if
(
type
==
"create"
)
{
}
else
if
(
type
==
"create"
)
{
if
(
this
.
formData
.
ktcId
)
{
if
(
this
.
formData
.
ktcId
)
{
// 编辑保存
// 编辑保存
getTypicalExampleUpdate
(
this
.
formData
).
then
(
res
=>
{
getTypicalExampleUpdate
(
this
.
formData
).
then
(
res
=>
{
console
.
log
(
this
.
formData
,
res
);
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"保存成功"
);
this
.
$message
.
success
(
"保存成功"
);
this
.
add_dialog
=
false
;
this
.
add_dialog
=
false
;
...
...
src/views/typical-example-relative-use/index.vue
View file @
f5cf67b
...
@@ -242,7 +242,6 @@ export default {
...
@@ -242,7 +242,6 @@ export default {
if
(
this
.
formData
.
ktcId
)
{
if
(
this
.
formData
.
ktcId
)
{
// 编辑保存
// 编辑保存
getTypicalExampleUpdate
(
this
.
formData
).
then
(
res
=>
{
getTypicalExampleUpdate
(
this
.
formData
).
then
(
res
=>
{
console
.
log
(
this
.
formData
,
res
);
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"保存成功"
);
this
.
$message
.
success
(
"保存成功"
);
this
.
add_dialog
=
false
;
this
.
add_dialog
=
false
;
...
...
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