diff --git a/src/api/bs/mySupplierAd.js b/src/api/bs/mySupplierAd.js new file mode 100644 index 0000000..12c58f7 --- /dev/null +++ b/src/api/bs/mySupplierAd.js @@ -0,0 +1,20 @@ +import request from '@/plugin/axios' + +// 供应商招标列表分页 +export function getQuotationSheetBiddingSpPage(query) { + return request({ + url: '/bs/quotation-sheet/tendereeQuery', + method: 'get', + + params: query + }) +} + +// 供应商招标详情 +export function getPageList(query) { + return request({ + url: '/bs/quotation-sheet-bidding/page', + method: 'get', + params: query + }) +} diff --git a/src/components/MySupplierAdListCard/index.vue b/src/components/MySupplierAdListCard/index.vue new file mode 100644 index 0000000..357013d --- /dev/null +++ b/src/components/MySupplierAdListCard/index.vue @@ -0,0 +1,193 @@ + + + + + diff --git a/src/router/modules/contract.js b/src/router/modules/contract.js index f9b239e..ae53963 100644 --- a/src/router/modules/contract.js +++ b/src/router/modules/contract.js @@ -23,6 +23,8 @@ export default { { path: '/quotationSheet', name: `${pre}quotationSheet`, component: () => import('@/views/contract/quotationSheet'), meta: { cache: true, title: '报价单管理' } }, { path: '/quotationSheetBidding', name: `${pre}quotationSheetBidding`, component: () => import('@/views/contract/quotationSheetBidding'), meta: { cache: true, title: '报价单中标管理' } }, { path: '/myMateriel', name: `${pre}myMateriel`, component: () => import('@/views/contract/myMateriel'), meta: { cache: true, title: '物料管理列表' } }, + { path: '/mySupplierAd', name: `${pre}mySupplierAd`, component: () => import('@/views/contract/mySupplierAd'), meta: { cache: true, title: '供应商招标列表' } }, + { path: '/supplierAd', name: `${pre}supplierAd`, component: () => import('@/views/contract/supplierAd'), meta: { cache: true, title: '供应商招标' } }, { path: '/materiel', name: `${pre}materiel`, component: () => import('@/views/contract/materiel'), meta: { cache: true, title: '物料管理' } }, { path: '/payPlan', name: `${pre}payPlan`, component: () => import('@/views/contract/payPlan'), meta: { cache: true, title: '付款计划' } }, { path: '/getPlan', name: `${pre}getPlan`, component: () => import('@/views/contract/getPlan'), meta: { cache: true, title: '收款计划' } }, diff --git a/src/views/contract/mySupplierAd/components/HeaderFilter.vue b/src/views/contract/mySupplierAd/components/HeaderFilter.vue new file mode 100644 index 0000000..627bfed --- /dev/null +++ b/src/views/contract/mySupplierAd/components/HeaderFilter.vue @@ -0,0 +1,253 @@ + + + + + diff --git a/src/views/contract/mySupplierAd/components/UserList.vue b/src/views/contract/mySupplierAd/components/UserList.vue new file mode 100644 index 0000000..95131f2 --- /dev/null +++ b/src/views/contract/mySupplierAd/components/UserList.vue @@ -0,0 +1,306 @@ + + + + diff --git a/src/views/contract/mySupplierAd/components/index.scss b/src/views/contract/mySupplierAd/components/index.scss new file mode 100644 index 0000000..e5c432f --- /dev/null +++ b/src/views/contract/mySupplierAd/components/index.scss @@ -0,0 +1,163 @@ +$hf-contain-p: 0 1.2rem; +$hf-contain-f: 0.76rem; +$hf-high-color: #0088fe; +// 激活的颜色 +$hf-high-color: #0088fe; +.header-filter { + .hf-r-icon-bg-act { + .van-icon { + color: $hf-high-color !important; + } + } + background: #ffffff; + display: flex; + justify-content: space-between; + align-items: center; + padding: $hf-contain-p; + + .hf-l-list { + .hf-l-list-menu { + /deep/.van-dropdown-menu__bar { + height: auto; + box-shadow: none; + + .van-dropdown-menu__item { + flex: inherit; + margin-right: 1rem; + + .van-dropdown-menu__title { + padding: 0.6rem 0.4rem 0.6rem 0; + font-size: $hf-contain-f; + + &::after { + border: 1px solid; + padding: 0.1rem; + border-color: transparent transparent #333333 #333333; + } + } + + .van-dropdown-menu__title--active { + color: $hf-high-color; + + &::after { + border-color: transparent transparent $hf-high-color $hf-high-color; + } + } + } + } + } + } + + .hf-r-list { + display: flex; + + .hf-r-list-item { + margin-left: 0.4rem; + + .hf-r-icon-bg { + background: #d7d7d7; + width: 1.5rem; + height: 1.5rem; + border-radius: 1.5rem; + display: flex; + justify-content: center; + align-items: center; + color: #ffffff; + } + } + } + + .hf-drop-view { + padding: $hf-contain-p; + padding-bottom: 0.8rem; + + .hf-drop-contain { + display: flex; + flex-wrap: wrap; + padding-bottom: 0.8rem; + + .hr-drop-filter-item { + padding: $hf-contain-p; + font-size: $hf-contain-f; + width: 50%; + box-sizing: border-box; + padding: 0.8rem 0; + } + + .hr-drop-filter-item-act { + color: $hf-high-color; + } + } + + // 快捷筛选 + .hf-drop-quick { + margin-top: 1rem; + + .hf-drop-quick-item { + margin-bottom: 1.5rem; + + .hf-drop-quick-title { + color: #333333; + font-size: 0.84rem; + } + + .hf-drop-quick-list { + display: flex; + margin: 0.6rem 0; + font-size: $hf-contain-f; + + .hf-drop-quick-list-item { + border: 1px solid #f3f3f3; + background: #f3f3f3; + margin-right: 0.8rem; + padding: 0.4rem 0.6rem; + border-radius: 1rem; + transition: background-color, color 0.2s linear; + } + + .hf-drop-quick-list-item-act { + background: #ffffff; + color: $hf-high-color; + border: 1px solid $hf-high-color; + } + + .hf-drop-quick-list-item-checkbox { + margin-right: 1rem; + + /deep/.van-checkbox__label { + margin-left: 0.2rem; + } + } + } + + .hf-drop-quick-calendar { + /deep/.van-calendar__header { + box-shadow: none; + border-bottom: 1px solid #eeeeee; + } + } + } + } + } + + .hf-drop-contain-empty { + color: #666666; + text-align: center; + font-size: 0.8rem; + } + + .searchInput { + padding: 0.3rem 0; + width: 100%; + + .van-search__content { + background: #ffffff; + border: 1px solid #f3f3f3; + border-radius: 0.3rem; + + /deep/input { + caret-color: #0088fe; + } + } + } +} diff --git a/src/views/contract/mySupplierAd/index.vue b/src/views/contract/mySupplierAd/index.vue new file mode 100644 index 0000000..062803a --- /dev/null +++ b/src/views/contract/mySupplierAd/index.vue @@ -0,0 +1,23 @@ + + + diff --git a/src/views/contract/supplierAd/index.vue b/src/views/contract/supplierAd/index.vue new file mode 100644 index 0000000..36c6409 --- /dev/null +++ b/src/views/contract/supplierAd/index.vue @@ -0,0 +1,152 @@ + + + + diff --git a/src/views/home/index.vue b/src/views/home/index.vue index cae9615..71ed258 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -340,7 +340,7 @@ export default { show: true }, { - route: '/contract/procure/supplier-ad', + route: '/mySupplierAd', title: '供应商招标', icon: 'user-o', show: true