Commit 7b1b2079 authored by 张冬's avatar 张冬

更新

parent c87bb289
...@@ -55,101 +55,10 @@ export default { ...@@ -55,101 +55,10 @@ export default {
data() { data() {
return { return {
collapse: false, 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: [ // items: [
// { // {
// icon: 'el-icon-lx-home', // icon: 'el-icon-lx-home',
// index: '/supply/Home', // index: '/purchaser/Home',
// title: '首页' // title: '首页'
// }, // },
// { // {
...@@ -159,13 +68,8 @@ export default { ...@@ -159,13 +68,8 @@ export default {
// subs:[ // subs:[
// { // {
// icon: 'el-icon-lx-home', // icon: 'el-icon-lx-home',
// index: '/supply/bid/signupOnline', // index: '/purchaser/bid/administrationList',
// title: '在线报名', // title: '招标项目管理',
// },
// {
// icon: 'el-icon-lx-home',
// index: '/supply/bid/joinProject/projectList',
// title: '我参与的项目',
// } // }
// ] // ]
// }, // },
...@@ -176,11 +80,29 @@ export default { ...@@ -176,11 +80,29 @@ export default {
// subs:[ // subs:[
// { // {
// icon: 'el-icon-lx-home', // icon: 'el-icon-lx-home',
// index: '/supply/buyOut/buyoutList', // index: '/purchaser/buyOut/buyoutList',
// title: '应收账款买断列表', // 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', // icon: 'el-icon-lx-copy',
// title: '组织管理', // title: '组织管理',
...@@ -188,17 +110,17 @@ export default { ...@@ -188,17 +110,17 @@ export default {
// subs:[ // subs:[
// { // {
// icon: 'el-icon-lx-home', // icon: 'el-icon-lx-home',
// index: '/supply/organization/informationSee', // index: '/purchaser/organization/informationSee',
// title: '单位信息', // title: '单位信息',
// }, // },
// { // {
// icon: 'el-icon-lx-home', // icon: 'el-icon-lx-home',
// index: '/supply/organization/memberManagement', // index: '/purchaser/organization/memberManagement',
// title: '成员管理', // title: '成员管理',
// }, // },
// { // {
// icon: 'el-icon-lx-home', // icon: 'el-icon-lx-home',
// index: '/supply/organization/jurisdictionList', // index: '/purchaser/organization/jurisdictionList',
// title: '角色管理', // title: '角色管理',
// } // }
// ] // ]
...@@ -210,29 +132,107 @@ export default { ...@@ -210,29 +132,107 @@ export default {
// subs:[ // subs:[
// { // {
// icon: 'el-icon-lx-home', // icon: 'el-icon-lx-home',
// index: '/supply/organization/jurisdictionList', // index: '/purchaser/organization/jurisdictionList',
// title: 'CA绑定与解除', // title: 'CA绑定与解除',
// }, // },
// { // {
// icon: 'el-icon-lx-home', // icon: 'el-icon-lx-home',
// index: '/supply/system/logList', // index: '/purchaser/system/logList',
// title: '日志列表', // 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: { computed: {
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
<el-input :rows="5" v-model="ruleForm.remark" type="textarea" placeholder="请输入内容"> <el-input :rows="5" v-model="ruleForm.remark" type="textarea" placeholder="请输入内容">
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="上传缴费凭证:" prop="voucherUrl"> <el-form-item label="上传缴费凭证:" prop="voucherList">
<Upload :limit="5" :max="5" tip="完成上传5份文件,每份不超过10M" @input="getfile"></Upload> <Upload :limit="5" :max="5" tip="完成上传5份文件,每份不超过10M" @input="getfile"></Upload>
</el-form-item> </el-form-item>
</div> </div>
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
}; };
// 测试图片 // 测试图片
let checkimg = (rule, value, callback) => { let checkimg = (rule, value, callback) => {
if (this.ruleForm.voucherUrl.length === 0) { if (this.ruleForm.voucherList.length === 0) {
callback(new Error('请上传凭证')); callback(new Error('请上传凭证'));
} else { } else {
callback(); callback();
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
feeWay: '', feeWay: '',
remark: "", remark: "",
companyEmail: "", companyEmail: "",
voucherUrl: [] voucherList: []
}, },
formrules: { formrules: {
companyName: [{ companyName: [{
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
message: '请输入', message: '请输入',
trigger: 'blur' trigger: 'blur'
}], }],
voucherUrl: [{ voucherList: [{
required: true, required: true,
validator: checkimg, validator: checkimg,
trigger: 'blur' trigger: 'blur'
...@@ -169,7 +169,7 @@ ...@@ -169,7 +169,7 @@
}, },
methods: { methods: {
getfile(val) { getfile(val) {
this.ruleForm.voucherUrl = val this.ruleForm.voucherList= val
}, },
async submitData() { async submitData() {
try { try {
...@@ -182,8 +182,15 @@ ...@@ -182,8 +182,15 @@
code, code,
msg msg
} = await bidderEarnestpayment(message) } = await bidderEarnestpayment(message)
if (code === 2000) { if (code === 200) {
this.$success.success(msg) this.$message({
message: msg,
type: 'success',
duration: 1500
})
setTimeout(() => {
this.$router.go(-1)
}, 1500)
} }
} }
} catch (e) { } catch (e) {
...@@ -191,6 +198,9 @@ ...@@ -191,6 +198,9 @@
} }
} }
}, },
created() {
this.ruleForm.companyName = JSON.parse(localStorage.getItem("userInfo")).companyName
}
} }
</script> </script>
......
...@@ -2,40 +2,50 @@ ...@@ -2,40 +2,50 @@
<div> <div>
<div class="content"> <div class="content">
<dataBreadcrumb :breads="breads"></dataBreadcrumb> <dataBreadcrumb :breads="breads"></dataBreadcrumb>
<changeNav :navs="navs"></changeNav> <changeNav :navs="navs" @getIndex="getIndex"></changeNav>
<div class="absolute"> <div class="absolute">
<el-button type="primary" @click="out">退出澄清</el-button> <el-button type="primary" @click="out">退出澄清</el-button>
</div> </div>
<dataTable :columns="columns" :page-obj="pageObj" url="/clarifies/list"> <div v-show="idx==0">
<el-table-column slot="operate" label="状态" align="center" fixed="right" > <dataTable :columns="columns" :page-obj="pageObj" url="bidder-clarifies/list">
<template slot-scope="scope"> <el-table-column slot="operate" label="操作" align="center" fixed="right" width="100">
<div v-if="scope.row.state==0">已回复</div>
<div v-else>未回复</div>
</template>
</el-table-column>
<el-table-column slot="operate" label="类型" align="center" fixed="right" >
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if="scope.row.clarifiesType==0">提出澄清</div> <div v-if="scope.row.clarifiesType==0">
<div v-else>回复问题</div> <el-button type="text" size="small" @click="handleSee(scope.row)">查看</el-button>
</div>
<div v-else>
<el-button v-if="scope.row.noticeId" type="text" size="small" @click="handleSee(scope.row)">查看</el-button>
<el-button v-else type="text" size="small" @click="handleReply(scope.row)">回复</el-button>
</div>
</template> </template>
</el-table-column> </el-table-column>
</dataTable>
</div>
<div v-show="idx==1">
<dataTable :columns="columns" :page-obj="pageObj1" url="bidder-clarifies/list">
<el-table-column slot="operate" label="操作" align="center" fixed="right" width="100"> <el-table-column slot="operate" label="操作" align="center" fixed="right" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button v-if="scope.row.state==1" type="text" size="small" @click="confirm(scope.row)">确认</el-button> <div v-if="scope.row.clarifiesType==0">
<el-button v-else type="text" size="small" @click="handleSee(scope.row)">查看</el-button> <el-button type="text" size="small" @click="handleSee(scope.row)">查看</el-button>
</div>
<div v-else>
<el-button v-if="scope.row.noticeId" type="text" size="small" @click="handleSee(scope.row)">查看</el-button>
<el-button v-else type="text" size="small" @click="handleReply(scope.row)">回复</el-button>
</div>
</template> </template>
</el-table-column> </el-table-column>
</dataTable> </dataTable>
</div> </div>
</div> </div>
</div>
</template> </template>
<script> <script>
// import { getList } from '@api/common/list' // import { getList } from '@api/common/list'
import dataTable from '@components/dataTable.vue' import dataTable from '@components/dataTable.vue'
import changeNav from '@components/changeNav.vue' import changeNav from '@components/changeNav.vue'
import dataBreadcrumb from '@components/dataBreadcrumb.vue' import dataBreadcrumb from '@components/dataBreadcrumb.vue'
export default { export default {
name: 'bidingList', name: 'bidingList',
components: { components: {
dataTable, dataTable,
...@@ -44,7 +54,8 @@ export default { ...@@ -44,7 +54,8 @@ export default {
}, },
data() { data() {
return { return {
navs: ['招标文件澄清列表'], idx:0,
navs: ["问题列表","公告列表"],
breads: ['招标管理', '招标项目管理', '工作台'], breads: ['招标管理', '招标项目管理', '工作台'],
checklist: [{ checklist: [{
title: '公告名称', title: '公告名称',
...@@ -81,16 +92,27 @@ export default { ...@@ -81,16 +92,27 @@ export default {
], // 操作列 ], // 操作列
pageObj: { pageObj: {
size: 10, size: 10,
currentPage: 1 currentPage: 1,
// func: (currentPage) => { type:1,
// this.pageTurning(currentPage) func: (currentPage) => {
// } this.pageTurning(currentPage)
}
},
pageObj1: {
size: 10,
currentPage: 1,
type:2,
func: (currentPage) => {
this.pageTurning(currentPage)
}
} }
} }
}, },
created() { created() {
this.pageObj.projectId = 2 this.pageObj.projectId = localStorage.getItem("projectId")
this.pageObj.questionId = 1 this.pageObj.companyId = localStorage.getItem("companyId")
this.pageObj1.projectId = localStorage.getItem("projectId")
this.pageObj1.companyId = localStorage.getItem("companyId")
}, },
methods: { methods: {
handleSee(id) { handleSee(id) {
...@@ -99,7 +121,7 @@ export default { ...@@ -99,7 +121,7 @@ export default {
query: id query: id
}) })
}, },
confirm(id){ confirm(id) {
this.$router.push({ this.$router.push({
path: '/supply/bid/joinProject/bidStage/clearManagement/confirm', path: '/supply/bid/joinProject/bidStage/clearManagement/confirm',
query: id query: id
...@@ -110,7 +132,7 @@ export default { ...@@ -110,7 +132,7 @@ export default {
} }
} }
} }
</script> </script>
<style scoped> <style scoped>
......
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
<el-input :rows="5" v-model.trim="ruleForm.remark" type="textarea" placeholder="请输入内容" maxlength="300"> <el-input :rows="5" v-model.trim="ruleForm.remark" type="textarea" placeholder="请输入内容" maxlength="300">
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="上传缴费凭证:" prop="voucherUrl"> <el-form-item label="上传缴费凭证:" prop="voucherList">
<Upload :limit="5" :max="10" tip="完成上传5份文件,每份不超过10M" @input="getfile"></Upload> <Upload :limit="5" :max="10" tip="完成上传5份文件,每份不超过10M" @input="getfile"></Upload>
</el-form-item> </el-form-item>
</div> </div>
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
}; };
// 测试图片 // 测试图片
let checkimg = (rule, value, callback) => { let checkimg = (rule, value, callback) => {
if (this.ruleForm.voucherUrl.length === 0) { if (this.ruleForm.voucherList.length === 0) {
callback(new Error('请上传凭证')); callback(new Error('请上传凭证'));
} else { } else {
callback(); callback();
...@@ -181,7 +181,7 @@ ...@@ -181,7 +181,7 @@
feeWay: '', feeWay: '',
remark: "", remark: "",
companyEmail: "", companyEmail: "",
voucherUrl: [] voucherList: []
}, },
formrules: { formrules: {
companyName: [{ companyName: [{
...@@ -224,7 +224,7 @@ ...@@ -224,7 +224,7 @@
message: '请输入', message: '请输入',
trigger: 'blur' trigger: 'blur'
}], }],
voucherUrl: [{ voucherList: [{
required: true, required: true,
validator: checkimg, validator: checkimg,
trigger: 'blur' trigger: 'blur'
...@@ -234,21 +234,28 @@ ...@@ -234,21 +234,28 @@
}, },
methods: { methods: {
getfile(val) { getfile(val) {
this.ruleForm.voucherUrl = val this.ruleForm.voucherList = val
}, },
async submitData() { async submitData() {
try { try {
const valid = await this.$refs['ruleForm'].validate() const valid = await this.$refs['ruleForm'].validate()
if (valid) { if (valid) {
let message = this.ruleForm let message = this.ruleForm
message.companyId =localStorage.getItem("companyId") message.companyId = localStorage.getItem("companyId")
message.projectId =localStorage.getItem("projectId") message.projectId = localStorage.getItem("projectId")
const { const {
code, code,
msg msg
} = await bidBookpayment(message) } = await bidBookpayment(message)
if (code === 2000) { if (code === 200) {
this.$success.success(msg) this.$message({
message: msg,
type: 'success',
duration: 1500
})
setTimeout(() => {
this.$router.go(-1)
}, 1500)
} }
} }
} catch (e) { } catch (e) {
...@@ -257,7 +264,7 @@ ...@@ -257,7 +264,7 @@
} }
}, },
created() { created() {
this.ruleForm.companyName=JSON.parse(localStorage.getItem("userInfo")).companyName this.ruleForm.companyName = JSON.parse(localStorage.getItem("userInfo")).companyName
} }
} }
</script> </script>
......
...@@ -5,8 +5,8 @@ import { Message, MessageBox } from 'element-ui' ...@@ -5,8 +5,8 @@ import { Message, MessageBox } from 'element-ui'
// 创建axios实例 // 创建axios实例
const service = axios.create({ const service = axios.create({
// baseURL: 'http://192.168.200.201:8082/apis', baseURL: 'http://192.168.200.201:8082/apis',
baseURL: 'http://192.168.3.35:8085/apis', // baseURL: 'http://192.168.3.35:8085/apis',
timeout: 35000 // 请求超时时间 timeout: 35000 // 请求超时时间
}) })
...@@ -41,8 +41,8 @@ service.interceptors.response.use( ...@@ -41,8 +41,8 @@ service.interceptors.response.use(
Message.error("登陆失效,请重新登录!") Message.error("登陆失效,请重新登录!")
localStorage.removeItem('token'); localStorage.removeItem('token');
setTimeout(function () { setTimeout(function () {
// location.href = 'http://192.168.200.201:8081/login/user/'; location.href = 'http://192.168.200.201:8081/login/user/';
location.href = 'http://localhost:3000/login/user/'; // location.href = 'http://localhost:3000/login/user/';
}, 2000); }, 2000);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment