Browse Source

添加 主要材料清单入口

yunxing 4 years ago
parent
commit
2b1bbe804b
3 changed files with 12 additions and 6 deletions
  1. 6 0
      src/utils/plugins/components.js
  2. 2 2
      src/views/equipment/eqDialog.vue
  3. 4 4
      vue.config.js

+ 6 - 0
src/utils/plugins/components.js

@@ -743,6 +743,12 @@ var system = [
                     ],
                 },
                 {
+                    label: '主要材料清单',
+                    id: 'TJQD',
+                    children: [],
+                    param: { tab_code: '' },
+                },
+                {
                     label: '维保事项',
                     id: 'TJWB',
                     children: [

+ 2 - 2
src/views/equipment/eqDialog.vue

@@ -17,7 +17,7 @@
                     <rotation :key='`rotaion_${rotationKey}`' type='3' v-if='rotationImg.length>0' :size='sizePic' :rotationImg='rotationImg'></rotation>
                 </div>
                 <!-- 土建装饰主要材料清单 -->
-                <!-- <tj-table v-else-if='dialogInfo.id.slice(0,4)=="TJQD"' :param='param'></tj-table> -->
+                <tj-table v-else-if='dialogInfo.id.slice(0,4)=="TJQD"' :param='param'></tj-table>
                 <!-- 主要设备清单 标准设备表格 -->
                 <!-- 内部设备清单 -->
                 <standTable
@@ -236,7 +236,7 @@ export default {
     methods: {
         //打开弹窗
         showModal(item) {
-            // console.log(item)
+            console.log(item)
             this.visible = true
             this.dialogInfo = item
             if (Object.keys(this.dialogInfo).length > 0 && this.dialogInfo.children.length > 0) {

+ 4 - 4
vue.config.js

@@ -4,8 +4,8 @@ module.exports = {
         port: 8090,
         proxy: {
             '/data': {
-                target: "http://60.205.177.43",
-                // target: 'http://10.199.143.126',
+                target: "http://60.205.177.43", //阿里云
+                // target: 'http://10.199.143.126', //生产环境
                 // target: 'http://192.168.200.11:9003', //yll
                 // target: 'http://localhost:6040/data/',
                 changeOrigin: true,
@@ -34,8 +34,8 @@ module.exports = {
             // 图例库服务
             "/serve": {
                 // target: 'http://192.168.200.87:8088',
-            //    target: 'http://10.199.143.129:8080',
-                target: 'http://60.205.177.43:8080',
+                target: 'http://60.205.177.43:8080', //阿里云
+            //    target: 'http://10.199.143.129:8080',    //生产环境
                 changeOrigin: true,
                 pathRewrite: {
                     "^/serve": "",