Browse Source

dd

shibei_master
13176889840 3 years ago
parent
commit
bae5cb7a10
  1. 8
      src/views/components/editResi.vue
  2. 2
      src/views/modules/communityService/sqzzz/index.vue

8
src/views/components/editResi.vue

@ -137,7 +137,7 @@
<!-- <el-col v-for="n in item" :key="n.id" :span="n.itemType === 'textarea'&&24 || (24/columns)"> --> <!-- <el-col v-for="n in item" :key="n.id" :span="n.itemType === 'textarea'&&24 || (24/columns)"> -->
<el-col v-for="n in item" :key="n.itemId" :span="item.length === 1 ? 24 : (24/columns)" <el-col v-for="n in item" :key="n.itemId" :span="item.length === 1 ? 24 : (24/columns)"
:style="n.itemType === 'divider' && 'display: none;'"> :style="n.itemType === 'divider' && 'display: none;'">
<el-form-item :prop="n.columnName" :label="n.label" :required="Boolean(n.required)"> <el-form-item :prop="n.columnName" :label="n.label">
<!-- <div class="resi-cell"> --> <!-- <div class="resi-cell"> -->
<!-- <div class="resi-cell-label">{{n.label}}</div> --> <!-- <div class="resi-cell-label">{{n.label}}</div> -->
<div class="resi-cell-value"> <div class="resi-cell-value">
@ -363,11 +363,11 @@ export default {
if (item.required) { if (item.required) {
if (item.validType === 'mobile') { if (item.validType === 'mobile') {
rules[item.columnName] = [ rules[item.columnName] = [
{ validator: checkMObile, trigger: 'blur' } { required: true, validator: checkMObile, trigger: 'blur' }
] ]
} else if (item.validType === 'id_card') { } else if (item.validType === 'id_card') {
rules[item.columnName] = [ rules[item.columnName] = [
{ validator: checkIdCard, trigger: 'blur' } { required: true, validator: checkIdCard, trigger: 'blur' }
] ]
} else { } else {
rules[item.columnName] = [ rules[item.columnName] = [
@ -501,7 +501,7 @@ export default {
}, },
created () { created () {
this.initForm() this.initForm()
// console.log('formInfo---ggg', this.form) console.log('formInfo---gggreg', this.rulesForm)
if (this.supportAdd) { if (this.supportAdd) {
this.addList = [...this.mutiList] this.addList = [...this.mutiList]
// console.log('addList----111', this.addList) // console.log('addList----111', this.addList)

2
src/views/modules/communityService/sqzzz/index.vue

@ -95,7 +95,7 @@
align="center" align="center"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<a class="name-a" @click="handleWatch(scope.row)"> <a class="name-a" @click="handleWatch(scope.$index)">
{{ scope.row.organizationName }} {{ scope.row.organizationName }}
</a> </a>
</template> </template>

Loading…
Cancel
Save