Commit 4aad38f2 authored by 张冬's avatar 张冬

更换整个后台的颜色

parent ba82a14e
......@@ -6,6 +6,6 @@
<style>
@import './common/common.css';
@import "./assets/css/main.css";
@import "./assets/css/color-dark.css"; /*深色主题*/
/*@import "./assets/css/theme-green/color-green.css"; 浅绿色主题*/
/* @import "./assets/css/color-dark.css"; */
@import "./assets/css/theme-green/color-green.css";
</style>
\ No newline at end of file
......@@ -371,10 +371,11 @@ export function earnestEdit(data) {
}
// 新增接口
// 查看是否报价状态
export function isOffer(projectId) {
return request({
url: `bidder-apply/isOffer/${projectId}`,
method: 'get',
})
}
.header{
background-color: #07c4a8;
background-color: #FF5203;
}
.login-wrap{
background: rgba(56, 157, 170, 0.82);;
background: #FF5203;;
}
.plugins-tips{
background: #f2f2f2;
background: #FF5203;
}
.plugins-tips a{
color: #00d1b2;
color: #FF5203;
}
.el-upload--text em {
color: #00d1b2;
color: #FF5203;
}
.pure-button{
background: #00d1b2;
background: #FF5203;
}
.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus, .pagination > .active > span, .pagination > .active > span:hover, .pagination > .active > span:focus {
background-color: #00d1b2 !important;
border-color: #00d1b2 !important;
background-color: #FF5203 !important;
border-color: #FF5203 !important;
}
.tags-li.active {
border: 1px solid #00d1b2;
background-color: #00d1b2;
border: 1px solid #FF5203;
background-color: #FF5203;
}
.collapse-btn:hover{
background: #00d1b2;
background: #FF5203;
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -78,9 +78,7 @@ export default {
let value = []
for (let i = 0; i < fileList.length; i++) {
let message = {}
message.name = fileList[i].name
message.fileName = fileList[i].name
message.url = fileList[i].url
message.fileUrl = fileList[i].url
message.uid=fileList[i].uid
value.push(message)
......@@ -125,7 +123,6 @@ export default {
let objName = getFileNameUUID()
// 调用 ali-oss 中的方法
put(`${objName}${option.file.name}`, option.file).then(res => {
res.fileName=option.file.name;
this.fileList.push(res)
console.log(this.fileList)
this.emitInput(this.fileList)
......
......@@ -69,11 +69,8 @@ export default {
console.log(fileList)
for (let i = 0; i < fileList.length; i++) {
let message = {}
message.name = fileList[i].name
message.fileName = fileList[i].name
message.url = fileList[i].url
message.fileUrl = fileList[i].url
message.uid=fileList[i].uid
value.push(message)
}
this.$emit('input', value)
......
......@@ -4,9 +4,9 @@
class="sidebar-el-menu"
:default-active="onRoutes"
:collapse="collapse"
background-color="#324157"
text-color="#bfcbd9"
active-text-color="#20a0ff"
background-color="#FF5203"
text-color="#fff"
active-text-color="#fff"
unique-opened
router
>
......
......@@ -54,7 +54,7 @@
<dataTable :table-data="detail.commodityVOList" :columns="columns"></dataTable>
<div class="appendix list pos">
<div>附件</div>
<ul v-if="detail.accessoryVOList" class="filelist">
<ul v-if="detail.accessoryVOList.length>0" class="filelist">
<li v-for="(item,index) in detail.accessoryVOList" :key="index">
<a :href="item.accessoryUrl">{{item.fileName}}</a>
</li>
......
......@@ -4,8 +4,8 @@ import router from './router';
import ElementUI from 'element-ui';
import VueI18n from 'vue-i18n';
import { messages } from './components/common/i18n';
import 'element-ui/lib/theme-chalk/index.css'; // 默认主题
// import './assets/css/theme-green/index.css'; // 浅绿色主题
// import 'element-ui/lib/theme-chalk/index.css'; // 默认主题
import './assets/css/theme-green/index.css'; // 浅绿色主题
import './assets/css/icon.css';
import './components/common/directives';
import 'babel-polyfill';
......
......@@ -3,14 +3,14 @@
<div class="content">
<dataBreadcrumb :breads="breads"></dataBreadcrumb>
<div class="message">
<div class="flex-between">
<div class="flex-between bond" >
<div>招标文件:<span @click="download(bidDetail.fileUrl)">{{bidDetail.fileName}}</span></div>
<div>开标信息:<span @click="changeOpen">开标一览表</span></div>
</div>
<div class="flex upload">
<div>变更信息:</div>
<ul class="title">
<li class="flex" v-for="(item,index) in changeList" :key="index">
<ul class="title flex" >
<li v-for="(item,index) in changeList" :key="index">
<router-link :to="{path: '/purchaser/bid/bidStage/changeList/see', query: {id: item.noticeId }}">{{item.title}}</router-link>
</li>
</ul>
......@@ -362,9 +362,14 @@
</script>
<style scoped>
.bond span{
cursor:pointer;
}
.file>div {
margin-right: 10px;
color: #113DEE
color: #113DEE;
cursor:pointer;
}
.message {
......@@ -382,7 +387,7 @@
}
.title>li {
margin-bottom: 10px;
margin-right: 15px;
}
.upload button {
......
......@@ -3,14 +3,14 @@
<div class="content">
<dataBreadcrumb :breads="breads"></dataBreadcrumb>
<div class="message">
<div class="flex-between">
<div class="flex-between bond">
<div>招标文件:<span @click="down(bidDetail.fileUrl)">{{bidDetail.fileName}}</span></div>
<div>开标信息:<span @click="changeOpen">开标一览表</span></div>
</div>
<div class="flex upload">
<div>变更信息:</div
<ul class="title">
<li class="flex" v-for="(item,index) in changeList" :key="index">
<div class="flex-item upload">
<div>变更信息:</div>
<ul class="title flex">
<li v-for="(item,index) in changeList" :key="index">
<router-link :to="{path: '/purchaser/bid/bidStage/changeList/see', query: {id: item.noticeId }}">{{item.title}}</router-link>
</li>
</ul>
......@@ -527,9 +527,13 @@
</script>
<style scoped>
.file>li {
.bond span{
cursor:pointer;
}
.file>div {
margin-right: 10px;
color: #113DEE
color: #113DEE;
cursor:pointer;
}
.message {
......@@ -547,7 +551,8 @@
}
.title>li {
margin-bottom: 10px;
margin-right: 15px;
}
.upload button {
......
......@@ -50,7 +50,7 @@
</div>
</div>
<div class="button">
<el-button @click="back">取消</el-button>
<el-button @click="back">返回</el-button>
</div>
</div>
</div>
......
......@@ -2,10 +2,10 @@
<div>
<div class="content-head">
<dataBreadcrumb :breads="breads"></dataBreadcrumb>
<h3>{{title}}</h3>
<h5>{{title}}保证金缴费信息</h5>
<h3>{{ title }}</h3>
<h5>{{ title }}保证金缴费信息</h5>
<div class="flex state">
<div>状态:{{state}}</div>
<div>状态:{{ state }}</div>
<div></div>
</div>
</div>
......@@ -21,7 +21,7 @@
</el-form-item>
</div>
<div class="flex-between">
<el-form-item label="联系人:" >
<el-form-item label="联系人:">
<el-input v-model.trim="ruleForm.contacts" disabled maxlength="30"></el-input>
</el-form-item>
<el-form-item label="固定电话:" prop="companyTel">
......@@ -64,7 +64,7 @@
</div>
<div>
<el-form-item label="邮寄地址:">
<el-input v-model.trim="ruleForm.recipientsAddress " disabled maxlength="30"></el-input>
<el-input v-model.trim="ruleForm.recipientsAddress" disabled maxlength="30"></el-input>
</el-form-item>
</div>
</div>
......@@ -73,23 +73,18 @@
<div class="describe">缴费信息</div>
<div class="message-form">
<el-form-item label="付款方式:" prop="feeWay">
<el-input v-model.trim="ruleForm.feeWay" disabled maxlength="30">
</el-input>
<el-input v-model.trim="ruleForm.feeWay" disabled maxlength="30"> </el-input>
</el-form-item>
<el-form-item label="备注:" prop="remark">
<el-input :rows="5" v-model.trim="ruleForm.remark" type="textarea" disabled maxlength="300">
</el-input>
<el-input :rows="5" v-model.trim="ruleForm.remark" type="textarea" disabled maxlength="300"> </el-input>
</el-form-item>
<el-form-item label="上传缴费凭证:" v-if="ruleForm.voucherUrl">
<ul>
<li v-for="(item,index) in ruleForm.voucherList" :key="index">
<a :href="item.fileUrl">{{item.fileName}}</a>
<el-form-item label="上传缴费凭证:">
<ul >
<li v-for="(item, index) in ruleForm.voucherList" :key="index">
<a :href="item.fileUrl">{{ item.fileName }}</a>
</li>
</ul>
</el-form-item>
<el-form-item label="上传缴费凭证:" v-else>
<div></div>
</el-form-item>
</div>
</div>
</div>
......@@ -107,7 +102,7 @@
<el-button type="primary" @click="refuse">确 定</el-button>
</div>
</el-dialog>
<div class="bottomButton" v-if="type=='see'">
<div class="bottomButton" v-if="type == 'see'">
<el-button @click="back">返回</el-button>
</div>
<div class="bottomButton" v-else>
......@@ -116,151 +111,140 @@
<el-button type="primary" @click="adopt">审核通过</el-button>
</div>
</div>
</template>
<script>
import {
earnestDetail,
aduit
} from '@api/purchaser/bid'
import dataBreadcrumb from '@components/dataBreadcrumb.vue'
import { earnestDetail, aduit } from '@api/purchaser/bid';
import dataBreadcrumb from '@components/dataBreadcrumb.vue';
export default {
export default {
components: {
dataBreadcrumb,
dataBreadcrumb
},
data() {
return {
dialogFormVisible:false,
state:"",
dialogFormVisible: false,
state: '',
breads: ['招标管理', '招标项目管理', '工作台'],
ruleForm:{},
ruleForm: {},
form: {
reason: ""
reason: ''
},
rules: {
reason: [{
reason: [
{
required: true,
message: '请输入',
trigger: 'blur'
}]
}
]
}
};
},
methods: {
back() {
this.$router.go(-1)
this.$router.go(-1);
},
async getearnestDetail() {
// let message={}
// message.feeId=this.feeId
// message.projectId=localStorage.getItem("projectId")
let feeId=this.feeId
let feeId = this.feeId;
try {
const {
data,
code
} = await earnestDetail(feeId)
const { data, code } = await earnestDetail(feeId);
if (code == 200) {
this.ruleForm = data
this.ruleForm = data;
}
} catch (e) {
console.log(e)
console.log(e);
}
},
// 审核拒绝
async refuse() {
try {
const valid = await this.$refs['form'].validate()
const valid = await this.$refs['form'].validate();
if (valid) {
let form = this.form;
form.aduit = 2
form.id = this.feeId
const {
code,
msg
} = await aduit(form)
form.aduit = 2;
form.id = this.feeId;
const { code, msg } = await aduit(form);
if (code === 200) {
this.$message({
message: msg,
type: 'success',
duration: 1500
})
});
setTimeout(() => {
this.$router.go(-1)
}, 1500)
this.$router.go(-1);
}, 1500);
} else {
this.$success.error(msg)
this.$success.error(msg);
}
}
} catch (e) {
console.log(e)
console.log(e);
}
},
//审核通过
async adopt() {
try {
let form = {};
form.aduit = 1
form.id = this.feeId
const {
code,
msg
} = await aduit(form)
form.aduit = 1;
form.id = this.feeId;
const { code, msg } = await aduit(form);
if (code === 200) {
this.$message({
message: msg,
type: 'success',
duration: 1500
})
});
setTimeout(() => {
this.$router.go(-1)
}, 1500)
this.$router.go(-1);
}, 1500);
} else {
this.$success.error(msg)
this.$success.error(msg);
}
} catch (e) {
console.log(e)
console.log(e);
}
}
},
created(){
this.state=this.$route.query.state;
created() {
this.state = this.$route.query.state;
this.type = this.$route.query.type;
if (this.type == "examine") {
this.title = "审核"
if (this.type == 'examine') {
this.title = '审核';
} else {
this.title = "查看"
this.title = '查看';
}
let feeId = this.$route.query.feeId;
this.feeId = feeId
this.feeId = feeId;
this.getearnestDetail();
}
}
};
</script>
<style scoped>
.message {}
.message {
}
.message>div {
.message > div {
background: #fff;
margin-bottom: 20px;
padding-bottom: 20px;
}
}
.message-form {
.message-form {
width: 70%;
margin: 0 auto
}
.content-head{
margin: 0 auto;
}
.content-head {
position: relative;
}
.state{
}
.state {
position: absolute;
right: 10px;
bottom:10px
}
bottom: 10px;
}
</style>
......@@ -2,10 +2,10 @@
<div>
<div class="content-head">
<dataBreadcrumb :breads="breads"></dataBreadcrumb>
<h3>{{title}}</h3>
<h5>{{title}}购标信息、邮寄信息、发票信息、缴费信息</h5>
<h3>{{ title }}</h3>
<h5>{{ title }}购标信息、邮寄信息、发票信息、缴费信息</h5>
<div class="flex state">
<div>状态:{{state}}</div>
<div>状态:{{ state }}</div>
<div></div>
</div>
</div>
......@@ -64,10 +64,9 @@
</div>
<div>
<el-form-item label="邮寄地址:">
<el-input v-model="ruleForm.recipientsAddress " disabled></el-input>
<el-input v-model="ruleForm.recipientsAddress" disabled></el-input>
</el-form-item>
</div>
</div>
</div>
<div>
......@@ -86,7 +85,7 @@
</div>
<div class="flex-between">
<el-form-item label="纳税人识别号:" prop="invoiceTaxNumber ">
<el-input v-model="ruleForm.invoiceTaxNumber " disabled></el-input>
<el-input v-model="ruleForm.invoiceTaxNumber" disabled></el-input>
</el-form-item>
<el-form-item label="地址:" prop="invoiceAddress">
<el-input v-model="ruleForm.invoiceAddress" disabled></el-input>
......@@ -106,23 +105,18 @@
<div class="describe">缴费信息</div>
<div class="message-form">
<el-form-item label="付款方式:" prop="feeWay">
<el-input v-model="ruleForm.feeWay" disabled>
</el-input>
<el-input v-model="ruleForm.feeWay" disabled> </el-input>
</el-form-item>
<el-form-item label="备注:" prop="remark">
<el-input :rows="5" v-model="ruleForm.remark" type="textarea" disabled>
</el-input>
<el-input :rows="5" v-model="ruleForm.remark" type="textarea" disabled> </el-input>
</el-form-item>
<el-form-item label="上传缴费凭证:" v-if="ruleForm.voucherUrl">
<el-form-item label="上传缴费凭证:" >
<ul>
<li v-for="(item,index) in ruleForm.voucherList" :key="index">
<a :href="item.fileUrl">{{item.fileName}}</a>
<li v-for="(item, index) in ruleForm.voucherList" :key="index">
<a :href="item.fileUrl">{{ item.fileName }}</a>
</li>
</ul>
</el-form-item>
<el-form-item label="上传缴费凭证:" v-if="ruleForm.voucherUrl">
<div></div>
</el-form-item>
</div>
</div>
</div>
......@@ -140,7 +134,7 @@
<el-button type="primary" @click="refuse">确 定</el-button>
</div>
</el-dialog>
<div class="bottomButton" v-if="type=='see'">
<div class="bottomButton" v-if="type == 'see'">
<el-button @click="back">返回</el-button>
</div>
<div class="bottomButton" v-else>
......@@ -149,149 +143,139 @@
<el-button type="primary" @click="adopt">审核通过</el-button>
</div>
</div>
</template>
<script>
import {
bidbookDetail,
operationAduit
} from '@api/purchaser/bid'
import dataBreadcrumb from '@components/dataBreadcrumb.vue'
import { bidbookDetail, operationAduit } from '@api/purchaser/bid';
import dataBreadcrumb from '@components/dataBreadcrumb.vue';
export default {
export default {
components: {
dataBreadcrumb,
dataBreadcrumb
},
data() {
return {
state:"",
state: '',
dialogFormVisible: false,
breads: ['招标管理', '招标项目管理', '工作台'],
ruleForm: {},
form: {
reason: ""
reason: ''
},
rules: {
reason: [{
reason: [
{
required: true,
message: '请输入',
trigger: 'blur'
}]
}
]
}
};
},
methods: {
back() {
this.$router.go(-1)
this.$router.go(-1);
},
async getBidbookDetail() {
let message={}
message.feeId=this.feeId
message.projectId=localStorage.getItem("projectId")
let message = {};
message.feeId = this.feeId;
message.projectId = localStorage.getItem('projectId');
try {
const {
data,
code
} = await bidbookDetail(message)
const { data, code } = await bidbookDetail(message);
if (code == 200) {
this.ruleForm = data
this.ruleForm = data;
}
} catch (e) {
console.log(e)
console.log(e);
}
},
// 审核拒绝
async refuse() {
try {
const valid = await this.$refs['form'].validate()
const valid = await this.$refs['form'].validate();
if (valid) {
let form = this.form;
form.aduit = 2
form.id = this.feeId
const {
code,
msg
} = await operationAduit(form)
form.aduit = 2;
form.id = this.feeId;
const { code, msg } = await operationAduit(form);
if (code === 200) {
this.$message({
message: msg,
type: 'success',
duration: 1500
})
});
setTimeout(() => {
this.$router.go(-1)
}, 1500)
this.$router.go(-1);
}, 1500);
} else {
this.$success.error(msg)
this.$success.error(msg);
}
}
} catch (e) {
console.log(e)
console.log(e);
}
},
//审核通过
async adopt() {
try {
let form = {};
form.aduit = 1
form.id = this.feeId
const {
code,
msg
} = await operationAduit(form)
form.aduit = 1;
form.id = this.feeId;
const { code, msg } = await operationAduit(form);
if (code === 200) {
this.$message({
message: msg,
type: 'success',
duration: 1500
})
});
setTimeout(() => {
this.$router.go(-1)
}, 1500)
this.$router.go(-1);
}, 1500);
} else {
this.$success.error(msg)
this.$success.error(msg);
}
} catch (e) {
console.log(e)
console.log(e);
}
}
},
created() {
this.state=this.$route.query.state;
this.state = this.$route.query.state;
this.type = this.$route.query.type;
if (this.type == "examine") {
this.title = "审核"
if (this.type == 'examine') {
this.title = '审核';
} else {
this.title = "查看"
this.title = '查看';
}
let feeId = this.$route.query.feeId;
this.feeId = feeId
this.feeId = feeId;
this.getBidbookDetail();
}
}
};
</script>
<style scoped>
.message {}
.message {
}
.message>div {
.message > div {
background: #fff;
margin-bottom: 20px;
padding-bottom: 20px;
}
}
.message-form {
.message-form {
width: 70%;
margin: 0 auto
}
.content-head{
margin: 0 auto;
}
.content-head {
position: relative;
}
.state{
}
.state {
position: absolute;
right: 10px;
bottom:10px
}
bottom: 10px;
}
</style>
This diff is collapsed.
......@@ -18,7 +18,7 @@
</dataTable>
<div class="button flex-center">
<el-button @click="back">返回</el-button>
<el-button type="primary" @click="submitData">提交审核</el-button>
<el-button type="primary" @click="submitData">提交</el-button>
</div>
</div>
</div>
......
......@@ -197,12 +197,11 @@ export default {
} else {
this.state = '未审核';
}
// for(let item of data.voucherList){
// item.name=item.fileName
// item.url=item.fileUrl
// }
for (let item of data.voucherList) {
item.name = item.fileName;
item.url = item.fileUrl;
}
this.ruleForm = data;
// this.ruleForm.companyName = JSON.parse(localStorage.getItem("userInfo")).companyName
}
} catch (e) {
console.log(e);
......
......@@ -56,7 +56,8 @@ export default {
}
},
created() {
this.changeDetail(1)
let id=this.$route.query.id
this.changeDetail(id)
},
methods: {
down(url){
......
......@@ -42,7 +42,7 @@
data() {
return {
bidFileEndTime:"",
navs: ['标书费缴纳管理'],
navs: ['招标文件下载'],
files: [],
breads: ['投标管理', '我参与的项目', '工作台'],
columns: [{
......
......@@ -229,10 +229,10 @@ export default {
} else {
this.state = '未审核';
}
// for(let item of data.voucherList){
// item.name=item.fileName
// item.url=item.fileUrl
// }
for (let item of data.voucherList) {
item.name = item.fileName;
item.url = item.fileUrl;
}
this.ruleForm = data;
}
} catch (e) {
......
......@@ -18,7 +18,7 @@
<!-- 报价弹窗 -->
<el-dialog :visible.sync="dialogFormVisible" title="报价" width="50%">
<dataTable :table-data="commoditylist" :columns="commoditycolumns">
<el-table-column slot="operate" label="操作" align="center" fixed="right" width="150">
<el-table-column slot="operate" label="报价" align="center" fixed="right" width="150">
<template slot-scope="scope">
<el-input-number
v-model="scope.row.cost"
......@@ -148,7 +148,7 @@ export default {
prop: 'remark'
},
{
label: '价格',
label: '报价',
prop: 'offerPrice'
},
]
......
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