Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
d3d00906
Commit
d3d00906
authored
May 15, 2023
by
彭松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
1d19e9fb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
24 deletions
+38
-24
portal-manager-ui/admin/src/api/dataAdmin.js
portal-manager-ui/admin/src/api/dataAdmin.js
+1
-11
portal-manager-ui/admin/src/api/thePlatformIsSet.js
portal-manager-ui/admin/src/api/thePlatformIsSet.js
+17
-0
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/components/addEditAppName.vue
...et/components/productManage/components/addEditAppName.vue
+1
-1
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/productManage.vue
...ePlatformIsSet/components/productManage/productManage.vue
+19
-12
No files found.
portal-manager-ui/admin/src/api/dataAdmin.js
View file @
d3d00906
...
@@ -190,14 +190,4 @@ export function getImpossibleInfo(params) {
...
@@ -190,14 +190,4 @@ export function getImpossibleInfo(params) {
*/
*/
export
function
getKqalert
(
params
)
{
export
function
getKqalert
(
params
)
{
return
http
.
get
(
`
${
BASEURL
}
/admin/kqalert/list`
,
params
);
return
http
.
get
(
`
${
BASEURL
}
/admin/kqalert/list`
,
params
);
}
}
\ No newline at end of file
// 查询产品信息列表
export
function
getProduct
(
params
)
{
return
http
.
post
(
`
${
baseURL
}
/zwfw/product/list`
,
params
);
}
// 查询产品信息列表
export
function
saveProduct
(
params
)
{
return
http
.
post
(
`
${
baseURL
}
/zwfw/product/save`
,
params
);
}
portal-manager-ui/admin/src/api/thePlatformIsSet.js
0 → 100644
View file @
d3d00906
import
http
from
"
../request/http
"
;
let
baseURL
=
process
.
env
.
VUE_APP_API_BASE_URL
;
// 查询产品信息列表
export
function
getProduct
(
params
)
{
return
http
.
post
(
`
${
baseURL
}
/zwfw/product/list`
,
params
);
}
// 产品信息
export
function
saveProduct
(
params
)
{
return
http
.
post
(
`
${
baseURL
}
/zwfw/product/save`
,
params
);
}
// 产品信息
export
function
deleteProduct
(
params
)
{
return
http
.
post
(
`
${
baseURL
}
/zwfw/product/delete`
,
params
);
}
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/components/addEditAppName.vue
View file @
d3d00906
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
saveProduct
}
from
"
@/api/
dataAdmin
.js
"
;
import
{
saveProduct
}
from
"
@/api/
thePlatformIsSet
.js
"
;
export
default
{
export
default
{
name
:
"
PortalAdminVueAddEditAppName
"
,
name
:
"
PortalAdminVueAddEditAppName
"
,
data
()
{
data
()
{
...
...
portal-manager-ui/admin/src/views/thePlatformIsSet/components/productManage/productManage.vue
View file @
d3d00906
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
</a-button>
</a-button>
</p>
</p>
<p>
<p>
<a-button
type=
"link"
size=
"small"
style=
"color: #ff4d4f"
>
<a-button
type=
"link"
size=
"small"
style=
"color: #ff4d4f"
@
click=
"delModal(item)"
>
删除
删除
</a-button>
</a-button>
</p>
</p>
...
@@ -36,9 +36,9 @@
...
@@ -36,9 +36,9 @@
<img
src=
"~@/assets/images/u52.png"
alt=
""
class=
"app-img"
/>
<img
src=
"~@/assets/images/u52.png"
alt=
""
class=
"app-img"
/>
<div
class=
"app-name"
>
{{ item.productName }}
</div>
<div
class=
"app-name"
>
{{ item.productName }}
</div>
<ul
class=
"app-option"
>
<ul
class=
"app-option"
>
<li
@
click=
"routerpush1"
>
接口管理
<a-icon
type=
"right"
/></li>
<li
@
click=
"routerpush1
(item)
"
>
接口管理
<a-icon
type=
"right"
/></li>
<li
@
click=
"routerpush2"
>
应用管理
<a-icon
type=
"right"
/></li>
<li
@
click=
"routerpush2
(item)
"
>
应用管理
<a-icon
type=
"right"
/></li>
<li
@
click=
"routerpush3"
>
文档资料
<a-icon
type=
"right"
/></li>
<li
@
click=
"routerpush3
(item)
"
>
文档资料
<a-icon
type=
"right"
/></li>
</ul>
</ul>
</li>
</li>
</ul>
</ul>
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
getProduct
}
from
"
@/api/dataAdmin
.js
"
;
import
{
getProduct
,
deleteProduct
}
from
"
@/api/thePlatformIsSet
.js
"
;
import
AddEditAppName
from
"
./components/addEditAppName.vue
"
;
import
AddEditAppName
from
"
./components/addEditAppName.vue
"
;
export
default
{
export
default
{
name
:
"
PortalAdminVueProductManage
"
,
name
:
"
PortalAdminVueProductManage
"
,
...
@@ -65,6 +65,13 @@ export default {
...
@@ -65,6 +65,13 @@ export default {
this
.
getList
()
this
.
getList
()
},
},
methods
:
{
methods
:
{
delModal
(
item
)
{
getProduct
({
id
:
item
.
id
}).
then
((
res
)
=>
{
})
},
getList
()
{
getList
()
{
getProduct
({
getProduct
({
page
:
1
,
page
:
1
,
...
@@ -84,31 +91,31 @@ export default {
...
@@ -84,31 +91,31 @@ export default {
if
(
item
)
{
if
(
item
)
{
this
.
$refs
.
AddEditAppName
.
VisibleTitle
=
"
编辑
"
;
this
.
$refs
.
AddEditAppName
.
VisibleTitle
=
"
编辑
"
;
this
.
$refs
.
AddEditAppName
.
appInfoFome
.
id
=
item
.
id
this
.
$refs
.
AddEditAppName
.
appInfoFome
.
id
=
item
.
id
this
.
$refs
.
AddEditAppName
.
appInfoFome
.
app
Name
=
item
.
productName
this
.
$refs
.
AddEditAppName
.
appInfoFome
.
product
Name
=
item
.
productName
}
else
{
}
else
{
this
.
$refs
.
AddEditAppName
.
VisibleTitle
=
"
新增产品
"
;
this
.
$refs
.
AddEditAppName
.
VisibleTitle
=
"
新增产品
"
;
}
}
this
.
$refs
.
AddEditAppName
.
Visible
=
true
;
this
.
$refs
.
AddEditAppName
.
Visible
=
true
;
},
},
routerpush1
()
{
routerpush1
(
item
)
{
// 测试
// 测试
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
`/home/thePlatformIsSet/InterfaceManage/manage`
,
path
:
`/home/thePlatformIsSet/InterfaceManage/manage`
,
// query: { testoption: "test001"
},
query
:
{
id
:
item
.
id
},
});
});
},
},
routerpush2
()
{
routerpush2
(
item
)
{
// 测试
// 测试
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
`/home/thePlatformIsSet/appManage/application`
,
path
:
`/home/thePlatformIsSet/appManage/application`
,
// query: { testoption: "test001"
},
query
:
{
id
:
item
.
id
},
});
});
},
},
routerpush3
()
{
routerpush3
(
item
)
{
// 测试
// 测试
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
`/home/thePlatformIsSet/docData/fileData`
,
path
:
`/home/thePlatformIsSet/docData/fileData`
,
// query: { testoption: "test001"
},
query
:
{
id
:
item
.
id
},
});
});
},
},
},
},
...
...
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