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
c87bb289
Commit
c87bb289
authored
Sep 25, 2020
by
张冬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
4938c450
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
143 additions
and
130 deletions
+143
-130
specialUpload.vue
src/components/Upload/specialUpload.vue
+5
-5
Sidebar.vue
src/components/common/Sidebar.vue
+118
-118
releaseProject.vue
src/pages/purchaser/bid/releaseProject/releaseProject.vue
+1
-1
bond.vue
src/pages/supply/bid/joinProject/bidStage/bond.vue
+16
-3
tenderFee.vue
src/pages/supply/bid/joinProject/bidStage/tenderFee.vue
+3
-3
No files found.
src/components/Upload/specialUpload.vue
View file @
c87bb289
...
...
@@ -20,7 +20,7 @@
<dataTable
:table-data=
"fileList"
:columns=
"columns"
:is-pageobj=
"false"
>
<el-table-column
slot=
"operate"
label=
"文件大小"
align=
"center"
fixed=
"right"
width=
"300"
>
<template
slot-scope=
"scope"
>
<div>
{{
getMb
(
scope
.
row
.
size
)
}}
M
</div>
<div>
{{
getMb
(
scope
.
row
.
size
)
}}
KB
</div>
</
template
>
</el-table-column>
<el-table-column
slot=
"operate"
label=
"价格"
align=
"center"
fixed=
"right"
width=
"300"
>
...
...
@@ -108,12 +108,12 @@ export default {
]
}
},
computed
:
{
methods
:
{
getMb
(
size
){
return
size
/
1024
/
1024
}
let
sieze1
=
size
/
1024
let
integer
=
sieze1
.
toFixed
(
0
)
return
integer
},
methods
:
{
emitInput
(
fileList
)
{
let
value
=
[]
for
(
let
i
=
0
;
i
<
fileList
.
length
;
i
++
)
{
...
...
src/components/common/Sidebar.vue
View file @
c87bb289
...
...
@@ -55,101 +55,10 @@ export default {
data
()
{
return
{
collapse
:
false
,
// items: [
// {
// icon: 'el-icon-lx-home',
// index: '/purchaser/Home',
// title: '首页'
// },
// {
// icon: 'el-icon-lx-home',
// index:"2",
// title: '招标管理',
// subs:[
// {
// icon: 'el-icon-lx-home',
// index: '/purchaser/bid/administrationList',
// title: '招标项目管理',
// }
// ]
// },
// {
// icon: 'el-icon-lx-cascades',
// title: '应收账款买断管理',
// index:'3',
// subs:[
// {
// icon: 'el-icon-lx-home',
// index: '/purchaser/buyOut/buyoutList',
// title: '应收账款买断列表',
// }
// ]
// },
// {
// icon: 'el-icon-lx-cascades',
// title: '供应商管理',
// index:'4',
// subs:[
// {
// icon: 'el-icon-lx-home',
// index: '/purchaser/supply/allSupplyList',
// title: '供应商列表',
// },
// {
// icon: 'el-icon-lx-home',
// index: '/purchaser/supply/mySupplyList',
// title: '我的供应商',
// }
// ]
// },
// {
// icon: 'el-icon-lx-copy',
// title: '组织管理',
// index:'5',
// subs:[
// {
// icon: 'el-icon-lx-home',
// index: '/purchaser/organization/informationSee',
// title: '单位信息',
// },
// {
// icon: 'el-icon-lx-home',
// index: '/purchaser/organization/memberManagement',
// title: '成员管理',
// },
// {
// icon: 'el-icon-lx-home',
// index: '/purchaser/organization/jurisdictionList',
// title: '角色管理',
// }
// ]
// },
// {
// icon: 'el-icon-lx-redpacket_fill',
// title: '系统管理',
// index:'6',
// subs:[
// {
// icon: 'el-icon-lx-home',
// index: '/purchaser/organization/jurisdictionList',
// title: 'CA绑定与解除',
// },
// {
// icon: 'el-icon-lx-home',
// index: '/purchaser/system/logList',
// title: '日志列表',
// },
// ]
// }
// ],
//供应商
items
:
[
{
icon
:
'el-icon-lx-home'
,
index
:
'/supply
/Home'
,
index
:
'/purchaser
/Home'
,
title
:
'首页'
},
{
...
...
@@ -159,13 +68,8 @@ export default {
subs
:[
{
icon
:
'el-icon-lx-home'
,
index
:
'/supply/bid/signupOnline'
,
title
:
'在线报名'
,
},
{
icon
:
'el-icon-lx-home'
,
index
:
'/supply/bid/joinProject/projectList'
,
title
:
'我参与的项目'
,
index
:
'/purchaser/bid/administrationList'
,
title
:
'招标项目管理'
,
}
]
},
...
...
@@ -176,11 +80,29 @@ export default {
subs
:[
{
icon
:
'el-icon-lx-home'
,
index
:
'/supply
/buyOut/buyoutList'
,
index
:
'/purchaser
/buyOut/buyoutList'
,
title
:
'应收账款买断列表'
,
}
]
},
{
icon
:
'el-icon-lx-cascades'
,
title
:
'供应商管理'
,
index
:
'4'
,
subs
:[
{
icon
:
'el-icon-lx-home'
,
index
:
'/purchaser/supply/allSupplyList'
,
title
:
'供应商列表'
,
},
{
icon
:
'el-icon-lx-home'
,
index
:
'/purchaser/supply/mySupplyList'
,
title
:
'我的供应商'
,
}
]
},
{
icon
:
'el-icon-lx-copy'
,
title
:
'组织管理'
,
...
...
@@ -188,17 +110,17 @@ export default {
subs
:[
{
icon
:
'el-icon-lx-home'
,
index
:
'/supply
/organization/informationSee'
,
index
:
'/purchaser
/organization/informationSee'
,
title
:
'单位信息'
,
},
{
icon
:
'el-icon-lx-home'
,
index
:
'/supply
/organization/memberManagement'
,
index
:
'/purchaser
/organization/memberManagement'
,
title
:
'成员管理'
,
},
{
icon
:
'el-icon-lx-home'
,
index
:
'/supply
/organization/jurisdictionList'
,
index
:
'/purchaser
/organization/jurisdictionList'
,
title
:
'角色管理'
,
}
]
...
...
@@ -210,29 +132,107 @@ export default {
subs
:[
{
icon
:
'el-icon-lx-home'
,
index
:
'/supply
/organization/jurisdictionList'
,
index
:
'/purchaser
/organization/jurisdictionList'
,
title
:
'CA绑定与解除'
,
},
{
icon
:
'el-icon-lx-home'
,
index
:
'/supply
/system/logList'
,
index
:
'/purchaser
/system/logList'
,
title
:
'日志列表'
,
},
]
},
{
icon
:
'el-icon-lx-cascades'
,
title
:
'制作投标文件'
,
index
:
'4'
,
subs
:[
{
icon
:
'el-icon-lx-home'
,
index
:
'/supply/markBid/markBid'
,
title
:
'制作投标文件'
,
}
]
},
]
],
//供应商
// items: [
// {
// icon: 'el-icon-lx-home',
// index: '/supply/Home',
// title: '首页'
// },
// {
// icon: 'el-icon-lx-home',
// index:"2",
// title: '招标管理',
// subs:[
// {
// icon: 'el-icon-lx-home',
// index: '/supply/bid/signupOnline',
// title: '在线报名',
// },
// {
// icon: 'el-icon-lx-home',
// index: '/supply/bid/joinProject/projectList',
// title: '我参与的项目',
// }
// ]
// },
// {
// icon: 'el-icon-lx-cascades',
// title: '应收账款买断管理',
// index:'3',
// subs:[
// {
// icon: 'el-icon-lx-home',
// index: '/supply/buyOut/buyoutList',
// title: '应收账款买断列表',
// }
// ]
// },
// {
// icon: 'el-icon-lx-copy',
// title: '组织管理',
// index:'5',
// subs:[
// {
// icon: 'el-icon-lx-home',
// index: '/supply/organization/informationSee',
// title: '单位信息',
// },
// {
// icon: 'el-icon-lx-home',
// index: '/supply/organization/memberManagement',
// title: '成员管理',
// },
// {
// icon: 'el-icon-lx-home',
// index: '/supply/organization/jurisdictionList',
// title: '角色管理',
// }
// ]
// },
// {
// icon: 'el-icon-lx-redpacket_fill',
// title: '系统管理',
// index:'6',
// subs:[
// {
// icon: 'el-icon-lx-home',
// index: '/supply/organization/jurisdictionList',
// title: 'CA绑定与解除',
// },
// {
// icon: 'el-icon-lx-home',
// index: '/supply/system/logList',
// title: '日志列表',
// },
// ]
// },
// {
// icon: 'el-icon-lx-cascades',
// title: '制作投标文件',
// index:'4',
// subs:[
// {
// icon: 'el-icon-lx-home',
// index: '/supply/markBid/markBid',
// title: '制作投标文件',
// }
// ]
// },
// ]
};
},
computed
:
{
...
...
src/pages/purchaser/bid/releaseProject/releaseProject.vue
View file @
c87bb289
...
...
@@ -56,7 +56,7 @@ export default {
},
data
()
{
return
{
activeIdx
:
2
,
activeIdx
:
3
,
allForm
:
{}
}
},
...
...
src/pages/supply/bid/joinProject/bidStage/bond.vue
View file @
c87bb289
...
...
@@ -104,6 +104,19 @@
Upload
},
data
()
{
let
checkPhone
=
async
(
rule
,
value
,
callback
)
=>
{
if
(
!
value
)
{
return
callback
(
new
Error
(
'手机号不能为空'
));
}
else
{
const
reg
=
/^1
[
3|4|5|7|8
][
0-9
]\d{8}
$/
console
.
log
(
reg
.
test
(
value
));
if
(
reg
.
test
(
value
))
{
callback
();
}
else
{
return
callback
(
new
Error
(
'请输入正确的手机号'
));
}
}
};
// 测试图片
let
checkimg
=
(
rule
,
value
,
callback
)
=>
{
if
(
this
.
ruleForm
.
voucherUrl
.
length
===
0
)
{
...
...
@@ -137,7 +150,7 @@
}],
companyPhone
:
[{
required
:
true
,
message
:
'请输入'
,
validator
:
checkPhone
,
trigger
:
'blur'
}],
...
...
@@ -163,8 +176,8 @@
const
valid
=
await
this
.
$refs
[
'ruleForm'
].
validate
()
if
(
valid
)
{
let
message
=
this
.
ruleForm
message
.
companyId
=
localStorage
.
getItem
(
"companyId"
),
message
.
projectId
=
localstorage
.
geti
tem
(
"projectId"
)
message
.
companyId
=
localStorage
.
getItem
(
"companyId"
)
message
.
projectId
=
localStorage
.
getI
tem
(
"projectId"
)
const
{
code
,
msg
...
...
src/pages/supply/bid/joinProject/bidStage/tenderFee.vue
View file @
c87bb289
...
...
@@ -112,7 +112,7 @@
</el-input>
</el-form-item>
<el-form-item
label=
"上传缴费凭证:"
prop=
"voucherUrl"
>
<Upload
:limit=
"5"
:max=
"
5
"
tip=
"完成上传5份文件,每份不超过10M"
@
input=
"getfile"
></Upload>
<Upload
:limit=
"5"
:max=
"
10
"
tip=
"完成上传5份文件,每份不超过10M"
@
input=
"getfile"
></Upload>
</el-form-item>
</div>
</div>
...
...
@@ -241,8 +241,8 @@
const
valid
=
await
this
.
$refs
[
'ruleForm'
].
validate
()
if
(
valid
)
{
let
message
=
this
.
ruleForm
message
.
companyId
=
localStorage
.
getItem
(
"companyId"
),
message
.
projectId
=
localstorage
.
geti
tem
(
"projectId"
)
message
.
companyId
=
localStorage
.
getItem
(
"companyId"
)
message
.
projectId
=
localStorage
.
getI
tem
(
"projectId"
)
const
{
code
,
msg
...
...
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