Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-purchase
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
张冬
web-purchase
Commits
0cd49410
Commit
0cd49410
authored
Oct 24, 2020
by
张冬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公司详情以及编辑
parent
8f38083a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
279 additions
and
286 deletions
+279
-286
list.js
src/api/common/list.js
+7
-0
organization.js
src/api/purchaser/organization.js
+10
-0
companyDetail.vue
src/components/detail/companyDetail.vue
+233
-0
notice.vue
src/pages/purchaser/bid/bidSure/notice.vue
+8
-3
workbench.vue
src/pages/purchaser/bid/workbench.vue
+6
-3
informationEdit.vue
src/pages/purchaser/organization/informationEdit.vue
+0
-0
informationSee.vue
src/pages/purchaser/organization/informationSee.vue
+13
-278
common.js
src/utils/common.js
+2
-2
No files found.
src/api/common/list.js
View file @
0cd49410
...
...
@@ -14,6 +14,13 @@ export function industryList() {
method
:
'get'
})
}
// 获取单位性质列表
export
function
companyNatureList
()
{
return
request
({
url
:
'/CompanyNatureList'
,
method
:
'get'
})
}
// 获取项目分类列表
export
function
projectClassifyList
()
{
return
request
({
...
...
src/api/purchaser/organization.js
View file @
0cd49410
...
...
@@ -71,3 +71,12 @@ export function roleMenus(companyType) {
method
:
'get'
})
}
// 公司信息编辑
export
function
companyedit
(
data
)
{
return
request
({
url
:
"company/edit"
,
method
:
'post'
,
data
:
data
})
}
\ No newline at end of file
src/components/detail/companyDetail.vue
0 → 100644
View file @
0cd49410
<
template
>
<div>
<div
class=
"detail-list"
>
<div>
<h5>
基本信息
</h5>
<ul
class=
"flex"
>
<li>
<div>
单位名称
</div>
<div>
{{
detail
.
companyName
}}
</div>
</li>
<li>
<div>
注册角色
</div>
<div>
{{
detail
.
type
==
'1'
?
'采购商'
:
'供应商'
}}
</div>
</li>
<li>
<div>
法人姓名
</div>
<div>
{{
detail
.
legalPersonName
}}
</div>
</li>
<li>
<div>
法人电话
</div>
<div>
{{
detail
.
legalPersonPhone
}}
</div>
</li>
<li>
<div>
统一社会信用代码
</div>
<div>
{{
detail
.
socialCode
}}
</div>
</li>
<li>
<div>
行政区域
</div>
<div>
{{
detail
.
companyName
}}
</div>
</li>
<li>
<div>
单位性质
</div>
<div>
{{
detail
.
companyNatureName
}}
</div>
</li>
<li>
<div>
单位所在地
</div>
<div>
{{
detail
.
location
}}
</div>
</li>
<li>
<div>
行业类型
</div>
<div>
{{
detail
.
industryName
}}
</div>
</li>
<li>
<div>
开户银行名称
</div>
<div>
{{
detail
.
bankName
}}
</div>
</li>
<li>
<div>
结算账户
</div>
<div>
{{
detail
.
bankAccount
}}
</div>
</li>
<li>
<div>
结算账户名
</div>
<div>
{{
detail
.
bankName
}}
</div>
</li>
<li>
<div>
注册资本(万元)
</div>
<div>
{{
detail
.
registeredCapital
}}
</div>
</li>
<li>
<div>
联系地址
</div>
<div>
{{
detail
.
contactAddress
}}
</div>
</li>
<li>
<div>
管理员姓名
</div>
<div>
{{
contacts
.
userName
}}
</div>
</li>
<li>
<div>
手机号
</div>
<div>
{{
contacts
.
phoneNumber
}}
</div>
</li>
<li>
<div>
身份证
</div>
<div>
{{
contacts
.
idNumber
}}
</div>
</li>
<li>
<div>
电子邮箱
</div>
<div>
{{
contacts
.
email
}}
</div>
</li>
</ul>
<div
class=
"detail-item"
>
<div>
经营范围
</div>
<div>
{{
detail
.
businessScope
}}
</div>
</div>
<div
class=
"detail-item"
>
<div>
法人身份证正反面
</div>
<div
class=
"flex"
>
<el-image
v-for=
"(item, index) in Card"
:src=
"item"
:key=
"index"
style=
"margin-right: 20px; height: 200px; width: 200px"
fit=
"cover"
:preview-src-list=
"Card"
></el-image>
</div>
</div>
<div
class=
"detail-item"
>
<div>
三证合一扫描件
</div>
<el-image
v-for=
"(item, index) in threeCard"
:src=
"item"
:key=
"index"
style=
"margin-right: 20px; height: 200px; width: 200px"
fit=
"cover"
:preview-src-list=
"threeCard"
></el-image>
</div>
<div
class=
"detail-item"
>
<div>
其他资料
</div>
<div
class=
"flex-between pdf"
>
<a
:href=
"item.fileUrl"
v-for=
"(item, index) in elseFile"
:key=
"index"
>
{{
item
.
fileName
}}
</a>
</div>
</div>
</div>
</div>
</div>
</
template
>
<
script
>
import
{
companyDetail
}
from
'@api/common/list'
;
export
default
{
components
:
{},
data
()
{
return
{
detail
:
''
,
breads
:
[
'查看基本信息'
,
'企业资质文件'
],
threeCard
:
[],
elseFile
:
[],
contacts
:
''
,
Card
:
[]
};
},
methods
:
{
edit
()
{
this
.
$router
.
push
(
'/purchaser/organization/informationEdit'
);
},
async
getcompanyDetail
()
{
try
{
let
companyId
=
localStorage
.
getItem
(
'companyId'
);
const
{
data
,
code
}
=
await
companyDetail
(
companyId
);
if
(
code
===
200
)
{
for
(
let
item
of
data
.
fileList
)
{
if
(
item
.
type
==
1
||
item
.
type
==
2
)
{
this
.
Card
.
push
(
item
.
fileUrl
);
}
else
if
(
item
.
type
==
3
)
{
this
.
threeCard
.
push
(
item
.
fileUrl
);
}
else
if
(
item
.
type
==
4
)
{
this
.
elseFile
.
push
(
item
);
}
}
this
.
contacts
=
data
.
contacts
;
this
.
detail
=
data
;
}
}
catch
(
e
)
{
console
.
log
(
e
);
}
}
},
created
()
{
this
.
getcompanyDetail
();
}
};
</
script
>
<
style
scoped
>
.detail-list
>
div
>
ul
>
li
{
margin-right
:
150px
;
margin-bottom
:
50px
;
width
:
180px
;
}
.detail-list
>
div
>
ul
{
flex-wrap
:
wrap
;
margin-left
:
30px
;
margin-top
:
20px
;
}
.detail-head
{
margin-left
:
30px
;
padding-top
:
10px
;
}
.detail-head
>
h3
{
font-weight
:
bold
;
margin-top
:
10px
;
margin-bottom
:
10px
;
}
.detail-list
{
box-sizing
:
border-box
;
padding-top
:
20px
;
background-color
:
#f0f2f5
;
margin-top
:
10px
;
}
.detail-list
>
div
{
background-color
:
#ffff
;
padding-bottom
:
20px
;
}
.detail-list
h5
{
font-weight
:
bold
;
height
:
50px
;
line-height
:
50px
;
border-bottom
:
1px
solid
#f0f2f5
;
box-sizing
:
border-box
;
padding-left
:
30px
;
}
.detail-item
{
margin-left
:
30px
;
margin-bottom
:
30px
;
}
.detail-item
>
div
:first-child
{
margin-bottom
:
10px
;
}
.pdf
{
/* width: 170px; */
}
.pdf
>
div
:nth-child
(
2
),
.pdf
>
div
:last-child
{
width
:
50px
;
height
:
30px
;
text-align
:
center
;
line-height
:
30px
;
border-radius
:
10px
;
border
:
1px
solid
#000
;
}
</
style
>
\ No newline at end of file
src/pages/purchaser/bid/bidSure/notice.vue
View file @
0cd49410
...
...
@@ -8,7 +8,8 @@
<div>
拒绝原因:
{{
ruleForm
.
reason
}}
</div>
</div>
</div>
<div
class=
"content"
>
<winNotice
v-if=
"type == 2"
></winNotice>
<div
class=
"content"
v-else
>
<div
class=
"message form"
>
<div
class=
"flex-between"
>
<div>
项目编号:
{{
projectCode
}}
</div>
...
...
@@ -48,7 +49,7 @@
</div>
<div
class=
"bottomButton flex-center"
>
<el-button
@
click=
"back"
>
返回
</el-button>
<el-button
type=
"primary"
@
click=
"submitData"
v-if=
"type
!== 2"
>
提交审批
</el-button>
<el-button
type=
"primary"
@
click=
"submitData"
v-if=
"type!== 2"
>
提交审批
</el-button>
</div>
</div>
<el-dialog
:visible
.
sync=
"dialogFormVisible"
title=
"收货地址"
width=
"30%"
>
...
...
@@ -75,12 +76,16 @@ import 'quill/dist/quill.bubble.css';
import
dataTable
from
'@components/nopageTable.vue'
;
import
dataBreadcrumb
from
'@components/dataBreadcrumb.vue'
;
import
singleUpload
from
'@components/Upload/Upload.vue'
;
import
winNotice
from
'@components/detail/winNotice.vue'
;
export
default
{
components
:
{
dataTable
,
dataBreadcrumb
,
singleUpload
,
quillEditor
quillEditor
,
winNotice
},
data
()
{
return
{
...
...
src/pages/purchaser/bid/workbench.vue
View file @
0cd49410
...
...
@@ -248,7 +248,7 @@ export default {
this
.
$router
.
go
(
-
1
);
},
jump
(
mods
)
{
if
(
mods
.
bright
)
{
//
if (mods.bright) {
if
(
mods
.
label
==
'项目终止'
)
{
this
.
$confirm
(
'确定要终止吗?'
,
'提示'
,
{
type
:
'warning'
...
...
@@ -273,7 +273,7 @@ export default {
}
else
{
this
.
$router
.
push
(
mods
.
url
);
}
}
//
}
},
async
getprojectConsole
()
{
try
{
...
...
@@ -282,7 +282,8 @@ export default {
message
.
type
=
1
;
const
{
data
,
msg
,
code
}
=
await
projectConsole
(
message
);
if
(
code
==
200
)
{
for
(
let
item
of
this
.
states
)
{
let
states
=
this
.
states
for
(
let
item
of
states
)
{
for
(
let
item1
of
item
.
modulars
)
{
for
(
let
item2
of
data
)
{
if
(
item1
.
id
==
item2
.
buttonId
)
{
...
...
@@ -304,6 +305,8 @@ export default {
}
}
}
this
.
states
=
states
console
.
log
(
this
.
states
)
this
.
remark
=
data
[
0
].
remark
;
}
else
{
this
.
$message
.
error
(
msg
);
...
...
src/pages/purchaser/organization/informationEdit.vue
View file @
0cd49410
This diff is collapsed.
Click to expand it.
src/pages/purchaser/organization/informationSee.vue
View file @
0cd49410
...
...
@@ -5,299 +5,34 @@
<h3>
查看
</h3>
<div>
查看基本信息、企业资质文件
</div>
</div>
<div
class=
"detail-list"
>
<div>
<h5>
基本信息
</h5>
<ul
class=
"flex"
>
<li>
<div>
单位名称
</div>
<div>
{{
detail
.
companyName
}}
</div>
</li>
<li>
<div>
注册角色
</div>
<div>
{{
detail
.
type
==
"1"
?
"采购商"
:
"供应商"
}}
</div>
</li>
<li>
<div>
法人姓名
</div>
<div>
{{
detail
.
legalPersonName
}}
</div>
</li>
<li>
<div>
法人电话
</div>
<div>
{{
detail
.
legalPersonPhone
}}
</div>
</li>
<li>
<div>
统一社会信用代码
</div>
<div>
{{
detail
.
socialCode
}}
</div>
</li>
<li>
<div>
行政区域
</div>
<div>
{{
detail
.
companyName
}}
</div>
</li>
<li>
<div>
单位性质
</div>
<div>
{{
detail
.
companyNature
}}
</div>
</li>
<li>
<div>
单位所在地
</div>
<div>
{{
detail
.
location
}}
</div>
</li>
<li>
<div>
行业类型
</div>
<div>
222
</div>
</li>
<li>
<div>
开户银行名称
</div>
<div>
{{
detail
.
bankName
}}
</div>
</li>
<li>
<div>
结算账户
</div>
<div>
{{
detail
.
bankAccount
}}
</div>
</li>
<li>
<div>
结算账户名
</div>
<div>
{{
detail
.
bankName
}}
</div>
</li>
<li>
<div>
注册资本(万元)
</div>
<div>
{{
detail
.
registeredCapital
}}
</div>
</li>
<li>
<div>
联系地址
</div>
<div>
{{
detail
.
contactAddress
}}
</div>
</li>
<li>
<div>
管理员姓名
</div>
<div>
{{
detail
.
companyName
}}
</div>
</li>
<li>
<div>
手机号
</div>
<div>
{{
detail
.
legalPersonPhone
}}
</div>
</li>
<li>
<div>
身份证
</div>
<div>
222
</div>
</li>
<li>
<div>
电子邮箱
</div>
<div>
{{
detail
.
companyName
}}
</div>
</li>
</ul>
<div
class=
"detail-item"
>
<div>
经营范围
</div>
<div>
一般项目:技术服务,技术开发
</div>
</div>
<div
class=
"detail-item"
>
<div>
法人身份证正反面
</div>
<el-image
v-for=
"(item,index) in imglist"
:src=
"item.src"
:key=
"index"
style=
"margin-right:20px"
></el-image>
</div>
<div
class=
"detail-item"
>
<div>
三证合一扫描件
</div>
<el-image
v-for=
"(item,index) in imglist"
:src=
"item.src"
:key=
"index"
style=
"margin-right:20px"
></el-image>
</div>
<div
class=
"detail-item"
>
<div>
其他资料
</div>
<div
class=
"flex-between pdf"
>
<div>
pdf文件
</div>
<div>
预览
</div>
<div>
下载
</div>
</div>
</div>
</div>
</div>
<div
class=
"operation"
>
<button
@
click=
"edit"
>
编辑
</button>
<companyDetail></companyDetail>
<div
class=
"bottomButton"
>
<el-button
@
click=
"edit"
>
编辑
</el-button>
</div>
</div>
</
template
>
<
script
>
import
{
companyDetail
}
from
'@api/common/list'
import
dataBreadcrumb
from
'@components/dataBreadcrumb.vue'
export
default
{
import
companyDetail
from
'@components/detail/companyDetail.vue'
;
import
dataBreadcrumb
from
'@components/dataBreadcrumb.vue'
;
export
default
{
components
:
{
dataBreadcrumb
dataBreadcrumb
,
companyDetail
},
data
()
{
return
{
detail
:
""
,
breads
:
[
'查看基本信息'
,
'企业资质文件'
],
informationList
:
[{
title
:
'单位名称'
,
message
:
'腾讯'
},
{
title
:
'注册角色'
,
message
:
'采购商'
},
{
title
:
'法人姓名'
,
message
:
'谢墩满'
},
{
title
:
'法人电话'
,
message
:
'1784574567'
},
{
title
:
'统一社会信用代码'
,
message
:
'91330104MA27YU1X0K'
},
{
title
:
'行政区域'
,
message
:
'浙江省 杭州市 滨江区'
},
{
title
:
'单位性质'
,
message
:
'有限责任公司'
},
{
title
:
'单位所在地'
,
message
:
'浙江 温州'
},
{
title
:
'行业类型'
,
message
:
'娱乐业'
},
{
title
:
'开户银行名称'
,
message
:
'农行'
},
{
title
:
'结算账号'
,
message
:
'34567567856789'
},
{
title
:
'结算账户名'
,
message
:
'谢天'
},
{
title
:
'注册资本(万元)'
,
message
:
'100'
},
{
title
:
'联系地址'
,
message
:
'浙江温州'
},
{
title
:
'管理员姓名'
,
message
:
'谢'
},
{
title
:
'手机号'
,
message
:
'18957015590'
},
{
title
:
'身份证'
,
message
:
'456789056789078'
},
{
title
:
'电子邮箱'
,
message
:
'34567890@qq.com'
}],
imglist
:
[{
src
:
require
(
'@static/images/img.png'
)
},
{
src
:
require
(
'@static/images/img.png'
)
}]
}
breads
:
[
'查看基本信息'
,
'企业资质文件'
]
};
},
methods
:
{
edit
()
{
this
.
$router
.
push
(
'/purchaser/organization/informationEdit'
)
},
async
getcompanyDetail
()
{
try
{
let
companyId
=
localStorage
.
getItem
(
"companyId"
)
const
{
data
,
code
}
=
await
companyDetail
(
companyId
)
if
(
code
===
200
)
{
this
.
detail
=
data
}
}
catch
(
e
)
{
console
.
log
(
e
)
}
this
.
$router
.
push
(
'/purchaser/organization/informationEdit'
);
}
},
created
()
{
this
.
getcompanyDetail
()
}
}
created
()
{}
};
</
script
>
<
style
scoped
>
.detail-list
>
div
>
ul
>
li
{
margin-right
:
150px
;
margin-bottom
:
50px
;
width
:
180px
}
.detail-list
>
div
>
ul
{
flex-wrap
:
wrap
;
margin-left
:
30px
;
margin-top
:
20px
;
}
.detail-head
{
margin-left
:
30px
;
padding-top
:
10px
;
}
.detail-head
>
h3
{
font-weight
:
bold
;
margin-top
:
10px
;
margin-bottom
:
10px
;
}
.detail-list
{
box-sizing
:
border-box
;
padding-top
:
20px
;
background-color
:
#F0F2F5
;
margin-top
:
10px
;
}
.detail-list
>
div
{
background-color
:
#FFFF
;
padding-bottom
:
20px
;
}
.detail-list
h5
{
font-weight
:
bold
;
height
:
50px
;
line-height
:
50px
;
border-bottom
:
1px
solid
#F0F2F5
;
box-sizing
:
border-box
;
padding-left
:
30px
;
}
.detail-item
{
margin-left
:
30px
;
margin-bottom
:
30px
;
}
.detail-item
>
div
:first-child
{
margin-bottom
:
10px
;
}
.pdf
{
width
:
170px
}
.pdf
>
div
:nth-child
(
2
),
.pdf
>
div
:last-child
{
width
:
50px
;
height
:
30px
;
text-align
:
center
;
line-height
:
30px
;
border-radius
:
10px
;
border
:
1px
solid
#000
}
.operation
{
margin-bottom
:
10px
;
display
:
flex
;
justify-content
:
flex-end
;
}
.operation
>
button
{
width
:
50px
;
height
:
30px
;
border-radius
:
2px
;
background
:
#fff
;
border
:
1px
solid
#999
;
}
.flex-button
>
button
{
margin-left
:
10px
;
}
.flex-button
>
button
:last-child
{
background
:
#28e
;
color
:
#fff
}
</
style
>
src/utils/common.js
View file @
0cd49410
...
...
@@ -18,8 +18,8 @@ export function getSearchString(key) {
export
function
down
(
url
)
{
window
.
open
(
url
)
}
//
export let requestUrl = 'http://192.168.3.35:8085';
export
let
requestUrl
=
'http://60.205.251.80:8082'
;
export
let
requestUrl
=
'http://192.168.3.35:8085'
;
//
export let requestUrl = 'http://60.205.251.80:8082';
// export let homeUrl = 'http://localhost:3000';
...
...
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