Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
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
fulixin
dsk-operate-sys-cscec
Commits
ca986227
Commit
ca986227
authored
Dec 21, 2023
by
tianhongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业详情 咨询业务往来
parent
cbc3e5d2
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
345 additions
and
31 deletions
+345
-31
index.js
dsk-operate-ui/src/api/consultingTransaction/index.js
+22
-0
HeadFormNew.vue
...ate-ui/src/views/detail/party-a/component/HeadFormNew.vue
+18
-9
Tables.vue
dsk-operate-ui/src/views/detail/party-a/component/Tables.vue
+13
-4
skeleton.vue
...perate-ui/src/views/detail/party-a/component/skeleton.vue
+6
-6
cooperativeOwnerUnits.vue
...l/party-a/consultingTransaction/cooperativeOwnerUnits.vue
+283
-9
index.vue
dsk-operate-ui/src/views/detail/party-a/index.vue
+2
-2
cooperationRecord.vue
.../detail/party-a/internalCooperation/cooperationRecord.vue
+1
-1
No files found.
dsk-operate-ui/src/api/consultingTransaction/index.js
View file @
ca986227
...
...
@@ -6,7 +6,29 @@ import request from '@/utils/request';
* @returns
*/
export
const
getCooperativeOwnerUnitsListApi
=
(
data
)
=>
request
({
url
:
"/consultancy/page"
,
method
:
"post"
,
data
});
/**
* 获取(常合作业主单位、常合作施工单位、常合作集团)详情
* @param {*} data
* @returns
*/
export
const
getCooperativeOwnerUnitsDetailApi
=
(
data
)
=>
request
({
url
:
"/consultancy/detailPage"
,
method
:
"post"
,
data
});
/**
* 获取下拉列表选项
* @param {*} data
* @returns
*/
export
const
getCooperativeOwnerUnitsOptionsApi
=
(
data
)
=>
request
({
url
:
"/consultancy/pageSelect"
,
method
:
"post"
,
data
});
\ No newline at end of file
dsk-operate-ui/src/views/detail/party-a/component/HeadFormNew.vue
View file @
ca986227
...
...
@@ -4,7 +4,7 @@
<div
class=
"flex-box query-box"
>
<div
class=
"flex-box query-params"
>
<div
class=
"headForm-from"
>
<div
class=
"from-item"
:key=
"i"
v-for=
"(form, i) in
f
ormData"
>
<div
class=
"from-item"
:key=
"i"
v-for=
"(form, i) in
comF
ormData"
>
<!-- 单选 -->
<template
v-if=
"form.type==1"
>
<el-select
v-model=
"form.value"
clearable
class=
"form-content-width same-select-com"
:class=
"[`select-adaptive-$
{form.uid}`]"
...
...
@@ -27,12 +27,12 @@
<transition
name=
"fade-position"
appear
mode=
"out-in"
>
<span
v-if=
"!form.hover && !form.value"
>
搜索
</span>
<el-input
v-model=
"form.value"
:placeholder=
"form.placeholder ? form.placeholder : '输入关键词查询'"
:style=
"form.width?'width:'+form.width+'px':'width:238px'"
@
focus
.
stop=
"searchFocus($event,form)"
@
blur
.
stop=
"searchBlur($event,form)"
@
input=
"value => searchInput(value,form)"
v-else
@
keydown
.
native
.
enter=
"changeSelect"
>
:style=
"form.width?'width:'+form.width+'px':'width:238px'"
@
focus
.
stop=
"searchFocus($event,form)"
@
blur=
"searchBlur($event,form)"
@
input=
"value => searchInput(value,form)"
v-else
@
keydown
.
native
.
enter=
"changeSelect"
>
<template
slot=
"suffix"
>
<transition
mode=
"out-in"
appear
name=
"fade"
>
<img
src=
"@/assets/images/enterprise/search-input-clear-icon.svg"
@
click
.
stop=
"form.value = '';changeSelect()"
v-show=
"form.showClearIcon"
>
@
mousedown
.
prevent=
"''"
v-show=
"form.showClearIcon"
>
</transition>
</
template
>
</el-input>
...
...
@@ -127,9 +127,18 @@ export default {
default
:
false
}
},
watch
:
{
formData
:
{
handler
(
newValue
)
{
this
.
comFormData
=
newValue
;
},
deep
:
true
}
},
data
()
{
return
{
showSearchBox
:
false
showSearchBox
:
false
,
comFormData
:
this
.
formData
};
},
created
()
{
...
...
@@ -244,7 +253,7 @@ export default {
textContainer
.
remove
();
});
dom
.
style
.
setProperty
(
"width"
,
`
${
width
+
60
}
px`
);
this
.
$emit
(
'handle-search'
);
this
.
$emit
(
'handle-search'
,
this
.
comFormData
);
return
;
}
textContainer
.
style
.
setProperty
(
"visibility"
,
"hidden"
);
...
...
@@ -257,7 +266,7 @@ export default {
let
containerWidth
=
textContainer
.
offsetWidth
+
12
+
8
;
textContainer
.
remove
();
dom
.
style
.
setProperty
(
"width"
,
`
${
containerWidth
}
px`
);
this
.
$emit
(
'handle-search'
);
this
.
$emit
(
'handle-search'
,
this
.
comFormData
);
}
}
catch
(
error
)
{
...
...
@@ -288,13 +297,13 @@ export default {
textContainer
.
remove
();
dom
.
style
.
setProperty
(
"width"
,
`
${
containerWidth
}
px`
);
}
this
.
$emit
(
'handle-search'
);
this
.
$emit
(
'handle-search'
,
this
.
comFormData
);
}
catch
(
error
)
{
}
},
changeSelect
(
e
)
{
this
.
$emit
(
'handle-search'
);
this
.
$emit
(
'handle-search'
,
this
.
comFormData
);
},
clickEXCEL
()
{
this
.
$emit
(
'handle-excel'
);
...
...
dsk-operate-ui/src/views/detail/party-a/component/Tables.vue
View file @
ca986227
...
...
@@ -40,7 +40,7 @@
</
template
>
</el-table>
<div
style=
"padding: 30px 0
"
v-else
>
<div
class=
"table-empty-container
"
v-else
>
<no-data
/>
</div>
</div>
...
...
@@ -154,9 +154,6 @@ export default {
::v-deep
.el-table__body
tr
.current-row
>
td
.el-table__cell
{
background-color
:
#ffffff
;
}
/*::v-deep .el-table__fixed{
height: calc(100% - 16px) !important;
}*/
::v-deep
.el-table__row
{
&
:nth-child
(
even
)
{
...
...
@@ -177,6 +174,18 @@ export default {
}
}
::v-deep
.table-item
{
position
:
relative
;
.table-empty-container
{
position
:
absolute
;
display
:
flex
;
height
:
100%
;
width
:
100%
;
align-items
:
center
;
justify-content
:
center
;
box-sizing
:
border-box
;
}
/* 留高度给骨架屏 */
min-height
:
360px
;
.el-table
td
.el-table__cell
{
border-bottom
:
0
;
}
...
...
dsk-operate-ui/src/views/detail/party-a/component/skeleton.vue
View file @
ca986227
<
template
>
<el-skeleton
animated
>
<el-skeleton
animated
class=
"el-skeleton-container"
>
<template
slot=
"template"
>
<el-skeleton-item
variant=
"text"
style=
"width: 60%;"
/>
<el-skeleton-item
variant=
"text"
style=
"width: 60%;"
/>
<el-skeleton-item
variant=
"text"
style=
"width: 100%;"
/>
<el-skeleton-item
variant=
"text"
style=
"width: 100%;"
/>
<el-skeleton-item
variant=
"text"
style=
"width: 100%;"
/>
...
...
@@ -14,13 +14,13 @@
</template>
<
script
>
export
default
{
name
:
'skeleton'
}
export
default
{
name
:
'skeleton'
}
</
script
>
<
style
lang=
"scss"
scoped
>
.el-skeleton__item
{
.el-skeleton__item
{
height
:
20px
;
border-radius
:
0
;
margin
:
9px
0
;
...
...
dsk-operate-ui/src/views/detail/party-a/consultingTransaction/cooperativeOwnerUnits.vue
View file @
ca986227
This diff is collapsed.
Click to expand it.
dsk-operate-ui/src/views/detail/party-a/index.vue
View file @
ca986227
...
...
@@ -281,7 +281,7 @@ export default {
this
.
companyId
=
data
;
await
this
.
$nextTick
();
this
.
listenSider
();
await
this
.
getStatistic
();
//
await this.getStatistic();
await
this
.
handleQuery
();
await
this
.
association
(
this
.
$route
.
query
.
customerId
);
this
.
$refs
.
sidebar
.
getFinancial
(
data
);
...
...
@@ -309,7 +309,7 @@ export default {
if
(
result
.
code
==
200
)
{
if
(
result
.
data
.
totalCount
<
1
)
{
let
arr
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
$refs
.
sidebar
.
sideRoute
));
arr
[
1
].
children
[
5
].
children
[
2
].
disabled
=
true
;
arr
[
0
].
children
[
5
].
children
[
2
].
disabled
=
true
;
this
.
$refs
.
sidebar
.
sideRoute
=
arr
;
}
}
...
...
dsk-operate-ui/src/views/detail/party-a/internalCooperation/cooperationRecord.vue
View file @
ca986227
...
...
@@ -14,7 +14,7 @@
</tables>
<el-dialog
:title=
"dialogTitle"
:visible
.
sync=
"cooperationRecordDialog"
width=
"1100px"
@
close=
"dialogClose"
class=
"cooperation-record-dialog-container"
custom-class=
"cooperation-record-dialog"
>
class=
"cooperation-record-dialog-container"
custom-class=
"cooperation-record-dialog"
:destroy-on-close=
"true"
>
<div
class=
"cooperation-record-dialog-innner"
>
<dialog-head-form-new
title=
""
:form-data=
"dialogFormData"
:query-params=
"dialogQueryParams"
:total=
"dialogtableDataTotal"
:isExcel=
"false"
@
handle-search=
"dialogHandleSearch"
ref=
"dialogSearchFormNew"
/>
...
...
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