| | |
| | | v-text="textDispose(row, 'transactionObjectTelflag', 'transactionObjectTel')"> |
| | | </el-button> |
| | | </template> |
| | | <template slot-scope="{row, size}" slot="idCard"> |
| | | <el-button :size="size" type="text" @click="showStringDispose(row, 'idCardflag')" |
| | | v-text="textDispose(row, 'idCardflag', 'idCard')"> |
| | | </el-button> |
| | | </template> |
| | | </avue-crud> |
| | | |
| | | |
| | |
| | | slot: true |
| | | }, |
| | | { |
| | | width: 110, |
| | | width: 160, |
| | | span: 12, |
| | | label: "身份证号", |
| | | prop: "idCard", |
| | |
| | | if (row[flag] || row[type] == null) { |
| | | return row[type] |
| | | } else { |
| | | if (type == 'principalIdCard') { |
| | | if (type == 'idCardflag') { |
| | | return row[type].replace(/^(.{6})(?:\d+)(.{4})$/, "$1******$2") |
| | | } else { |
| | | return row[type].replace(/^(.{3})(?:\d+)(.{4})$/, "$1****$2") |
| | |
| | | this.data.forEach(item => { |
| | | this.$set(item, 'phoneNumberflag', false) |
| | | this.$set(item, 'transactionObjectTelflag', false) |
| | | this.$set(item, 'idCardflag', false) |
| | | if (item.imageUrls && item.imageUrls != '' && item.imageUrls != null && item.imageUrls.length) { |
| | | var urls = [] |
| | | var names = item.imageUrls.split(",").filter(item => item != '') |