修改复制的请求方式

This commit is contained in:
qq787203167
2022-04-27 21:45:14 +08:00
parent 993a473818
commit e8a4f8f1a6
@@ -253,16 +253,16 @@
</template> </template>
<script> <script>
import ImportFile from '@/components/ImportFile/index' import ImportFile from '@/components/ImportFile/index'
import listAddModel from './listAddModel' import listAddModel from './listAddModel'
import listEditModel from './listEditModel' import listEditModel from './listEditModel'
import batSetting from './batSetting' import batSetting from './batSetting'
import transferList from './transferList' import transferList from './transferList'
import globalAdvancedQuery from '@/components/globalAdvancedQuery/index' import globalAdvancedQuery from '@/components/globalAdvancedQuery/index'
import {getAction, postAction, downloadFile, deleteAction} from '@/api/manage' import { getAction, postAction, downloadFile, deleteAction } from '@/api/manage'
import moment from 'moment' import moment from 'moment'
import {mapGetters} from 'vuex' import { mapGetters } from 'vuex'
import {Base64} from 'js-base64' import { Base64 } from 'js-base64'
export default { export default {
name: 'listOfRegulations', name: 'listOfRegulations',
@@ -608,7 +608,7 @@ import {Base64} from 'js-base64'
content: _this.$t('ConfirmReplication'), content: _this.$t('ConfirmReplication'),
onOk() { onOk() {
let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys)) let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys))
deleteAction(_this.url.copyUrl, { ids: idList.join(',') }).then((res) => { getAction(_this.url.copyUrl, { ids: idList.join(',') }).then((res) => {
if (res.success) { if (res.success) {
_this.$message.success(_this.$t('OperationSuccessful')) _this.$message.success(_this.$t('OperationSuccessful'))
_this.selectedRowKeys = [] _this.selectedRowKeys = []
@@ -1003,9 +1003,9 @@ import {Base64} from 'js-base64'
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@assets/less/common.less'; @import '~@assets/less/common.less';
.doc-detail { .doc-detail {
background: #fff; background: #fff;
height: 100%; height: 100%;
@@ -1055,29 +1055,29 @@ import {Base64} from 'js-base64'
line-height: 42px; line-height: 42px;
} }
} }
} }
.header-text { .header-text {
font-size: 16px; font-size: 16px;
font-weight: 400; font-weight: 400;
height: 60px; height: 60px;
color: #000F16; color: #000F16;
line-height: 40px; line-height: 40px;
} }
.box-title-text { .box-title-text {
line-height: 1.4; line-height: 1.4;
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 10px; margin-bottom: 10px;
} }
.box-title-text-index { .box-title-text-index {
line-height: 1.4; line-height: 1.4;
display: flex; display: flex;
} }
.title-text { .title-text {
width: 32px; width: 32px;
color: #000F16; color: #000F16;
display: inline-block; display: inline-block;
@@ -1089,9 +1089,9 @@ import {Base64} from 'js-base64'
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.title-text-index { .title-text-index {
width: 110px; width: 110px;
color: #000F16; color: #000F16;
display: inline-block; display: inline-block;
@@ -1104,69 +1104,69 @@ import {Base64} from 'js-base64'
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
line-height: 40px; line-height: 40px;
} }
.box-input { .box-input {
display: inline-block; display: inline-block;
width: 70%; width: 70%;
height: 38px; height: 38px;
margin-top: 2px; margin-top: 2px;
} }
.Required { .Required {
color: red; color: red;
margin-right: 4px; margin-right: 4px;
} }
.box-button { .box-button {
height: 38px; height: 38px;
} }
.text-operation { .text-operation {
margin-right: 8px; margin-right: 8px;
} }
.page { .page {
text-align: right; text-align: right;
margin-top: 20px; margin-top: 20px;
} }
.operator-text-left { .operator-text-left {
font-size: 14px; font-size: 14px;
margin-right: 20px; margin-right: 20px;
background: #eff1f3; background: #eff1f3;
padding: 8px 8px; padding: 8px 8px;
cursor: pointer; cursor: pointer;
border-radius: 4px; border-radius: 4px;
} }
/deep/ .ant-popover-buttons { /deep/ .ant-popover-buttons {
display: none !important; display: none !important;
} }
.operator-text-title { .operator-text-title {
cursor: pointer; cursor: pointer;
margin-right: 22px; margin-right: 22px;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #040B29; color: #040B29;
margin-bottom: 22px; margin-bottom: 22px;
} }
</style> </style>
<style> <style>
.box-input .ant-select-selection { .box-input .ant-select-selection {
height: 38px !important; height: 38px !important;
} }
.box-input .ant-select-selection__rendered { .box-input .ant-select-selection__rendered {
line-height: 38px; line-height: 38px;
} }
.popconfirm .ant-popover-buttons { .popconfirm .ant-popover-buttons {
display: none !important; display: none !important;
} }
.popconfirm .anticon-exclamation-circle { .popconfirm .anticon-exclamation-circle {
display: none !important; display: none !important;
} }
</style> </style>