Commit 5fca003b authored by 樊国敬's avatar 樊国敬

tanant

parent ab4fd361
import Api from '@/plugins/request' import Api from '@/plugins/request'
export default { export default {
index:`${systemUrl}/setmenu/paged`, index:`${system}/setmenu/paged`,
paged(params){ paged(params){
return Api.post(`${systemUrl}/setmenu/paged`,params); return Api.post(`${system}/setmenu/paged`,params);
}, },
get(params){ get(params){
return Api.get(`${systemUrl}/setmenu/get`,params); return Api.get(`${system}/setmenu/get`,params);
}, },
create(params){ create(params){
return Api.post(`${systemUrl}/setmenu/create`,params); return Api.post(`${system}/setmenu/create`,params);
}, },
update(params){ update(params){
return Api.post(`${systemUrl}/setmenu/update`,params); return Api.post(`${system}/setmenu/update`,params);
}, },
//删除: //删除:
delete(params) { delete(params) {
return Api.delete(`${systemUrl}/setmenu/delete`,{params:params}); return Api.delete(`${system}/setmenu/delete`,{params:params});
}, },
} }
\ No newline at end of file
...@@ -6,11 +6,11 @@ ...@@ -6,11 +6,11 @@
<Input v-model="entity.name"></Input> <Input v-model="entity.name"></Input>
</FormItem> </FormItem>
</Col> </Col>
<Col :span="24"> <!-- <Col :span="24">
<FormItem :label="l('code')" prop="code"> <FormItem :label="l('code')" prop="code">
<Input v-model="entity.code"></Input> <Input v-model="entity.code"></Input>
</FormItem> </FormItem>
</Col> </Col> -->
<Col :span="24"> <Col :span="24">
<FormItem :label="l('typeId')" prop="typeId"> <FormItem :label="l('typeId')" prop="typeId">
<Dictionary code="system.Tanant.type" v-model="entity.typeId" type="select"></Dictionary> <Dictionary code="system.Tanant.type" v-model="entity.typeId" type="select"></Dictionary>
...@@ -63,7 +63,7 @@ export default { ...@@ -63,7 +63,7 @@ export default {
hostlist: [], hostlist: [],
rules: { rules: {
name: [{ required: true, message: '必填', trigger: 'blur' }], name: [{ required: true, message: '必填', trigger: 'blur' }],
code: [{ required: true, message: '必填', trigger: 'blur' }] // code: [{ required: true, message: '必填', trigger: 'blur' }]
} }
} }
......
...@@ -6,11 +6,11 @@ ...@@ -6,11 +6,11 @@
<Input v-model="entity.name"></Input> <Input v-model="entity.name"></Input>
</FormItem> </FormItem>
</Col> </Col>
<Col :span="24"> <!-- <Col :span="24">
<FormItem :label="l('code')" prop="code"> <FormItem :label="l('code')" prop="code">
<Input v-model="entity.code"></Input> <Input v-model="entity.code"></Input>
</FormItem> </FormItem>
</Col> </Col> -->
<Col :span="24"> <Col :span="24">
<FormItem :label="l('typeId')" prop="typeId"> <FormItem :label="l('typeId')" prop="typeId">
<Dictionary code="system.Tanant.type" v-model="entity.typeId" type="select"></Dictionary> <Dictionary code="system.Tanant.type" v-model="entity.typeId" type="select"></Dictionary>
......
...@@ -10,7 +10,8 @@ let address=systemApi.dev; ...@@ -10,7 +10,8 @@ let address=systemApi.dev;
//let address=systemApi.local; //let address=systemApi.local;
window.systemUrl = `http://${address}:10000/system`; //System-api 系统管理(基础数据) window.systemUrl = `http://${address}:10000/system`; //System-api 系统管理(基础数据)
window.system = `http://${address}:10000/system`; //System-api 系统管理(基础数据) window.system=`http://${address}:10000/auth`;//多租户后台系统
//window.system = `http://${address}:10000/system`; //System-api 系统管理(基础数据)
window.authUrl = `http://${address}:10010`; //Authentication-api //统一登陆认证 window.authUrl = `http://${address}:10010`; //Authentication-api //统一登陆认证
window.designUrl = `http://${address}:10000/process`; // 工艺规程 window.designUrl = `http://${address}:10000/process`; // 工艺规程
window.PlanUrl = `http://${address}:10000/plan`; //订单 window.PlanUrl = `http://${address}:10000/plan`; //订单
......
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