修改复制的请求方式

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