| | |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | |
| | | |
| | | |
| | | |
| | | <el-form-item label="缩微号" prop="microfilmNumber"> |
| | |
| | | </el-form> |
| | | |
| | | <el-row :gutter="10" class="mb8"> |
| | | <el-col :span="1.5"> |
| | | <!-- <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | plain |
| | |
| | | @click="handleDelete" |
| | | v-hasPermi="['system:records:remove']" |
| | | >删除</el-button> |
| | | </el-col> |
| | | </el-col> --> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="warning" |
| | |
| | | <el-table-column label="公开属性" align="center" prop="publicAttribute" /> |
| | | <el-table-column label="编制单位" align="center" prop="preparationUnit" /> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | <el-table-column label="操作" align="center" width="190" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | |
| | | icon="el-icon-edit" |
| | | @click="handleExportInfo(scope.row)" |
| | | v-hasPermi="['system:records:edit']" |
| | | >导出档案</el-button> |
| | | >导出ISO包</el-button> |
| | | |
| | | <el-button |
| | | |
| | |
| | | @pagination="getList" |
| | | /> |
| | | <!-- 查看数据按钮 --> |
| | | <el-dialog :title="title" :visible.sync="open_check" width="800px" append-to-body> |
| | | <el-dialog :title="title" :visible.sync="open_check" width="880px" append-to-body> |
| | | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| | | <el-form-item label="档案号" > |
| | | |
| | |
| | | /> |
| | | </el-select> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | |
| | | <el-col :span="6"> |
| | | <el-select |
| | | |
| | | v-model="form.recordZone" |
| | | placeholder="选择地区" |
| | | @change="handleRecordTypeChange" |
| | | disabled |
| | | > |
| | | <el-option |
| | | v-for="item in zoneTypeOptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | /> |
| | | </el-select> |
| | | </el-col> |
| | | |
| | | <el-col :span="4"> |
| | | <el-input |
| | | v-model="form.recordYear" |
| | | placeholder="输入年份" |
| | |
| | | }, |
| | | methods: { |
| | | handleExportInfo(row) { |
| | | alert(row.id) |
| | | alert(row.recordId) |
| | | // alert(row.id) |
| | | // alert(row.recordId) |
| | | // alert(row.docum) |
| | | // archiveAllExport({'id':row.id}).then(response => { |
| | | // console.log(response) |
| | | // }) |
| | | var con = row.inquiryNumber+" "+row.recordId |
| | | var qu = {'id':row.id} |
| | | var id = row.id |
| | | this.download('system/archiveAllExport/export/'+id, '',`records_${new Date().getTime()}.zip`) |
| | | this.download('system/archiveAllExport/export/'+id, '',con+`.zip`) |
| | | }, |
| | | getId() |
| | | { |
| | |
| | | console.log("----=============--------------") |
| | | this.form = response.data |
| | | if(this.recordTypeOptions.length > 0) { |
| | | //alert(response.data.recordId) |
| | | const recordParts = response.data.recordId.split('-') |
| | | this.$set(this.form, 'recordType', recordParts[0]) |
| | | this.$set(this.form, 'recordZone', recordParts[1]) |
| | | |
| | | if(recordParts.length==4) |
| | | { |
| | | this.$set(this.form, 'recordZone', recordParts[1]) |
| | | |
| | | this.$set(this.form, 'recordYear', recordParts[2]) |
| | | this.$set(this.form, 'recordSeq', recordParts[3]) |
| | | } |
| | | else |
| | | { |
| | | this.$set(this.form, 'recordYear', recordParts[1]) |
| | | this.$set(this.form, 'recordSeq', recordParts[2]) |
| | | } |
| | | } |
| | | this.open_check = true |
| | | this.title = "查看档案记录" |
| | |
| | | }, |
| | | /** 导出按钮操作 */ |
| | | handleExport(row) { |
| | | alert(232) |
| | | // alert(232) |
| | | const ids = row.id || this.ids |
| | | alert(ids) |
| | | // alert(ids) |
| | | if(ids=='') |
| | | { |
| | | this.$modal.msgError("请选择档案记录") |