perf: asset permission accounts select

This commit is contained in:
ibuler
2025-04-30 14:56:15 +08:00
committed by 老广
parent fbdcd541e1
commit efebf795e4
3 changed files with 28 additions and 12 deletions

View File

@@ -5,7 +5,6 @@
slot="prepend" slot="prepend"
:placeholder="$tc('Select')" :placeholder="$tc('Select')"
:value="rawValue.code" :value="rawValue.code"
style="width: 105px;"
@change="onChange" @change="onChange"
> >
<el-option <el-option
@@ -69,7 +68,11 @@ export default {
} }
</script> </script>
<style scoped> <style lang="scss" scoped>
.el-select {
width: 85px;
}
.country-name { .country-name {
display: inline-block; display: inline-block;
width: 150px; width: 150px;

View File

@@ -118,12 +118,12 @@ export default {
} }
this.$emit('change', this.filterTags) this.$emit('change', this.filterTags)
this.$emit('input', this.filterTags) this.$emit('input', this.filterTags)
// this.$refs.SearchInput.focus() this.$refs.SearchInput.focus()
}, },
handleTagClick(v, k) { handleTagClick(v, k) {
this.$delete(this.filterTags, k) this.$delete(this.filterTags, k)
this.filterValue = v this.filterValue = v
// this.$refs.SearchInput.focus() this.$refs.SearchInput.focus()
}, },
matchRule(value) { matchRule(value) {
const regex = new RegExp(this.replaceRule) const regex = new RegExp(this.replaceRule)

View File

@@ -43,15 +43,20 @@
<el-input v-model="object.wechat" /> <el-input v-model="object.wechat" />
</td> </td>
</tr> </tr>
<tr>
<td class="label" />
<td class="value">
<el-button
size="small"
style="margin-top: 10px"
type="primary"
@click="updateProfile"
>
{{ $t('Update') }}
</el-button>
</td>
</tr>
</table> </table>
<el-button
size="small"
style="margin-top: 10px"
type="primary"
@click="updateProfile"
>
{{ $t('Update') }}
</el-button>
</IBox> </IBox>
</template> </template>
</TwoCol> </TwoCol>
@@ -495,6 +500,13 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.update-info { .update-info {
::v-deep {
.el-input-group {
.el-select {
width: 80px;
}
}
}
table { table {
width: 100%; width: 100%;
@@ -506,6 +518,7 @@ export default {
.value { .value {
width: 60%; width: 60%;
} }
} }
} }