Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sample-form-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
sample-form-platform
Commits
1d0ee3f6
Commit
1d0ee3f6
authored
Jul 14, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref:修改排队编号搜索
parent
903645f1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
sample-form-client-ui/admin/.env.production
sample-form-client-ui/admin/.env.production
+1
-1
sample-form-client-ui/admin/src/api/index.js
sample-form-client-ui/admin/src/api/index.js
+2
-2
sample-form-client-ui/admin/src/pages/searchpage/SearchPage.vue
...-form-client-ui/admin/src/pages/searchpage/SearchPage.vue
+5
-4
No files found.
sample-form-client-ui/admin/.env.production
View file @
1d0ee3f6
#生产环境
#生产环境
NODE_ENV = "production"
NODE_ENV = "production"
VUE_APP_API_PHP_URL=zwfw_api/
VUE_APP_API_PHP_URL=
/
zwfw_api/
sample-form-client-ui/admin/src/api/index.js
View file @
1d0ee3f6
...
@@ -117,9 +117,9 @@ export const getSkinList = (data) => {
...
@@ -117,9 +117,9 @@ export const getSkinList = (data) => {
};
};
// 排队编号查询对应事项
// 排队编号查询对应事项
export
const
getMatterForFlownum
=
(
params
)
=>
{
export
const
getMatterForFlownum
=
(
params
)
=>
{
let
baseUrl
=
local
.
getLocal
(
"
serverUrl
"
);
//
let baseUrl = local.getLocal("serverUrl");
return
request
({
return
request
({
url
:
`
${
baseUrl
}${
PHP_URL
}
api/matter/matterForFlownum`
,
url
:
`
${
PHP_URL
}
api/matter/matterForFlownum`
,
method
:
"
get
"
,
method
:
"
get
"
,
params
,
params
,
});
});
...
...
sample-form-client-ui/admin/src/pages/searchpage/SearchPage.vue
View file @
1d0ee3f6
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
:
key
=
"
'list' + item
"
:
key
=
"
'list' + item
"
><
/div
>
><
/div
>
<
/div
>
<
/div
>
<
el
-
empty
class
=
"
empty
"
:
image
-
size
=
"
200
"
v
-
else
><
/el-e
mpty
>
<
YEmpty
v
-
else
width
=
"
400
"
><
/YE
mpty
>
<!--
分页
-->
<!--
分页
-->
<
div
class
=
"
tac
"
>
<
div
class
=
"
tac
"
>
<
el
-
pagination
<
el
-
pagination
...
@@ -104,6 +104,7 @@ import Header from "@/components/Header.vue";
...
@@ -104,6 +104,7 @@ import Header from "@/components/Header.vue";
import
PageTop
from
"
@/components/PageTop.vue
"
;
import
PageTop
from
"
@/components/PageTop.vue
"
;
import
SearchBox
from
"
@/components/SearchBox.vue
"
;
import
SearchBox
from
"
@/components/SearchBox.vue
"
;
import
MateralsList
from
"
@/components/MateralsList.vue
"
;
import
MateralsList
from
"
@/components/MateralsList.vue
"
;
import
YEmpty
from
"
@/components/YEmpty.vue
"
;
import
{
getSampleformMatterList
,
getMatterForFlownum
}
from
"
@/api
"
;
import
{
getSampleformMatterList
,
getMatterForFlownum
}
from
"
@/api
"
;
export
default
{
export
default
{
components
:
{
components
:
{
...
@@ -111,6 +112,7 @@ export default {
...
@@ -111,6 +112,7 @@ export default {
PageTop
,
PageTop
,
SearchBox
,
SearchBox
,
MateralsList
,
MateralsList
,
YEmpty
,
}
,
}
,
data
()
{
data
()
{
return
{
return
{
...
@@ -146,8 +148,7 @@ export default {
...
@@ -146,8 +148,7 @@ export default {
if
(
reg
.
test
(
this
.
searchVal
)
||
this
.
searchVal
==
""
)
{
if
(
reg
.
test
(
this
.
searchVal
)
||
this
.
searchVal
==
""
)
{
this
.
getSampleformMatterList
(
this
.
searchVal
);
this
.
getSampleformMatterList
(
this
.
searchVal
);
}
else
{
}
else
{
let
matterFullName
=
await
this
.
getMatterForFlownum
(
this
.
searchVal
);
await
this
.
getMatterForFlownum
(
this
.
searchVal
);
this
.
getSampleformMatterList
(
matterFullName
);
}
}
}
,
}
,
// 获取事项列表
// 获取事项列表
...
@@ -171,9 +172,9 @@ export default {
...
@@ -171,9 +172,9 @@ export default {
let
{
data
}
=
res
.
data
.
data
;
let
{
data
}
=
res
.
data
.
data
;
if
(
data
.
length
)
{
if
(
data
.
length
)
{
matterFullName
=
data
[
0
].
matterName
;
matterFullName
=
data
[
0
].
matterName
;
this
.
getSampleformMatterList
(
matterFullName
);
}
}
}
}
return
matterFullName
;
}
,
}
,
// 搜索
// 搜索
handleSearch
()
{
handleSearch
()
{
...
...
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