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

更换整个后台的颜色

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