add 带模板导入、人员信息(部分完成)
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
<div>
|
||||
<div class="user-organ-wrap">
|
||||
<a-input
|
||||
:type="inputType"
|
||||
:autosize="true"
|
||||
:rows="1"
|
||||
readonly="readonly"
|
||||
class="user-input"
|
||||
:placeholder="placeholder"
|
||||
:value="checkedValue"
|
||||
@@ -9,7 +13,7 @@
|
||||
>
|
||||
</a-input>
|
||||
<a-button type="primary" class="button-box" @click="selectClick">
|
||||
{{$t('userSelect.select')}}
|
||||
{{ $t('userSelect.select') }}
|
||||
</a-button>
|
||||
</div>
|
||||
<user-select-modal v-bind="$attrs" ref="selectModal" @change="selectChange" @nameChange="nameChange"></user-select-modal>
|
||||
@@ -46,6 +50,12 @@ export default {
|
||||
filedName: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
// 回显输入框的类型,默认是input
|
||||
inputType: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: 'text'
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
@@ -84,9 +94,13 @@ export default {
|
||||
.user-organ-wrap {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
|
||||
.user-input {
|
||||
resize: none;
|
||||
width: calc(100% - 70px);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.button-box {
|
||||
height: 38px;
|
||||
margin-left: 5px;
|
||||
|
||||
Reference in New Issue
Block a user