Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-science-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
徐俊
yn-science-front
Commits
884e5d37
Commit
884e5d37
authored
Jul 11, 2025
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eee
parent
479d8ed6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
unitRegister.vue
src/views/register/components/unitRegister.vue
+7
-7
No files found.
src/views/register/components/unitRegister.vue
View file @
884e5d37
...
...
@@ -8,13 +8,13 @@
</div>
</a-col>
</a-row>
<
!--
<
a-row>
<a-row>
<a-col
:span=
"24"
>
<a-form-model-item
ref=
"upTreeCode"
label=
"上级单位"
prop=
"upTreeCode"
>
<unit-tree-select
v-model=
"formData.upTreeCode"
:unitType=
"0"
/>
</a-form-model-item>
</a-col>
</a-row>
-->
</a-row>
<a-row>
<a-col
:span=
"24"
>
<a-form-model-item
ref=
"unitName"
label=
"单位名称"
prop=
"unitName"
>
...
...
@@ -24,7 +24,7 @@
{{
item
.
title
}}
</a-select-option>
</a-select>
-->
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-row>
<a-row>
...
...
@@ -129,7 +129,7 @@ import { isIdentityId } from '@/views/utils/validate'
export
default
{
name
:
"unitRegister"
,
components
:
{
unitTreeSelect
,
verifiCode
unitTreeSelect
,
verifiCode
},
data
()
{
return
{
...
...
@@ -271,7 +271,7 @@ export default {
},
methods
:
{
onSearch
(
value
)
{
onSearch
(
value
)
{
let
pars
=
{
UnitName
:
value
}
this
.
$api
.
unit
.
getListByUnitName
(
pars
).
then
(({
data
=
{}
})
=>
{
this
.
selectData
=
[]
...
...
@@ -286,11 +286,11 @@ export default {
}
})
},
filterOption
(
input
,
option
)
{
filterOption
(
input
,
option
)
{
// 自定义过滤逻辑,如果没有匹配的选项就保留输入值
return
option
.
componentOptions
.
children
[
0
].
text
.
toLowerCase
().
indexOf
(
input
.
toLowerCase
())
>=
0
;
},
handleChange
(
value
)
{
handleChange
(
value
)
{
this
.
formData
.
unitName
=
value
},
verifiMobile
()
{
...
...
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