mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-20 10:46:35 +00:00
perf: asset permission accounts select
This commit is contained in:
@@ -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;
|
||||||
|
@@ -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)
|
||||||
|
@@ -43,7 +43,9 @@
|
|||||||
<el-input v-model="object.wechat" />
|
<el-input v-model="object.wechat" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
<tr>
|
||||||
|
<td class="label" />
|
||||||
|
<td class="value">
|
||||||
<el-button
|
<el-button
|
||||||
size="small"
|
size="small"
|
||||||
style="margin-top: 10px"
|
style="margin-top: 10px"
|
||||||
@@ -52,6 +54,9 @@
|
|||||||
>
|
>
|
||||||
{{ $t('Update') }}
|
{{ $t('Update') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
</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%;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user