Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5fce3990
authored
Jul 10, 2026
by
Jaxon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style: 格式化
1 parent
dc36a1e7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
src/api/serviceItemsManage.js
src/components/remoteSearchSelect/index.vue
src/components/venusNumberInput/index.vue
src/api/serviceItemsManage.js
View file @
5fce399
import
request
from
"./request"
import
request
from
"./request"
;
import
RequestMethods
from
"./request.methods"
import
RequestMethods
from
"./request.methods"
;
const
path
=
"dj.api.smarcarlife."
const
path
=
"dj.api.smarcarlife."
;
export
function
getList
(
data
)
{
export
function
getList
(
data
)
{
data
.
method
=
`
${
path
}
construction.item.page`
data
.
method
=
`
${
path
}
construction.item.page`
;
return
request
(
data
,
RequestMethods
.
POST
)
return
request
(
data
,
RequestMethods
.
POST
);
}
}
src/components/remoteSearchSelect/index.vue
View file @
5fce399
<
template
>
<
template
>
<el-select
ref=
"selectRef
"
<el-select
:key=
"forceKey
"
:key=
"forceKey
"
ref=
"selectRef
"
v-select-load-more=
"loadMore"
v-select-load-more=
"loadMore"
:value=
"value"
:value=
"value"
v-bind=
"selectProps"
v-bind=
"selectProps"
v-on=
"selectEvent"
v-on=
"selectEvent"
@
visible-change=
"handleVisible
Change"
@
change=
"handleSelect
Change"
@
change=
"handleSelect
Change"
>
@
visible-change=
"handleVisible
Change"
>
<el-option
v-for=
"subItem in localOptions"
<el-option
v-for=
"subItem in localOptions"
:key=
"subItem[fieldName.value]"
:key=
"subItem[fieldName.value]"
v-bind=
"
{
v-bind=
"
{
...
@@ -14,8 +14,7 @@
...
@@ -14,8 +14,7 @@
label: subItem[fieldName.label],
label: subItem[fieldName.label],
...isFunction(optionProps) ? optionProps(subItem) : optionProps,
...isFunction(optionProps) ? optionProps(subItem) : optionProps,
}">
}">
<slot
name=
"options"
<slot
name=
"options"
:row=
"subItem"
>
:row=
"subItem"
>
</slot>
</slot>
</el-option>
</el-option>
<template
#
empty
>
<template
#
empty
>
...
@@ -203,7 +202,7 @@ export default {
...
@@ -203,7 +202,7 @@ export default {
// 是否第一次触发
// 是否第一次触发
isImmediate
,
isImmediate
,
});
});
le
t
{
defaultValue
}
=
this
;
cons
t
{
defaultValue
}
=
this
;
if
(
loadMore
)
{
if
(
loadMore
)
{
// 加载更多时,如果默认值已存在则移除,避免重复
// 加载更多时,如果默认值已存在则移除,避免重复
...
...
src/components/venusNumberInput/index.vue
View file @
5fce399
Write
Preview
Markdown
is supported
Attach a file
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 post a comment