Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web
Project
Project
Details
Activity
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
INET-TWO
web
Commits
81ad4137
Commit
81ad4137
authored
Aug 20, 2024
by
ztf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改选择项目代号组件和接口单-终止组件代码
parent
b1173def
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
18 deletions
+4
-18
index.vue
.../privateComponents/components/SelectprojectCode/index.vue
+2
-5
index.vue
...omponents/components/TerminateInternalInterface/index.vue
+2
-13
No files found.
applications/dee-doc/src/privateComponents/components/SelectprojectCode/index.vue
View file @
81ad4137
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
>
>
<el-option
<el-option
v-for=
"item in projectCodeOptions"
v-for=
"item in projectCodeOptions"
:key=
"item.
paren
tKey"
:key=
"item.
dic
tKey"
:label=
"item.label"
:label=
"item.label"
:value=
"item.value"
:value=
"item.value"
/>
/>
...
@@ -30,7 +30,6 @@ export default {
...
@@ -30,7 +30,6 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
console
.
log
(
'开始获取数据了'
)
this
.
getProjectCodeList
()
this
.
getProjectCodeList
()
},
},
methods
:
{
methods
:
{
...
@@ -56,16 +55,14 @@ export default {
...
@@ -56,16 +55,14 @@ export default {
}
}
}
}
post
(
'/DictData/search'
,
params
).
then
((
res
)
=>
{
post
(
'/DictData/search'
,
params
).
then
((
res
)
=>
{
console
.
log
(
'请求了'
)
if
(
res
.
items
.
content
.
length
)
{
if
(
res
.
items
.
content
.
length
)
{
this
.
projectCodeOptions
=
res
.
items
.
content
.
map
((
row
)
=>
{
this
.
projectCodeOptions
=
res
.
items
.
content
.
map
((
row
)
=>
{
return
{
return
{
value
:
row
.
dictKey
,
value
:
row
.
dictKey
,
label
:
row
.
dictValue
,
label
:
row
.
dictValue
,
parentKey
:
row
.
paren
tKey
dictKey
:
row
.
dic
tKey
}
}
})
})
console
.
log
(
' this.projectCodeOptions'
,
this
.
projectCodeOptions
)
}
}
})
})
},
},
...
...
applications/dee-doc/src/privateComponents/components/TerminateInternalInterface/index.vue
View file @
81ad4137
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: zhangtianfeng 3232807530@qq.com
* @Author: zhangtianfeng 3232807530@qq.com
* @Date: 2024-08-13 16:59:49
* @Date: 2024-08-13 16:59:49
* @LastEditors: zhangtianfeng 3232807530@qq.com
* @LastEditors: zhangtianfeng 3232807530@qq.com
* @LastEditTime: 2024-08-1
4 20:01:08
* @LastEditTime: 2024-08-1
9 17:00:52
-->
-->
<
template
>
<
template
>
<div
class=
"TerminateInternalInterface"
>
<div
class=
"TerminateInternalInterface"
>
...
@@ -13,7 +13,6 @@
...
@@ -13,7 +13,6 @@
typeName: 'ExtInterface',
typeName: 'ExtInterface',
layKey: 'Terminate-internalInterface'
layKey: 'Terminate-internalInterface'
}"
}"
@selectionChange="selectionChange"
/>
/>
<div
class=
"btns"
>
<div
class=
"btns"
>
<el-button
type=
"primary"
class=
"submitBTN"
:disabled=
"!isDisable"
@
click=
"tosubmit"
>
确定
</el-button>
<el-button
type=
"primary"
class=
"submitBTN"
:disabled=
"!isDisable"
@
click=
"tosubmit"
>
确定
</el-button>
...
@@ -64,21 +63,11 @@ export default {
...
@@ -64,21 +63,11 @@ export default {
post
(
`/ExtAuditObject/recursion`
,
params
).
then
(
res
=>
{
post
(
`/ExtAuditObject/recursion`
,
params
).
then
(
res
=>
{
// this.btnLoading = false
// this.btnLoading = false
this
.
$utils
.
showMessageSuccess
(
'操作成功!'
)
this
.
$utils
.
showMessageSuccess
(
'操作成功!'
)
// this.$emit('completeEven')
// this.handleClose()
// this.handleClose()
}).
catch
(()
=>
{
}).
catch
(()
=>
{
this
.
btnLoading
=
false
this
.
btnLoading
=
false
})
})
// const source = this.$parent.$parent.$parent.$parent.basicData
// const params = this.selections.map(r => {
// return {
// source: source,
// operator: 'ADD',
// target: r
// }
// })
// post('ExtAuditObject/recursions', params).then(res => {
// this.$emit('completeEven')
// })
}
}
}
}
}
}
...
...
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