Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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
linweijiong
jinfa-platform
Commits
f7c7865b
Commit
f7c7865b
authored
Feb 28, 2022
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 变更交易规则中获取商城列表的接口
parent
71df50a9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
index.tsx
...tion/transactionRules/components/selectProcesss/index.tsx
+0
-1
type.ts
src/utils/type.ts
+3
-3
No files found.
src/pages/transaction/transactionRules/components/selectProcesss/index.tsx
View file @
f7c7865b
...
...
@@ -78,7 +78,6 @@ const SelectProcesss = (props: ISchemaFieldComponentProps) => {
}
const
renderProcessType
=
(
v
:
any
)
=>
{
console
.
log
(
v
)
return
<
Tag
color=
{
ProcessTagColor
[
v
.
processType
-
1
]
}
>
{
v
[
"processTypeName"
]
}
</
Tag
>
...
...
src/utils/type.ts
View file @
f7c7865b
import
{
GlobalConfig
}
from
'@/global/config'
;
import
{
postManageWebShopWebAll
}
from
'@/services/ManageV2Api'
;
import
{
postManageWebShopWebAll
Shop
}
from
'@/services/ManageV2Api'
;
export
function
isString
(
str
:
any
):
str
is
string
{
return
typeof
str
===
'string'
...
...
@@ -42,8 +42,8 @@ interface getShopListsParmasProps {
* @param params 接口参数
*/
export
const
fectchShopListsSource
=
async
(
params
?:
getShopListsParmasProps
)
=>
{
if
(
postManageWebShopWebAll
)
{
const
{
data
}
=
await
postManageWebShopWebAll
({
...
params
,
siteId
:
GlobalConfig
.
global
.
siteInfo
.
id
},
{
ctlType
:
'none'
})
if
(
postManageWebShopWebAll
Shop
)
{
const
{
data
}
=
await
postManageWebShopWebAll
Shop
({
...
params
,
siteId
:
GlobalConfig
.
global
.
siteInfo
.
id
},
{
ctlType
:
'none'
})
return
data
}
}
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