Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
platform
/
finance_serv
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit eba4b4d0
authored
Sep 03, 2018
by
谢明辉
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
a
1 parent
deaca861
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
133 additions
and
62 deletions
code/finance_web/src/components/contract.vue
code/finance_web/src/components/login.vue
code/finance_web/src/components/main.vue
code/finance_web/src/components/manage.vue
code/finance_web/src/components/search.vue
code/finance_web/src/components/user.vue
code/finance_web/src/components/contract.vue
View file @
eba4b4d
...
...
@@ -297,7 +297,7 @@
</el-table-column>
<el-table-column
prop=
"payment_requirement"
label=
"本期付款条件"
min-width=
"300"
align=
"center"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"140"
align=
"center"
fixed=
"right"
>
<el-table-column
label=
"操作"
width=
"140"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-button-group>
<el-button
@
click
.
native
.
prevent=
"payment_data_modify(scope.$index, payments_data)"
type=
"primary"
size=
"mini"
round
:disabled=
"disabled_list[0]==1"
>
...
...
@@ -376,7 +376,7 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"备注"
>
<el-input
class=
"width-220"
v-model=
"first_acceptancs_form.acceptanc_note"
placeholder=
"备注"
clearable
></el-input>
<el-input
class=
"width-220"
type=
"textarea"
:rows=
"2"
v-model=
"first_acceptancs_form.acceptanc_note"
placeholder=
"备注"
clearable
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -412,7 +412,7 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"备注"
>
<el-input
class=
"width-220"
v-model=
"final_acceptancs_form.acceptanc_note"
placeholder=
"备注"
clearable
></el-input>
<el-input
class=
"width-220"
type=
"textarea"
:rows=
"2"
v-model=
"final_acceptancs_form.acceptanc_note"
placeholder=
"备注"
clearable
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -457,7 +457,7 @@
</el-table-column>
<el-table-column
prop=
"reback_note"
label=
"回款备注"
min-width=
"300"
align=
"center"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"140"
align=
"center"
fixed=
"right"
>
<el-table-column
label=
"操作"
width=
"140"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-button-group>
<el-button
@
click
.
native
.
prevent=
"reback_data_modify(scope.$index, rebacks_data)"
type=
"primary"
size=
"mini"
round
:disabled=
"disabled_list[1]==1"
>
...
...
@@ -532,7 +532,7 @@
</el-table-column>
<el-table-column
prop=
"receipt_note"
label=
"备注"
min-width=
"300"
align=
"center"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"140"
align=
"center"
fixed=
"right"
>
<el-table-column
label=
"操作"
width=
"140"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-button-group>
<el-button
@
click
.
native
.
prevent=
"receipt_data_modify(scope.$index, receipts_data)"
type=
"primary"
size=
"mini"
round
:disabled=
"disabled_list[1]==1"
>
...
...
@@ -589,7 +589,7 @@
</el-table-column>
<el-table-column
min-width=
"10"
align=
"center"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"140"
align=
"center"
fixed=
"right"
>
<el-table-column
label=
"操作"
width=
"140"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-button-group>
<el-button
:disabled=
"disabled_list[2]==1"
@
click
.
native
.
prevent=
"deliver_data_modify(scope.$index, delivers_data)"
type=
"primary"
size=
"mini"
round
>
...
...
@@ -2901,6 +2901,10 @@
};
</
script
>
<
style
scoped
>
#contract_info
>>>
.el-input__inner
{
background-color
:
rgba
(
0
,
0
,
0
,
0.2
);
}
.add_button
{
font-size
:
20px
;
padding-top
:
20px
;
...
...
@@ -2917,56 +2921,56 @@ span:hover {
background-color
:
#34352c
;
}
#contract_info
>>>
#over_days
:disabled
{
background
:
yellow
;
color
:
black
;
}
#contract_info
>>>
#total_receive_amount
:disabled
{
background
:
yellow
;
color
:
black
;
}
#contract_info
>>>
label
{
color
:
black
;
}
#contract_info
>>>
.el-card
{
margin-bottom
:
20px
;
}
#contract_info
>>>
.el-dialog
,
#contract_info
>>>
.el-card__body
{
background
:
lightgray
;
background-color
:
#8ec5fc
;
background-image
:
linear-gradient
(
225deg
,
#8ec5fc
0%
,
#e0c3fc
100%
);
}
#contract_info
>>>
input
{
border-color
:
black
;
color
:
black
;
}
#contract_info
>>>
.el-date-editor
,
#contract_info
>>>
.el-textarea__inner
,
#contract_info
>>>
.el-upload-dragger
{
#contract_info
>>>
.el-textarea__inner
{
border-color
:
black
;
background-color
:
rgba
(
0
,
0
,
0
,
0.2
);
color
:
black
;
}
#contract_info
>>>
.el-range-editor.is-disabled
,
#contract_info
>>>
.el-textarea__inner
:disabled
,
#contract_info
>>>
.el-upload-dragger
:disabled
{
#contract_info
>>>
.el-range-input
,
#contract_info
>>>
.el-textarea__inner
:disabled
{
color
:
black
;
background
:
lightgray
;
background-color
:
rgba
(
0
,
0
,
0
,
0
);
}
#contract_info
>>>
.el-date-editor
{
border-color
:
black
;
}
#contract_info
>>>
.el-input-number__decrease
,
#contract_info
>>>
.el-input-number__increase
{
color
:
black
;
background
:
lightgray
;
background-color
:
rgba
(
0
,
0
,
0
,
0
);
border
:
0px
!important
;
}
#contract_info
>>>
input
:disabled
{
color
:
black
;
background
:
lightgray
;
}
#contract_info
>>>
thead
>
tr
>
th
>
.cell
{
color
:
black
;
}
#contract_info
>>>
thead
>
tr
>
th
{
background-color
:
lightgray
;
}
#province
{
margin-right
:
0
;
}
#contract_info
>>>
tr
,
#contract_info
>>>
.el-table
{
background-color
:
rgba
(
0
,
0
,
0
,
0
)
}
#contract_info
>>>
th
{
background-color
:
rgba
(
0
,
0
,
0
,
0.2
)
}
</
style
>
code/finance_web/src/components/login.vue
View file @
eba4b4d
<
template
>
<div
id=
"login_box"
@
click
.
ctrl
.
meta
.
alt=
"manager"
>
<div
class=
"color-change-5x "
id=
"login_box"
@
click
.
ctrl
.
meta
.
alt=
"manager"
>
<el-row
type=
"flex"
justify=
"center"
align=
"middle"
style=
"height:80%"
>
<el-card
class=
"box-card"
shadow=
"
hover
"
style=
"min-width:25%"
>
<el-card
class=
"box-card"
shadow=
"
always
"
style=
"min-width:25%"
>
<div
slot=
"header"
style=
"text-align:center"
class=
"clearfix"
>
<span
style=
"font-size:24px"
>
合同管理系统
</span>
</div>
...
...
@@ -10,12 +10,12 @@
</div>
<el-form
id=
"aa"
ref=
"login_form"
:model=
"form"
:rules=
"rules"
label-width=
"60px"
label-position=
"top"
>
<el-form-item
prop=
"username"
>
<el-input
v-model=
"form.username"
>
<el-input
id=
"name"
v-model=
"form.username"
>
<template
slot=
"prepend"
>
姓名
</
template
>
</el-input>
</el-form-item>
<el-form-item
prop=
"password"
>
<el-input
:type=
"password_type"
v-model=
"form.password"
auto-complete=
"off"
@
keyup
.
enter
.
native=
"submitForm('login_form')"
>
<el-input
id=
"password"
:type=
"password_type"
v-model=
"form.password"
auto-complete=
"off"
@
keyup
.
enter
.
native=
"submitForm('login_form')"
>
<
template
slot=
"prepend"
>
密码
</
template
>
<el-button
slot=
"append"
:icon=
"view_password"
@
click=
"show_password"
></el-button>
</el-input>
...
...
@@ -354,8 +354,51 @@
#login_box
{
height
:
100%
;
}
#login_box
.el-card
{
background-color
:
rgba
(
255
,
255
,
255
,
0.3
);
border-color
:
rgba
(
0
,
0
,
0
,
0
);
}
#fankui
{
text-align
:
center
;
margin-top
:
0
;
}
.color-change-5x
{
-webkit-animation
:
color-change-5x
8s
linear
infinite
alternate
both
;
animation
:
color-change-5x
8s
linear
infinite
alternate
both
;
}
@-webkit-keyframes
color-change-5x
{
0
%
{
background
:
#19dcea
;
}
25
%
{
background
:
#b22cff
;
}
50
%
{
background
:
#ea2222
;
}
75
%
{
background
:
#f5be10
;
}
100
%
{
background
:
#3bd80d
;
}
}
@keyframes
color-change-5x
{
0
%
{
background
:
#19dcea
;
}
25
%
{
background
:
#b22cff
;
}
50
%
{
background
:
#ea2222
;
}
75
%
{
background
:
#f5be10
;
}
100
%
{
background
:
#3bd80d
;
}
}
</
style
>
code/finance_web/src/components/main.vue
View file @
eba4b4d
...
...
@@ -7,16 +7,16 @@
</transition>
</
template
>
<
script
>
export
default
{
data
()
{
export
default
{
data
()
{
return
{
show
:
false
}
show
:
false
};
},
mounted
()
{
this
.
show
=
true
;
},
};
}
};
</
script
>
<
style
scoped
>
...
...
code/finance_web/src/components/manage.vue
View file @
eba4b4d
...
...
@@ -152,13 +152,12 @@
},
delete_code
(
data
)
{
this
.
$Axios
({
method
:
'delete'
,
url
:
this
.
add_data
.
url
+
'/'
+
data
.
unid
}).
then
(
res
=>
{
this
.
show_message
(
'删除成功'
,
'success'
)
this
.
get_data
(
this
.
add_data
.
url
)
})
method
:
"delete"
,
url
:
this
.
add_data
.
url
+
"/"
+
data
.
unid
}).
then
(
res
=>
{
this
.
show_message
(
"删除成功"
,
"success"
);
this
.
get_data
(
this
.
add_data
.
url
);
});
},
get_data
(
url
)
{
this
.
$Axios
.
get
(
url
).
then
(
res
=>
{
...
...
@@ -394,17 +393,20 @@
#manage
>>>
.el-button--primary
{
border-color
:
#34352c
;
background-color
:
#34352c
;
background-color
:
rgba
(
0
,
0
,
0
,
0.3
)
}
#manage
>>>
label
{
color
:
black
;
}
#manage
>>>
.el-card__body
{
background
:
lightgray
;
/* background: lightgray; */
background-color
:
#8ec5fc
;
background-image
:
linear-gradient
(
62deg
,
#8ec5fc
0%
,
#e0c3fc
100%
);
}
#manage
>>>
input
{
border-color
:
black
;
color
:
black
;
background-color
:
rgba
(
0
,
0
,
0
,
0.3
)
}
#manage
>>>
.el-card__header
{
background-color
:
#34352c
;
...
...
code/finance_web/src/components/search.vue
View file @
eba4b4d
<
template
>
<div
id=
"search"
>
<div
id=
"search"
@
keypress
.
enter
.
prevent=
"commit()"
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix "
>
<span
style=
"font-size:24px;padding-right:0px;color:#eff0dc"
>
检索条件
</span>
...
...
@@ -192,7 +192,7 @@
<!-- test------------------------------------------------------------------------------------------------ -->
<!-- default-expand-all : 是否默认展开所有行 -->
<el-table
id=
"data_table"
:data=
"list_data"
style=
"width: 100%"
row-key=
"contract_unid"
stripe
highlight-current-row
border
:default-expand-all=
"true"
>
<el-table
id=
"data_table"
:data=
"list_data"
style=
"width: 100%"
row-key=
"contract_unid"
border
:default-expand-all=
"true"
>
<el-table-column
type=
"expand"
>
<template
slot-scope=
"scope"
>
<el-row
type=
"flex"
justify=
"space-around"
style=
"text-align:left;padding-bottom:5px"
>
...
...
@@ -287,7 +287,7 @@
</el-table-column>
<!-- <el-table-column label="县" prop="county_name" min-width="7%" align="center">
</el-table-column> -->
<el-table-column
label=
"操作"
min-width=
"4%"
align=
"center"
fixed=
"right"
>
<el-table-column
label=
"操作"
min-width=
"4%"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"go_to(scope.row.contract_unid)"
>
详情
...
...
@@ -652,11 +652,11 @@
JSON
.
stringify
(
this
.
search_form
)
);
this
.
get_list_data
();
}
else
{
}
else
{
this
.
$message
({
type
:
'warning'
,
message
:
'请检查数据格式是否正确'
})
type
:
"warning"
,
message
:
"请检查数据格式是否正确"
})
;
}
});
},
...
...
@@ -748,27 +748,42 @@ span {
color
:
black
;
}
#search
>>>
.el-card__body
{
background
:
lightgray
;
/* background: lightgray; */
background-color
:
#8ec5fc
;
background-image
:
linear-gradient
(
225deg
,
#8ec5fc
0%
,
#e0c3fc
100%
);
}
#search
>>>
input
{
border-color
:
black
;
color
:
black
;
background-color
:
rgba
(
0
,
0
,
0
,
0.2
)
}
#search
>>>
.el-card__header
{
background-color
:
#34352c
;
}
#search
>>>
thead
>
tr
>
th
>
.cell
{
#search
>>>
.cell
{
color
:
black
;
}
#search
>>>
thead
>
tr
>
th
{
background-color
:
lightgray
;
}
#data_table
.el-table__expanded-cell
.pre
{
text-decoration
:
underline
;
/* font-style: oblique; */
color
:
gray
;
color
:
#555
;
}
#data_table
{
color
:
black
;
}
#search
>>>
tr
,
#search
>>>
.el-table
{
background-color
:
rgba
(
255
,
255
,
255
,
0.3
)
}
#search
>>>
.el-table__row
{
background-color
:
rgba
(
0
,
0
,
0
,
0.1
)
}
#search
>>>
th
{
background-color
:
rgba
(
0
,
0
,
0
,
0
)
}
#search
>>>
.el-table__expanded-cell
{
background-color
:
rgba
(
0
,
0
,
0
,
0
)
}
</
style
>
code/finance_web/src/components/user.vue
View file @
eba4b4d
<
template
>
<el-card
class=
"box-card"
id=
"user"
shadow=
"hover"
style=
"width:30%;margin:auto"
>
<el-card
class=
"box-card"
id=
"user"
shadow=
"hover"
style=
"width:30%;margin:
10%
auto"
>
<div
slot=
"header"
style=
"text-align:center"
class=
"clearfix"
>
<span
style=
"font-size:24px;color:#eff0dc"
>
修改密码
</span>
</div>
...
...
@@ -167,11 +167,15 @@
color
:
black
;
}
#user
>>>
.el-card__body
{
background
:
lightgray
;
/* background: lightgray; */
background-color
:
#8ec5fc
;
background-image
:
linear-gradient
(
225deg
,
#8ec5fc
0%
,
#e0c3fc
100%
);
}
#user
>>>
input
{
border-color
:
black
;
color
:
black
;
background-color
:
rgba
(
0
,
0
,
0
,
0
)
}
#user
>>>
.el-card__header
{
background-color
:
#34352c
;
...
...
@@ -179,12 +183,15 @@
#user
>>>
.el-input-group__prepend
{
border-color
:
black
;
color
:
black
;
background-color
:
lightgray
;
/* background-color: lightgray; */
background-color
:
rgba
(
0
,
0
,
0
,
0
)
}
#user
>>>
.el-input-group__append
{
color
:
black
;
border-color
:
black
;
background-color
:
lightgray
;
/* background-color: lightgray; */
background-color
:
#8ec5fc
;
background-color
:
rgba
(
0
,
0
,
0
,
0
)
}
</
style
>
Write
Preview
Markdown
is supported
Attach a file
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 post a comment