节点
This commit is contained in:
10
src/api/hardware/node.js
Normal file
10
src/api/hardware/node.js
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
import request from '@/utils/request'
|
||||||
|
|
||||||
|
// 新增节点
|
||||||
|
export function addNode(data) {
|
||||||
|
return request({
|
||||||
|
url: '/system/node/saveNode',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
@ -42,11 +42,4 @@ export function del(ids) {
|
|||||||
method: 'delete'
|
method: 'delete'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 新增节点
|
|
||||||
export function addNode(data) {
|
|
||||||
return request({
|
|
||||||
url: '/system/product/saveNode',
|
|
||||||
method: 'post',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
@ -186,7 +186,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { list, get, add, update, del, addNode } from "@/api/hardware/product";
|
import { list, get, add, update, del } from "@/api/hardware/product";
|
||||||
|
import { addNode } from "@/api/hardware/node";
|
||||||
export default {
|
export default {
|
||||||
name: "ProductList",
|
name: "ProductList",
|
||||||
data() {
|
data() {
|
||||||
|
Reference in New Issue
Block a user