Commit c12acbbd authored by WBY1026's avatar WBY1026

完善拖拽平面图

parent 93af9799
import request from '@/utils/request'
/**
* 1. 列表查询
* 2. 查询详细信息
*/
// 3. 保存
// export function addBIchnography(data) {
// return request({
// url: '/bichnography/add',
// method: 'post',
// headers : { 'Content-Type' : 'multipart/form-data' },
// data: data
// })
// }
// 查询最近一条数据
export function findLatestData() {
return request({
url: '/bichnography/findLatestData',
method: 'get',
})
}
export function addBIchnography(data) {
return request({
method: 'post',
url: '/bichnography/add',
headers: {
'Content-Type': 'application/json'
},
data: data
})
}
export function findLabelWithBoxes() {
return request({
url: '/incomewmsbox/findLabelWithBoxes',
method: 'get',
})
}
......@@ -43,6 +43,11 @@ export const constantRoutes = [
component: (resolve) => require(['@/views/login/login.vue'], resolve),
hidden: true
},
{
path: '/graphWatch',
component: (resolve) => require(['@/views/template/graph/graphWatch.vue'], resolve),
hidden: true
},
// {
// path: '/forgetPwd',
// component: LayoutLogin,
......
This diff is collapsed.
This diff is collapsed.
{
"nodeList": [
{
"id": "nodeNvdvLvfgmmlu7x48",
"width": 100,
"height": 100,
"coordinate": [
245.75,
286.25
],
"meta": {
"label": "1",
"name": "服务器",
"flowName": "",
"img": "url('https://img.zcool.cn/community/01671f5541cb2a0000011541dcdc30.jpg@1280w_1l_2o_100sh.jpg')"
}
},
{
"id": "noder7mLkSdXagbzVf9m",
"width": 120,
"height": 40,
"coordinate": [
183.75,
439.25
],
"meta": {
"label": "5",
"name": "标题",
"flowName": "",
"img": ""
}
},
{
"id": "nodeCU2bFuEJwlSV3Wcp",
"width": 150,
"height": 150,
"coordinate": [
277.75,
91.25
],
"meta": {
"label": "架子",
"name": "架子1313",
"flowName": "123",
"img": "url('https://img.zcool.cn/community/01671f5541cb2a0000011541dcdc30.jpg@1280w_1l_2o_100sh.jpg')",
"desc": "123213"
}
}
],
"linkList": [
{
"id": "linkDu9RMGNMKklMs7Kd",
"startId": "nodeCU2bFuEJwlSV3Wcp",
"endId": "nodeNvdvLvfgmmlu7x48",
"startAt": [
75,
150
],
"endAt": [
50,
0
],
"meta": null
}
],
"background": ""
}
\ No newline at end of file
This diff is collapsed.
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