法规清单修改
This commit is contained in:
@@ -97,7 +97,19 @@
|
||||
<!-- v-if="(isRoleSwitching && !isDisplay) || (!isDisplay && roleSwitchingList.length > 1) || isDisplay"-->
|
||||
<div class="table-operator"
|
||||
style="overflow:hidden;margin-bottom: 20px">
|
||||
<div style="float: right;margin-top: 1px; margin-left: 20px">
|
||||
<div style="float: left;margin-bottom: 0px;margin-left: 20px" v-if="isDisplay">
|
||||
<div @click="transferClick" class="operator-text">
|
||||
<a-icon type="profile" />
|
||||
{{ $t('Transfer') }}
|
||||
</div>
|
||||
<div class="operator-text" @click="bringInRelevantPersonnelClick">
|
||||
<a-icon type="user" />
|
||||
{{ $t('bringInRelevantPersonnel') }}
|
||||
</div>
|
||||
<div class="operator-text" @click="batSettingClick">
|
||||
<a-icon type="setting" />
|
||||
{{ $t('BatchSetting') }}
|
||||
</div>
|
||||
<a-popconfirm :visible="customizevisible" overlayClassName="popconfirmmize" placement="bottomRight">
|
||||
<template slot="title" id="popconfirmmize">
|
||||
<div style="height:320px;overflow:scroll;overflow-x: auto;">
|
||||
@@ -126,64 +138,52 @@
|
||||
{{ $t('customize') }}
|
||||
</div>
|
||||
</a-popconfirm>
|
||||
</div>
|
||||
<div style="float: left;margin-bottom: 0px;margin-left: 20px" v-if="isDisplay">
|
||||
<div class="operator-text" @click="initiateListConfirmationcClick('清单')">
|
||||
<a-icon type="solution" />
|
||||
{{ $t('initiateListConfirmation') }}
|
||||
</div>
|
||||
<div class="operator-text" @click="initiateTaskConfirmationClick('任务')">
|
||||
<a-icon type="file-protect" />
|
||||
{{ $t('initiateTaskConfirmation') }}
|
||||
</div>
|
||||
</div>
|
||||
<div style="float: right;margin-top: 1px;;margin-right: 20px" v-if="isDisplay">
|
||||
<a-popconfirm overlayClassName="popconfirm" placement="bottomRight">
|
||||
<template slot="title" id="popconfirm">
|
||||
<div style="height:320px;overflow:scroll;overflow-x: auto;">
|
||||
<div class="operator-text-title">
|
||||
<ImportFile :url="url" :projectLibraryId=$route.query.id :isTrue="true" :accept="'.zip'"
|
||||
@getList="getPersonnelList" />
|
||||
<div @click="handleAdd" class="operator-text-title">
|
||||
<a-icon type="plus" />
|
||||
{{ $t('add') }}
|
||||
</div>
|
||||
<div @click="handleModule" class="operator-text-title">
|
||||
<a-icon type="download" />
|
||||
{{ $t('templateDownload') }}
|
||||
</div>
|
||||
<div @click="handleExport" v-has="'projectLawsInventory:exportData'" class="operator-text-title">
|
||||
<a-icon type="export" :rotate="-90" />
|
||||
{{ $t('export') }}
|
||||
<div @click="copyClick" class="operator-text-title">
|
||||
<a-icon type="copy" />
|
||||
{{ $t('copy') }}
|
||||
</div>
|
||||
<div @click="handleDel" class="operator-text-title">
|
||||
<a-icon type="delete" />
|
||||
{{ $t('BatchDelete') }}
|
||||
</div>
|
||||
<div class="operator-text-title" @click="ExportReportClick">
|
||||
<div @click="handleModule" class="operator-text-title">
|
||||
<a-icon type="download" />
|
||||
{{ $t('templateDownload') }}
|
||||
</div>
|
||||
<div class="operator-text-title">
|
||||
<ImportFile :url="url" :projectLibraryId=$route.query.id :isTrue="true" :accept="'.zip'"
|
||||
@getList="getPersonnelList" />
|
||||
</div>
|
||||
<div @click="handleExport" v-has="'projectLawsInventory:exportData'" class="operator-text-title">
|
||||
<a-icon type="export" :rotate="-90" />
|
||||
{{ $t('ExportReport') }}
|
||||
</div>
|
||||
<div class="operator-text-title" @click="batSettingClick">
|
||||
<a-icon type="setting" />
|
||||
{{ $t('batchSettingInformation') }}
|
||||
</div>
|
||||
<div class="operator-text-title" @click="batchSettingPersonnelClick">
|
||||
<a-icon type="setting" />
|
||||
{{ $t('batchSettingPersonnel') }}
|
||||
</div>
|
||||
<div class="operator-text-title" @click="questionClick">
|
||||
<a-icon type="sound" />
|
||||
{{ $t('question') }}
|
||||
</div>
|
||||
<div class="operator-text-title" @click="alterationClick">
|
||||
<a-icon type="file-search" />
|
||||
{{ $t('alteration') }}
|
||||
{{ $t('export') }}
|
||||
</div>
|
||||
<div class="operator-text-title" @click="fixedPlateClick">
|
||||
<a-icon type="pushpin" />
|
||||
{{ $t('fixedPlate') }}
|
||||
</div>
|
||||
<div @click="copyClick" class="operator-text-title">
|
||||
<a-icon type="copy" />
|
||||
{{ $t('copy') }}
|
||||
<div class="operator-text-title" @click="ExportReportClick">
|
||||
<a-icon type="export" :rotate="-90" />
|
||||
{{ $t('compliancereport') }}
|
||||
</div>
|
||||
<!-- <div class="operator-text-title" @click="batSettingClick">-->
|
||||
<!-- <a-icon type="setting" />-->
|
||||
<!-- {{ $t('batchSettingInformation') }}-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="operator-text-title" @click="batchSettingPersonnelClick">-->
|
||||
<!-- <a-icon type="setting" />-->
|
||||
<!-- {{ $t('batchSettingPersonnel') }}-->
|
||||
<!-- </div>-->
|
||||
<div class="operator-text-title" @click="alterationClick">
|
||||
<a-icon type="file-search" />
|
||||
{{ $t('processReset') }}
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -191,21 +191,28 @@
|
||||
<span style="position: absolute;left: -13px;top: -4px">...</span>{{ $t('more') }}
|
||||
</div>
|
||||
</a-popconfirm>
|
||||
<!-- <div class="operator-text" @click="initiateTaskConfirmationClick('任务')">-->
|
||||
<!-- <a-icon type="file-protect" />-->
|
||||
<!-- {{ $t('initiateTaskConfirmation') }}-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
<div style="float: right;margin-top: 1px;;margin-right: 20px" v-if="isDisplay">
|
||||
|
||||
<!-- <div class="operator-text" @click="customizeClick">-->
|
||||
<!-- <a-icon type="setting"/>-->
|
||||
<!-- {{ $t('customize') }}-->
|
||||
<!-- </div>-->
|
||||
<div class="operator-text" @click="bringInRelevantPersonnelClick">
|
||||
<a-icon type="user" />
|
||||
{{ $t('bringInRelevantPersonnel') }}
|
||||
<div class="operator-text" @click="initiateListConfirmationcClick('清单')">
|
||||
<a-icon type="solution" />
|
||||
{{ $t('release') }}
|
||||
</div>
|
||||
<div @click="transferClick" class="operator-text">
|
||||
<a-icon type="profile" />
|
||||
{{ $t('Transfer') }}
|
||||
<div class="operator-text" @click="withdrawnClick">
|
||||
<a-icon type="rollback" />
|
||||
{{ $t('withdraw') }}
|
||||
</div>
|
||||
<div @click="handleAdd" class="operator-text">
|
||||
<a-icon type="plus" />
|
||||
{{ $t('add') }}
|
||||
<div class="operator-text" @click="questionClick">
|
||||
<a-icon type="sound" />
|
||||
{{ $t('question') }}
|
||||
</div>
|
||||
<!-- <div class="operator-text"-->
|
||||
<!-- v-if="roleSwitchingList.length > 1"-->
|
||||
@@ -229,10 +236,7 @@
|
||||
<a-icon type="close-circle" />
|
||||
{{ $t('overrule') }}
|
||||
</div>
|
||||
<div class="operator-text" @click="batSettingClick" v-if="isRoleSwitching">
|
||||
<a-icon type="setting" />
|
||||
{{ $t('batchSettingInformation') }}
|
||||
</div>
|
||||
|
||||
<!-- <div class="operator-text"-->
|
||||
<!-- v-if="roleSwitchingList.length > 1"-->
|
||||
<!-- @click="roleSwitchingClick">-->
|
||||
@@ -1545,7 +1549,7 @@ export default {
|
||||
this.$message.warning(this.$t('OnlyOneSelected'))
|
||||
} else {
|
||||
let serialNumber = this.selectedRowKeysList[0].serialNumber
|
||||
downloadFile(this.url.ExportReportUrl, this.$t('listOfRegulations') + this.$t('ExportReport') + '-' + serialNumber + '.docx', { id: selectedRowKeys.join(',') })
|
||||
downloadFile(this.url.ExportReportUrl, this.$t('listOfRegulations') + this.$t('compliancereport') + '-' + serialNumber + '.docx', { id: selectedRowKeys.join(',') })
|
||||
}
|
||||
},
|
||||
handleExport() {
|
||||
@@ -1645,6 +1649,10 @@ export default {
|
||||
} else {
|
||||
this.$message.warning(this.$t('selectLeastOne'))
|
||||
}
|
||||
},
|
||||
// 撤回
|
||||
withdrawnClick(){
|
||||
|
||||
},
|
||||
questionClick() {
|
||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user