Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
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
Administrator
dsk-cr20g
Commits
a408ba2c
Commit
a408ba2c
authored
Jun 29, 2023
by
caixingbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*
parent
c3f3f177
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
8 deletions
+14
-8
index.vue
dsk-operate-ui/src/layout/components/TagsView/index.vue
+1
-1
request.js
dsk-operate-ui/src/utils/request.js
+4
-4
custom.vue
dsk-operate-ui/src/views/detail/party-a/dealings/custom.vue
+0
-1
supplier.vue
...operate-ui/src/views/detail/party-a/dealings/supplier.vue
+1
-1
index.vue
dsk-operate-ui/src/views/detail/party-a/index.vue
+7
-0
bidding.vue
...i/src/views/detail/party-a/overview/component/bidding.vue
+1
-1
No files found.
dsk-operate-ui/src/layout/components/TagsView/index.vue
View file @
a408ba2c
...
...
@@ -15,7 +15,7 @@
<svg
:class=
"isActive(tag)?'tags-icon tags-icon-active':'tags-icon'"
aria-hidden=
"true"
>
<use
:xlink:href=
"iconName(tag)"
/>
</svg>
{{
tag
.
title
}}
<span
:id=
"isActive(tag)?'tagTitle':''"
>
{{
tag
.
title
}}
</span>
<span
v-if=
"!isAffix(tag)"
class=
"el-icon-close"
@
click
.
prevent
.
stop=
"closeSelectedTag(tag)"
/>
<i
:class=
"index!=visitedViews.length-1 && index != isActiveIndex() && index != isActiveIndex()-1?'tags-item-line':'tags-item-line item-color'"
/>
</router-link>
...
...
dsk-operate-ui/src/utils/request.js
View file @
a408ba2c
...
...
@@ -88,7 +88,7 @@ service.interceptors.response.use(res => {
});
}
return
Promise
.
reject
(
'无效的会话,或者会话已过期,请重新登录。'
)
}
else
if
(
code
===
500
)
{
}
/*
else if (code === 500) {
Message({ message: msg, type: 'error' })
return Promise.reject(new Error(msg))
} else if (code === 601) {
...
...
@@ -97,19 +97,19 @@ service.interceptors.response.use(res => {
} else if (code !== 200) {
Notification.error({ title: msg })
return Promise.reject('error')
}
else
{
}
*/
else
{
return
res
.
data
}
},
error
=>
{
console
.
log
(
'err'
+
error
)
let
{
message
}
=
error
;
if
(
message
==
"Network Error"
)
{
/*
if (message == "Network Error") {
message = "后端接口连接异常";
} else if (message.includes("timeout")) {
message = "系统接口请求超时";
} else if (message.includes("Request failed with status code")) {
message = "系统接口" + message.substr(message.length - 3) + "异常";
}
}
*/
if
(
message
==
'数据正在处理,请勿重复提交'
){
//重复提交,提示样式特殊处理
Message
({
message
:
message
,
type
:
'warning'
,
duration
:
5
*
1000
})
}
else
{
...
...
dsk-operate-ui/src/views/detail/party-a/dealings/custom.vue
View file @
a408ba2c
...
...
@@ -44,7 +44,6 @@
import
mixin
from
'../mixins/mixin'
import
{
clientPage
}
from
'@/api/detail/party-a/dealings'
import
ClientDetail
from
'./component/customDetail'
import
auth
from
"@/plugins/auth"
;
export
default
{
name
:
'Custom'
,
props
:
[
'companyId'
],
...
...
dsk-operate-ui/src/views/detail/party-a/dealings/supplier.vue
View file @
a408ba2c
...
...
@@ -21,7 +21,7 @@
@
sort-change=
"sortChange"
>
<template
slot=
"companyName"
slot-scope=
"scope"
>
<router-link
:to=
"
scope.row.uipId?`/enterprise/$
{encodeStr(scope.row.companyId)}`:
`/company/${encodeStr(scope.row.companyId)}`" tag="a" class="a-link" v-if="scope.row.companyId
&&
scope.row.companyName" v-html="scope.row.companyName">
</router-link>
<router-link
:to=
"`/company/$
{encodeStr(scope.row.companyId)}`" tag="a" class="a-link" v-if="scope.row.companyId
&&
scope.row.companyName" v-html="scope.row.companyName">
</router-link>
<div
v-else
v-html=
"scope.row.companyName || '--'"
></div>
</
template
>
<
template
slot=
"projectAllName"
slot-scope=
"scope"
>
...
...
dsk-operate-ui/src/views/detail/party-a/index.vue
View file @
a408ba2c
...
...
@@ -180,6 +180,8 @@ export default {
this
.
currentPath
.
pathName
=
this
.
$route
.
query
.
path
}
},
mounted
(){
},
methods
:
{
showPartPage
(
e
){
this
.
currentPath
=
e
...
...
@@ -200,6 +202,11 @@ export default {
let
res
=
await
infoHeader
({
companyId
:
this
.
companyId
})
if
(
res
.
code
==
200
){
this
.
companyInfo
=
res
.
data
if
(
this
.
companyInfo
.
companyName
){
this
.
$nextTick
(()
=>
{
document
.
getElementById
(
'tagTitle'
).
innerText
=
this
.
companyInfo
.
companyName
})
}
}
},
listenSider
(){
...
...
dsk-operate-ui/src/views/detail/party-a/overview/component/bidding.vue
View file @
a408ba2c
...
...
@@ -61,7 +61,7 @@
prop=
"companyName"
label=
"公司名称"
>
<
template
slot-scope=
"scope"
>
<router-link
:to=
"
scope.row.uipId?`/enterprise/$
{encodeStr(scope.row.companyId)}`:
`/company/${encodeStr(scope.row.companyId)}`" tag="a" class="a-link">
{{
scope
.
row
.
companyName
}}
</router-link>
<router-link
:to=
"`/company/$
{encodeStr(scope.row.companyId)}`" tag="a" class="a-link">
{{
scope
.
row
.
companyName
}}
</router-link>
</
template
>
</el-table-column>
<el-table-column
...
...
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