gaoxizhong il y a 5 mois
Parent
commit
c0afaae4f4

+ 2 - 2
src/views/rule/config/components/CreateDialog.vue

@@ -163,7 +163,7 @@
                         :options="objects"
                         :options="objects"
                         :props="{
                         :props="{
                           expandTrigger: 'hover',
                           expandTrigger: 'hover',
-                          value: 'field_name',
+                          value: 'field',
                           label: 'field_name',
                           label: 'field_name',
                           children: 'child'
                           children: 'child'
                         }"
                         }"
@@ -217,7 +217,7 @@
                         :options="objects"
                         :options="objects"
                         :props="{
                         :props="{
                           expandTrigger: 'hover',
                           expandTrigger: 'hover',
-                          value: 'field_name',
+                          value: 'field',
                           label: 'field_name',
                           label: 'field_name',
                           children: 'child'
                           children: 'child'
                         }"
                         }"

+ 1 - 0
src/views/rule/config/components/RuleDialog.vue

@@ -257,6 +257,7 @@ export default {
     }
     }
   },
   },
   created() {
   created() {
+    console.log(this.object)
     this.getQcData()
     this.getQcData()
     if (this.data.row.id) {
     if (this.data.row.id) {
       this.getDetail(this.data.row.id)
       this.getDetail(this.data.row.id)

+ 1 - 0
src/views/rule/config/index.vue

@@ -57,6 +57,7 @@ export default {
       get_select_object().then(res => {
       get_select_object().then(res => {
         const { p } = res
         const { p } = res
         this.objects = Array.isArray(p) ? p : []
         this.objects = Array.isArray(p) ? p : []
+        console.log(this.objects)
       })
       })
     },
     },
     // 质控科室
     // 质控科室

+ 3 - 3
vue.config.js

@@ -41,21 +41,21 @@ module.exports = {
   devServer: {
   devServer: {
     proxy: {
     proxy: {
       [process.env.VUE_APP_BASE_API]: {
       [process.env.VUE_APP_BASE_API]: {
-        target: 'http://182.43.50.128:7083',
+        target: 'http://182.44.10.206:7083',
         changeOrigin: true,
         changeOrigin: true,
         pathRewrite: {
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: '/admin/'
           ['^' + process.env.VUE_APP_BASE_API]: '/admin/'
         }
         }
       },
       },
       [process.env.VUE_APP_BASE_API2]: {
       [process.env.VUE_APP_BASE_API2]: {
-        target: 'http://182.43.50.128:7083',
+        target: 'http://182.44.10.206:7083',
         changeOrigin: true,
         changeOrigin: true,
         pathRewrite: {
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API2]: '/bazb/'
           ['^' + process.env.VUE_APP_BASE_API2]: '/bazb/'
         }
         }
       },
       },
       [process.env.VUE_APP_BASE_API3]: {
       [process.env.VUE_APP_BASE_API3]: {
-        target: 'http://182.43.50.128:7083',
+        target: 'http://182.44.10.206:7083',
         changeOrigin: true,
         changeOrigin: true,
         pathRewrite: {
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API3]: '/api/'
           ['^' + process.env.VUE_APP_BASE_API3]: '/api/'