Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-purchase
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张冬
web-purchase
Commits
3a86fa2d
Commit
3a86fa2d
authored
Dec 08, 2020
by
zhangdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
捷安菜后台样式
parent
01a8e223
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
48 additions
and
31 deletions
+48
-31
main.css
src/assets/css/main.css
+1
-1
Sidebar.vue
src/components/common/Sidebar.vue
+2
-1
dataTable.vue
src/components/dataTable.vue
+0
-0
nopageTable.vue
src/components/nopageTable.vue
+4
-5
queryTable.vue
src/components/queryTable.vue
+0
-0
administrationList.vue
src/pages/purchaser/bid/administrationList.vue
+1
-1
jurisdictionList.vue
src/pages/purchaser/organization/jurisdictionList.vue
+12
-6
home.vue
src/pages/supply/home/home.vue
+19
-14
jurisdictionList.vue
src/pages/supply/organization/jurisdictionList.vue
+8
-2
request.js
src/utils/request.js
+1
-1
No files found.
src/assets/css/main.css
View file @
3a86fa2d
...
...
@@ -22,7 +22,7 @@ a {
.content-box
{
min-width
:
1
2
00px
;
min-width
:
1
4
00px
;
/* width:1670px; */
position
:
absolute
;
left
:
250px
;
...
...
src/components/common/Sidebar.vue
View file @
3a86fa2d
...
...
@@ -23,7 +23,7 @@
:index=
"subItem.index"
:key=
"subItem.index"
>
<template
slot=
"title"
>
{{
subItem
.
label
}}
</
template
>
<template
slot=
"title"
>
{{
subItem
.
label
}}
</
template
>
<el-menu-item
v-for=
"(threeItem,i) in subItem.children"
:key=
"i"
...
...
@@ -34,6 +34,7 @@
v-else
:index=
"subItem.index"
:key=
"subItem.index"
style=
"font-size:12px"
>
{{ subItem.label }}
</el-menu-item>
</template>
</el-submenu>
...
...
src/components/dataTable.vue
View file @
3a86fa2d
This diff is collapsed.
Click to expand it.
src/components/nopageTable.vue
View file @
3a86fa2d
...
...
@@ -68,10 +68,6 @@ export default {
type
:
Boolean
,
default
:
false
},
labelWidth
:
{
type
:
String
,
default
:
'100px'
},
size
:
{
type
:
String
,
default
:
'medium'
...
...
@@ -126,11 +122,14 @@ export default {
data
()
{
return
{
objInput
:
{},
ceshi
:
{}
ceshi
:
{},
labelWidth
:
""
}
},
created
()
{
if
(
this
.
checklist
.
length
>
0
)
{
let
length
=
Number
(
this
.
checklist
[
0
].
title
.
length
)
;
this
.
labelWidth
=
length
*
25
+
""
const
obj
=
{}
this
.
checklist
.
forEach
((
item
)
=>
{
obj
[
item
.
model
]
=
''
...
...
src/components/queryTable.vue
View file @
3a86fa2d
This diff is collapsed.
Click to expand it.
src/pages/purchaser/bid/administrationList.vue
View file @
3a86fa2d
...
...
@@ -2,7 +2,7 @@
<div>
<div
class=
"content"
>
<dataTable
:columns=
"columns"
:page-obj=
"pageObj"
:breads=
"breads"
:checklist=
"checklist"
url=
"/tender-project/list"
>
<el-button
slot=
"moreButton"
type=
"primary"
style=
"margin-left: 50px;"
@
click=
"handlerelease"
>
发布项目
</el-button>
<el-button
slot=
"moreButton"
type=
"primary"
@
click=
"handlerelease"
>
发布项目
</el-button>
<el-table-column
slot=
"operate"
label=
"项目类型"
align=
"center"
fixed=
"right"
width=
"100"
>
<template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.bidType==0"
>
公开招标
</div>
...
...
src/pages/purchaser/organization/jurisdictionList.vue
View file @
3a86fa2d
<
template
>
<div>
<div
class=
"content"
>
<dataBreadcrumb
:breads=
"breads"
></dataBreadcrumb>
<el-button
type=
"primary"
@
click=
"add"
>
创建新的角色
</el-button>
<dataTable
:table-data=
"tableData"
:columns=
"columns"
:is-pageobj=
"false"
:tableTop=
"
3
0"
>
<dataBreadcrumb
:breads=
"breads"
:breadbottom=
"0"
></dataBreadcrumb>
<el-button
type=
"primary"
@
click=
"add"
class=
"add"
>
创建新的角色
</el-button>
<dataTable
:table-data=
"tableData"
:columns=
"columns"
:is-pageobj=
"false"
:tableTop=
"
5
0"
>
<el-table-column
slot=
"operate"
label=
"操作"
align=
"center"
fixed=
"right"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"see(scope.row)"
>
查看
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"handdelete(scope.row)"
v-if=
"scope.row.roleId
!==
1"
>
删除
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"handdelete(scope.row)"
v-if=
"scope.row.roleId
!==
1"
>
删除
</el-button>
</
template
>
</el-table-column>
</dataTable>
...
...
@@ -16,7 +16,7 @@
</template>
<
script
>
import
{
roleList
,
roledelete
}
from
'@api/purchaser/organization'
;
import
{
roleList
,
roledelete
}
from
'@api/purchaser/organization'
;
import
dataTable
from
'@components/nopageTable.vue'
;
import
dataBreadcrumb
from
'@components/dataBreadcrumb.vue'
;
export
default
{
...
...
@@ -73,7 +73,7 @@ export default {
console
.
log
(
e
);
}
},
see
(
row
)
{
see
(
row
)
{
this
.
$router
.
push
(
`/purchaser/organization/jurisdictionSee?id=
${
row
.
roleId
}
`
);
},
add
()
{
...
...
@@ -97,4 +97,10 @@ export default {
</
script
>
<
style
scoped
>
.add
{
position
:
absolute
;
top
:
10px
;
left
:
180px
;
}
</
style
>
src/pages/supply/home/home.vue
View file @
3a86fa2d
...
...
@@ -15,7 +15,13 @@
</li>
</ul>
<h2>
项目信息
</h2>
<dataTable
:table-data=
"tabledata"
:columns=
"columns"
>
</dataTable>
<dataTable
:table-data=
"tabledata"
:columns=
"columns"
>
<el-table-column
slot=
"operate"
label=
"当前状态"
align=
"left"
width=
"500"
>
<template
slot-scope=
"scope"
>
<div>
{{
scope
.
row
.
state
}}
</div>
</
template
>
</el-table-column>
</dataTable>
<!-- <h2 class="se-h2">待办事项</h2>
<ul class="project-list flex">
<li v-for="item in projectlist" :key="item.id">
...
...
@@ -133,15 +139,14 @@ export default {
//表格第一行
columns
:
[
{
label
:
'当前状态'
,
prop
:
'state'
selection
:
true
},
{
label
:
'数量'
,
prop
:
'number'
slot
:
'operate'
},
{
slot
:
'opration'
label
:
'数量'
,
prop
:
'number'
}
],
tabledata
:
[
...
...
@@ -217,16 +222,16 @@ export default {
}
.user-list
>
li
{
margin-right
:
70px
;
font-size
:
30px
;
color
:
#fff
font-size
:
30px
;
color
:
#fff
;
}
.user-list
>
li
>
p
{
font-size
:
18px
;
margin-top
:
10px
;
margin-bottom
:
10px
;
.user-list
>
li
>
p
{
font-size
:
18px
;
margin-top
:
10px
;
margin-bottom
:
10px
;
}
.user-list
>
li
>
i
{
color
:
#fff
.user-list
>
li
>
i
{
color
:
#fff
;
}
h5
{
margin-top
:
30px
;
...
...
src/pages/supply/organization/jurisdictionList.vue
View file @
3a86fa2d
...
...
@@ -2,8 +2,8 @@
<div>
<div
class=
"content"
>
<dataBreadcrumb
:breads=
"breads"
></dataBreadcrumb>
<el-button
type=
"primary"
@
click=
"add"
>
创建新的角色
</el-button>
<dataTable
:table-data=
"tableData"
:columns=
"columns"
:is-pageobj=
"false"
:tableTop=
"
3
0"
>
<el-button
type=
"primary"
@
click=
"add"
class=
"add"
>
创建新的角色
</el-button>
<dataTable
:table-data=
"tableData"
:columns=
"columns"
:is-pageobj=
"false"
:tableTop=
"
5
0"
>
<el-table-column
slot=
"operate"
label=
"操作"
align=
"center"
fixed=
"right"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"see(scope.row)"
>
查看
</el-button>
...
...
@@ -97,4 +97,10 @@ export default {
</
script
>
<
style
scoped
>
.add
{
position
:
absolute
;
top
:
10px
;
left
:
180px
;
}
</
style
>
src/utils/request.js
View file @
3a86fa2d
...
...
@@ -7,7 +7,7 @@ import {requestUrl,homeUrl} from "./common.js"
// 创建axios实例
const
service
=
axios
.
create
({
baseURL
:
`/apis`
,
//
baseURL:"http://www.eugood.cn/apis",
baseURL
:
"http://www.eugood.cn/apis"
,
timeout
:
35000
// 请求超时时间
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment