瀏覽代碼

Merge remote-tracking branch 'origin/master'

rongxin_prod
Xyq123* 1 年之前
父節點
當前提交
10116e5c9c
共有 5 個檔案被更改,包括 61 行新增56 行删除
  1. +13
    -8
      src/App.vue
  2. +40
    -40
      src/router/index.js
  3. +1
    -1
      src/views/news/index.vue
  4. +4
    -4
      src/views/notice/index.vue
  5. +3
    -3
      src/views/policy/index.vue

+ 13
- 8
src/App.vue 查看文件

@@ -1,5 +1,5 @@
<template> <template>
<div id="app">
<div id="app":class="{ 'isCq':isCq }" >
<div <div
:class="{ :class="{
'nsgk-global-main': 'nsgk-global-main':
@@ -54,15 +54,20 @@ export default {
data: () => { data: () => {
return { return {
// direction: "", // direction: "",
isCq:false
}; };
},
mounted() {

}, },
watch: { watch: {
// $route(to, from) {
// let toName = to.name;
// const toIndex = to.meta.index;
// const fromIndex = from.meta.index;
// this.direction = toIndex < fromIndex ? "forward" : "backward";
// },
$route(to, from) {
let toName = to.name;
// 判断当前页面的路由
if (toName&&toName.indexOf('CJ')>-1) {
this.isCq = true;
}
},
}, },
}; };
</script> </script>
@@ -72,7 +77,7 @@ export default {


:root{ :root{
--transform: scale(1.15); --transform: scale(1.15);
--fontSize: 0.4rem;
--fontSize: 0.35rem;
/*--color:#e8041f;*/ /*--color:#e8041f;*/
} }
.nsgk-global-main { .nsgk-global-main {


+ 40
- 40
src/router/index.js 查看文件

@@ -20,7 +20,7 @@ export const constantRoutes = [
}, },
{ {
path: '/index', path: '/index',
name: 'index',
name: 'indexCJ',
meta: { meta: {
title: '主页', title: '主页',
keepAlive: true, keepAlive: true,
@@ -29,7 +29,7 @@ export const constantRoutes = [
}, },
{ {
path: '/login', path: '/login',
name: 'login',
name: 'loginCJ',
meta: { meta: {
title: '登录页', title: '登录页',
hidden: true, hidden: true,
@@ -38,7 +38,7 @@ export const constantRoutes = [
}, },
{ {
path: '/register', path: '/register',
name: 'register',
name: 'registerCJ',
meta: { meta: {
title: '注册页', title: '注册页',
hidden: true, hidden: true,
@@ -87,7 +87,7 @@ export const constantRoutes = [
}, },
{ {
path: '/biddingHall', path: '/biddingHall',
name: 'biddingHall',
name: 'biddingHallCJ',
meta: { meta: {
title: '竞价大厅', title: '竞价大厅',
hidden: true, hidden: true,
@@ -96,7 +96,7 @@ export const constantRoutes = [
}, },
{ {
path: '/project', path: '/project',
name: 'project',
name: 'projectCJ',
meta: { meta: {
title: '供应项目' title: '供应项目'
}, },
@@ -104,7 +104,7 @@ export const constantRoutes = [
}, },
{ {
path: '/project/projectDetail', path: '/project/projectDetail',
name: 'projectDetail',
name: 'projectDetailCJ',
meta: { meta: {
title: '供应项目', title: '供应项目',
hidden: true hidden: true
@@ -113,7 +113,7 @@ export const constantRoutes = [
}, },
{ {
path: '/project/projectNeedsDetail', path: '/project/projectNeedsDetail',
name: 'projectNeedsDetail',
name: 'projectNeedsDetailCJ',
meta: { meta: {
title: '需求项目', title: '需求项目',
hidden: true hidden: true
@@ -122,7 +122,7 @@ export const constantRoutes = [
}, },
{ {
path: '/notice/inviteTendersDetail', path: '/notice/inviteTendersDetail',
name: 'inviteTendersDetail',
name: 'inviteTendersDetailCJ',
meta: { meta: {
title: '招标公告', title: '招标公告',
hidden: true hidden: true
@@ -131,7 +131,7 @@ export const constantRoutes = [
}, },
{ {
path: '/notice/winTheBiddingDetail', path: '/notice/winTheBiddingDetail',
name: 'winTheBiddingDetail',
name: 'winTheBiddingDetailCJ',
meta: { meta: {
title: '中标公告', title: '中标公告',
hidden: true hidden: true
@@ -140,7 +140,7 @@ export const constantRoutes = [
}, },
{ {
path: '/news/index', path: '/news/index',
name: 'news',
name: 'newsCJ',
meta: { meta: {
title: '新闻资讯', title: '新闻资讯',
hidden: true, hidden: true,
@@ -149,7 +149,7 @@ export const constantRoutes = [
}, },
{ {
path: '/news/newDetail', path: '/news/newDetail',
name: 'newDetail',
name: 'newDetailCJ',
meta: { meta: {
title: '新闻详情', title: '新闻详情',
hidden: true, hidden: true,
@@ -158,7 +158,7 @@ export const constantRoutes = [
}, },
{ {
path: '/notice/index', path: '/notice/index',
name: 'notice',
name: 'noticeCJ',
meta: { meta: {
title: '项目公告', title: '项目公告',
hidden: true, hidden: true,
@@ -167,7 +167,7 @@ export const constantRoutes = [
}, },
{ {
path: '/supply/index', path: '/supply/index',
name: 'supply',
name: 'supplyCJ',
meta: { meta: {
title: '个人供求', title: '个人供求',
hidden: true, hidden: true,
@@ -176,7 +176,7 @@ export const constantRoutes = [
}, },
{ {
path: '/supply/supplyDetail', path: '/supply/supplyDetail',
name: 'supplyDetail',
name: 'supplyDetailCJ',
meta: { meta: {
title: '查看供求', title: '查看供求',
hidden: true, hidden: true,
@@ -185,7 +185,7 @@ export const constantRoutes = [
}, },
{ {
path: '/interaction/index', path: '/interaction/index',
name: 'interaction',
name: 'interactionCJ',
meta: { meta: {
title: '互动交流', title: '互动交流',
hidden: true, hidden: true,
@@ -194,7 +194,7 @@ export const constantRoutes = [
}, },
{ {
path: '/register/index', path: '/register/index',
name: 'registerAgreement',
name: 'registerAgreementCJ',
meta: { meta: {
title: '注册须知', title: '注册须知',
hidden: true, hidden: true,
@@ -203,7 +203,7 @@ export const constantRoutes = [
}, },
{ {
path: '/register/registerType', path: '/register/registerType',
name: 'registerType',
name: 'registerTypeCJ',
meta: { meta: {
title: '注册类型', title: '注册类型',
hidden: true, hidden: true,
@@ -212,7 +212,7 @@ export const constantRoutes = [
}, },
{ {
path: '/register/userRegister', path: '/register/userRegister',
name: 'userRegister',
name: 'userRegisterCJ',
meta: { meta: {
title: '个人用户注册', title: '个人用户注册',
hidden: true, hidden: true,
@@ -221,7 +221,7 @@ export const constantRoutes = [
}, },
{ {
path: '/register/companyRegister', path: '/register/companyRegister',
name: 'companyRegister',
name: 'companyRegisterCJ',
meta: { meta: {
title: '单位用户注册', title: '单位用户注册',
hidden: true, hidden: true,
@@ -230,7 +230,7 @@ export const constantRoutes = [
}, },
{ {
path: '/user', path: '/user',
name: 'user',
name: 'userCJ',
meta: { meta: {
title: '个人中心', title: '个人中心',
}, },
@@ -238,7 +238,7 @@ export const constantRoutes = [
}, },
{ {
path: '/user/signature/signatureList', path: '/user/signature/signatureList',
name: 'userSignatureList',
name: 'userSignatureListCJ',
meta: { meta: {
title: '合同管理', title: '合同管理',
hidden: true, hidden: true,
@@ -247,7 +247,7 @@ export const constantRoutes = [
}, },
{ {
path: '/user/signature/signatureDetail', path: '/user/signature/signatureDetail',
name: 'userSignatureDetail',
name: 'userSignatureDetailCJ',
meta: { meta: {
title: '合同管理', title: '合同管理',
hidden: true, hidden: true,
@@ -256,7 +256,7 @@ export const constantRoutes = [
}, },
{ {
path: '/user/signature/signaturePdf', path: '/user/signature/signaturePdf',
name: 'userSignaturePdf',
name: 'userSignaturePdfCJ',
meta: { meta: {
title: '合同预览', title: '合同预览',
hidden: true, hidden: true,
@@ -265,7 +265,7 @@ export const constantRoutes = [
}, },
{ {
path: '/accountSetting', path: '/accountSetting',
name: 'accountSetting',
name: 'accountSettingCJ',
meta: { meta: {
title: '账户设置', title: '账户设置',
hidden: true, hidden: true,
@@ -274,7 +274,7 @@ export const constantRoutes = [
}, },
{ {
path: '/companyInformation', path: '/companyInformation',
name: 'companyInformation',
name: 'companyInformationCJ',
meta: { meta: {
title: '资料修改', title: '资料修改',
hidden: true, hidden: true,
@@ -283,7 +283,7 @@ export const constantRoutes = [
}, },
{ {
path: '/userInformation', path: '/userInformation',
name: 'userInformation',
name: 'userInformationCJ',
meta: { meta: {
title: '资料修改', title: '资料修改',
hidden: true, hidden: true,
@@ -292,7 +292,7 @@ export const constantRoutes = [
}, },
{ {
path: '/bankInformation', path: '/bankInformation',
name: 'bankInformation',
name: 'bankInformationCJ',
meta: { meta: {
title: '银行账户修改', title: '银行账户修改',
hidden: true, hidden: true,
@@ -301,7 +301,7 @@ export const constantRoutes = [
}, },
{ {
path: '/passWordInformation', path: '/passWordInformation',
name: 'passWordInformation',
name: 'passWordInformationCJ',
meta: { meta: {
title: '密码修改', title: '密码修改',
hidden: true, hidden: true,
@@ -310,7 +310,7 @@ export const constantRoutes = [
}, },
{ {
path: '/phoneInformation', path: '/phoneInformation',
name: 'phoneInformation',
name: 'phoneInformationCJ',
meta: { meta: {
title: '手机号修改', title: '手机号修改',
hidden: true, hidden: true,
@@ -319,7 +319,7 @@ export const constantRoutes = [
}, },
{ {
path: '/bidding', path: '/bidding',
name: 'bidding',
name: 'biddingCJ',
meta: { meta: {
title: '我的竞价', title: '我的竞价',
hidden: true, hidden: true,
@@ -328,7 +328,7 @@ export const constantRoutes = [
}, },
{ {
path: '/userInteraction', path: '/userInteraction',
name: 'userInteraction',
name: 'userInteractionCJ',
meta: { meta: {
title: '我的咨询', title: '我的咨询',
hidden: true, hidden: true,
@@ -337,7 +337,7 @@ export const constantRoutes = [
}, },
{ {
path: '/userSupply', path: '/userSupply',
name: 'userSupply',
name: 'userSupplyCJ',
meta: { meta: {
title: '我的供求', title: '我的供求',
hidden: true, hidden: true,
@@ -346,7 +346,7 @@ export const constantRoutes = [
}, },
{ {
path: '/application', path: '/application',
name: 'application',
name: 'applicationCJ',
meta: { meta: {
title: '我的供求', title: '我的供求',
hidden: true, hidden: true,
@@ -355,7 +355,7 @@ export const constantRoutes = [
}, },
{ {
path: '/policy', path: '/policy',
name: 'policy',
name: 'policyCJ',
meta: { meta: {
title: '政策法规', title: '政策法规',
hidden: true, hidden: true,
@@ -364,7 +364,7 @@ export const constantRoutes = [
}, },
{ {
path: '/project/signUp', path: '/project/signUp',
name: 'signUp',
name: 'signUpCJ',
meta: { meta: {
title: '报名', title: '报名',
hidden: true hidden: true
@@ -373,7 +373,7 @@ export const constantRoutes = [
}, },
{ {
path: '/noticeDetail', path: '/noticeDetail',
name: 'noticeDetail',
name: 'noticeDetailCJ',
meta: { meta: {
title: '公告详情', title: '公告详情',
hidden: true, hidden: true,
@@ -382,7 +382,7 @@ export const constantRoutes = [
}, },
{ {
path: '/attestationDetail', path: '/attestationDetail',
name: 'attestationDetail',
name: 'attestationDetailCJ',
meta: { meta: {
title: '鉴证详情', title: '鉴证详情',
hidden: true, hidden: true,
@@ -391,7 +391,7 @@ export const constantRoutes = [
}, },
{ {
path: '/policyDetail', path: '/policyDetail',
name: 'policyDetail',
name: 'policyDetailCJ',
meta: { meta: {
title: '政策法规', title: '政策法规',
hidden: true, hidden: true,
@@ -400,7 +400,7 @@ export const constantRoutes = [
}, },
{ {
path: '/interactionAdd', path: '/interactionAdd',
name: 'interactionAdd',
name: 'interactionAddCJ',
meta: { meta: {
title: '添加互动交流', title: '添加互动交流',
hidden: true, hidden: true,
@@ -409,7 +409,7 @@ export const constantRoutes = [
}, },
{ {
path: '/supplyAdd', path: '/supplyAdd',
name: 'supplyAdd',
name: 'supplyAddCJ',
meta: { meta: {
title: '添加互动交流', title: '添加互动交流',
hidden: true, hidden: true,


+ 1
- 1
src/views/news/index.vue 查看文件

@@ -14,7 +14,7 @@
@load="getList()" @load="getList()"
> >
<!-- @load="newList"--> <!-- @load="newList"-->
<van-cell v-for="item in newList" :key="item.id" :title="item.title" :label="item.newsTime" :to="{name:'newDetail', query: {id:item.id}}">
<van-cell v-for="item in newList" :key="item.id" :title="item.title" :label="item.newsTime" :to="{name:'newDetailCJ', query: {id:item.id}}">
<!-- 使用 right-icon 插槽来自定义右侧图标 --> <!-- 使用 right-icon 插槽来自定义右侧图标 -->
<template #right-icon> <template #right-icon>
<van-image :src="item.img" class="search-icon" width="30%" style="margin-left: 10px;" v-if="item.img" /> <van-image :src="item.img" class="search-icon" width="30%" style="margin-left: 10px;" v-if="item.img" />


+ 4
- 4
src/views/notice/index.vue 查看文件

@@ -17,7 +17,7 @@
style="margin-top: 10px;" style="margin-top: 10px;"
@load="getList" @load="getList"
> >
<van-cell v-for="(item,index) in noticeList" icon="play" :key="index" :title="item.projectName" :to="{name:'noticeDetail', query: {id:item.id}}">
<van-cell v-for="(item,index) in noticeList" icon="play" :key="index" :title="item.projectName" :to="{name:'noticeDetailCJ', query: {id:item.id}}">
<template #label> <template #label>
项目编号:{{item.projectCode}} <p style="float: right;">{{item.dealTime.substr(0,10)}}</p> 项目编号:{{item.projectCode}} <p style="float: right;">{{item.dealTime.substr(0,10)}}</p>
</template> </template>
@@ -33,7 +33,7 @@
style="margin-top: 10px;" style="margin-top: 10px;"
@load="getAttestationList" @load="getAttestationList"
> >
<van-cell v-for="(item,index) in attestationList" :key="index" icon="play" :title="item.projectName" :to="{name:'attestationDetail', query: {id:item.id}}">
<van-cell v-for="(item,index) in attestationList" :key="index" icon="play" :title="item.projectName" :to="{name:'attestationDetailCJ', query: {id:item.id}}">
<template #label> <template #label>
鉴证书编号:[{{item.jzsNumOne}}{{item.jzsNumTwo}}] <p style="float: right;">{{item.jzsSignDate}}</p> 鉴证书编号:[{{item.jzsNumOne}}{{item.jzsNumTwo}}] <p style="float: right;">{{item.jzsSignDate}}</p>
</template> </template>
@@ -49,7 +49,7 @@
style="margin-top: 10px;" style="margin-top: 10px;"
@load="getinviteTendersList" @load="getinviteTendersList"
> >
<van-cell v-for="(item,index) in inviteTendersList" :key="index" icon="play" :title="item.projectName" :to="{name:'inviteTendersDetail', query: {id:item.id}}">
<van-cell v-for="(item,index) in inviteTendersList" :key="index" icon="play" :title="item.projectName" :to="{name:'inviteTendersDetailCJ', query: {id:item.id}}">
<template #label> <template #label>
招标方:{{item.tenderName}} <p style="float: right;">{{item.logintime}}</p> 招标方:{{item.tenderName}} <p style="float: right;">{{item.logintime}}</p>
</template> </template>
@@ -65,7 +65,7 @@
style="margin-top: 10px;" style="margin-top: 10px;"
@load="getwinTheBiddingList" @load="getwinTheBiddingList"
> >
<van-cell v-for="(item,index) in winTheBiddingList" :key="index" icon="play" :title="item.projectName" :to="{name:'winTheBiddingDetail', query: {id:item.id}}">
<van-cell v-for="(item,index) in winTheBiddingList" :key="index" icon="play" :title="item.projectName" :to="{name:'winTheBiddingDetailCJ', query: {id:item.id}}">
<template #label> <template #label>
<div v-if="item.dealType=='1'"> <div v-if="item.dealType=='1'">
中标方:{{item.assignee}} <p style="float: right;">{{item.dealTime}}</p> 中标方:{{item.assignee}} <p style="float: right;">{{item.dealTime}}</p>


+ 3
- 3
src/views/policy/index.vue 查看文件

@@ -17,7 +17,7 @@
style="margin-top: 10px;" style="margin-top: 10px;"
@load="getList" @load="getList"
> >
<van-cell v-for="(item,index) in List" icon="play" :key="index" :title="item.title" :to="{name:'policyDetail', query: {id:item.id}}">
<van-cell v-for="(item,index) in List" icon="play" :key="index" :title="item.title" :to="{name:'policyDetailCJ', query: {id:item.id}}">
<template #label> <template #label>
<p style="float: right;">发布时间:{{item.newsTime}}</p> <p style="float: right;">发布时间:{{item.newsTime}}</p>
</template> </template>
@@ -33,7 +33,7 @@
style="margin-top: 10px;" style="margin-top: 10px;"
@load="getSecondList" @load="getSecondList"
> >
<van-cell v-for="(item,index) in secondList" icon="play" :key="index" :title="item.title" :to="{name:'policyDetail', query: {id:item.id}}">
<van-cell v-for="(item,index) in secondList" icon="play" :key="index" :title="item.title" :to="{name:'policyDetailCJ', query: {id:item.id}}">
<template #label> <template #label>
<p style="float: right;">发布时间:{{item.newsTime}}</p> <p style="float: right;">发布时间:{{item.newsTime}}</p>
</template> </template>
@@ -49,7 +49,7 @@
style="margin-top: 10px;" style="margin-top: 10px;"
@load="getThreeList" @load="getThreeList"
> >
<van-cell v-for="(item,index) in threeList" icon="play" :key="index" :title="item.title" :to="{name:'policyDetail', query: {id:item.id}}">
<van-cell v-for="(item,index) in threeList" icon="play" :key="index" :title="item.title" :to="{name:'policyDetailCJ', query: {id:item.id}}">
<template #label> <template #label>
<p style="float: right;">发布时间:{{item.newsTime}}</p> <p style="float: right;">发布时间:{{item.newsTime}}</p>
</template> </template>


Loading…
取消
儲存