Browse Source

格式化代码

feature/yujt_analysis_pc
yujt 6 years ago
parent
commit
45691019cb
  1. 8
      src/views/modules/activity/actinfo-cancel.vue
  2. 2
      src/views/modules/activity/activityinfo.vue
  3. 13
      src/views/modules/activity/activityparticipant.vue
  4. 30
      src/views/modules/section/sectioncategory-add-or-update.vue

8
src/views/modules/activity/actinfo-cancel.vue

@ -52,10 +52,10 @@ export default {
if (!valid) {
return false
}
let postData = {
id: this.dataForm.id,
cancelReason: this.dataForm.cancelReason
}
// let postData = {
// id: this.dataForm.id,
// cancelReason: this.dataForm.cancelReason
// }
this.$http['post']('/property/activityinfo/cancel', this.dataForm).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

2
src/views/modules/activity/activityinfo.vue

@ -149,7 +149,7 @@ export default {
ActinfoCancel
},
mounted () {
this.getDataList();
this.getDataList()
},
methods: {
addAction () {

13
src/views/modules/activity/activityparticipant.vue

@ -111,13 +111,12 @@ export default {
},
methods: {
init () {
this.visible = true;
this.dataForm.realName = '';
this.dataForm.mobile = '';
this.dataForm.identityNo = '';
this.getDataList();
},
this.visible = true
this.dataForm.realName = ''
this.dataForm.mobile = ''
this.dataForm.identityNo = ''
this.getDataList()
}
}
}
</script>

30
src/views/modules/section/sectioncategory-add-or-update.vue

@ -52,13 +52,7 @@ export default {
frontStyle: '',
sort: '',
extend: '',
remark: '',
delFlag: '',
revision: '',
createdBy: '',
createdTime: '',
updatedBy: '',
updatedTime: '',
remark: ''
},
options: []
}
@ -86,32 +80,14 @@ export default {
],
remark: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
],
delFlag: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
],
revision: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
],
createdBy: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
],
createdTime: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
],
updatedBy: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
],
updatedTime: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
]
}
}
},
methods: {
init () {
this.visible = true;
this.getOptions();
this.visible = true
this.getOptions()
this.$nextTick(() => {
this.$refs['dataForm'].resetFields()
if (this.dataForm.id) {

Loading…
Cancel
Save