|
@@ -236,22 +236,28 @@
|
|
|
<el-input v-model="addForm.phone"></el-input> </el-form-item
|
|
|
></el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="验证码" prop="code">
|
|
|
- <el-row :gutter="6">
|
|
|
- <el-col :span="14">
|
|
|
+ <el-row :gutter="0">
|
|
|
+ <el-col :span="14">
|
|
|
+ <el-form-item label="验证码" prop="code">
|
|
|
<el-input v-model="addForm.code" />
|
|
|
- </el-col>
|
|
|
- <el-col :span="9">
|
|
|
- <el-button v-show="show" type="info" @click="getCodeFn"
|
|
|
- >获取验证码</el-button
|
|
|
- >
|
|
|
- <el-button v-show="!show" type="info"
|
|
|
- >{{ count }}s后重新获取</el-button
|
|
|
- >
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </el-form-item></el-col
|
|
|
- >
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="9">
|
|
|
+ <el-button v-show="show" type="info" @click="getCodeFn"
|
|
|
+ >获取验证码</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ v-show="!show"
|
|
|
+ :style="{
|
|
|
+ backgroundColor: '#409eff',
|
|
|
+ border: '0',
|
|
|
+ }"
|
|
|
+ type="info"
|
|
|
+ >{{ count }}s后重新获取</el-button
|
|
|
+ >
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
@@ -306,6 +312,7 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
baseURL: process.env.VUE_APP_BASE_API,
|
|
|
+
|
|
|
fileList: [],
|
|
|
listLoading: false, // 列表加载loading
|
|
|
currentPage: 1, // 当前页码
|
|
@@ -439,7 +446,7 @@ export default {
|
|
|
} else {
|
|
|
this.$refs.addForm.resetFields();
|
|
|
}
|
|
|
-
|
|
|
+ this.count = 0;
|
|
|
this.dialogForm = false;
|
|
|
},
|
|
|
//上传
|
|
@@ -554,6 +561,7 @@ export default {
|
|
|
// expireTime: "",
|
|
|
// code: "",
|
|
|
// };
|
|
|
+ this.count = 0;
|
|
|
this.getDataList({ pageNum: 1, pageSize: 10 });
|
|
|
this.dialogForm = false;
|
|
|
},
|
|
@@ -585,6 +593,7 @@ export default {
|
|
|
}
|
|
|
::v-deep .el-col-9 .el-button {
|
|
|
padding: 5px;
|
|
|
+ margin: 6px;
|
|
|
}
|
|
|
::v-deep .el-dialog__header {
|
|
|
background-color: #dddddd;
|