Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
assets
Project
Project
Details
Activity
Releases
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
黄媛媛
assets
Commits
ad0e4a65
Commit
ad0e4a65
authored
Dec 20, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
5148b22b
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
330 additions
and
239 deletions
+330
-239
common.css
src/assets/css/common.css
+12
-2
approvalDetails.vue
src/components/approval/approvalDetails.vue
+54
-63
approvalMan.vue
src/components/approval/approvalMan.vue
+11
-8
PaiTui.vue
src/components/assetsman/PaiTui.vue
+101
-48
assetsList.vue
src/components/assetsman/assetsList.vue
+126
-114
Nav.vue
src/components/global/Nav.vue
+9
-1
index.vue
src/components/global/index.vue
+7
-3
main.js
src/main.js
+4
-0
config.js
src/router/config.js
+6
-0
No files found.
src/assets/css/common.css
View file @
ad0e4a65
...
...
@@ -81,7 +81,6 @@
display
:
none
;
}
.myTable
tr
{
height
:
50px
;
background
:
#fff
;
border-bottom
:
4px
solid
#F8FAFB
;
cursor
:
pointer
;
...
...
@@ -123,8 +122,8 @@
border-radius
:
0
0
20px
0
;
}
.myTable
tr
td
{
padding-left
:
20px
;
position
:
relative
;
padding
:
11px
0
11px
20px
;
}
.f12
{
font-size
:
12px
;
...
...
@@ -228,3 +227,14 @@
background
:
#FFD6D5
;
color
:
#FF7874
;
}
.dialogI
{
width
:
4px
;
height
:
4px
;
background
:
rgba
(
255
,
164
,
117
,
1
);
border-radius
:
50%
;
display
:
inline-block
;
margin-right
:
8px
;
position
:
relative
;
top
:
-2px
;
}
src/components/approval/approvalDetails.vue
View file @
ad0e4a65
...
...
@@ -8,7 +8,7 @@
<span
class=
"underline"
></span>
<el-col
:span=
"12"
style=
"position:relative;padding-left:50px"
>
<span
class=
"titleSpan"
>
<span>
派
</span>
<span>
{{
GetDetail
.
FirstStr
}}
</span>
</span>
<p
class=
"c11 f14"
style=
"padding-top:12px"
>
{{
GetDetail
.
TemplateName
}}
</p>
</el-col>
...
...
@@ -23,15 +23,15 @@
<span>
来源 :
</span>
<span>
{{
GetDetail
.
SourceName
}}
</span>
</el-col>
<el-col
:span=
"12"
>
<el-col
v-if=
"GetDetail.Source!=2"
:span=
"12"
>
<span>
申请人 :
</span>
<span>
{{
GetDetail
.
EmName
}}
</span>
</el-col>
<el-col
:span=
"12"
>
<el-col
v-if=
"GetDetail.Source!=2"
:span=
"12"
>
<span>
公司 :
</span>
<span>
{{
GetDetail
.
BranchName
}}
</span>
</el-col>
<el-col
:span=
"12"
>
<el-col
v-if=
"GetDetail.Source!=2"
:span=
"12"
>
<span>
部门 :
</span>
<span>
{{
GetDetail
.
DepartmentName
}}
</span>
</el-col>
...
...
@@ -41,27 +41,31 @@
</el-col>
<el-col
:span=
"12"
>
<span>
时间 :
</span>
<span>
{{
GetDetail
.
Time
}}
</span>
<span
v-if=
"GetDetail.Time!=''"
>
{{
GetDetail
.
Time
}}
</span>
<span
v-if=
"GetDetail.BackTime!=''"
>
{{
GetDetail
.
BackTime
}}
</span>
</el-col>
<el-col
:span=
"12"
>
<span>
备注 :
</span>
<span>
{{
GetDetail
.
Remark
}}
</span>
</el-col>
</el-row>
<p
class=
"f12 c11"
style=
"margin-top:25px"
>
派发
清单
</p>
<p
class=
"f12 c11"
style=
"margin-top:25px"
>
资产
清单
</p>
<table
style=
"margin-top:10px"
class=
"myTable noHoverTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<thead>
<th>
资产编号
</th>
<th>
资产名称
</th>
<th>
品牌名称
</th>
<th>
资产编号
</th>
<th>
分类名称
</th>
<th>
型号
</th>
</thead>
<tbody>
<tr
v-for=
"(item,index) in GetDetail.DetailList"
:key=
"index"
>
<td>
{{
item
.
PropertyNum
}}
</td>
<td>
{{
item
.
PropertyName
}}
</td>
<td>
{{
item
.
BrandName
}}
</td>
<td>
{{
item
.
PropertyNum
}}
</td>
<td>
{{
item
.
CategoryName
}}
</td>
<td>
{{
item
.
PropertyModel
}}
</td>
</tr>
<tr
v-show=
"GetDetail.DetailList.length==0"
>
...
...
@@ -85,42 +89,26 @@
</div>
</li>
<!--
<li>
<div>
<span
class=
"line"
></span>
<span
class=
"circle"
>
<img
src=
"../../assets/img/step2.png"
alt=
""
>
</span>
<span
style=
"display:inline-block;position:relative;top:20px"
>
<div>
张小芳
</div>
<div
style=
"margin-top:10px"
>
审批中
</div>
</span>
</div>
</li>
<li>
<div>
<span
class=
"line"
></span>
<span
class=
"circle"
>
<span
class=
"circleSpan"
></span>
</span>
<span
style=
"display:inline-block;position:relative;top:20px"
>
<div>
张小芳
</div>
<div
style=
"margin-top:10px"
>
未审批
</div>
</span>
</div>
</li>
-->
<el-popover
popper-class=
"approvalDetailspopover
"
placement=
"left
"
popper-class=
"detailsIT_Journal
"
width=
"250
"
trigger=
"click"
>
<el-table
size=
"mini"
:data=
"danjuList"
style=
"font-size:12px"
>
<el-table-column
width=
"100"
property=
"UpdateBy"
label=
"操作人"
></el-table-column>
<el-table-column
width=
"150"
property=
"Content"
label=
"内容"
></el-table-column>
<el-table-column
width=
"100"
property=
"UpdateDate"
label=
"操作时间"
></el-table-column>
</el-table>
<span
slot=
"reference"
class=
"rizhi"
>
单据操作日志
</span>
<div
class=
"InfoChangeLog"
>
<div
class=
"changLog"
>
<p
class=
"_log_t"
>
流程日志
</p>
<ul
class=
"changLogList"
v-if=
"danjuList.length>0"
>
<li
class=
"changLogList_l"
v-for=
"(log,li) in danjuList"
>
<span
style=
"background-color: #47BF8C"
class=
"_radius_green"
></span>
<p>
<span
class=
"_color_blue"
>
{{
log
.
UpdateBy
}}
</span>
<span
style=
"float:right"
class=
"fr changLog_time"
>
{{
log
.
UpdateDate
}}
</span>
</p>
<p
class=
"_dtel"
>
{{
log
.
Content
}}
</p>
</li>
</ul>
<ul
v-else
>
<li>
暂无修改日志
</li>
</ul>
</div>
</div>
<span
slot=
"reference"
style=
"text-decoration: underline;cursor: pointer;"
class=
"rizhi"
>
单据操作日志
</span>
</el-popover>
</ul>
...
...
@@ -279,7 +267,7 @@
</div>
</div>
</div>
<textarea
v-if=
"item.NextStep==1 && compType=='shenpi'"
class=
"_textareaNew"
v-model=
"addMsg.Description"
placeholder=
"请输入..."
></textarea>
<textarea
v-if=
"item.NextStep==1 && compType=='shenpi'"
class=
"_textareaNew"
v-model=
"addMsg.
Audit
Description"
placeholder=
"请输入..."
></textarea>
</div>
</template>
...
...
@@ -366,7 +354,11 @@ export default {
this
.
apiJavaPost
(
"/api/property/GetAuditChangeLogPageList"
,
this
.
danjuMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
danjuList
=
res
.
data
.
data
.
pageData
;
let
data
=
res
.
data
.
data
.
pageData
;
data
.
forEach
(
x
=>
{
x
.
UpdateDate
=
this
.
$commonUtils
.
formatMsgTime
(
x
.
UpdateDate
)
})
this
.
danjuList
=
data
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
...
...
@@ -385,7 +377,8 @@ export default {
this
.
apiJavaPost
(
"/api/property/AuditOrRefund"
,
this
.
addMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
success
(
res
.
data
.
message
);
this
.
getDetail
();
this
.
Success
(
res
.
data
.
message
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
...
...
@@ -424,9 +417,7 @@ export default {
let
path
=
"/Upload/Temporary/"
this
.
$message
.
info
(
'上传中...'
)
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
let
obj
=
{
src
:
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
}
let
obj
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
this
.
uploadImgList
.
push
(
obj
)
this
.
$message
.
success
(
'上传成功'
)
},
1
);
...
...
@@ -444,6 +435,7 @@ export default {
break
;
}
}
this
.
GetDetail
.
FirstStr
=
this
.
GetDetail
.
SourceName
.
slice
(
0
,
1
)
this
.
GetDetail
.
AuditSteps
=
list
;
}
else
{
...
...
@@ -459,17 +451,13 @@ export default {
</
script
>
<
style
>
.approvalDetailspopover
.el-table
td
,
.approvalDetailspopover
.el-table
th
.is-leaf
{
border
:
none
;
}
.approvalDetailspopover
{
padding
:
0
;
}
.popoverTable
.vxe-table
table
{
width
:
100%
!important
;
}
.detailsIT_Journal
.InfoChangeLog
{
height
:
auto
;
max-height
:
220px
;
background-color
:
#FFFFFF
;}
.detailsIT_Journal
.changLogList
{
padding-left
:
20px
;
max-height
:
180px
;
overflow
:
auto
;}
.detailsIT_Journal
.changLogList_l
{
border-left
:
1px
solid
#E9E9E9
;
position
:
relative
;
padding-bottom
:
10px
;
padding-left
:
20px
;
padding-top
:
10px
;}
.detailsIT_Journal
._radius_green
{
background-color
:
#47BF8C
;
width
:
7px
;
height
:
7px
;
border-radius
:
50%
;
display
:
inline-block
;
position
:
absolute
;
left
:
-4px
;
top
:
19px
;}
.detailsIT_Journal
.changLog_time
{
color
:
#666666
;
font-size
:
12px
;
display
:
inline-block
;
padding-right
:
10px
}
.approvalDetails
._textareaNew
{
width
:
10
0%
;
width
:
8
0%
;
height
:
50px
;
background-color
:
white
;
border-radius
:
4px
;
...
...
@@ -483,9 +471,12 @@ export default {
.approvalDetails
._upload_tips
{
font-size
:
12px
;
position
:
absolute
;
top
:
71%
;
width
:
100%
;
left
:
0
;
text-align
:
center
;
color
:
#949494
;}
.approvalDetails
._pb_son
:last-child
{
padding-bottom
:
5
px
!important
;
padding-bottom
:
0
px
!important
;
}
.approvalDetails
._pb_son
:last-child::after
{
display
:
none
;
}
.approvalDetails
.avatar-uploader-icon
{
font-size
:
28px
;
color
:
#8c939d
;
...
...
@@ -550,8 +541,8 @@ export default {
.approvalDetails
._right_content
._name
._m
{
color
:
#FFFFFF
;
font-size
:
12px
;
display
:
inline-block
;
padding
:
2px
5px
;
background-color
:
#E95252
;
margin-left
:
5px
;
border-radius
:
4px
;}
.approvalDetails
._right_content
._name
._sm
{
color
:
#FFFFFF
;
font-size
:
12px
;
display
:
inline-block
;
padding
:
2px
5px
;
background-color
:
#FF9600
;
margin-left
:
5px
;
border-radius
:
4px
;
font-weight
:
100
;}
.approvalDetails
._right_content
._name
._sn
{
color
:
#FFFFFF
;
font-size
:
12px
;
display
:
inline-block
;
padding
:
2px
5px
;
background-color
:
#00D2D6
;
margin-left
:
5px
;
border-radius
:
4px
;}
.approvalDetails
._right_content
._time
,
._time
{
font-size
:
12px
;
color
:
#666666
;
padding-top
:
5px
;}
.approvalDetails
._right_content
._pp_info
,
.
_textarea
{
border-radius
:
10px
;
background
:
rgba
(
245
,
245
,
245
,
1
);
font-size
:
12px
;
color
:
#333333
;
padding
:
12px
14px
;
margin-top
:
13px
;
position
:
relative
;
}
.approvalDetails
._right_content
._time
,
.
approvalDetails
.
_time
{
font-size
:
12px
;
color
:
#666666
;
padding-top
:
5px
;}
.approvalDetails
._right_content
._pp_info
,
.
approvalDetails
._textarea
{
border-radius
:
10px
;
background
:
rgba
(
245
,
245
,
245
,
1
);
font-size
:
12px
;
color
:
#333333
;
padding
:
12px
14px
;
margin-top
:
13px
;
position
:
relative
;
width
:
80%
}
.approvalDetails
._right_content
._pp_info
:before
{
display
:
block
;
content
:
''
;
border-width
:
8px
8px
8px
8px
;
border-style
:
solid
;
border-color
:
transparent
transparent
rgba
(
245
,
245
,
245
,
1
)
transparent
;
position
:
absolute
;
left
:
10px
;
top
:
-16px
;}
.approvalDetails
._mgt_15
{
margin-top
:
15px
;}
.approvalDetails
._more
._right_content
.iconfont
{
color
:
#AAAAAA
}
...
...
src/components/approval/approvalMan.vue
View file @
ad0e4a65
...
...
@@ -77,10 +77,9 @@
<table
v-loading=
"loading"
style=
"margin-top:10px"
class=
"myTable noHoverTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<thead>
<th>
状态
</th>
<th>
领用公司
</th>
<th>
领用部门
</th>
<th>
领用人
</th>
<th>
领用时间
</th>
<th>
类型
</th>
<th>
单号
</th>
<th>
使用人/时间
</th>
<th>
分类名称
</th>
<th>
资产名称
</th>
<th>
资产编号
</th>
...
...
@@ -100,10 +99,14 @@
<span
class=
"ColorSpan redSpan"
v-if=
"item.AuditStatus==5"
>
终
</span>
{{
item
.
AuditStatusName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
BranchName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
DepartmentName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
EmName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
Time
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
SourceName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
OrderCode
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
<p>
{{
item
.
EmName
}}
</p>
<p>
{{
item
.
Time
}}
</p>
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
></td>
<td>
{{
delist
.
CategoryName
}}
</td>
<td>
{{
delist
.
PropertyName
}}
</td>
<td>
{{
delist
.
PropertyNum
}}
</td>
...
...
src/components/assetsman/PaiTui.vue
View file @
ad0e4a65
...
...
@@ -71,13 +71,14 @@
<table
style=
"margin-top:10px"
class=
"myTable noHoverTable"
v-loading=
"loading"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<thead>
<th>
状态
</th>
<th>
单号
</th>
<th>
领用公司
</th>
<th>
领用部门
</th>
<th>
领用人
</th>
<th>
领用时间
</th>
<th>
分类名称
</th>
<th>
资产名称
</th>
<th>
资产编号
</th>
<th>
资产名称
</th>
<th>
分类名称
</th>
<th>
领用时间
</th>
<th>
品牌名称
</th>
<th>
操作人
</th>
<th
width=
"150px"
>
操作
</th>
...
...
@@ -93,21 +94,28 @@
<span
class=
"ColorSpan redSpan"
v-if=
"item.AuditStatus==5"
>
终
</span>
{{
item
.
AuditStatusName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
OrderCode
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
BranchName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
DepartmentName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
EmName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
Time
}}
</td>
<td>
{{
delist
.
CategoryName
}}
</td>
<td>
{{
delist
.
PropertyName
}}
</td>
<td>
{{
delist
.
PropertyNum
}}
</td>
<td>
{{
delist
.
PropertyName
}}
</td>
<td>
{{
delist
.
CategoryName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
Time
}}
</td>
<td>
{{
delist
.
BrandName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
delist
.
UpdateBy
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
UpdateBy
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"编辑"
placement=
"top"
>
<img
v-if=
"item.AuditStatus==3 && item.CreateBy==EmployeeId"
@
click=
"Edit(item)"
style=
"width:24px;height:24px"
src=
"../../assets/img/edit.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top"
>
<img
@
click=
"Delete(item)"
style=
"width:24px;height:24px"
src=
"../../assets/img/delete.png"
alt=
""
>
<img
v-if=
"(item.AuditStatus==3 || item.AuditStatus==5) && item.CreateBy==EmployeeId"
@
click=
"Delete(item)"
style=
"width:24px;height:24px"
src=
"../../assets/img/delete.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"终止"
placement=
"top"
>
<img
@
click=
"End(item)"
style=
"width:24px;height:24px"
src=
"../../assets/img/jinyong.png"
alt=
""
>
<img
v-if=
"item.AuditStatus==2 && item.CreateBy==EmployeeId"
@
click=
"End(item)"
style=
"width:24px;height:24px"
src=
"../../assets/img/jinyong.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top"
>
<img
v-if=
"item.TempleteId==0"
@
click=
"See(item,'approvalDetails','chakan')"
style=
"width:24px;height:24px"
src=
"../../assets/img/chakan.png"
alt=
""
>
</el-tooltip>
</td>
...
...
@@ -183,12 +191,13 @@
<table
style=
"margin-top:10px"
class=
"myTable noHoverTable"
v-loading=
"loading"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<thead>
<th>
状态
</th>
<th>
退库时间
</th>
<th>
分类名称
</th>
<th>
资产名称
</th>
<th>
单号
</th>
<th>
资产编号
</th>
<th>
资产名称
</th>
<th>
分类名称
</th>
<th>
品牌名称
</th>
<th>
使用人
</th>
<th>
退库时间
</th>
<th
width=
"150px"
>
操作
</th>
</thead>
<tbody>
...
...
@@ -202,18 +211,19 @@
<span
class=
"ColorSpan redSpan"
v-if=
"item.AuditStatus==5"
>
终
</span>
{{
item
.
AuditStatusName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
Time
}}
</td>
<td>
{{
delist
.
CategoryName
}}
</td>
<td>
{{
delist
.
PropertyName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
OrderCode
}}
</td>
<td>
{{
delist
.
PropertyNum
}}
</td>
<td>
{{
delist
.
PropertyName
}}
</td>
<td>
{{
delist
.
CategoryName
}}
</td>
<td>
{{
delist
.
BrandName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
delist
.
CancelStockEmployeeName
}}
</td>
<td>
{{
delist
.
CancelStockEmployeeName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
Time
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top"
>
<img
@
click=
"DeleteTuiku(item)"
style=
"width:24px;height:24px"
src=
"../../assets/img/delete.png"
alt=
""
>
<img
v-if=
"item.AuditStatus==3 || item.AuditStatus==5"
@
click=
"DeleteTuiku(item)"
style=
"width:24px;height:24px"
src=
"../../assets/img/delete.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"终止"
placement=
"top"
>
<img
@
click=
"EndTuiku(item)"
style=
"width:24px;height:24px"
src=
"../../assets/img/jinyong.png"
alt=
""
>
<img
v-if=
"item.AuditStatus==2"
@
click=
"EndTuiku(item)"
style=
"width:24px;height:24px"
src=
"../../assets/img/jinyong.png"
alt=
""
>
</el-tooltip>
</td>
...
...
@@ -484,6 +494,7 @@ export default {
},
data
(){
return
{
EmployeeId
:
''
,
StateEnumList
:[],
showTable
:
1
,
morequery
:
false
,
...
...
@@ -620,6 +631,8 @@ export default {
},
created
(){
// this.tableHeight=document.body.clientHeight-40-66-87;
let
userInfo
=
this
.
getLocalStorage
();
this
.
EmployeeId
=
userInfo
.
EmployeeId
;
},
mounted
(){
this
.
getList
();
...
...
@@ -628,7 +641,34 @@ export default {
},
methods
:{
// 编辑
Edit
(
item
){
console
.
log
(
"item"
,
item
)
this
.
addMsg
.
EmployeeId
=
item
.
EmployeeId
;
this
.
addMsg
.
Time
=
item
.
Time
;
this
.
addMsg
.
Remark
=
item
.
Remark
;
this
.
addMsg
.
DetailList
=
[];
this
.
wlItemList
=
[];
item
.
DetailList
.
forEach
(
item
=>
{
item
.
Name
=
item
.
PropertyName
;
this
.
wlItemList
.
push
(
item
);
})
this
.
EmName
=
item
.
EmName
;
this
.
getEmployee
(
2
);
this
.
dialogState
=
true
;
},
See
(
item
,
path
,
type
){
let
shenpistr
=
type
;
this
.
$router
.
push
({
path
:
"/"
+
path
,
query
:
{
Id
:
item
.
Id
,
compType
:
shenpistr
,
}
});
},
getNode
(){
this
.
apiJavaPost
(
"/api/property/CateporyGetTreeList"
,
this
.
nodemsg
,
res
=>
{
...
...
@@ -974,6 +1014,11 @@ export default {
},
EndTuiku
(
item
){
let
Id
=
item
.
Id
;
this
.
$confirm
(
"确认终止?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
'warning'
}).
then
(()
=>
{
this
.
apiJavaPost
(
"/api/property/CancelPropertyCancellingStocks"
,{
ReceiveId
:
Id
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
...
...
@@ -985,9 +1030,17 @@ export default {
},
null
);
}).
catch
(()
=>
{
});
},
End
(
item
){
let
Id
=
item
.
Id
;
this
.
$confirm
(
"确认终止?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
'warning'
}).
then
(()
=>
{
this
.
apiJavaPost
(
"/api/property/CancelPropertyReceive"
,{
ReceiveId
:
Id
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
...
...
@@ -999,6 +1052,9 @@ export default {
},
null
);
}).
catch
(()
=>
{
});
},
DeleteTuiku
(
item
){
...
...
@@ -1020,7 +1076,6 @@ export default {
null
);
}).
catch
(()
=>
{
this
.
$message
.
info
(
'已取消删除!'
)
});
},
Delete
(
item
){
...
...
@@ -1043,7 +1098,6 @@ export default {
);
}).
catch
(()
=>
{
this
.
$message
.
info
(
'已取消删除!'
)
});
},
Quxiao
(
item
){
...
...
@@ -1066,7 +1120,6 @@ export default {
);
}).
catch
(()
=>
{
this
.
$message
.
info
(
'已取消删除!'
)
});
},
...
...
src/components/assetsman/assetsList.vue
View file @
ad0e4a65
...
...
@@ -99,8 +99,8 @@
<td>
{{
item
.
PropertyModel
}}
</td>
<td>
<p>
使用人名称:
{{
item
.
EmName
}}
</p>
<p
style=
"padding:2px 0"
>
使用时间:
{{
item
.
GetTime
}}
</p>
<p
v-if=
"item.EmName!=''"
>
使用人名称:
{{
item
.
EmName
}}
</p>
<p
v-if=
"item.GetTime!=''"
style=
"padding:2px 0"
>
使用时间:
{{
item
.
GetTime
}}
</p>
<!--
<p>
归还时间:
{{
item
.
BackTime
}}
</p>
-->
</td>
<td>
...
...
@@ -138,6 +138,35 @@
width=
"975px"
>
<el-form
class=
"MyEditForm"
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"0px"
>
<div
class=
"basefix"
>
<div>
<p
style=
"margin-bottom:15px;"
class=
"f12"
><i
class=
"dialogI"
></i>
使用信息
</p>
<div
class=
"basefix"
>
<el-form-item
label=
""
>
<span
class=
"label"
>
使用人
</span>
<el-select
size=
"mini"
filterable
v-model=
"addMsg.EmployeeId"
placeholder=
"请选择"
:filter-method=
"getEmployee2"
>
<el-option
v-for=
"item in EmployeeList2"
:key=
"item.EmployeeId"
:label=
"item.EmName"
:value=
"item.EmployeeId"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
""
>
<p
class=
"label"
>
领取时间
</p>
<el-date-picker
size=
"mini"
v-model=
"addMsg.GetTime"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</div>
</div>
<p
style=
"margin-bottom:15px;"
class=
"f12"
><i
class=
"dialogI"
></i>
基本信息
</p>
<div
class=
"baseform"
>
<el-form-item
label=
""
prop=
"Name"
>
<span
class=
"label"
>
资产名称
</span>
<el-input
size=
"small"
v-model=
"addMsg.Name"
placeholder=
"请输入"
></el-input>
...
...
@@ -217,17 +246,7 @@
<span
class=
"label"
>
备注
</span>
<el-input
size=
"mini"
v-model=
"addMsg.Remark"
placeholder=
"请输入"
></el-input>
</el-form-item>
<el-form-item
label=
""
>
<span
class=
"label"
>
使用人
</span>
<el-select
size=
"mini"
filterable
v-model=
"addMsg.EmployeeId"
placeholder=
"请选择"
:filter-method=
"getEmployee2"
>
<el-option
v-for=
"item in EmployeeList2"
:key=
"item.EmployeeId"
:label=
"item.EmName"
:value=
"item.EmployeeId"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
""
prop=
"SupplierId"
>
<span
class=
"label"
>
供应商
</span>
<el-select
size=
"mini"
v-model=
"addMsg.SupplierId"
placeholder=
"请选择"
>
...
...
@@ -239,16 +258,9 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
""
>
<p
class=
"label"
>
领取时间
</p>
<el-date-picker
size=
"mini"
v-model=
"addMsg.GetTime"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</div>
</div>
<div
class=
"_addUpload_box"
>
<ul
class=
"uploadUl"
>
...
...
@@ -731,7 +743,7 @@ export default {
</
script
>
<
style
>
.assetsList
.MyEditForm
.el-form-item
:nth-child
(
4n
)
{
.assetsList
.MyEditForm
.
baseform
.
el-form-item
:nth-child
(
4n
)
{
margin-right
:
0
;
}
.assetsList
.zczt1
{
...
...
src/components/global/Nav.vue
View file @
ad0e4a65
...
...
@@ -9,7 +9,7 @@
:default-active=
"defaulActive"
class=
"el-menu-vertical-demo"
>
<el-menu-item
index=
"0"
route=
"/home"
>
<div
class=
"menuDiv"
>
<div
@
click=
"goHome"
class=
"menuDiv"
>
<i
class=
"iconfont icon-shouye"
></i>
<span
slot=
"title"
>
首页
</span>
</div>
...
...
@@ -122,9 +122,14 @@ export default {
},
menuList
:[],
}
},
created
(){
if
(
!
this
.
getLocalStorage
()){
this
.
$router
.
push
({
path
:
'login'
})
return
;
}
this
.
$bus
.
on
(
'once'
,(
path
,
key
)
=>
{
//处理传过来的值
if
(
key
){
this
.
defaulActive
=
key
;
...
...
@@ -133,6 +138,9 @@ export default {
this
.
getMenu
();
},
methods
:{
goHome
(){
this
.
$router
.
push
({
path
:
'/Home'
})
},
goUrl
(
child
){
this
.
$router
.
push
({
path
:
child
.
MenuUrl
})
},
...
...
src/components/global/index.vue
View file @
ad0e4a65
...
...
@@ -62,6 +62,10 @@ export default {
},
created
(){
this
.
minHeight
=
document
.
body
.
clientHeight
-
70
;
if
(
!
this
.
getLocalStorage
()){
this
.
$router
.
push
({
path
:
'login'
})
return
;
}
let
zcuserInfo
=
this
.
getLocalStorage
();
this
.
zcuserInfo
=
zcuserInfo
;
if
(
this
.
$route
.
name
===
'index'
)
{
...
...
src/main.js
View file @
ad0e4a65
...
...
@@ -16,6 +16,7 @@ Vue.prototype.$echarts = echarts
import
'xe-utils'
import
VXETable
from
'vxe-table'
import
'vxe-table/lib/index.css'
import
commonUtils
from
'./assets/utils/commonUtils'
Vue
.
use
(
VXETable
)
Vue
.
use
(
ElementUI
);
...
...
@@ -27,6 +28,9 @@ import VueBus from 'vue-bus';
Vue
.
use
(
VueBus
);
Vue
.
commonUtils
=
Vue
.
prototype
.
$commonUtils
=
commonUtils
Vue
.
filter
(
"YMD"
,
function
(
date
)
{
return
moment
(
date
).
format
(
"YYYY-MM-DD"
);
...
...
src/router/config.js
View file @
ad0e4a65
...
...
@@ -114,6 +114,12 @@ export default {
name
:
'approvalDetails'
,
component
:
resolve
=>
require
([
'@/components/approval/approvalDetails'
],
resolve
),
},
// 签字
{
path
:
'/Sign'
,
name
:
'Sign'
,
component
:
resolve
=>
require
([
'@/components/approval/Sign'
],
resolve
),
},
...
...
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