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
36aa3a61
Commit
36aa3a61
authored
Sep 23, 2020
by
张冬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决接口,设置输入框限制
parent
283a02b1
Hide whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
399 additions
and
337 deletions
+399
-337
list.js
src/api/common/list.js
+10
-0
bid.js
src/api/supply/bid.js
+1
-1
specialUpload.vue
src/components/Upload/specialUpload.vue
+6
-1
Header.vue
src/components/common/Header.vue
+3
-3
Sidebar.vue
src/components/common/Sidebar.vue
+180
-114
dataForm.vue
src/components/dataForm.vue
+1
-1
dataTable.vue
src/components/dataTable.vue
+1
-1
nopageTable.vue
src/components/nopageTable.vue
+1
-1
queryTable.vue
src/components/queryTable.vue
+1
-1
main.js
src/main.js
+0
-77
add.vue
src/pages/purchaser/bid/bidEvaluation/review/add.vue
+3
-3
review.vue
src/pages/purchaser/bid/bidEvaluation/review/review.vue
+5
-5
bidOpenhal.vue
src/pages/purchaser/bid/bidOpen/bidOpenhal.vue
+2
-2
detail.vue
src/pages/purchaser/bid/bidStage/bondList/detail.vue
+13
-13
changeNotice.vue
src/pages/purchaser/bid/bidStage/changeList/changeNotice.vue
+1
-1
propose.vue
src/pages/purchaser/bid/bidStage/clearManagement/propose.vue
+1
-1
reply.vue
src/pages/purchaser/bid/bidStage/clearManagement/reply.vue
+1
-1
failNotice.vue
src/pages/purchaser/bid/bidStage/failList/failNotice.vue
+1
-1
edit.vue
src/pages/purchaser/bid/bidSure/bidResult/edit.vue
+1
-1
contract.vue
src/pages/purchaser/bid/bidSure/contract.vue
+8
-8
determine.vue
src/pages/purchaser/bid/bidSure/determine.vue
+1
-1
notice.vue
src/pages/purchaser/bid/bidSure/notice.vue
+3
-3
publicity.vue
src/pages/purchaser/bid/bidSure/publicity.vue
+3
-3
message.vue
src/pages/purchaser/bid/releaseProject/message.vue
+43
-19
releaseProject.vue
src/pages/purchaser/bid/releaseProject/releaseProject.vue
+1
-1
bidInvitation.vue
src/pages/purchaser/bid/reviewed/bidInvitation.vue
+1
-1
inquiryAnnouncement.vue
src/pages/purchaser/bid/reviewed/inquiryAnnouncement.vue
+12
-12
tenderAnnouncement.vue
src/pages/purchaser/bid/reviewed/tenderAnnouncement.vue
+1
-1
home.vue
src/pages/purchaser/home/home.vue
+0
-1
informationEdit.vue
src/pages/purchaser/organization/informationEdit.vue
+19
-19
memberManagement.vue
src/pages/purchaser/organization/memberManagement.vue
+4
-4
signUp.vue
src/pages/supply/bid/signupOnline/signUp.vue
+42
-24
signupList.vue
src/pages/supply/bid/signupOnline/signupList.vue
+24
-8
index.js
src/router/index.js
+1
-0
request.js
src/utils/request.js
+4
-4
No files found.
src/api/common/list.js
View file @
36aa3a61
...
...
@@ -85,4 +85,13 @@ export function userInfo() {
url
:
"sys/user/userInfo"
,
method
:
'get'
})
}
//得到用户的基本信息(身份,姓名,手机,邮箱)
export
function
userphone
(
id
)
{
return
request
({
url
:
`sys/user/userBasicInfo?id=
${
id
}
`
,
method
:
'get'
})
}
\ No newline at end of file
src/api/supply/bid.js
View file @
36aa3a61
...
...
@@ -15,7 +15,7 @@ export function biddingDetail(id) {
//供应商报名
export
function
projectapply
(
data
)
{
return
request
({
url
:
"
/bidder/project
/apply"
,
url
:
"
bidder-apply
/apply"
,
method
:
'post'
,
data
:
data
})
...
...
src/components/Upload/specialUpload.vue
View file @
36aa3a61
...
...
@@ -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>
{{
scope
.
row
.
size
}}
KB
</div>
<div>
{{
getMb
(
scope
.
row
.
size
)
}}
M
</div>
</
template
>
</el-table-column>
<el-table-column
slot=
"operate"
label=
"价格"
align=
"center"
fixed=
"right"
width=
"300"
>
...
...
@@ -108,6 +108,11 @@ export default {
]
}
},
computed
:{
getMb
(
size
){
return
size
/
1024
/
1024
}
},
methods
:
{
emitInput
(
fileList
)
{
let
value
=
[]
...
...
src/components/common/Header.vue
View file @
36aa3a61
...
...
@@ -76,7 +76,7 @@ export default {
if
(
code
==
200
){
console
.
log
(
data
)
this
.
companyName
=
data
.
companyName
;
localStorage
.
setItem
(
"company
id"
,
data
.
companyi
d
)
localStorage
.
setItem
(
"company
Id"
,
data
.
companyI
d
)
let
userInfo
=
JSON
.
stringify
(
data
)
localStorage
.
setItem
(
"userInfo"
,
userInfo
)
}
...
...
@@ -85,8 +85,8 @@ export default {
}
},
join
(){
window
.
location
.
href
=
"http://192.168.200.201:8081/"
//
window.location.href=" http://localhost:3000/"
//
window.location.href="http://192.168.200.201:8081/"
window
.
location
.
href
=
" http://localhost:3000/"
},
// 用户名下拉菜单选择事件
handleCommand
(
command
)
{
...
...
src/components/common/Sidebar.vue
View file @
36aa3a61
...
...
@@ -56,120 +56,186 @@ export default {
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: 'dashboard',
// title: '系统首页'
// },
// {
// icon: 'el-icon-lx-cascades',
// index: 'formlist',
// title: '超级表单'
// },
// {
// icon: 'el-icon-lx-cascades',
// index: 'CRM',
// title: 'CRM'
// },
// {
// icon: 'el-icon-lx-emoji',
// index: 'icon',
// title: '自定义图标'
// },
// {
// icon: 'el-icon-lx-cascades',
// index: 'table',
// title: '基础表格'
// }
// ]
{
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',
// 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:'3',
// subs:[
// {
// icon: 'el-icon-lx-home',
// index: '/supply/markBid/markBid',
// title: '制作投标文件',
// }
// ]
// },
// ]
};
},
computed
:
{
...
...
src/components/dataForm.vue
View file @
36aa3a61
...
...
@@ -2,7 +2,7 @@
<el-form
ref=
"form"
:size=
"size"
:label-width=
"labelWidth"
:inline=
"isInline"
:model=
"searchData"
:rules=
"rules"
>
<el-form-item
v-for=
"item in searchForm"
:label=
"item.label"
:key=
"item.prop"
:prop=
"item.prop"
>
<!-- 输入框 -->
<el-input
v-if=
"item.type==='input'"
v-model
=
"searchData[item.prop]"
:size=
"size"
:placeholder=
"item.placeholder"
:style=
"
{width: item.width}" :disabled="item.disabled" clearable
>
</el-input>
<el-input
v-if=
"item.type==='input'"
v-model
.
trim=
"searchData[item.prop]"
:size=
"size"
:placeholder=
"item.placeholder"
:style=
"
{width: item.width}" :disabled="item.disabled" clearable maxlength="30"
>
</el-input>
<!-- 下拉框 -->
<el-select
v-if=
"item.type==='select'"
:placeholder=
"item.placeholder"
v-model=
"searchData[item.prop]"
:style=
"
{width: item.width}" :size="size" clearable @change="item.change(searchData[item.prop])">
<el-option
v-for=
"op in item.options"
:label=
"op.name"
:value=
"op.id"
:key=
"op.id"
></el-option>
...
...
src/components/dataTable.vue
View file @
36aa3a61
...
...
@@ -8,7 +8,7 @@
<el-form
ref=
"checkData"
:size=
"size"
:label-width=
"labelWidth"
:model=
"objInput"
inline
>
<el-form-item
v-for=
"(item,index) in checklist"
:label=
"item.title"
:key=
"index"
:prop=
"item.model"
>
<!-- 输入框 -->
<el-input
v-if=
"item.type==='input'"
v-model
=
"objInput[item.model]"
:size=
"size"
:style=
"
{width: item.width}" :disabled="item.disabled" placeholder="请输入" clearable
>
</el-input>
<el-input
v-if=
"item.type==='input'"
v-model
.
trim=
"objInput[item.model]"
:size=
"size"
:style=
"
{width: item.width}" :disabled="item.disabled" placeholder="请输入" clearable maxlength="30"
>
</el-input>
<!-- 下拉框 -->
<el-select
v-if=
"item.type==='select'"
v-model=
"objInput[item.model]"
:style=
"
{width: item.width}" :size="size" placeholder="请选择" clearable @change="item.change(checklist[item.prop])">
<el-option
v-for=
"op in item.selectlist"
:label=
"op.label"
:value=
"op.value"
:key=
"op.value"
></el-option>
...
...
src/components/nopageTable.vue
View file @
36aa3a61
...
...
@@ -8,7 +8,7 @@
<el-form
ref=
"checkData"
:size=
"size"
:label-width=
"labelWidth"
:model=
"objInput"
inline
>
<el-form-item
v-for=
"(item,index) in checklist"
:label=
"item.title"
:key=
"index"
:prop=
"item.model"
>
<!-- 输入框 -->
<el-input
v-if=
"item.type==='input'"
v-model
=
"objInput[item.model]"
:size=
"size"
:style=
"
{width: item.width}" :disabled="item.disabled" placeholder="请输入" clearable
>
</el-input>
<el-input
v-if=
"item.type==='input'"
v-model
.
trim=
"objInput[item.model]"
:size=
"size"
:style=
"
{width: item.width}" :disabled="item.disabled" placeholder="请输入" clearable maxlength="30"
>
</el-input>
<!-- 下拉框 -->
<el-select
v-if=
"item.type==='select'"
v-model=
"objInput[item.model]"
:style=
"
{width: item.width}" :size="size" placeholder="请选择" clearable @change="item.change(checklist[item.prop])">
<el-option
v-for=
"op in item.selectlist"
:label=
"op.label"
:value=
"op.id"
:key=
"op.id"
></el-option>
...
...
src/components/queryTable.vue
View file @
36aa3a61
...
...
@@ -8,7 +8,7 @@
<el-form
ref=
"checkData"
:size=
"size"
:label-width=
"labelWidth"
:model=
"objInput"
inline
>
<el-form-item
v-for=
"(item,index) in checklist"
:label=
"item.title"
:key=
"index"
:prop=
"item.model"
>
<!-- 输入框 -->
<el-input
v-if=
"item.type==='input'"
v-model
=
"objInput[item.model]"
:size=
"size"
:style=
"
{width: item.width}" :disabled="item.disabled" placeholder="请输入" clearable
>
</el-input>
<el-input
v-if=
"item.type==='input'"
v-model
.
trim=
"objInput[item.model]"
:size=
"size"
:style=
"
{width: item.width}" :disabled="item.disabled" placeholder="请输入" clearable maxlength="30"
>
</el-input>
<!-- 下拉框 -->
<el-select
v-if=
"item.type==='select'"
v-model=
"objInput[item.model]"
:style=
"
{width: item.width}" :size="size" placeholder="请选择" clearable @change="item.change(checklist[item.prop])">
<el-option
v-for=
"op in item.selectlist"
:label=
"op.label"
:value=
"op.id"
:key=
"op.id"
></el-option>
...
...
src/main.js
View file @
36aa3a61
...
...
@@ -24,7 +24,6 @@ const i18n = new VueI18n({
locale
:
'zh'
,
messages
});
new
Vue
({
...
...
@@ -34,78 +33,3 @@ new Vue({
render
:
h
=>
h
(
App
)
}).
$mount
(
'#app'
);
// 使用钩子函数对路由进行权限跳转
// router.beforeEach((to, from, next) => {
// document.title = `${to.meta.title} | vue-manage-system`;
// const role = localStorage.getItem('user');
// console.log(role)
// if (!role && to.path !== '/login') {
// next('/login');
// } else if (to.meta.permission) {
// // 如果是管理员权限则可进入,这里只是简单的模拟管理员权限而已
// role === 'admin' ? next() : next('/403');
// } else {
// // 简单的判断IE10及以下不进入富文本编辑器,该组件不兼容
// if (navigator.userAgent.indexOf('MSIE') > -1 && to.path === '/editor') {
// Vue.prototype.$alert('vue-quill-editor组件不兼容IE10及以下浏览器,请使用更高版本的浏览器查看', '浏览器不兼容通知', {
// confirmButtonText: '确定'
// });
// } else {
// next();
// }
// }
// });
// router.beforeEach((to, from, next) => {
// document.title = `${to.meta.title} | vue-manage-system`;
// const role = localStorage.getItem('user');
// console.log(role)
// if (!role && to.path !== '/login') {
// next('/login');
// let newTime = parseInt(new Date().getTime() / 1000);
// let rand_str = Math.floor(Math.random() * 99999);
// this.$api
// .getUserInfo({
// signature: md5.hexMD5(
// `app_id=62720965&app_secret=LAsBNSOcufUjeZnKafVKLlmVzGkefmZb&device_id=${rand_str}&rand_str=${rand_str}×tamp=${newTime}`
// ),
// app_id: 62720965,
// device_id: rand_str,
// timestamp: newTime,
// rand_str: rand_str
// })
// .then(res => {
// console.log(res);
// if (res.code == '1') {
// this.access_token = res.data.access_token;
// localStorage.setItem('token', this.access_token);
// }
// });
// } else {
// next('/dashboard');
// }
// });
//路由守卫
// router.beforeEach((to, from, next)=>{
// //路由中设置的needLogin字段就在to当中
// console.log(window.localStorage);
// if(window.localStorage.user){
// // console.log(to.path) //每次跳转的路径
// if(to.path === '/'){
// //登录状态下 访问login.vue页面 会跳到index.vue
// next({path: '/dashboard'});
// }else{
// next();
// }
// }else{
// // 如果没有session ,访问任何页面。都会进入到 登录页
// if (to.path === '/') { // 如果是登录页面的话,直接next() -->解决注销后的循环执行bug
// next();
// } else { // 否则 跳转到登录页面
// next({ path: '/' });
// }
// }
// })
\ No newline at end of file
src/pages/purchaser/bid/bidEvaluation/review/add.vue
View file @
36aa3a61
...
...
@@ -13,10 +13,10 @@
<div
class=
"form"
>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
:rules=
"rules"
label-width=
"160px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"澄清质询标题"
prop=
"title"
>
<el-input
v-model
=
"ruleForm.title
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.title"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"澄清质询类型"
prop=
"type"
>
<el-input
v-model
=
"ruleForm.type
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.type"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"澄清质询回复截止时间"
prop=
"cutOffTime"
>
<el-date-picker
v-model=
"ruleForm.cutOffTime"
type=
"datetime"
placeholder=
"选择日期时间"
>
...
...
@@ -26,7 +26,7 @@
<el-radio
v-model=
"ruleForm.CompanyId"
v-for=
"(item,index) in CompanyIds"
:label=
"item.id"
>
{{
item
.
name
}}
</el-radio>
</el-form-item>
<el-form-item
label=
"澄清质询问题内容"
prop=
"content"
>
<el-input
v-model
=
"ruleForm.content"
:rows=
"2"
type=
"textarea
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.content"
:rows=
"2"
type=
"textarea"
maxlength=
"300
"
></el-input>
</el-form-item>
<el-form-item
label=
"澄清质询问题文件"
prop=
"file"
>
<singleUpload
:limit=
"1"
:max=
"10"
tips=
"最多上传一份,大小不超过10M."
@
input=
"getfile"
></singleUpload>
...
...
src/pages/purchaser/bid/bidEvaluation/review/review.vue
View file @
36aa3a61
...
...
@@ -124,19 +124,19 @@
<el-dialog
title=
"编辑"
:visible
.
sync=
"isRank"
>
<el-form
:model=
"rankForm"
>
<el-form-item
label=
"投标价"
>
<el-input
v-model
=
"rankForm.price
"
></el-input>
<el-input
v-model
.
trim=
"rankForm.price"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"商务评分"
>
<el-input
v-model
=
"rankForm.commercialGrade
"
></el-input>
<el-input
v-model
.
trim=
"rankForm.commercialGrade"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"技术评分"
>
<el-input
v-model
=
"rankForm.skillGrade
"
></el-input>
<el-input
v-model
.
trim=
"rankForm.skillGrade"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"价格评分"
>
<el-input
v-model
=
"rankForm.priceGrade
"
></el-input>
<el-input
v-model
.
trim=
"rankForm.priceGrade"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"评标价 "
>
<el-input
v-model
=
"rankForm.evaluationPrice
"
></el-input>
<el-input
v-model
.
trim=
"rankForm.evaluationPrice"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"是否中标候选人"
>
<el-radio
v-model=
"rankForm.winPerson"
:label=
"true"
>
是
</el-radio>
...
...
src/pages/purchaser/bid/bidOpen/bidOpenhal.vue
View file @
36aa3a61
...
...
@@ -59,7 +59,7 @@
</div>
</li>
</ul>
<el-input
placeholder=
"请输入内容"
v-model
=
"content"
clearable
@
keyup
.
enter
.
native=
"send
"
>
<el-input
placeholder=
"请输入内容"
v-model
.
trim=
"content"
clearable
@
keyup
.
enter
.
native=
"send"
maxlength=
"30
"
>
</el-input>
</div>
</div>
...
...
@@ -142,7 +142,7 @@
<div>
{{userName}}
</div>
</el-form-item>
<el-form-item
label=
"流标原因"
prop=
"reason"
>
<el-input
v-model
=
"form.reason
"
></el-input>
<el-input
v-model
.
trim=
"form.reason"
maxlength=
"300"
type=
"textarea"
:rows=
"2
"
></el-input>
</el-form-item>
<el-form-item
label=
"上传附件"
>
<singleUpload
:limit=
"1"
:max=
"10"
tip=
"支持上传1份附件,不差过10M."
@
input=
"getfile"
></singleUpload>
...
...
src/pages/purchaser/bid/bidStage/bondList/detail.vue
View file @
36aa3a61
...
...
@@ -13,28 +13,28 @@
<div
class=
"message-form"
>
<div>
<el-form-item
label=
"单位名称"
prop=
"companyName"
>
<el-input
v-model=
"ruleForm.companyName"
disabled
></el-input>
<el-input
v-model
.
trim
=
"ruleForm.companyName"
disabled
></el-input>
</el-form-item>
</div>
<div
class=
"flex-between"
>
<el-form-item
label=
"联系人:"
prop=
"projectCode"
>
<el-input
v-model
=
"ruleForm.projectCode"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.projectCode"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"固定电话:"
prop=
"companyTel"
>
<el-input
v-model
=
"ruleForm.companyTel"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.companyTel"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
</div>
<div
class=
"flex-between"
>
<el-form-item
label=
"手机:"
prop=
"companyPhone"
>
<el-input
v-model
=
"ruleForm.companyPhone"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.companyPhone"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"传真:"
prop=
"companyFacsimile"
>
<el-input
v-model
=
"ruleForm.companyFacsimile"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.companyFacsimile"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
</div>
<div>
<el-form-item
label=
"邮箱:"
prop=
"companyEmail"
>
<el-input
v-model
=
"ruleForm.companyEmail"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.companyEmail"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
</div>
</div>
...
...
@@ -44,23 +44,23 @@
<div
class=
"message-form"
>
<div
class=
"flex-between"
>
<el-form-item
label=
"收件人名称:"
>
<el-input
v-model
=
"ruleForm.recipientsName"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.recipientsName"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"收件人单位:"
>
<el-input
v-model
=
"ruleForm.recipientsCompany"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.recipientsCompany"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
</div>
<div
class=
"flex-between"
>
<el-form-item
label=
"联系方式:"
>
<el-input
v-model
=
"ruleForm.recipientsPhone"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.recipientsPhone"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"邮政编码:"
>
<el-input
v-model
=
"ruleForm.recipientsMail"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.recipientsMail"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
</div>
<div>
<el-form-item
label=
"邮寄地址:"
>
<el-input
v-model
=
"ruleForm.recipientsAddress "
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.recipientsAddress "
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
</div>
</div>
...
...
@@ -69,11 +69,11 @@
<div
class=
"describe"
>
缴费信息
</div>
<div
class=
"message-form"
>
<el-form-item
label=
"付款方式:"
prop=
"feeWay"
>
<el-input
v-model
=
"ruleForm.feeWay"
placeholder=
"请输入
"
>
<el-input
v-model
.
trim=
"ruleForm.feeWay"
placeholder=
"请输入"
maxlength=
"30
"
>
</el-input>
</el-form-item>
<el-form-item
label=
"备注:"
prop=
"remark"
>
<el-input
:rows=
"5"
v-model
=
"ruleForm.remark"
type=
"textarea"
placeholder=
"请输入内容
"
>
<el-input
:rows=
"5"
v-model
.
trim=
"ruleForm.remark"
type=
"textarea"
placeholder=
"请输入内容"
maxlength=
"300
"
>
</el-input>
</el-form-item>
<el-form-item
label=
"上传缴费凭证:"
prop=
"voucherUrl"
>
...
...
src/pages/purchaser/bid/bidStage/changeList/changeNotice.vue
View file @
36aa3a61
...
...
@@ -10,7 +10,7 @@
<div
class=
"form"
>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
:rules=
"rules"
label-width=
"120px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"公告标题"
prop=
"title"
>
<el-input
v-model
=
"ruleForm.title"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.title"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"上传附件"
prop=
"file"
>
<singleUpload
:fileList=
"ruleForm.accessoryVOList"
tip=
"支持扩展名:.rar .zip .doc .docx .pdf .jpg..."
@
input=
"getfile"
></singleUpload>
...
...
src/pages/purchaser/bid/bidStage/clearManagement/propose.vue
View file @
36aa3a61
...
...
@@ -10,7 +10,7 @@
<div
class=
"form"
>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
:rules=
"rules"
label-width=
"120px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"澄清公告标题"
prop=
"title"
>
<el-input
v-model
=
"ruleForm.title"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.title"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"公告发布媒体"
prop=
"release"
>
<el-input
v-model=
"ruleForm.release"
disabled
></el-input>
...
...
src/pages/purchaser/bid/bidStage/clearManagement/reply.vue
View file @
36aa3a61
...
...
@@ -30,7 +30,7 @@
<div
class=
"form"
>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
:rules=
"rules"
label-width=
"120px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"回复标题"
prop=
"title"
>
<el-input
v-model
=
"ruleForm.title"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.title"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"公告发布媒体"
prop=
"release"
>
<el-input
v-model=
"ruleForm.release"
disabled
></el-input>
...
...
src/pages/purchaser/bid/bidStage/failList/failNotice.vue
View file @
36aa3a61
...
...
@@ -10,7 +10,7 @@
<div
class=
"form"
>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
:rules=
"rules"
label-width=
"120px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"公告标题"
prop=
"title"
>
<el-input
v-model
=
"ruleForm.title"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.title"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"上传附件"
prop=
"file"
>
<singleUpload
tip=
"支持扩展名:.rar .zip .doc .docx .pdf .jpg..."
@
input=
"getfile"
></singleUpload>
...
...
src/pages/purchaser/bid/bidSure/bidResult/edit.vue
View file @
36aa3a61
...
...
@@ -23,7 +23,7 @@
<div>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
:rules=
"rules"
label-width=
"150px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"招标结果通知书编号"
prop=
"code"
>
<el-input
v-model
=
"ruleForm.code
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.code"
oninput=
"value=value.replace(/[^\d]/g,'')
"
></el-input>
</el-form-item>
</el-form>
</div>
...
...
src/pages/purchaser/bid/bidSure/contract.vue
View file @
36aa3a61
...
...
@@ -11,7 +11,7 @@
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
:rules=
"rules"
label-width=
"150px"
class=
"demo-ruleForm"
>
<div
class=
"flex-between"
>
<el-form-item
label=
"合同名称:"
prop=
"contractName"
>
<el-input
v-model
=
"ruleForm.contractName"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.contractName"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"合同类型:"
prop=
"contractType"
>
<el-radio
v-model=
"ruleForm.contractType"
label=
"1"
>
項目合同
</el-radio>
...
...
@@ -20,18 +20,18 @@
</div>
<div
class=
"flex-between"
>
<el-form-item
label=
"工期:"
prop=
"timeLimit"
>
<el-input
v-model
=
"ruleForm.timeLimit"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.timeLimit"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"合同类型总负责人名称:"
prop=
"principalName"
>
<el-input
v-model
=
"ruleForm.principalName"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.principalName"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
</div>
<div
class=
"flex-between"
>
<el-form-item
label=
"总负责人身份证号:"
prop=
"principalIdNumber"
>
<el-input
v-model
=
"ruleForm.principalIdNumber"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.principalIdNumber"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"承包单位名称:"
prop=
"companyName"
>
<el-input
v-model
=
"ruleForm.companyName"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.companyName"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
</div>
<div
class=
"flex-between"
>
...
...
@@ -40,7 +40,7 @@
<el-radio
v-model=
"ruleForm.isAlliance"
:label=
"false"
>
否
</el-radio>
</el-form-item>
<el-form-item
label=
"合同总价(元):"
prop=
"contractPrice"
>
<el-input
v-model
=
"ruleForm.contractPrice"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.contractPrice"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
</div>
<div
class=
"flex-between"
>
...
...
@@ -54,7 +54,7 @@
</el-date-picker>
</el-form-item>
<el-form-item
label=
"合同期限(天):"
prop=
"deadline"
>
<el-input
v-model
=
"ruleForm.deadline"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.deadline"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
</div>
<el-form-item
label=
"合同文件:"
prop=
"file"
>
...
...
@@ -64,7 +64,7 @@
<singleUpload
:limit=
"3"
:max=
"3"
tip=
"支持扩展名:.rar .zip .doc .docx .pdf .jpg..."
@
input=
"getfile1"
></singleUpload>
</el-form-item>
<el-form-item
label=
"合同范围:"
prop=
"remark"
>
<el-input
v-model
=
"ruleForm.remark"
placeholder=
"请输入"
type=
"
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.remark"
placeholder=
"请输入"
type=
"textarea"
:rows=
"2"
maxlength=
"300
"
></el-input>
</el-form-item>
</el-form>
<div
class=
"button flex-center"
>
...
...
src/pages/purchaser/bid/bidSure/determine.vue
View file @
36aa3a61
...
...
@@ -23,7 +23,7 @@
<el-radio
:label=
"item.companyId"
v-for=
"(item,index) in tableData"
:key=
"index"
>
{{
item
.
companyName
}}
</el-radio>
</el-radio-group>
<h3
style=
"margin-top:30px"
>
说明
</h3>
<el-input
:rows=
"3"
v-model
=
"content"
type=
"textarea"
placeholder=
"请输入内容
"
>
<el-input
:rows=
"3"
v-model
.
trim=
"content"
type=
"textarea"
placeholder=
"请输入内容"
maxlength=
"300
"
>
</el-input>
</div>
<div
class=
"button flex-center"
>
...
...
src/pages/purchaser/bid/bidSure/notice.vue
View file @
36aa3a61
...
...
@@ -20,7 +20,7 @@
</div>
<div
class=
"flex-item"
>
<div
style=
"width: 50px;"
>
备注:
</div>
<el-input
:rows=
"4"
v-model
=
"remark"
type=
"remark"
placeholder=
"请输入备注
"
>
<el-input
:rows=
"4"
v-model
.
trim=
"remark"
type=
"remark"
placeholder=
"请输入备注"
maxlength=
"300
"
>
</el-input>
</div>
</div>
...
...
@@ -36,10 +36,10 @@
<h3
style=
"margin-top:30px"
>
中标公告内容
</h3>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
:rules=
"rules"
label-width=
"100px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"公告标题"
prop=
"title"
>
<el-input
v-model
=
"ruleForm.title
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.title"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"公告内容"
prop=
"content"
>
<quill-editor
ref=
"text"
v-model=
"ruleForm.content"
:options=
"editorOption"
class=
"myQuillEditor"
/>
<quill-editor
ref=
"text"
v-model
.
trim
=
"ruleForm.content"
:options=
"editorOption"
class=
"myQuillEditor"
/>
</el-form-item>
</el-form>
</div>
...
...
src/pages/purchaser/bid/bidSure/publicity.vue
View file @
36aa3a61
...
...
@@ -20,7 +20,7 @@
</div>
<div
class=
"flex-item"
>
<div
style=
"width: 50px;"
>
备注:
</div>
<el-input
:rows=
"4"
v-model
=
"remark"
type=
"textarea"
placeholder=
"请输入备注
"
>
<el-input
:rows=
"4"
v-model
.
trim=
"remark"
type=
"textarea"
placeholder=
"请输入备注"
maxlength=
"300
"
>
</el-input>
</div>
</div>
...
...
@@ -28,10 +28,10 @@
<h3
style=
"margin-top:30px"
>
中标候选人公示内容
</h3>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
:rules=
"rules"
label-width=
"100px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"公告标题"
prop=
"title"
>
<el-input
v-model
=
"ruleForm.title
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.title"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"公告内容"
prop=
"content"
>
<quill-editor
ref=
"text"
v-model=
"ruleForm.content"
:options=
"editorOption"
class=
"myQuillEditor"
/>
<quill-editor
ref=
"text"
v-model
.
trim
=
"ruleForm.content"
:options=
"editorOption"
class=
"myQuillEditor"
/>
</el-form-item>
</el-form>
</div>
...
...
src/pages/purchaser/bid/releaseProject/message.vue
View file @
36aa3a61
...
...
@@ -6,11 +6,11 @@
<div
class=
"message-form"
>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
:rules=
"formrules"
label-width=
"200px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"项目名称"
prop=
"projectName"
>
<el-input
v-model
=
"ruleForm.projectName"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.projectName"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<div
class=
"flex-between"
>
<el-form-item
label=
"项目编号:"
prop=
"projectCode"
>
<el-input
v-model
=
"ruleForm.projectCode"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.projectCode"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"项目分类:"
prop=
"classify"
>
<el-select
v-model=
"ruleForm.classify"
placeholder=
"请选择"
>
...
...
@@ -21,7 +21,7 @@
</div>
<div
class=
"flex-between"
>
<el-form-item
label=
"采购单位:"
prop=
"purchaseAgent"
>
<el-input
v-model
=
"ruleForm.purchaseAgent"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.purchaseAgent"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"项目归属行业:"
prop=
"industry"
>
<el-select
v-model=
"ruleForm.industry"
placeholder=
"请选择"
>
...
...
@@ -35,7 +35,7 @@
<citySelect
@
sendprovinceId=
"getprovinceId"
@
sendcityId=
"getcityId"
@
senddistrictId=
"getdistrictId"
></citySelect>
</el-form-item>
<el-form-item
label=
"最小投标单位数:"
prop=
"minTender"
>
<el-input
v-model
=
"ruleForm.minTender"
placeholder=
"请输入"
type=
"number"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.minTender"
placeholder=
"请输入"
onkeyup=
"value=value.replace(/[^\d]/g,'')"
maxlength=
"30"
:min=
"3"
:max=
"20"
></el-input>
</el-form-item>
</div>
<div>
...
...
@@ -48,10 +48,10 @@
</div>
<div
class=
"flex-between"
>
<el-form-item
label=
"招标联系人:"
prop=
"contacts"
>
<el-input
v-model
=
"ruleForm.contacts"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.contacts"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"联系方式:"
prop=
"contactsWay"
>
<el-input
v-model
=
"ruleForm.contactsWay"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.contactsWay"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
</div>
</el-form>
...
...
@@ -63,18 +63,18 @@
<el-form
ref=
"bidBookInfoPO"
:model=
"bidBookInfoPO"
:rules=
"formrules"
label-width=
"200px"
class=
"demo-ruleForm"
>
<div
class=
"flex-between"
>
<el-form-item
label=
"标书费结算账号:"
prop=
"account"
>
<el-input
v-model
=
"bidBookInfoPO.account"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"bidBookInfoPO.account"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"标书费结算开户行:"
prop=
"bank"
>
<el-input
v-model
=
"bidBookInfoPO.bank"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"bidBookInfoPO.bank"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
</div>
<div
class=
"flex-between"
>
<el-form-item
label=
"标书费结算账户名:"
prop=
"accountName"
>
<el-input
v-model
=
"bidBookInfoPO.accountName"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"bidBookInfoPO.accountName"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"标书费结算联系电话:"
prop=
"phone"
>
<el-input
v-model
=
"bidBookInfoPO.phone"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"bidBookInfoPO.phone"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
</div>
</el-form>
...
...
@@ -95,23 +95,23 @@
<div
v-show=
"ruleForm.isNeedEarnest"
>
<div>
<el-form-item
label=
"投标保证金金额:"
prop=
"money"
>
<el-input
v-model
=
"earnestInfoPO.money"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"earnestInfoPO.money"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
</div>
<div
class=
"flex-between"
>
<el-form-item
label=
"标书费结算账号:"
prop=
"account"
>
<el-input
v-model
=
"earnestInfoPO.account"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"earnestInfoPO.account"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"标书费结算开户行:"
prop=
"bank"
>
<el-input
v-model
=
"earnestInfoPO.bank"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"earnestInfoPO.bank"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
</div>
<div
class=
"flex-between"
>
<el-form-item
label=
"标书费结算账户名:"
prop=
"accountName"
>
<el-input
v-model
=
"earnestInfoPO.accountName"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"earnestInfoPO.accountName"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"标书费结算联系电话:"
prop=
"phone"
>
<el-input
v-model
=
"earnestInfoPO.phone"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"earnestInfoPO.phone"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
</div>
</div>
...
...
@@ -165,7 +165,7 @@
<div
class=
"message-form"
>
<el-form
ref=
"contentForm"
:model=
"ruleForm"
:rules=
"formrules"
label-width=
"200px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"项目内容:"
prop=
"content"
>
<el-input
:rows=
"5"
v-model
=
"ruleForm.content"
type=
"textarea"
prop=
"content"
placeholder=
"请输入内容
"
>
<el-input
:rows=
"5"
v-model
.
trim=
"ruleForm.content"
type=
"textarea"
prop=
"content"
placeholder=
"请输入内容"
maxlength=
"300
"
>
</el-input>
</el-form-item>
<el-form-item
label=
"附件:"
prop=
"file"
>
...
...
@@ -176,7 +176,7 @@
</div>
</div>
<div
class=
"button"
>
<el-button
@
click=
"upper"
>
上一步
</el-button>
<el-button
@
click=
"upper"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"next()"
>
下一步
</el-button>
</div>
<el-dialog
:visible
.
sync=
"dialogFormVisible"
title=
"选择邀请招标供应商"
>
...
...
@@ -235,6 +235,18 @@ export default {
dataTableList
},
data
()
{
let
isMin
=
(
rule
,
value
,
callback
)
=>
{
if
(
!
value
)
{
callback
(
new
Error
(
'请输入'
))
}
else
if
(
value
<
3
)
{
callback
(
new
Error
(
'最小值为3'
))
}
else
if
(
value
>
20
)
{
callback
(
new
Error
(
'最大值为20'
))
}
else
{
callback
()
}
}
// 测试省份
let
islocal
=
(
rule
,
value
,
callback
)
=>
{
if
(
!
this
.
ruleForm
.
provinceId
)
{
...
...
@@ -377,7 +389,7 @@ export default {
}],
minTender
:
[{
required
:
true
,
message
:
'请选择'
,
validator
:
isMin
,
trigger
:
'blur'
}],
manager
:
[{
...
...
@@ -444,6 +456,18 @@ export default {
// this.supplierList()
},
methods
:
{
// 删除操作
handleDelete
(
row
,
index
)
{
// 二次确认删除
this
.
$confirm
(
'确定要删除吗?'
,
'提示'
,
{
type
:
'warning'
})
.
then
(()
=>
{
this
.
$message
.
success
(
'删除成功'
)
this
.
tableData
.
splice
(
index
,
1
)
})
.
catch
(()
=>
{})
},
// 接受上传文件
getfile
(
val
)
{
console
.
log
(
val
)
...
...
@@ -475,7 +499,7 @@ export default {
},
// 上一步
upper
()
{
this
.
$
parent
.
upper
(
)
this
.
$
router
.
go
(
-
1
)
},
// 邀请状态下选择供应商
choice
(
row
)
{
...
...
src/pages/purchaser/bid/releaseProject/releaseProject.vue
View file @
36aa3a61
...
...
@@ -56,7 +56,7 @@ export default {
},
data
()
{
return
{
activeIdx
:
0
,
activeIdx
:
3
,
allForm
:
{}
}
},
...
...
src/pages/purchaser/bid/reviewed/bidInvitation.vue
View file @
36aa3a61
...
...
@@ -10,7 +10,7 @@
<div
class=
"form"
>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
:rules=
"rules"
label-width=
"100px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"招标邀请书"
prop=
"title"
>
<el-input
v-model
=
"ruleForm.title
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.title"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"上传附件"
>
<singleUpload
tip=
"支持扩展名:.rar .zip .doc .docx .pdf .jpg..."
@
input=
"getfile"
></singleUpload>
...
...
src/pages/purchaser/bid/reviewed/inquiryAnnouncement.vue
View file @
36aa3a61
...
...
@@ -16,17 +16,17 @@
</div>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
:rules=
"rules"
label-width=
"120px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"询价公告名称"
prop=
"title"
>
<el-input
v-model=
"ruleForm.title"
placeholder=
"请输入"
style=
"width: 50%;"
maxlength=
"30"
></el-input>
<el-input
v-model
.
trim
=
"ruleForm.title"
placeholder=
"请输入"
style=
"width: 50%;"
maxlength=
"30"
></el-input>
</el-form-item>
<el-form-item
label=
"询价所在地"
prop=
"address"
>
<citySelect
@
sendprovinceId=
"getprovinceId"
@
sendcityId=
"getcityId"
@
senddistrictId=
"getdistrictId"
></citySelect>
</el-form-item>
<div
class=
"flex-between"
style=
"width:60%"
>
<el-form-item
label=
"询价单编号"
prop=
"inquiryCode"
>
<el-input
v-model=
"ruleForm.inquiryCode"
placeholder=
"请输入"
maxlength=
"30"
></el-input>
<el-input
v-model
.
trim
=
"ruleForm.inquiryCode"
placeholder=
"请输入"
maxlength=
"30"
></el-input>
</el-form-item>
<el-form-item
label=
"采购目录"
prop=
"catalog"
>
<el-input
v-model=
"ruleForm.catalog"
placeholder=
"请输入"
maxlength=
"30"
></el-input>
<el-input
v-model
.
trim
=
"ruleForm.catalog"
placeholder=
"请输入"
maxlength=
"30"
></el-input>
</el-form-item>
<el-form-item
label=
"项目优先级"
prop=
"priority"
>
<el-radio-group
v-model=
"ruleForm.priority"
>
...
...
@@ -45,22 +45,22 @@
</el-date-picker>
</el-form-item>
<el-form-item
label=
"采购单位"
prop=
"purchaseAgent"
>
<el-input
v-model=
"ruleForm.purchaseAgent"
disabled
></el-input>
<el-input
v-model
.
trim
=
"ruleForm.purchaseAgent"
disabled
></el-input>
</el-form-item>
</div>
<div
class=
"flex-between"
style=
"width:60%"
>
<el-form-item
label=
"采购单位联系人"
prop=
"contact"
>
<el-input
v-model=
"ruleForm.contact"
disabled
></el-input>
<el-input
v-model
.
trim
=
"ruleForm.contact"
disabled
></el-input>
</el-form-item>
<el-form-item
label=
"联系方式"
prop=
"contactPhone"
>
<el-input
v-model=
"ruleForm.contactPhone"
disabled
></el-input>
<el-input
v-model
.
trim
=
"ruleForm.contactPhone"
disabled
></el-input>
</el-form-item>
<el-form-item
label=
"传真号码"
prop=
"facsimile"
>
<el-input
v-model=
"ruleForm.facsimile"
placeholder=
"请输入"
maxlength=
"30"
></el-input>
<el-input
v-model
.
trim
=
"ruleForm.facsimile"
placeholder=
"请输入"
maxlength=
"30"
></el-input>
</el-form-item>
</div>
<el-form-item
label=
"预算总额(元)"
prop=
"budget"
style=
"width: 20%;"
>
<el-input
v-model=
"ruleForm.budget"
placeholder=
"请输入"
maxlength=
"30"
></el-input>
<el-input
v-model
.
trim
=
"ruleForm.budget"
placeholder=
"请输入"
maxlength=
"30"
></el-input>
</el-form-item>
</el-form>
</div>
...
...
@@ -75,13 +75,13 @@
</div>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
:rules=
"rules"
label-width=
"150px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"供应商规格要求"
prop=
"supplierScale"
>
<el-input
v-model
=
"ruleForm.supplierScale"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.supplierScale"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"供应商资格要求"
prop=
"supplierQualification"
>
<el-input
v-model
=
"ruleForm.supplierQualification"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.supplierQualification"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"供应商区域范围要求"
prop=
"supplierRegion"
>
<el-input
v-model
=
"ruleForm.supplierRegion"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.supplierRegion"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
</el-form>
</div>
...
...
@@ -103,7 +103,7 @@
<div
class=
"form"
>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
:rules=
"rules"
label-width=
"100px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"商务要求"
prop=
"commercialRequirements"
>
<el-input
v-model
=
"ruleForm.commercialRequirements"
:rows=
"4"
style=
"width: 60%;"
placeholder=
"请输入"
type=
"textarea
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.commercialRequirements"
:rows=
"4"
style=
"width: 60%;"
placeholder=
"请输入"
type=
"textarea"
maxlength=
"300
"
></el-input>
</el-form-item>
</el-form>
</div>
...
...
src/pages/purchaser/bid/reviewed/tenderAnnouncement.vue
View file @
36aa3a61
...
...
@@ -10,7 +10,7 @@
<div
class=
"form"
>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
:rules=
"rules"
label-width=
"100px"
class=
"demo-ruleForm"
>
<el-form-item
label=
"公告标题"
prop=
"title"
><strong></strong>
<el-input
v-model
=
"ruleForm.title
"
></el-input>
<el-input
v-model
.
trim=
"ruleForm.title"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"上传附件"
><strong></strong>
<singleUpload
tip=
"支持扩展名:.rar .zip .doc .docx .pdf .jpg..."
@
input=
"getfile"
></singleUpload>
...
...
src/pages/purchaser/home/home.vue
View file @
36aa3a61
...
...
@@ -135,7 +135,6 @@ export default {
created
(){
let
token
=
getSearchString
(
"token"
);
localStorage
.
setItem
(
"token"
,
token
)
// localStorage.setItem("companyId",1)
},
methods
:
{
handleSee
(
row
)
{
...
...
src/pages/purchaser/organization/informationEdit.vue
View file @
36aa3a61
...
...
@@ -13,60 +13,60 @@
<div>
<el-form
ref=
"perfectForm"
:model=
"perfectForm"
:rules=
"rules"
label-width=
"120px"
inline
>
<el-form-item
label=
"单位名称"
prop=
"companyName"
class=
"item"
>
<el-input
v-model
=
"perfectForm.companyName"
placeholder=
"请输入"
style=
"width:240px
"
></el-input>
<el-input
v-model
.
trim=
"perfectForm.companyName"
placeholder=
"请输入"
style=
"width:240px"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"注册角色"
prop=
"role"
class=
"item"
>
<el-input
v-model
=
"perfectForm.role"
placeholder=
"请输入"
style=
"width:240px
"
></el-input>
<el-input
v-model
.
trim=
"perfectForm.role"
placeholder=
"请输入"
style=
"width:240px"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"法人姓名"
prop=
"legalPerson"
class=
"item"
>
<el-input
v-model
=
"perfectForm.legalPerson"
placeholder=
"请输入"
style=
"width:240px
"
></el-input>
<el-input
v-model
.
trim=
"perfectForm.legalPerson"
placeholder=
"请输入"
style=
"width:240px"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"法人电话"
prop=
"personPhone"
class=
"item"
>
<el-input
v-model
=
"perfectForm.personPhone"
placeholder=
"请输入"
style=
"width:240px
"
></el-input>
<el-input
v-model
.
trim=
"perfectForm.personPhone"
placeholder=
"请输入"
style=
"width:240px"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"统一社会信用代码"
prop=
"creditCode"
class=
"item"
>
<el-input
v-model
=
"perfectForm.creditCode"
placeholder=
"请输入"
style=
"width:240px
"
></el-input>
<el-input
v-model
.
trim=
"perfectForm.creditCode"
placeholder=
"请输入"
style=
"width:240px"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"单位性质"
prop=
"nature"
class=
"item"
>
<el-input
v-model
=
"perfectForm.nature"
placeholder=
"请输入"
style=
"width:240px
"
></el-input>
<el-input
v-model
.
trim=
"perfectForm.nature"
placeholder=
"请输入"
style=
"width:240px"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"单位所在地"
prop=
"companyLocal"
class=
"item"
>
<el-input
v-model
=
"perfectForm.companyLocal"
placeholder=
"请输入"
style=
"width:240px
"
></el-input>
<el-input
v-model
.
trim=
"perfectForm.companyLocal"
placeholder=
"请输入"
style=
"width:240px"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"行业类型"
prop=
"type"
class=
"item"
>
<el-input
v-model
=
"perfectForm.type"
placeholder=
"请输入"
style=
"width:240px
"
></el-input>
<el-input
v-model
.
trim=
"perfectForm.type"
placeholder=
"请输入"
style=
"width:240px"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"资信等级"
prop=
"CreditRating"
class=
"item"
>
<el-input
v-model
=
"perfectForm.CreditRating"
placeholder=
"请输入"
style=
"width:240px
"
></el-input>
<el-input
v-model
.
trim=
"perfectForm.CreditRating"
placeholder=
"请输入"
style=
"width:240px"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"开户银行名称"
prop=
"bank"
class=
"item"
>
<el-input
v-model
=
"perfectForm.bank"
placeholder=
"请输入"
style=
"width:240px
"
></el-input>
<el-input
v-model
.
trim=
"perfectForm.bank"
placeholder=
"请输入"
style=
"width:240px"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"开户行行号"
prop=
"bankNumber"
class=
"item"
>
<el-input
v-model=
"perfectForm.bankNumber"
placeholder=
"请输入"
style=
"width:240px"
></el-input>
<el-input
v-model
.
trim
=
"perfectForm.bankNumber"
placeholder=
"请输入"
style=
"width:240px"
></el-input>
</el-form-item>
<el-form-item
label=
"注册资本(万元)"
prop=
"capital"
class=
"item"
>
<el-input
v-model
=
"perfectForm.capital"
placeholder=
"请输入"
style=
"width:240px
"
></el-input>
<el-input
v-model
.
trim=
"perfectForm.capital"
placeholder=
"请输入"
style=
"width:240px"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"联系地址"
prop=
"contactAddress"
class=
"item"
>
<el-input
v-model
=
"perfectForm.contactAddress"
placeholder=
"请输入"
style=
"width:240px
"
></el-input>
<el-input
v-model
.
trim=
"perfectForm.contactAddress"
placeholder=
"请输入"
style=
"width:240px"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"管理员"
prop=
"admin"
class=
"item"
>
<el-input
v-model
=
"perfectForm.admin"
disabled
style=
"width:240px
"
></el-input>
<el-input
v-model
.
trim=
"perfectForm.admin"
disabled
style=
"width:240px"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"联系电话"
prop=
"contactNumber"
class=
"item"
>
<el-input
v-model
=
"perfectForm.contactNumber"
disabled
style=
"width:240px
"
></el-input>
<el-input
v-model
.
trim=
"perfectForm.contactNumber"
disabled
style=
"width:240px"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"身份证"
prop=
"id"
class=
"item"
>
<el-input
v-model
=
"perfectForm.id"
disabled
style=
"width:240px
"
></el-input>
<el-input
v-model
.
trim=
"perfectForm.id"
disabled
style=
"width:240px"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"电子邮箱"
prop=
"id"
class=
"item"
>
<el-input
v-model
=
"perfectForm.email"
disabled
style=
"width:240px
"
></el-input>
<el-input
v-model
.
trim=
"perfectForm.email"
disabled
style=
"width:240px"
maxlength=
"30
"
></el-input>
</el-form-item>
<div>
<el-form-item
label=
"经营范围"
prop=
"businessScope"
class=
"item"
>
<el-input
v-model
=
"perfectForm.businessScope"
:rows=
"4"
type=
"textarea"
placeholder=
"请输入内容"
style=
"width:600px
"
></el-input>
<el-input
v-model
.
trim=
"perfectForm.businessScope"
:rows=
"4"
type=
"textarea"
placeholder=
"请输入内容"
style=
"width:600px"
maxlength=
"300
"
></el-input>
</el-form-item>
</div>
<div
class=
"margin-left"
>
...
...
@@ -134,7 +134,7 @@
<el-dialog
:visible
.
sync=
"dialogFormVisible"
title=
"提交审核"
>
<el-form
ref=
"dialogform"
:model=
"form"
:rules=
"rules"
>
<el-form-item
label=
"修改位置"
prop=
"modifyLocation"
class=
"item"
>
<el-input
v-model
=
"form.modifyLocation"
style=
"width:240px
"
></el-input>
<el-input
v-model
.
trim=
"form.modifyLocation"
style=
"width:240px"
maxlength=
"30
"
></el-input>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"backButton"
>
...
...
src/pages/purchaser/organization/memberManagement.vue
View file @
36aa3a61
...
...
@@ -13,16 +13,16 @@
<el-dialog
:visible
.
sync=
"dialogFormVisible"
title=
"收货地址"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
>
<el-form-item
label=
"姓名"
label-width=
"50px"
prop=
"name"
>
<el-input
v-model
=
"form.name"
autocomplete=
"off"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"form.name"
autocomplete=
"off"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"手机"
label-width=
"50px"
prop=
"phone"
>
<el-input
v-model
=
"form.phone"
autocomplete=
"off"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"form.phone"
autocomplete=
"off"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"邮箱"
label-width=
"50px"
prop=
"email"
>
<el-input
v-model
=
"form.email"
autocomplete=
"off"
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"form.email"
autocomplete=
"off"
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"密码"
label-width=
"50px"
prop=
"password"
>
<el-input
v-model
=
"form.password"
autocomplete=
"off"
show-password
placeholder=
"请输入
"
></el-input>
<el-input
v-model
.
trim=
"form.password"
autocomplete=
"off"
show-password
placeholder=
"请输入"
maxlength=
"30
"
></el-input>
</el-form-item>
<el-form-item
label=
"角色"
label-width=
"50px"
prop=
"role"
>
<el-select
v-model=
"form.role"
placeholder=
"请选择"
>
...
...
src/pages/supply/bid/signupOnline/signUp.vue
View file @
36aa3a61
...
...
@@ -9,12 +9,12 @@
<div
class=
"table_pos"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-form-item
label=
"单位名称:"
>
<el-input
v-model=
"form.
projectId
"
class=
"input"
disabled
></el-input>
<el-input
v-model=
"form.
companyName
"
class=
"input"
disabled
></el-input>
</el-form-item>
<el-form-item
label=
"联系人:"
prop=
"userId"
>
<el-select
v-model=
"form.userId"
placeholder=
"请选择"
style=
"width:300px"
>
<el-option
v-for=
"item in users"
:label=
"item.userName"
:value=
"item.
userI
d"
></el-option>
<el-option
v-for=
"item in users"
:label=
"item.userName"
:value=
"item.
id"
:key=
"item.i
d"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"手机号:"
>
...
...
@@ -25,8 +25,8 @@
</el-form-item>
<div
class=
"flex-item"
>
<div>
是否买断账期:
</div>
<el-radio
v-model=
"is_payment_days"
:
label=
"false"
>
否
</el-radio>
<el-radio
v-model=
"is_payment_days"
:
label=
"true"
>
是
</el-radio>
<el-radio
v-model=
"is_payment_days"
label=
"false"
>
否
</el-radio>
<el-radio
v-model=
"is_payment_days"
label=
"true"
>
是
</el-radio>
</div>
<div
class=
"flex-center buttom"
>
<el-button
@
click=
"cancel"
>
取消
</el-button>
...
...
@@ -51,7 +51,8 @@
<
script
>
import
{
userList
userList
,
userphone
}
from
'@api/common/list'
import
{
projectapply
...
...
@@ -71,7 +72,7 @@
dialogFormVisible
:
false
,
breads
:
[
'投标管理'
,
'在线报名'
,
'报名'
],
form
:
{
projectId
:
1
,
companyName
:
1
,
userId
:
''
,
phone
:
'1'
,
email
:
'1'
,
...
...
@@ -88,12 +89,17 @@
}
},
created
()
{
this
.
form
.
projectId
=
this
.
$route
.
query
.
id
this
.
getuserList
();
this
.
getuserphone
();
this
.
form
.
companyId
=
localStorage
.
getItem
(
"companyId"
)
this
.
form
.
companyName
=
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
companyName
},
methods
:
{
cancel
()
{
this
.
$router
.
go
(
-
1
)
},
// 提交
async
sendTo
()
{
try
{
let
is_payment_days
=
this
.
is_payment_days
...
...
@@ -103,16 +109,25 @@
const
valid
=
await
this
.
$refs
[
'form'
].
validate
()
if
(
valid
)
{
let
form
=
this
.
form
;
form
.
companyId
=
localStorage
.
getItem
(
"companyId"
),
form
.
projectId
=
localStorage
.
getItem
(
"projectId"
),
form
.
is_payment_days
=
this
.
is_payment_days
form
.
is_payment_days
=
this
.
is_payment_days
const
{
code
,
msg
}
=
await
projectapply
(
this
.
form
)
console
.
log
(
code
);
if
(
code
===
200
)
{
this
.
$message
.
success
(
msg
)
this
.
$message
({
message
:
msg
,
type
:
'success'
,
duration
:
1500
})
setTimeout
(()
=>
{
this
.
$router
.
go
(
-
1
)
},
1500
)
}
else
if
(
code
==
500
){
this
.
$message
({
message
:
msg
,
type
:
'success'
,
})
}
}
}
...
...
@@ -120,19 +135,22 @@
console
.
log
(
e
)
}
},
async
getuserphone
()
{
let
id
=
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
userId
const
{
data
,
code
}
=
await
userphone
(
id
)
this
.
form
.
email
=
data
.
email
this
.
form
.
phone
=
data
.
phoneNumber
},
async
getuserList
()
{
try
{
let
companyId
=
localStorage
.
getItem
(
"companyId"
)
const
{
data
,
code
}
=
await
userList
(
companyId
)
if
(
code
===
200
)
{
this
.
users
=
data
}
}
catch
(
e
)
{
console
.
log
(
e
)
}
let
companyId
=
localStorage
.
getItem
(
"companyId"
)
const
{
data
,
code
}
=
await
userList
(
companyId
)
this
.
users
=
data
}
}
}
...
...
src/pages/supply/bid/signupOnline/signupList.vue
View file @
36aa3a61
...
...
@@ -2,7 +2,12 @@
<div>
<div
class=
"content"
>
<dataTable
:columns=
"columns"
:page-obj=
"pageObj"
:breads=
"breads"
:checklist=
"checklist"
url=
"/bidder/project/list"
>
<el-table-column
slot=
"opration"
align=
"center"
label=
"快捷操作"
flexd=
"right"
width=
"200px"
>
<el-table-column
slot=
"opration"
align=
"center"
label=
"状态"
flexd=
"right"
width=
"200px"
>
<template
slot-scope=
"scope"
>
<div>
{{
totalMarks
(
scope
.
row
.
status
)
}}
</div>
</
template
>
</el-table-column>
<el-table-column
slot=
"opration"
align=
"center"
label=
"快捷操作"
flexd=
"right"
width=
"200px"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"handlesee(scope.row)"
>
查看招标公告
</el-button>
...
...
@@ -16,6 +21,7 @@
</template>
<
script
>
import
{
projectStatusList
}
from
'@api/common/list'
import
dataTable
from
'@components/dataTable.vue'
export
default
{
components
:
{
...
...
@@ -51,23 +57,33 @@ export default {
label
:
'标书结束时间'
,
prop
:
'endTime'
},
{
label
:
'项目状态'
,
prop
:
'status'
},
{
slot
:
'opration'
}],
}
},
created
()
{
this
.
getprojectStatusList
();
},
methods
:
{
totalMarks
:
function
(
status
)
{
let
value
=
this
.
map
.
get
(
status
)
return
value
},
async
getprojectStatusList
(){
const
data
=
await
projectStatusList
()
this
.
map
=
new
Map
();
for
(
let
item
of
data
){
this
.
map
.
set
(
item
.
id
,
item
.
name
)
}
console
.
log
(
this
.
map
.
get
(
"PROJECT_AUDIT_NEED_MODIFY"
))
},
handlesee
(
row
)
{
this
.
$router
.
push
(
`/supply/bid/signupOnline/seeAnnouncement?id=
${
row
.
i
d
}
`
)
this
.
$router
.
push
(
`/supply/bid/signupOnline/seeAnnouncement?id=
${
row
.
projectI
d
}
`
)
},
signup
(
row
){
this
.
$router
.
push
(
`/supply/bid/signupOnline/SignUp?id=
${
row
.
i
d
}
`
)
this
.
$router
.
push
(
`/supply/bid/signupOnline/SignUp?id=
${
row
.
projectI
d
}
`
)
}
}
}
...
...
src/router/index.js
View file @
36aa3a61
...
...
@@ -4,6 +4,7 @@ import Router from 'vue-router';
Vue
.
use
(
Router
);
export
default
new
Router
({
mode
:
'history'
,
routes
:
[
{
path
:
'/'
,
...
...
src/utils/request.js
View file @
36aa3a61
...
...
@@ -5,8 +5,8 @@ import { Message, MessageBox } from 'element-ui'
// 创建axios实例
const
service
=
axios
.
create
({
baseURL
:
'http://192.168.200.201:8082/apis'
,
//
baseURL: 'http://192.168.3.35:8085/apis',
//
baseURL: 'http://192.168.200.201:8082/apis',
baseURL
:
'http://192.168.3.35:8085/apis'
,
timeout
:
35000
// 请求超时时间
})
...
...
@@ -41,8 +41,8 @@ service.interceptors.response.use(
Message
.
error
(
"登陆失效,请重新登录!"
)
localStorage
.
removeItem
(
'token'
);
setTimeout
(
function
()
{
location
.
href
=
'http://192.168.200.201:8081/login/user/'
;
//
location.href = 'http://localhost:3000/login/user/';
//
location.href = 'http://192.168.200.201:8081/login/user/';
location
.
href
=
'http://localhost:3000/login/user/'
;
},
2000
);
}
}
...
...
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