修改复制的请求方式

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 = []
@@ -625,7 +625,7 @@ import {Base64} from 'js-base64'
}, },
//调取 //调取
transferClick() { transferClick() {
this.$refs.transferListRef.transferModel() this.$refs.transferListRef.transferModel()
}, },
batSettingClick() { batSettingClick() {
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) { if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
@@ -1003,170 +1003,170 @@ 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;
height: 100%;
.Virtual-detail-header {
width: 100%;
height: 68px;
line-height: 68px;
padding: 0 32px 0 32px;
box-sizing: border-box;
display: flex;
justify-content: space-between;
border-bottom: 2px #eff1f3 solid;
background: #fff; background: #fff;
height: 100%;
.Virtual-detail-title { .Virtual-detail-header {
display: inline-block; width: 100%;
text-overflow: ellipsis; height: 68px;
white-space: nowrap;
overflow: hidden;
font-size: 20px;
font-weight: 400;
color: #040B29;
line-height: 68px;
}
.doc-detail-right {
width: 800px;
line-height: 68px; line-height: 68px;
padding: 0 32px 0 32px;
box-sizing: border-box;
display: flex; display: flex;
justify-content: space-between;
border-bottom: 2px #eff1f3 solid;
background: #fff;
.Virtual-detail-title {
display: inline-block;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
font-size: 20px;
font-weight: 400;
color: #040B29;
line-height: 68px;
}
.doc-detail-right {
width: 800px;
line-height: 68px;
display: flex;
}
}
.Virtual-detail-content {
padding: 0 38px 0 38px;
box-sizing: border-box;
font-size: 16px;
.box-title-text-add {
line-height: 1.4;
}
.title-text-add {
display: inline-block;
font-weight: 500;
margin-right: 16px;
height: 42px;
line-height: 42px;
}
} }
} }
.Virtual-detail-content { .header-text {
padding: 0 38px 0 38px;
box-sizing: border-box;
font-size: 16px; font-size: 16px;
font-weight: 400;
.box-title-text-add { height: 60px;
line-height: 1.4; color: #000F16;
} line-height: 40px;
.title-text-add {
display: inline-block;
font-weight: 500;
margin-right: 16px;
height: 42px;
line-height: 42px;
}
} }
}
.header-text { .box-title-text {
font-size: 16px; line-height: 1.4;
font-weight: 400; display: flex;
height: 60px; align-items: center;
color: #000F16; margin-bottom: 10px;
line-height: 40px; }
}
.box-title-text { .box-title-text-index {
line-height: 1.4; line-height: 1.4;
display: flex; display: flex;
align-items: center; }
margin-bottom: 10px;
}
.box-title-text-index { .title-text {
line-height: 1.4; width: 32px;
display: flex; color: #000F16;
} display: inline-block;
font-weight: 500;
font-size: 14px;
margin-right: 16px;
margin-top: 3px;
text-align: left;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.title-text { .title-text-index {
width: 32px; width: 110px;
color: #000F16; color: #000F16;
display: inline-block; display: inline-block;
font-weight: 500; font-weight: 500;
font-size: 14px; font-size: 14px;
margin-right: 16px; margin-right: 16px;
margin-top: 3px; margin-top: 3px;
text-align: left; text-align: right;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} line-height: 40px;
}
.title-text-index { .box-input {
width: 110px; display: inline-block;
color: #000F16; width: 70%;
display: inline-block; height: 38px;
font-weight: 500; margin-top: 2px;
font-size: 14px; }
margin-right: 16px;
margin-top: 3px;
text-align: right;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
line-height: 40px;
}
.box-input { .Required {
display: inline-block; color: red;
width: 70%; margin-right: 4px;
height: 38px; }
margin-top: 2px;
}
.Required { .box-button {
color: red; height: 38px;
margin-right: 4px; }
}
.box-button { .text-operation {
height: 38px; margin-right: 8px;
} }
.text-operation { .page {
margin-right: 8px; text-align: right;
} margin-top: 20px;
}
.page { .operator-text-left {
text-align: right; font-size: 14px;
margin-top: 20px; margin-right: 20px;
} background: #eff1f3;
padding: 8px 8px;
cursor: pointer;
border-radius: 4px;
}
.operator-text-left { /deep/ .ant-popover-buttons {
font-size: 14px; display: none !important;
margin-right: 20px; }
background: #eff1f3;
padding: 8px 8px;
cursor: pointer;
border-radius: 4px;
}
/deep/ .ant-popover-buttons { .operator-text-title {
display: none !important; cursor: pointer;
} margin-right: 22px;
font-size: 14px;
.operator-text-title { font-weight: 400;
cursor: pointer; color: #040B29;
margin-right: 22px; margin-bottom: 22px;
font-size: 14px; }
font-weight: 400;
color: #040B29;
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>