ソースを参照

兴安盟运维1.0

dylan 2 年 前
コミット
a782dd9773

+ 2 - 1
.gitignore

@@ -22,4 +22,5 @@ yarn-error.log*
 *.njsproj
 *.sln
 *.sw*
-*.lock
+*.lock
+.vscode

+ 0 - 20
.vscode/launch.json

@@ -1,20 +0,0 @@
-{
-    // Use IntelliSense to learn about possible attributes.
-    // Hover to view descriptions of existing attributes.
-    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
-    "version": "0.2.0",
-    "configurations": [
-      {
-        "type": "chrome",
-        "request": "attach",
-        "name": "Attach to Chrome",
-        "port": 9222,
-        "webRoot": "${workspaceRoot}/src",
-        "url": "http://localhost:1888/#/",
-        "sourceMaps": true,
-        "sourceMapPathOverrides": {
-          "webpack:///src/*": "${webRoot}/*"
-        }
-      }
-    ]
-  }

+ 26 - 0
src/views/baseinfo/monitorsite/index.vue

@@ -197,6 +197,32 @@ export default {
                             },
                         ],
                     },
+                    {
+                        label: '测站流量是否启用',
+                        prop: 'upDataValid',
+                        hide: true,
+                        addDisplay: false,
+                        type: 'radio',
+                        props: {
+                            label: 'name',
+                            value: 'code'
+                        },
+                        span: 24,
+                        dicData: [{
+                            name: '否',
+                            code: 0
+                        }, {
+                            name: '是',
+                            code: 1
+                        }],
+                        rules: [
+                            {
+                                required: true,
+                                message: "请选择是否启用",
+                                trigger: "click",
+                            },
+                        ],
+                    },
                     {
                         label: "证照编号",
                         prop: "siteCertId",

+ 1 - 0
src/views/business/monitor/waterflowrate/index.vue

@@ -149,6 +149,7 @@ export default {
                         span: 24,
                         width: 100,
                         viewDisplay: false,
+                        hide: true,
                     },
                     {
                         label: "取用水户名称",