| | |
| | | <el-table-column label="证件名称" prop="cerName" sortable width="280" align="center" > |
| | | <template slot-scope="scope">{{scope.row.cerName? scope.row.cerName: '————'}}</template> |
| | | </el-table-column> |
| | | <el-table-column label="证件类型" prop="type" sortable width="280" align="center" > |
| | | <template slot-scope="scope">{{ getSrc(scope.row.type) }}</template> |
| | | </el-table-column> |
| | | <el-table-column label="持有情况" prop="ownStatus" sortable width="280" align="center" > |
| | | <template slot-scope="scope">{{scope.row.ownStatus? scope.row.ownStatus: '————'}}</template> |
| | | </el-table-column> |
| | |
| | | <el-form-item label="证件名称" prop="cerName"> |
| | | <el-input v-model="formDat.cerName" placeholder="请输入证件名称" clearable :style="{width: '100%'}" > |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="证件类型" prop="type"> |
| | | <el-select v-model="formDat.type" placeholder="请选择类型" clearable :style="{width: '100%'}" > |
| | | <el-option v-for="(item, index) in typeOption" :key="index" :label="item.label" :value="item.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="持有情况" prop="ownStatus"> |
| | | <el-input v-model="formDat.ownStatus" placeholder="请输入持有情况" clearable :style="{width: '100%'}" > |
| | |
| | | otherPosition:undefined, |
| | | otherPolitical:undefined, |
| | | //持有出入境证件情况 |
| | | type:undefined, |
| | | cerName:undefined, |
| | | validityDate:undefined, |
| | | ownStatus:undefined, |
| | |
| | | }], |
| | | |
| | | }, |
| | | typeOptions: [], |
| | | typeOption: [{ |
| | | value:'护照', |
| | | label:'护照' |
| | | },{ |
| | | value:'通行证', |
| | | label:'通行证' |
| | | },{ |
| | | value:'身份证', |
| | | label:'身份证' |
| | | }], |
| | | }; |
| | | }, |
| | | created() { |
| | |
| | | return "statistics-warning-row1"; |
| | | } else { |
| | | return "statistics-warning-row"; |
| | | } |
| | | }, |
| | | //证件类别 |
| | | getSrc(type) { |
| | | if (type === '护照'){ |
| | | return '护照' |
| | | }else if(type === '通行证'){ |
| | | return '通行证' |
| | | }else if(type === '身份证'){ |
| | | return '身份证' |
| | | }else { |
| | | return '——————' |
| | | } |
| | | }, |
| | | |
| | |
| | | }); |
| | | } |
| | | }); |
| | | // 清空formDat对象的数据 |
| | | Object.keys(this.formDat).forEach(key => { |
| | | this.formDat[key] = ''; |
| | | }); |
| | | }, |
| | | submitDataScope2: function() { |
| | | |
| | |
| | | this.getList(); |
| | | }); |
| | | } |
| | | }); |
| | | // 清空formDat对象的数据 |
| | | Object.keys(this.formDat).forEach(key => { |
| | | this.formDat[key] = ''; |
| | | }); |
| | | }, |
| | | submitDataScope4: function() { |
| | |
| | | }); |
| | | } |
| | | }); |
| | | // 清空formDat对象的数据 |
| | | Object.keys(this.formDat).forEach(key => { |
| | | this.formDat[key] = ''; |
| | | }); |
| | | }, |
| | | submitDataScope5: function() { |
| | | |
| | |
| | | }); |
| | | } |
| | | }); |
| | | // 清空formDat对象的数据 |
| | | Object.keys(this.formDat).forEach(key => { |
| | | this.formDat[key] = ''; |
| | | }); |
| | | }, |
| | | submitDataScope6: function() { |
| | | |
| | |
| | | this.getList(); |
| | | }); |
| | | } |
| | | }); |
| | | // 清空formDat对象的数据 |
| | | Object.keys(this.formDat).forEach(key => { |
| | | this.formDat[key] = ''; |
| | | }); |
| | | }, |
| | | |
| | |
| | | /** 删除成员关系按钮操作 */ |
| | | handleRelationDelete(row) { |
| | | const Ids = row.id || this.ids; |
| | | this.$modal.confirm('是否确认删除数据项?'+Ids).then(function() { |
| | | this.$modal.confirm('是否确认删除数据项?').then(function() { |
| | | return delRelation(Ids); |
| | | }).then(() => { |
| | | this.getList(); |
| | |
| | | /** 删除出国(境)情况按钮操作 */ |
| | | handleAbroadDelete(row) { |
| | | const Ids = row.id || this.ids; |
| | | this.$modal.confirm('是否确认删除数据项?'+Ids).then(function() { |
| | | this.$modal.confirm('是否确认删除数据项?').then(function() { |
| | | return delAbroad(Ids); |
| | | }).then(() => { |
| | | this.getList(); |