添加催办按钮

修改看板
This commit is contained in:
qq787203167
2022-06-15 17:10:44 +08:00
parent 71958a00c7
commit 031d623333
5 changed files with 596 additions and 367 deletions
@@ -89,13 +89,17 @@
{{ $t('bringInRelevantPersonnel') }}
</div>
<div class="operator-text-title" @click="ExportReportClick">
<a-icon type="user"/>
<a-icon type="export" />
{{ $t('ExportReport') }}
</div>
<div class="operator-text-title" @click="batSettingClick">
<a-icon type="setting"/>
{{ $t('batSetting') }}
</div>
<div class="operator-text-title" @click="questionClick">
<a-icon type="apartment" />
{{ $t('question') }}
</div>
</template>
<div class="operator-text" style="position: relative">
<span style="position: absolute;left: -13px;top: -4px">...</span>{{ $t('more') }}
@@ -971,6 +975,33 @@
this.$message.warning(this.$t('selectLeastOne'))
}
},
questionClick() {
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
let _this = this
this.$confirm({
content: _this.$t('ConfirmQuestion'),
onOk() {
let query = {
ids: selectedRowKeys.join(','),
projectLibraryId: _this.$route.query.id
}
postAction('project/projectLawsInventoryEO/expediting', query).then((res) => {
if (res.success) {
_this.$message.success(_this.$t('OperationSuccessful'))
_this.selectedRowKeys = []
_this.getList()
} else {
_this.$message.warning(_this.$t('operationFailed'))
}
})
}
})
} else {
this.$message.warning(this.$t('selectLeastOne'))
}
},
fixedPlateClick() {
if (this.dataSource && this.dataSource.length > 0) {
let isTrue