Commit 20ced726 authored by 周远喜's avatar 周远喜

aps 地址修改。

parent f1f2b1c5
...@@ -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)
} }
......
<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]
} }
} }
} }
......
...@@ -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.aps}:10000/aps`;//aps排产 window.apsUrl = `http://${address}:10000/aps`;//aps排产
window.technologyUrl =`http://${address}:10000/technology/`;//新工艺规程接口 window.technologyUrl =`http://${address}:10000/technology/`;//新工艺规程接口
window.iconImg = `/imgicon/`; window.iconImg = `/imgicon/`;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment