Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
390b7d26
Commit
390b7d26
authored
Aug 03, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
1233bd36
058317ee
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
3198 additions
and
377 deletions
+3198
-377
App.vue
src/App.vue
+1
-1
AssetsShenpi.js
src/api/administration/AssetsShenpi.js
+38
-0
user-right-box.vue
src/components/global/user-right-box.vue
+35
-4
PropertyStockInShenpi.vue
...ges/administration/AssetsSystem/PropertyStockInShenpi.vue
+1252
-0
RequisitionShenpi.vue
src/pages/administration/AssetsSystem/RequisitionShenpi.vue
+17
-8
SuppliesStockInShenpi.vue
...ges/administration/AssetsSystem/SuppliesStockInShenpi.vue
+1263
-0
documentApproval.vue
src/pages/administration/documentApproval.vue
+582
-364
routes.js
src/router/routes.js
+10
-0
No files found.
src/App.vue
View file @
390b7d26
...
@@ -12,7 +12,7 @@ export default {
...
@@ -12,7 +12,7 @@ export default {
<
style
>
<
style
>
@import
url("~assets/css/font.css")
;
@import
url("~assets/css/font.css")
;
@import
url("//at.alicdn.com/t/font_2077629_
fty5i519neb
.css")
;
@import
url("//at.alicdn.com/t/font_2077629_
ew7nihu6b4p
.css")
;
.q-scrollarea__thumb
{
.q-scrollarea__thumb
{
z-index
:
999999
!important
;
z-index
:
999999
!important
;
}
}
...
...
src/api/administration/AssetsShenpi.js
View file @
390b7d26
...
@@ -75,6 +75,44 @@ export function getBuyingRequisitionAuditDetail(data) {
...
@@ -75,6 +75,44 @@ export function getBuyingRequisitionAuditDetail(data) {
});
});
}
}
//耗材 入库单的审核
export
function
suppliesStockInAuditOrRefund
(
data
)
{
return
request
({
url
:
'/supplies/SuppliesStockInAuditOrRefund'
,
method
:
'post'
,
data
});
}
//耗材 入库单的详情
export
function
getSuppliesStockInAuditDetail
(
data
)
{
return
request
({
url
:
'/supplies/GetSuppliesStockInAuditDetail'
,
method
:
'post'
,
data
});
}
//资产 入库单的审核
export
function
propertyStockInAuditOrRefund
(
data
)
{
return
request
({
url
:
'/property/PropertyStockInAuditOrRefund'
,
method
:
'post'
,
data
});
}
//资产 入库单的详情
export
function
getPropertyStockInAuditDetail
(
data
)
{
return
request
({
url
:
'/property/GetPropertyStockInAuditDetail'
,
method
:
'post'
,
data
});
}
export
function
UploadSelfFileT
(
path
,
files
,
successCall
,
ocr
)
{
export
function
UploadSelfFileT
(
path
,
files
,
successCall
,
ocr
)
{
...
...
src/components/global/user-right-box.vue
View file @
390b7d26
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
</q-item-section>
</q-item-section>
</q-item>
</q-item>
<!-- 跳转资产 -->
<!-- 跳转资产 -->
<q-item
class=
"q-my-sm"
clickable
v-ripple
@
click=
"goUrlZC"
>
<q-item
class=
"q-my-sm"
clickable
v-ripple
@
click=
"goUrlZC
(1)
"
>
<q-item-section
avatar
>
<q-item-section
avatar
>
<q-avatar
style=
"background-color: #F3F6F9;"
rounded
size=
"40px"
text-color=
"primary"
>
<q-avatar
style=
"background-color: #F3F6F9;"
rounded
size=
"40px"
text-color=
"primary"
>
<i
class=
"iconfont icon-zichan"
></i>
<i
class=
"iconfont icon-zichan"
></i>
...
@@ -48,6 +48,28 @@
...
@@ -48,6 +48,28 @@
<q-item-label
class=
"font-pfb"
>
资产管理
</q-item-label>
<q-item-label
class=
"font-pfb"
>
资产管理
</q-item-label>
</q-item-section>
</q-item-section>
</q-item>
</q-item>
<!-- 跳转资产 -->
<q-item
class=
"q-my-sm"
clickable
v-ripple
@
click=
"goUrlZC(2)"
>
<q-item-section
avatar
>
<q-avatar
style=
"background-color: #F3F6F9;"
rounded
size=
"40px"
text-color=
"primary"
>
<i
class=
"iconfont icon-qinggoudan"
></i>
</q-avatar>
</q-item-section>
<q-item-section>
<q-item-label
class=
"font-pfb"
>
请购审核
</q-item-label>
</q-item-section>
</q-item>
<!-- 跳转资产 -->
<q-item
class=
"q-my-sm"
clickable
v-ripple
@
click=
"goUrlZC(3)"
>
<q-item-section
avatar
>
<q-avatar
style=
"background-color: #F3F6F9;"
rounded
size=
"40px"
text-color=
"primary"
>
<i
class=
"iconfont icon-ruku"
></i>
</q-avatar>
</q-item-section>
<q-item-section>
<q-item-label
class=
"font-pfb"
>
入库审核
</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-list>
<q-separator
color=
"grey-2"
class=
"q-my-md"
></q-separator>
<q-separator
color=
"grey-2"
class=
"q-my-md"
></q-separator>
<div
class=
"text-weight-bold"
style=
"font-size:16px;"
>
常用功能
</div>
<div
class=
"text-weight-bold"
style=
"font-size:16px;"
>
常用功能
</div>
...
@@ -170,13 +192,22 @@ export default {
...
@@ -170,13 +192,22 @@ export default {
})
})
},
},
goUrlZC
()
{
goUrlZC
(
type
)
{
let
userinfo
=
this
.
getLocalStorage
();
let
userinfo
=
this
.
getLocalStorage
();
let
token
=
Lockr
.
get
(
"Token"
);
let
token
=
Lockr
.
get
(
"Token"
);
// let url = "http://www.test.com:8080/#/Autologin?ObjInfo=" + token + "&SecretKey=" + userinfo.UploadConfig.SecretKey;
// let url = "http://www.test.com:8080/#/Autologin?ObjInfo=" + token + "&SecretKey=" + userinfo.UploadConfig.SecretKey;
// let url = "http://zcyx.oytour.com/#/Autologin?ObjInfo=" + token + "&SecretKey=" + userinfo.UploadConfig.SecretKey;
// let url = "http://zcyx.oytour.com/#/Autologin?ObjInfo=" + token + "&SecretKey=" + userinfo.UploadConfig.SecretKey;
let
url
=
url_jump_zc
+
"/#/Autologin?ObjInfo="
+
token
+
"&SecretKey="
+
userinfo
.
UploadConfig
.
SecretKey
;
if
(
type
==
1
){
window
.
open
(
url
)
let
url
=
url_jump_zc
+
"/#/Autologin?ObjInfo="
+
token
+
"&SecretKey="
+
userinfo
.
UploadConfig
.
SecretKey
;
window
.
open
(
url
)
}
else
if
(
type
==
2
){
let
url
=
url_jump_zc
+
"/#/Autologin?ObjInfo="
+
token
+
"&SecretKey="
+
userinfo
.
UploadConfig
.
SecretKey
+
"&ComeFrom=2"
;
window
.
open
(
url
)
}
else
if
(
type
==
3
){
let
url
=
url_jump_zc
+
"/#/Autologin?ObjInfo="
+
token
+
"&SecretKey="
+
userinfo
.
UploadConfig
.
SecretKey
+
"&ComeFrom=3"
;
window
.
open
(
url
)
}
},
},
},
},
}
}
...
...
src/pages/administration/AssetsSystem/PropertyStockInShenpi.vue
0 → 100644
View file @
390b7d26
This diff is collapsed.
Click to expand it.
src/pages/administration/AssetsSystem/RequisitionShenpi.vue
View file @
390b7d26
...
@@ -315,7 +315,7 @@
...
@@ -315,7 +315,7 @@
</div>
</div>
</template>
</template>
<div
v-if=
"GetDetail.Is_CanAudit==1 && compType=='shenpi' && !needSign"
class=
"_upload_box"
style=
"margin-bottom:20px;padding-left:75px"
>
<div
v-if=
"GetDetail.Is_CanAudit==1 && compType=='shenpi' && !needSign"
class=
"_upload_box"
style=
"margin-bottom:20px;padding-left:75px"
>
<ul
class=
"clearfix"
>
<ul
class=
"clearfix"
style=
"padding: 0;margin: 0;"
>
<li
v-for=
"(img,imgIndex) in uploadImgList"
:key=
"imgIndex"
>
<li
v-for=
"(img,imgIndex) in uploadImgList"
:key=
"imgIndex"
>
<img
:src=
"img"
alt=
""
>
<img
:src=
"img"
alt=
""
>
<div
class=
"_delete_img"
@
click=
"deleteImg(imgIndex)"
>
<div
class=
"_delete_img"
@
click=
"deleteImg(imgIndex)"
>
...
@@ -406,7 +406,9 @@
...
@@ -406,7 +406,9 @@
import
CheckDetails
from
"./CheckDetails.vue"
;
import
CheckDetails
from
"./CheckDetails.vue"
;
import
{
getAuditChangeLogPageList
,
setBuyingRequisitionManagers
,
getEmployeeList
,
bRAuditOrRefund
,
getBuyingRequisitionAuditDetail
}
from
"../../../api/administration/AssetsShenpi"
import
{
getAuditChangeLogPageList
,
setBuyingRequisitionManagers
,
getEmployeeList
,
bRAuditOrRefund
,
getBuyingRequisitionAuditDetail
}
from
"../../../api/administration/AssetsShenpi"
import
{
url_jump_zc
,
ViittoFileUrl
}
from
"../../../utils/url"
import
{
url_jump_zc
,
ViittoFileUrl
}
from
"../../../utils/url"
import
{
UploadSelfFile
}
from
'../../../api/common/common'
export
default
{
export
default
{
name
:
'PurchaseRequisitionDetail'
,
name
:
'PurchaseRequisitionDetail'
,
components
:
{
components
:
{
...
@@ -574,8 +576,13 @@ export default {
...
@@ -574,8 +576,13 @@ export default {
var
fileName
=
`
${
that
.
uuid
(
10
,
10
)}
.png`
;
var
fileName
=
`
${
that
.
uuid
(
10
,
10
)}
.png`
;
var
path
=
`/assets/sign/`
;
var
path
=
`/assets/sign/`
;
newArr
.
push
(
this
.
dataURLtoFile
(
imgUrl
,
fileName
))
newArr
.
push
(
this
.
dataURLtoFile
(
imgUrl
,
fileName
))
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
// this.UploadSelfFileT(path, newArr, x => {
this
.
addMsg
.
SignImage
=
that
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
;
// this.addMsg.SignImage=that.domainManager().ViittoFileUrl+x.data.FilePath;
// }, 1);
UploadSelfFile
(
'Temporary'
,
this
.
dataURLtoFile
(
imgUrl
,
fileName
),
x
=>
{
if
(
x
.
Code
==
1
){
this
.
addMsg
.
SignImage
=
x
.
FileUrl
}
},
1
);
},
1
);
this
.
signState
=
false
;
this
.
signState
=
false
;
...
@@ -784,10 +791,12 @@ export default {
...
@@ -784,10 +791,12 @@ export default {
newArr
.
push
(
file
.
file
)
newArr
.
push
(
file
.
file
)
let
path
=
"/Upload/Temporary/"
let
path
=
"/Upload/Temporary/"
this
.
$message
.
info
(
'上传中...'
)
this
.
$message
.
info
(
'上传中...'
)
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
UploadSelfFile
(
'Temporary'
,
file
.
file
,
x
=>
{
let
obj
=
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
if
(
x
.
Code
==
1
){
this
.
uploadImgList
.
push
(
obj
)
let
obj
=
x
.
FileUrl
this
.
$message
.
success
(
'上传成功'
)
this
.
uploadImgList
.
push
(
obj
)
this
.
$message
.
success
(
'上传成功'
)
}
},
1
);
},
1
);
},
},
getDetail
(){
getDetail
(){
...
...
src/pages/administration/AssetsSystem/SuppliesStockInShenpi.vue
0 → 100644
View file @
390b7d26
This diff is collapsed.
Click to expand it.
src/pages/administration/documentApproval.vue
View file @
390b7d26
This diff is collapsed.
Click to expand it.
src/router/routes.js
View file @
390b7d26
...
@@ -1183,6 +1183,16 @@ const routes = [{
...
@@ -1183,6 +1183,16 @@ const routes = [{
title
:
'资产管理'
title
:
'资产管理'
},
},
},
},
{
path
:
"/SuppliesStockInShenpi"
,
//耗材入库审核
component
:
()
=>
import
(
"pages/administration/AssetsSystem/SuppliesStockInShenpi"
)
},
{
path
:
"/PropertyStockInShenpi"
,
//资产入库审核
component
:
()
=>
import
(
"pages/administration/AssetsSystem/PropertyStockInShenpi"
)
},
{
{
path
:
"/course/chapter-editor"
,
//章节管理
path
:
"/course/chapter-editor"
,
//章节管理
component
:
()
=>
component
:
()
=>
...
...
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