调整文件接口,增加cti编码
This commit is contained in:
+11
-4
@@ -18,6 +18,13 @@
|
||||
style="width: 300px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="CTI:" prop="cti">
|
||||
<el-input
|
||||
placeholder="请输入分机号码"
|
||||
v-model="form.cti"
|
||||
style="width: 300px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" :loading="loading" @click="save">
|
||||
保存
|
||||
@@ -39,7 +46,8 @@
|
||||
return {
|
||||
// 表单数据
|
||||
form: {
|
||||
mobile: ''
|
||||
mobile: '',
|
||||
cti: ''
|
||||
},
|
||||
// 表单验证规则
|
||||
rules: {
|
||||
@@ -51,7 +59,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
// 保存按钮loading
|
||||
loading: false
|
||||
};
|
||||
},
|
||||
@@ -61,9 +68,9 @@
|
||||
return this.$store.state.theme.styleResponsive;
|
||||
}
|
||||
},
|
||||
created() {
|
||||
async created() {
|
||||
Object.assign(this.form, this.loginUser);
|
||||
this.loadUserInfo();
|
||||
await this.loadUserInfo();
|
||||
},
|
||||
methods: {
|
||||
loadUserInfo() {
|
||||
Reference in New Issue
Block a user