Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
folacin-front
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
ynby
folacin-front
Commits
96eac642
Commit
96eac642
authored
3 years ago
by
gengchunlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
2852ef35
master
dev
gcl
yueyang
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
25 additions
and
18 deletions
+25
-18
fetch.js
src/api/fetch.js
+1
-0
Home.vue
src/views/Home.vue
+1
-1
distributionWarehousing.vue
...onent/distributionWarehousing/distributionWarehousing.vue
+1
-1
sendRecord.vue
...ews/indexComponent/distributionWarehousing/sendRecord.vue
+1
-1
folviteApply.vue
src/views/indexComponent/folviteApply/folviteApply.vue
+1
-1
inStockManageInfo.vue
...nent/folviteDistribution/components/inStockManageInfo.vue
+8
-1
inStockManage.vue
src/views/indexComponent/inStockManage/inStockManage.vue
+10
-10
stockTransfer.vue
src/views/indexComponent/stockTransfer/stockTransfer.vue
+1
-1
supplyManage.vue
src/views/indexComponent/supplyManage/supplyManage.vue
+1
-1
loginApi.js
src/views/utils/loginApi.js
+0
-1
No files found.
src/api/fetch.js
View file @
96eac642
...
...
@@ -39,6 +39,7 @@ function fetch(url = '', params = {}, method = 'get', contentType = 'form', toke
data
:
params
,
headers
:
{
Authorization
:
token
||
window
.
sessionStorage
.
getItem
(
'token'
),
menuId
:
window
.
sessionStorage
.
getItem
(
'menuId'
),
'Content-Type'
:
contentType
,
}
}).
then
(
function
(
response
)
{
...
...
This diff is collapsed.
Click to expand it.
src/views/Home.vue
View file @
96eac642
...
...
@@ -54,7 +54,7 @@
},
created
()
{
//获取妇幼权限和登录基本信息
document
.
cookie
=
'bGNnd3lwdF9hdA=30fc7c05-8f84-490d-8bcb-18f5a7c885db
;'
//昆明市
// document.cookie = 'bGNnd3lwdF9hdA=ef814f88-005f-4820-830d-b834edb47a55
;'//昆明市
// document.cookie = 'bGNnd3lwdF9hdA=' + sessionStorage.getItem("loginToken") + ';'//云南省
let
cookieToken
=
getCookie
(
'bGNnd3lwdF9hdA'
);
console
.
log
(
'tokenInfo'
,
cookieToken
)
...
...
This diff is collapsed.
Click to expand it.
src/views/indexComponent/distributionWarehousing/distributionWarehousing.vue
View file @
96eac642
...
...
@@ -150,8 +150,8 @@
}
else
{
let
par
=
{}
this
.
$api
.
fyManage
.
fetchFYLoginUser
(
par
).
then
(({
data
})
=>
{
window
.
sessionStorage
.
setItem
(
'userInfo'
,
JSON
.
stringify
(
data
.
userInfo
));
window
.
sessionStorage
.
setItem
(
'allEnum'
,
JSON
.
stringify
(
data
.
enumValueList
))
window
.
sessionStorage
.
setItem
(
'userInfo'
,
JSON
.
stringify
(
data
.
userInfo
));
this
.
statusList
=
getEnumByFlag
(
"folacin_resident_info_status"
);
})
}
...
...
This diff is collapsed.
Click to expand it.
src/views/indexComponent/distributionWarehousing/sendRecord.vue
View file @
96eac642
...
...
@@ -208,8 +208,8 @@
}
else
{
let
par
=
{}
this
.
$api
.
fyManage
.
fetchFYLoginUser
(
par
).
then
(({
data
})
=>
{
window
.
sessionStorage
.
setItem
(
'userInfo'
,
JSON
.
stringify
(
data
.
userInfo
));
window
.
sessionStorage
.
setItem
(
'allEnum'
,
JSON
.
stringify
(
data
.
enumValueList
))
window
.
sessionStorage
.
setItem
(
'userInfo'
,
JSON
.
stringify
(
data
.
userInfo
));
this
.
statusList
=
getEnumByFlag
(
"folacin_resident_info_status"
);
})
}
...
...
This diff is collapsed.
Click to expand it.
src/views/indexComponent/folviteApply/folviteApply.vue
View file @
96eac642
...
...
@@ -146,8 +146,8 @@
}
else
{
let
par
=
{}
this
.
$api
.
fyManage
.
fetchFYLoginUser
(
par
).
then
(({
data
})
=>
{
window
.
sessionStorage
.
setItem
(
'userInfo'
,
JSON
.
stringify
(
data
.
userInfo
));
window
.
sessionStorage
.
setItem
(
'allEnum'
,
JSON
.
stringify
(
data
.
enumValueList
))
window
.
sessionStorage
.
setItem
(
'userInfo'
,
JSON
.
stringify
(
data
.
userInfo
));
this
.
statusList
=
getEnumByFlag
(
"folacin_resident_info_status"
);
})
}
...
...
This diff is collapsed.
Click to expand it.
src/views/indexComponent/folviteDistribution/components/inStockManageInfo.vue
View file @
96eac642
<
template
>
<div
class=
"inStockManage"
>
<a-modal
title=
"选择要发放的叶酸种类"
v-if=
"visible"
:visible=
"visible"
@
cancel=
"visible = false"
@
ok=
"getChecked"
:maskClosable=
"false"
<!--:getContainer="() => window.parent.document.body"-->
<a-modal
title=
"选择要发放的叶酸种类"
v-if=
"visible"
:visible=
"visible"
@
cancel=
"visible = false"
@
ok=
"getChecked"
:maskClosable=
"false"
width=
"1100px"
>
<a-form
layout=
"inline"
class=
"search_form"
>
<a-form-item
label=
"供应商名称"
>
...
...
@@ -245,6 +249,9 @@
onSelectChange
(
selectedRowKeys
)
{
this
.
selectedRowKeys
=
selectedRowKeys
;
},
// getContainer() {
// return window.parent.document.body;
// },
getChecked
()
{
this
.
$emit
(
'selectedIdList'
,
this
.
selectedRowKeys
)
}
...
...
This diff is collapsed.
Click to expand it.
src/views/indexComponent/inStockManage/inStockManage.vue
View file @
96eac642
...
...
@@ -23,7 +23,7 @@
<a-button
type=
"primary"
icon=
"search"
class=
"search_btn"
@
click=
"searchList"
>
搜索
</a-button>
<a-button
class=
"search_btn"
icon=
"close"
style=
"margin-left: 10px"
@
click=
"restSearchForm"
>
清空
</a-button>
<div
style=
"float: right"
>
<!--
<div
>
<a-button
type=
"primary"
icon=
"plus"
class=
"search_btn btn_space"
@
click=
"openModal"
>
库存录入
</a-button>
<a-button
type=
"primary"
icon=
"gift"
class=
"search_btn btn_space"
:disabled=
"selectedRowKeys.length
<
=
0
"
...
...
@@ -31,7 +31,7 @@
</a-button>
<a-button
type=
"primary"
icon=
"download"
class=
"search_btn btn_space"
@
click=
"downLoadExcel"
>
导出Excel
</a-button>
</div>
</div>
-->
<div
style=
"clear: both"
></div>
</a-form>
...
...
@@ -64,13 +64,13 @@
style=
"margin-left:10px;font-size: 10px"
/>
</span>
</a-popover>
</div>
<!--
<div
style=
"margin-top: 16px;margin-bottom: 10px"
>
--
>
<!--
<a-button
type=
"primary"
class=
"search_btn btn_space"
@
click=
"openModal"
>
库存录入
</a-button>
--
>
<!--
<a-button
type=
"primary"
class=
"search_btn btn_space"
:disabled=
"selectedRowKeys.length
<
=
0
"
--
>
<!-- @click="toAdd">调拨分配-->
<!--
</a-button>
--
>
<!--
<a-button
type=
"primary"
class=
"search_btn btn_space"
>
导出Excel
</a-button>
--
>
<!--
</div>
--
>
<div
style=
"margin-top: 16px;margin-bottom: 10px"
>
<a-button
type=
"primary"
class=
"search_btn btn_space"
@
click=
"openModal"
>
库存录入
</a-button
>
<a-button
type=
"primary"
class=
"search_btn btn_space"
:disabled=
"selectedRowKeys.length
<
=
0
"
@
click=
"toAdd"
>
调拨分配
</a-button
>
<a-button
type=
"primary"
class=
"search_btn btn_space"
>
导出Excel
</a-button
>
</div
>
<div
style=
"clear: both"
></div>
<a-table
:dataSource=
"tableData"
...
...
@@ -206,8 +206,8 @@
}
else
{
let
par
=
{}
this
.
$api
.
fyManage
.
fetchFYLoginUser
(
par
).
then
(({
data
})
=>
{
window
.
sessionStorage
.
setItem
(
'userInfo'
,
JSON
.
stringify
(
data
.
userInfo
));
window
.
sessionStorage
.
setItem
(
'allEnum'
,
JSON
.
stringify
(
data
.
enumValueList
))
window
.
sessionStorage
.
setItem
(
'userInfo'
,
JSON
.
stringify
(
data
.
userInfo
));
this
.
brandList
=
getEnumByFlag
(
"folacin_stock_record_brand_id"
);
})
}
...
...
This diff is collapsed.
Click to expand it.
src/views/indexComponent/stockTransfer/stockTransfer.vue
View file @
96eac642
...
...
@@ -150,8 +150,8 @@
}
else
{
let
par
=
{}
this
.
$api
.
fyManage
.
fetchFYLoginUser
(
par
).
then
(({
data
})
=>
{
window
.
sessionStorage
.
setItem
(
'userInfo'
,
JSON
.
stringify
(
data
.
userInfo
));
window
.
sessionStorage
.
setItem
(
'allEnum'
,
JSON
.
stringify
(
data
.
enumValueList
))
window
.
sessionStorage
.
setItem
(
'userInfo'
,
JSON
.
stringify
(
data
.
userInfo
));
this
.
brandList
=
getEnumByFlag
(
"folacin_stock_record_brand_id"
);
this
.
stockTypeList
=
getEnumByFlag
(
"folacin_stock_transfer_stock_type"
)
})
...
...
This diff is collapsed.
Click to expand it.
src/views/indexComponent/supplyManage/supplyManage.vue
View file @
96eac642
...
...
@@ -133,8 +133,8 @@
}
else
{
let
par
=
{}
this
.
$api
.
fyManage
.
fetchFYLoginUser
(
par
).
then
(({
data
})
=>
{
window
.
sessionStorage
.
setItem
(
'userInfo'
,
JSON
.
stringify
(
data
.
userInfo
));
window
.
sessionStorage
.
setItem
(
'allEnum'
,
JSON
.
stringify
(
data
.
enumValueList
))
window
.
sessionStorage
.
setItem
(
'userInfo'
,
JSON
.
stringify
(
data
.
userInfo
));
this
.
allFactoryInfo
=
getEnumByFlag
(
"public_state"
);
})
}
...
...
This diff is collapsed.
Click to expand it.
src/views/utils/loginApi.js
View file @
96eac642
...
...
@@ -42,5 +42,4 @@ export const aesEncrypt = word => {
var encrypted = CryptoJS.AES.encrypt(srcs, key, { mode: CryptoJS.mode.ECB, padding: CryptoJS.pad.Pkcs7 });
return encrypted.toString();
}
*/
This diff is collapsed.
Click to expand it.
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