参数修改

This commit is contained in:
刘召雪
2020-11-12 15:19:31 +08:00
parent 67ef18157c
commit 43d102a363
4 changed files with 6 additions and 15 deletions

View File

@ -10,7 +10,7 @@ export function nodeList (params) {
} }
// 查询节点详细 // 查询节点详细
export function Info (nodeId) { export function nodeInfo (nodeId) {
return request({ return request({
url: '/system/node/' + nodeId, url: '/system/node/' + nodeId,
method: 'get' method: 'get'

View File

@ -49,7 +49,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="provinceCode" align="center" label="省份"> <el-table-column prop="provinceCode" align="center" label="省份">
</el-table-column> </el-table-column>
<el-table-column prop="city" align="center" label="市"> <el-table-column prop="cityCode" align="center" label="市">
</el-table-column> </el-table-column>
<el-table-column prop="areaCode" align="center" label="区"> <el-table-column prop="areaCode" align="center" label="区">
</el-table-column> </el-table-column>
@ -114,7 +114,7 @@
import Region from "@/components/Region"; import Region from "@/components/Region";
import { import {
list, list,
get, Info,
add, add,
update, update,
del, del,
@ -143,15 +143,6 @@ export default {
title: "", title: "",
// 是否显示弹出层 // 是否显示弹出层
open: false, open: false,
labelPosition: "right",
options: [
{
value: "选项1",
},
{
value: "选项2",
},
],
// 表单参数 // 表单参数
form: {}, form: {},
// 表格数据 // 表格数据

View File

@ -137,8 +137,8 @@
</template> </template>
<script> <script>
import { list, get, add, update, del } from "@/api/hardware/product"; import { list, Info, add, update, del } from "@/api/hardware/product";
import { nodeList, addNode, Info, delNode, select } from "@/api/hardware/node"; import { nodeList, addNode, nodeInfo, delNode, select } from "@/api/hardware/node";
export default { export default {
name: "ProductList", name: "ProductList",
data () { data () {

View File

@ -70,7 +70,7 @@
</template> </template>
<script> <script>
import { list, info, add, update, del, select } from "@/api/hardware/project"; import { list, Info, add, update, del, select } from "@/api/hardware/project";
import { userSelect } from "@/api/system/user"; import { userSelect } from "@/api/system/user";
export default { export default {
name: "ProjectList", name: "ProjectList",