Commit ab4fd361 authored by 周远喜's avatar 周远喜

bug 处理

parent 247fe8b2
......@@ -3,7 +3,7 @@
<TreeGrid :columns="columns" ref="grid" :items="list">
<template slot="buttons">
<Button type="primary" @click="add()">新增系统</Button>
<Button type="primary" @click="importModal=true">导入菜单</Button>
<!-- <Button type="primary" @click="importModal=true">导入菜单</Button> -->
</template>
</TreeGrid>
<Modal v-model="addModal" title="新增" width="1000" footer-hide>
......@@ -18,7 +18,7 @@
<Modal v-model="detailModal" title="详情">
<Detail :eid="curId" />
</Modal>
<Modal v-model="importModal" title="导入系统菜单" width="800" @on-ok="importOk">
<!-- <Modal v-model="importModal" title="导入系统菜单" width="800" @on-ok="importOk">
<h1 v-if="systemList.length==0">请先创建系统</h1>
<div v-else>
<Select placeholder="请选择系统" v-model="systemId" :data="systemList">
......@@ -28,7 +28,7 @@
<json-viewer :value="systemRouters" :expand-depth="5"></json-viewer>
</div>
</div>
</Modal>
</Modal> -->
</div>
</template>
<script>
......
import Api from '@/plugins/request'
export default {
index:`${system}/setmenu/paged`,
index:`${systemUrl}/setmenu/paged`,
paged(params){
return Api.post(`${system}/setmenu/paged`,params);
return Api.post(`${systemUrl}/setmenu/paged`,params);
},
get(params){
return Api.get(`${system}/setmenu/get`,params);
return Api.get(`${systemUrl}/setmenu/get`,params);
},
create(params){
return Api.post(`${system}/setmenu/create`,params);
return Api.post(`${systemUrl}/setmenu/create`,params);
},
update(params){
return Api.post(`${system}/setmenu/update`,params);
return Api.post(`${systemUrl}/setmenu/update`,params);
},
//删除:
delete(params) {
return Api.delete(`${system}/setmenu/delete`,{params:params});
return Api.delete(`${systemUrl}/setmenu/delete`,{params:params});
},
}
\ No newline at end of file
......@@ -10,6 +10,7 @@ let address=systemApi.dev;
//let address=systemApi.local;
window.systemUrl = `http://${address}:10000/system`; //System-api 系统管理(基础数据)
window.system = `http://${address}:10000/system`; //System-api 系统管理(基础数据)
window.authUrl = `http://${address}:10010`; //Authentication-api //统一登陆认证
window.designUrl = `http://${address}:10000/process`; // 工艺规程
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