大宝管理后台代码
xxx
dcc
2024-05-07 abcf89c0931fc453f4fd8e1d4d48b8b469d0f3c7
src/views/userlist/components/EditUserinfodialog.vue
@@ -11,7 +11,10 @@
      <a-form :form="editUserform" ref="editUserform">
        <a-form-item label="所属代理" :labelCol="labelCol" :wrapperCol="wrapperCol">
          <a-select placeholder="请选择所属代理" v-decorator="['agentId', {}]">
            <a-select-option v-for="(item, index) in agentlist" :key="index" :value="item.id"
            <a-select-option
              v-for="(item, index) in agentlist"
              :key="index"
              :value="item.id"
              >{{ item.agentName }}
            </a-select-option>
          </a-select>
@@ -52,27 +55,27 @@
  props: {
    getinit: {
      type: Function,
      default: function () {},
      default: function () {}
    },
    agentlist: {
      type: Array,
    },
      type: Array
    }
  },
  data() {
    return {
      labelCol: {
        xs: { span: 24 },
        sm: { span: 7 },
        sm: { span: 7 }
      },
      wrapperCol: {
        xs: { span: 24 },
        sm: { span: 13 },
        sm: { span: 13 }
      },
      editUserform: this.$form.createForm(this),
      editUserdialog: false,
      editUserDialogloading: false,
      fields: ['agentId', 'phone', 'realName', 'pwd', 'idCard', 'isLogin', 'isLock'],
      currentDetails: {},
      currentDetails: {}
    }
  },
  methods: {
@@ -108,7 +111,7 @@
          })
        }
      })
    },
  },
    }
  }
}
</script>