| | |
| | | v-if="!['PREVIEW', 'DELETEFILE', 'revisefile', 'DOWNLOADFILE', 'UPLOADFILE'].includes(item.uniqueFlag)" |
| | | :key="index" plain size="small" |
| | | type="primary" |
| | | @click="handelBtnClick(item)">{{ |
| | | @click="handleBtnClick(item)">{{ |
| | | item.name |
| | | }} |
| | | </el-button> |
| | |
| | | openVis(visible) { |
| | | this[visible] = true |
| | | }, |
| | | handelBtnClick(event) { |
| | | handleBtnClick(event) { |
| | | const {uniqueFlag} = event |
| | | this.$nextTick(() => { |
| | | if (uniqueFlag === 'CODEADD') return this.addvisible = true |
| | | if (uniqueFlag === 'CODEADD') return this.addSaveHandler() |
| | | if (uniqueFlag === 'CODEEDIT') return this.editHandler() |
| | | if (uniqueFlag === 'CODEBATCHADD') return this.openBatchImport('batchImportApply') |
| | | if (uniqueFlag === 'CODEIMPORTHISTORY') return this.openBatchImport('historyImport') |
| | |
| | | // if(uniqueFlag === 'CODEEDIT') return this.similarHandler() |
| | | }); |
| | | }, |
| | | addSaveHandler(){ |
| | | |
| | | this.$nextTick(() => { |
| | | this.addvisible = true; |
| | | }); |
| | | }, |
| | | //申请集团码数据 |
| | | applyGroupCode() { |
| | | if (this.selectRow.length <= 0) { |