Compare commits
2 Commits
weeklyCard
...
medal
Author | SHA1 | Date | |
---|---|---|---|
![]() |
f34a7b9430 | ||
![]() |
fbd4fdcbd1 |
@@ -129,7 +129,7 @@
|
|||||||
filterable
|
filterable
|
||||||
v-model="controlsObj.value"
|
v-model="controlsObj.value"
|
||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
style="width:100%"
|
style="width: 100%"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in controlsObj.options"
|
v-for="item in controlsObj.options"
|
||||||
@@ -199,11 +199,9 @@
|
|||||||
:on-error="handleAvatarError"
|
:on-error="handleAvatarError"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
v-if="controlsObj.imageUrl1"
|
|
||||||
:src="controlsObj.imageUrl1"
|
:src="controlsObj.imageUrl1"
|
||||||
class="avatar"
|
class="avatar"
|
||||||
/>
|
/>
|
||||||
<el-icon v-else class="avatar-uploader-icon"><Plus /></el-icon>
|
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -383,11 +381,11 @@ export default {
|
|||||||
desc: "全部",
|
desc: "全部",
|
||||||
id: "",
|
id: "",
|
||||||
});
|
});
|
||||||
|
listPartitionInfo().then((res) => {
|
||||||
|
this.controlsObj.options = res.data;
|
||||||
|
this.getData();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
listPartitionInfo().then((res) => {
|
|
||||||
this.controlsObj.options = res.data;
|
|
||||||
});
|
|
||||||
this.getData();
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 查询接口
|
// 查询接口
|
||||||
|
@@ -243,6 +243,7 @@ export default {
|
|||||||
listAll().then((res) => {
|
listAll().then((res) => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.grantObj.options = res.data;
|
this.grantObj.options = res.data;
|
||||||
|
this.getData();
|
||||||
} else {
|
} else {
|
||||||
ElMessage({
|
ElMessage({
|
||||||
showClose: true,
|
showClose: true,
|
||||||
@@ -251,7 +252,6 @@ export default {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.getData();
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 查询接口
|
// 查询接口
|
||||||
|
Reference in New Issue
Block a user