Browse Source

联建活动bug修改

shibei_master
jiangyy 4 years ago
parent
commit
67c5b7b044
  1. 13
      src/views/modules/communityParty/regionalParty/activitys.vue
  2. 6
      src/views/modules/communityParty/regionalParty/units.vue
  3. 18
      src/views/modules/communityService/ninePlaces/places/placesForm.vue

13
src/views/modules/communityParty/regionalParty/activitys.vue

@ -78,10 +78,14 @@
</div>
<div class="div_table">
<div class="div_btn">
<el-button style="float:left"
<el-button style=""
type="green"
size="small"
@click="handleAdd">新增</el-button>
<!-- <el-button style="float:left"
type="yellow"
size="small"
@click="handleExport">导出</el-button>
<el-upload ref="upload"
:multiple='false'
:show-file-list='false'
@ -95,12 +99,7 @@
size="small"
type="red">导入</el-button>
<el-button style="float:left"
type="yellow"
size="small"
@click="handleExport">导出</el-button>
</el-upload>
</el-upload> -->
</div>

6
src/views/modules/communityParty/regionalParty/units.vue

@ -84,11 +84,11 @@
</div>
<div class="div_table">
<div class="div_btn">
<el-button style="float:left"
<el-button style=""
type="green"
size="small"
@click="handleAdd">新增</el-button>
<el-button style="float:left"
<!-- <el-button style="float:left"
type="yellow"
size="small"
@click="handleExport">导出</el-button>
@ -103,7 +103,7 @@
:http-request="uploadFile">
<el-button style="margin-left:10px"
size="small"
type="red">导入</el-button>
type="red">导入</el-button> -->
</el-upload>

18
src/views/modules/communityService/ninePlaces/places/placesForm.vue

@ -196,15 +196,15 @@ export default {
},
async addPlace () {
// const regPhone = /^1(3|4|5|6|7|8|9)\d{9}$/; //
// if (regPhone.test(this.formData.mobile) === false) {
// this.btnDisable = false
// this.$message({
// type: 'warning',
// message: ''
// })
// return false;
// }
const regPhone = /^1(3|4|5|6|7|8|9)\d{9}$/; //
if (regPhone.test(this.formData.mobile) === false) {
this.btnDisable = false
this.$message({
type: 'warning',
message: '请输入正确的手机号码'
})
return false;
}
let url = ''

Loading…
Cancel
Save