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
20ced726
Commit
20ced726
authored
May 09, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aps 地址修改。
parent
f1f2b1c5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
remote.vue
components/page/remote.vue
+2
-2
user.vue
pages/test/user.vue
+5
-5
config.js
static/config.js
+1
-1
No files found.
components/page/remote.vue
View file @
20ced726
...
@@ -103,9 +103,9 @@ export default {
...
@@ -103,9 +103,9 @@ export default {
// this.cssId = remoteData.cssId;
// this.cssId = remoteData.cssId;
// }else{
// }else{
if
(
this
.
$props
.
url
)
{
if
(
this
.
$props
.
url
)
{
const
res
=
await
Axios
.
get
(
this
.
$props
.
url
);
const
res
=
await
this
.
$api
.
get
(
this
.
$props
.
url
);
// this.cssId = this.getId();
// this.cssId = this.getId();
this
.
resData
=
res
.
data
;
this
.
resData
=
res
;
console
.
log
(
this
.
resData
)
console
.
log
(
this
.
resData
)
}
}
...
...
pages/test/user.vue
View file @
20ced726
<
template
>
<
template
>
<div
style=
"padding:50px;"
>
<div
style=
"padding:50px;"
>
<UserSelect
v-model=
"user"
:multiple=
"true"
theme=
"list"
/>
<UserSelect
v-model=
"user"
:multiple=
"true"
/>
<!--
<DepartmentSelect
v-model=
"dep"
/>
<!--
<DepartmentSelect
v-model=
"dep"
/>
-->
<Button
@
click=
"setUser"
>
Set
</Button>
{{
dep
}}
-->
<Button
@
click=
"setUser"
>
Set
</Button>
{{
user
}}
{{
user
}}
</div>
</div>
</
template
>
</
template
>
...
@@ -12,12 +12,12 @@ export default {
...
@@ -12,12 +12,12 @@ export default {
data
(){
data
(){
return
{
return
{
dep
:
39
,
dep
:
39
,
user
:[
21
,
22
,
23
]
user
:[
128
]
}
}
},
},
methods
:{
methods
:{
setUser
(){
setUser
(){
this
.
user
=
[
25
]
this
.
user
=
[
128
]
}
}
}
}
}
}
...
...
static/config.js
View file @
20ced726
...
@@ -20,7 +20,7 @@ window.resourceUrl = `http://${address}:10000/resource`; // 制造资源地址
...
@@ -20,7 +20,7 @@ window.resourceUrl = `http://${address}:10000/resource`; // 制造资源地址
window
.
workflowUrl
=
`http://
${
address
}
:10000/workflow`
;
// 工作流地址
window
.
workflowUrl
=
`http://
${
address
}
:10000/workflow`
;
// 工作流地址
window
.
certificateUrl
=
`http://
${
address
}
:10000/qms`
;
//质量
window
.
certificateUrl
=
`http://
${
address
}
:10000/qms`
;
//质量
window
.
crmUrl
=
`http://
${
address
}
:10000/crm`
;
//crm客户、合同、项目管理
window
.
crmUrl
=
`http://
${
address
}
:10000/crm`
;
//crm客户、合同、项目管理
window
.
apsUrl
=
`http://
${
systemApi
.
ap
s
}
:10000/aps`
;
//aps排产
window
.
apsUrl
=
`http://
${
addres
s
}
:10000/aps`
;
//aps排产
window
.
technologyUrl
=
`http://
${
address
}
:10000/technology/`
;
//新工艺规程接口
window
.
technologyUrl
=
`http://
${
address
}
:10000/technology/`
;
//新工艺规程接口
window
.
iconImg
=
`/imgicon/`
;
window
.
iconImg
=
`/imgicon/`
;
...
...
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