|
|
@@ -35,7 +35,7 @@
|
|
|
<el-button v-has-permission="['technologyVersion:pushaudit']" type="warning" icon="el-icon-folder-add" size="medium" @click="audioStatus('1')">{{$t("common.audio.addAudio")}}</el-button>
|
|
|
<el-button v-has-permission="['technologyVersion:audit']" type="success" icon="el-icon-folder-checked" size="medium" @click="audioBtn()">{{$t("common.audio.audio")}}</el-button>
|
|
|
<el-button v-has-permission="['technologyVersion:set']" type="primary" icon="el-icon-box" size="medium" @click="setUse">{{$t("prepare.buttons.setUse")}}</el-button>
|
|
|
- <el-button v-has-permission="['technologyVersion:export']" type="primary" icon="el-icon-download" size="medium" >{{$t("prepare.buttons.loadTechn")}}</el-button>
|
|
|
+ <el-button v-has-permission="['technologyVersion:export']" type="primary" icon="el-icon-download" size="medium" @click="exportFile" >{{$t("prepare.buttons.loadTechn")}}</el-button>
|
|
|
<el-button v-has-permission="['technologyVersion:copy']" type="primary" icon="el-icon-document-copy" size="medium" >{{$t("prepare.buttons.copyVision")}}</el-button>
|
|
|
<el-button v-has-permission="['technologyVersion:delete']" type="danger" icon="el-icon-delete" size="medium" @click="deleteOne">{{$t("table.delete")}}</el-button>
|
|
|
</el-col>
|
|
|
@@ -62,6 +62,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column align="center" type="selection" width="50" :reserve-selection="true" />
|
|
|
<el-table-column prop="no" :label='$t("prepare.table.tcVersion.no")' width="120px" :show-overflow-tooltip="true"></el-table-column>
|
|
|
<el-table-column prop="version" :label='$t("prepare.table.tcVersion.version")' width="90px"></el-table-column>
|
|
|
<el-table-column prop="auditStatus" :label='$t("prepare.table.tcVersion.auditStatus")' align="center" width="100px">
|
|
|
@@ -497,6 +498,12 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ exportFile(row) {
|
|
|
+ this.queryParams.map.fileName = '导出工艺版本管理';
|
|
|
+ technologyVersionApi.export(this.queryParams).then(response => {
|
|
|
+ downloadFile(response);
|
|
|
+ });
|
|
|
+ },
|
|
|
edit (row) {
|
|
|
if (row.readonly) {
|
|
|
this.$message({
|