Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
周远喜
mes-ui
Commits
f5fc820d
Commit
f5fc820d
authored
May 09, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ok
parent
219db335
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
resource.vue
pages/test/resource.vue
+11
-4
config.js
static/config.js
+1
-1
No files found.
pages/test/resource.vue
View file @
f5fc820d
...
...
@@ -8,8 +8,8 @@
<Button
@
click=
"set"
>
赋值
</Button>
<ProductSelect
v-model=
"product"
@
on-change=
"pchange"
></ProductSelect>
<p>
{{
product
}}
</p>
<Button
@
click=
"setp"
>
赋值
</Button>
</div>
</
template
>
...
...
@@ -30,10 +30,17 @@
this
.
text
=
items
.
map
(
u
=>
u
.
label
).
join
(
'/'
);
},
set
(){
this
.
model
=
[
"1"
,
91
];
this
.
model
=
[
"1"
,
5
];
},
pchange
(
v
){
pchange
(
v
,
item
){
// this.text=items.map(u=>u.label).join('/');
if
(
item
.
isProduct
==
0
){
this
.
$Message
.
error
(
"层级不能选择"
)
this
.
product
=
""
}
},
setp
(){
this
.
prodcut
=
8
;
},
}
}
...
...
static/config.js
View file @
f5fc820d
...
...
@@ -22,7 +22,7 @@ window.certificateUrl = `http://${address}:10000/qms`; //质量
window
.
crmUrl
=
`http://
${
address
}
:10000/crm`
;
//crm客户、合同、项目管理
window
.
apsUrl
=
`http://
${
systemApi
.
aps
}
:10000/aps`
;
//aps排产
window
.
technologyUrl
=
`http://
${
address
}
:10000/technology/`
;
//新工艺规程接口
window
.
iconImg
=
`/imgicon/`
;
/* window.systemUrl = `http://${address}:10020/api/services/app`; //System-api 系统管理(基础数据)
window.authUrl = `http://${address}:10010`; //Authentication-api //统一登陆认证
...
...
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