From 81944f0e9bd1435005f3815f40698b0c207dd55f Mon Sep 17 00:00:00 2001 From: weikai <123456> Date: Mon, 26 Oct 2020 12:13:52 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=AE=89=E5=AE=81pc=E7=AB=AF=20?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E6=95=B0=E6=8D=AE=E5=88=86=E6=9E=90=E3=80=91?= =?UTF-8?q?-=E3=80=90=E5=85=9A=E5=91=98=E6=8E=92=E8=A1=8C=EF=BC=88?= =?UTF-8?q?=E6=96=B0=EF=BC=89=20-=20=E6=89=80=E5=B1=9E=E7=BD=91=E6=A0=BCbu?= =?UTF-8?q?g=E4=BF=AE=E6=94=B9=E3=80=91=E9=AD=8F=E5=87=AF=202020-10-26?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/analysis/user/metauserpartyrank.vue | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/views/modules/analysis/user/metauserpartyrank.vue b/src/views/modules/analysis/user/metauserpartyrank.vue index 556e1e7..bc1f3c5 100644 --- a/src/views/modules/analysis/user/metauserpartyrank.vue +++ b/src/views/modules/analysis/user/metauserpartyrank.vue @@ -132,6 +132,22 @@ export default { this.dataForm.streetId = '' } } + }, + created: function () { + this.getOptions() + }, + methods: { + getOptions () { + this.$http + .get(`/sys/user/deptOptions/getByLoginUser`) + .then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } + this.options = res.data.options + }) + .catch(() => {}) + } } }