diff --git a/src/api/product/product.js b/src/api/product/product.js index e4b9db1..beda1b5 100644 --- a/src/api/product/product.js +++ b/src/api/product/product.js @@ -29,5 +29,13 @@ const productDetail = (data) => { return instance.post('/productInfo/detail', data) } +// 绑定服务. +const bindServ = (data)=>{ + return instance.post('/productInfo/service/bind', data) +} +// 查询绑定列表 +const listBindService = (data)=>{ + return instance.post('productInfo/service/bindList', data) +} -export { listPage, add, update, productDelete, batchDelete, list, productDetail } +export { listPage, add, update, productDelete, batchDelete, list, productDetail, bindServ, listBindService } diff --git a/src/api/product/product.js b/src/api/product/product.js index e4b9db1..beda1b5 100644 --- a/src/api/product/product.js +++ b/src/api/product/product.js @@ -29,5 +29,13 @@ const productDetail = (data) => { return instance.post('/productInfo/detail', data) } +// 绑定服务. +const bindServ = (data)=>{ + return instance.post('/productInfo/service/bind', data) +} +// 查询绑定列表 +const listBindService = (data)=>{ + return instance.post('productInfo/service/bindList', data) +} -export { listPage, add, update, productDelete, batchDelete, list, productDetail } +export { listPage, add, update, productDelete, batchDelete, list, productDetail, bindServ, listBindService } diff --git a/src/components/mycomponent/dialog/categoryAddDialog.vue b/src/components/mycomponent/dialog/categoryAddDialog.vue index c47e73c..d06f821 100644 --- a/src/components/mycomponent/dialog/categoryAddDialog.vue +++ b/src/components/mycomponent/dialog/categoryAddDialog.vue @@ -200,7 +200,6 @@ }, save() { this.$refs['dataForm'].validate((valid) => { - console.log(this.deptForm) if (valid) { if (this.title === '品类新增') { C_add(this.categoryInfo).then(res => { diff --git a/src/api/product/product.js b/src/api/product/product.js index e4b9db1..beda1b5 100644 --- a/src/api/product/product.js +++ b/src/api/product/product.js @@ -29,5 +29,13 @@ const productDetail = (data) => { return instance.post('/productInfo/detail', data) } +// 绑定服务. +const bindServ = (data)=>{ + return instance.post('/productInfo/service/bind', data) +} +// 查询绑定列表 +const listBindService = (data)=>{ + return instance.post('productInfo/service/bindList', data) +} -export { listPage, add, update, productDelete, batchDelete, list, productDetail } +export { listPage, add, update, productDelete, batchDelete, list, productDetail, bindServ, listBindService } diff --git a/src/components/mycomponent/dialog/categoryAddDialog.vue b/src/components/mycomponent/dialog/categoryAddDialog.vue index c47e73c..d06f821 100644 --- a/src/components/mycomponent/dialog/categoryAddDialog.vue +++ b/src/components/mycomponent/dialog/categoryAddDialog.vue @@ -200,7 +200,6 @@ }, save() { this.$refs['dataForm'].validate((valid) => { - console.log(this.deptForm) if (valid) { if (this.title === '品类新增') { C_add(this.categoryInfo).then(res => { diff --git a/src/components/mycomponent/dialog/deviceInfoDialog.vue b/src/components/mycomponent/dialog/deviceInfoDialog.vue index 1ca24ff..30149bc 100644 --- a/src/components/mycomponent/dialog/deviceInfoDialog.vue +++ b/src/components/mycomponent/dialog/deviceInfoDialog.vue @@ -4,159 +4,416 @@
- - - + + +
- +
-
- - - -
+ + +
+
+ + + + + +
+
+ + + + + + +
+
+ + +
+ + +
+
+
+ + +
+
+
+ + + +
+
+ + +
+
+ + +
+
+
+
+ +
+
+
+
+ + + +
+
+ + +
+
+ + +
+
+
+
+ + + +
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
+ + + +
+
+ + + +
+
+ + +
+
+
+
+
+ +
-
- - - - - -
-
- - - - - - -
-
- - -
- - -
-
+
-
-
- - - -
-
- - -
-
- - -
-
+
@@ -166,6 +423,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -196,6 +456,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -205,6 +466,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -223,6 +486,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -246,6 +512,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -256,6 +523,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -268,6 +536,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -284,6 +554,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -312,6 +584,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -335,6 +610,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -358,6 +636,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -392,7 +672,7 @@ }, data() { return { - navSelect: 0, // 0 1 2 为导航栏的选项 + navSelect: '0', // 0 1 2 为导航栏的选项 rowInfo: {} } }, @@ -480,6 +760,7 @@ } .content_content { + padding: 0px 10px; // padding: 20px 0 60px 0; // box-sizing: border-box; diff --git a/src/api/product/product.js b/src/api/product/product.js index e4b9db1..beda1b5 100644 --- a/src/api/product/product.js +++ b/src/api/product/product.js @@ -29,5 +29,13 @@ const productDetail = (data) => { return instance.post('/productInfo/detail', data) } +// 绑定服务. +const bindServ = (data)=>{ + return instance.post('/productInfo/service/bind', data) +} +// 查询绑定列表 +const listBindService = (data)=>{ + return instance.post('productInfo/service/bindList', data) +} -export { listPage, add, update, productDelete, batchDelete, list, productDetail } +export { listPage, add, update, productDelete, batchDelete, list, productDetail, bindServ, listBindService } diff --git a/src/components/mycomponent/dialog/categoryAddDialog.vue b/src/components/mycomponent/dialog/categoryAddDialog.vue index c47e73c..d06f821 100644 --- a/src/components/mycomponent/dialog/categoryAddDialog.vue +++ b/src/components/mycomponent/dialog/categoryAddDialog.vue @@ -200,7 +200,6 @@ }, save() { this.$refs['dataForm'].validate((valid) => { - console.log(this.deptForm) if (valid) { if (this.title === '品类新增') { C_add(this.categoryInfo).then(res => { diff --git a/src/components/mycomponent/dialog/deviceInfoDialog.vue b/src/components/mycomponent/dialog/deviceInfoDialog.vue index 1ca24ff..30149bc 100644 --- a/src/components/mycomponent/dialog/deviceInfoDialog.vue +++ b/src/components/mycomponent/dialog/deviceInfoDialog.vue @@ -4,159 +4,416 @@
- - - + + +
- +
-
- - - -
+ + +
+
+ + + + + +
+
+ + + + + + +
+
+ + +
+ + +
+
+
+ + +
+
+
+ + + +
+
+ + +
+
+ + +
+
+
+
+ +
+
+
+
+ + + +
+
+ + +
+
+ + +
+
+
+
+ + + +
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
+ + + +
+
+ + + +
+
+ + +
+
+
+
+
+ +
-
- - - - - -
-
- - - - - - -
-
- - -
- - -
-
+
-
-
- - - -
-
- - -
-
- - -
-
+
@@ -166,6 +423,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -196,6 +456,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -205,6 +466,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -223,6 +486,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -246,6 +512,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -256,6 +523,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -268,6 +536,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -284,6 +554,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -312,6 +584,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -335,6 +610,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -358,6 +636,7 @@ width="200px" style="justify-content: space-between;" :disabled="true" + readable />
@@ -392,7 +672,7 @@ }, data() { return { - navSelect: 0, // 0 1 2 为导航栏的选项 + navSelect: '0', // 0 1 2 为导航栏的选项 rowInfo: {} } }, @@ -480,6 +760,7 @@ } .content_content { + padding: 0px 10px; // padding: 20px 0 60px 0; // box-sizing: border-box; diff --git a/src/components/mycomponent/dialog/productBindDialog.vue b/src/components/mycomponent/dialog/productBindDialog.vue index 0ce020b..d387996 100644 --- a/src/components/mycomponent/dialog/productBindDialog.vue +++ b/src/components/mycomponent/dialog/productBindDialog.vue @@ -17,16 +17,16 @@ 添加服务
- - + + @@ -38,7 +38,7 @@
- + 保存 @@ -49,8 +49,8 @@