平台件项目库更换接口
This commit is contained in:
@@ -0,0 +1,268 @@
|
||||
<template>
|
||||
<a-drawer
|
||||
:title="$t('Transfer')"
|
||||
:maskClosable="false"
|
||||
:width="1000"
|
||||
placement="right"
|
||||
:closable="true"
|
||||
@close="handleCancel"
|
||||
:visible="visible"
|
||||
style="height: 100%;overflow: auto;padding-bottom: 53px;">
|
||||
<div style="margin-bottom: 60px">
|
||||
<div class="table-page-search-wrapper">
|
||||
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
||||
<a-row :gutter="24">
|
||||
<a-col :md="12" :sm="8">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text" :title="$t('VirtualListName')">
|
||||
<span>{{$t('VirtualListName1')}}</span>
|
||||
</div>
|
||||
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('VirtualListName')"
|
||||
v-model="queryParam.name"></j-input>
|
||||
</div>
|
||||
</a-col>
|
||||
<span style="float: right;overflow: hidden;margin-right: 11px" class="table-page-search-submitButtons">
|
||||
<a-col :md="12" :sm="24">
|
||||
<a-button class="box-button" @click="searchReset">{{$t('reset')}}</a-button>
|
||||
<a-button class="box-button" style="margin-left: 8px" type="primary" @click="searchQuery">{{$t('query')}}</a-button>
|
||||
</a-col>
|
||||
</span>
|
||||
</a-row>
|
||||
</a-form>
|
||||
</div>
|
||||
<a-table
|
||||
:components="drag(columns,'columns')"
|
||||
:columns="columns"
|
||||
rowKey="id"
|
||||
:scroll="{x: 1000}"
|
||||
:data-source="dataList"
|
||||
:pagination="false"
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange,columnTitle:' ' }"
|
||||
:loading="loading">
|
||||
|
||||
</a-table>
|
||||
<div class="page" v-if="dataList.length > 0">
|
||||
<a-pagination
|
||||
:show-total="total => $t('total')+` ${total} `+$t('strip')"
|
||||
show-quick-jumper
|
||||
show-size-changer
|
||||
:page-size.sync="pageSize"
|
||||
:total="total"
|
||||
:current="pageNo"
|
||||
@change="onChange"
|
||||
@showSizeChange="SizeChange"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="drawer-bootom-button">
|
||||
<a-button @click="handleCancel" style="margin-right: 16px">{{$t('cancel')}}</a-button>
|
||||
<a-button @click="handleSubmit(undefined)" type="primary" :loading="confirmLoading">{{$t('determine')}}</a-button>
|
||||
</div>
|
||||
</a-drawer>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getAction, postAction } from '@/api/manage'
|
||||
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
||||
|
||||
export default {
|
||||
name: 'transferList',
|
||||
components: {},
|
||||
props: ['url'],
|
||||
mixins: [ResizeHeader, ResizeColumnProvide],
|
||||
data() {
|
||||
return {
|
||||
visible: false,
|
||||
queryParam: {},
|
||||
confirmLoading: false,
|
||||
selectedRowKeys: [],
|
||||
columns: [
|
||||
{
|
||||
title: this.$t('VirtualListName'),
|
||||
dataIndex: 'name',
|
||||
align: 'left',
|
||||
ellipsis: true,
|
||||
width: 235
|
||||
},
|
||||
{
|
||||
title: this.$t('instructionForUse'),
|
||||
dataIndex: 'useExplain',
|
||||
align: 'left',
|
||||
ellipsis: true,
|
||||
width: 235
|
||||
},
|
||||
{
|
||||
title: this.$t('updateTime'),
|
||||
dataIndex: 'updateTime',
|
||||
align: 'left',
|
||||
ellipsis: true,
|
||||
width: 235
|
||||
},
|
||||
{
|
||||
title: this.$t('creater'),
|
||||
dataIndex: 'createBy',
|
||||
align: 'left',
|
||||
ellipsis: true,
|
||||
width: 235
|
||||
}
|
||||
],
|
||||
dataList: [],
|
||||
content: [],
|
||||
loading: false,
|
||||
pageNo: 1,
|
||||
pageSize: 10,
|
||||
total: 0
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
transferModel() {
|
||||
this.visible = true
|
||||
this.queryParam = {}
|
||||
this.selectedRowKeys = []
|
||||
this.replacePage()
|
||||
},
|
||||
searchQuery() {
|
||||
this.pageNo = 1
|
||||
this.replacePage()
|
||||
},
|
||||
searchReset() {
|
||||
this.pageNo = 1
|
||||
this.queryParam = {}
|
||||
this.replacePage()
|
||||
},
|
||||
onChange(page, pageSize) {
|
||||
this.pageNo = page
|
||||
this.replacePage()
|
||||
},
|
||||
SizeChange(page, pageSize) {
|
||||
this.pageNo = 1
|
||||
this.pageSize = pageSize
|
||||
this.replacePage()
|
||||
},
|
||||
replacePage() {
|
||||
let query = {
|
||||
pageNo: this.pageNo,
|
||||
pageSize: this.pageSize,
|
||||
...this.queryParam
|
||||
}
|
||||
this.loading = true
|
||||
postAction(this.url.transferUrl, query).then((res) => {
|
||||
if (res.success) {
|
||||
this.dataList = res.result.records || []
|
||||
this.total = res.result.total
|
||||
this.loading = false
|
||||
} else {
|
||||
this.loading = false
|
||||
}
|
||||
})
|
||||
},
|
||||
onSelectChange(value) {
|
||||
this.selectedRowKeys = value
|
||||
if (this.selectedRowKeys.length > 1) {
|
||||
this.selectedRowKeys.shift()
|
||||
}
|
||||
},
|
||||
handleCancel() {
|
||||
this.visible = false
|
||||
},
|
||||
handleSubmit(flag) {
|
||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||
this.confirmLoading = true
|
||||
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
|
||||
this.confirmLoading = false
|
||||
this.$emit('transferListForm',selectedRowKeys.join(','))
|
||||
this.selectedRowKeys = []
|
||||
// postAction(this.url.addModel, {
|
||||
// dummyInventoryBaseId: selectedRowKeys.join(','),
|
||||
// projectLibraryId: this.$route.query.id,
|
||||
// flag: flag
|
||||
// }).then((res) => {
|
||||
// if (res.success) {
|
||||
// this.confirmLoading = false
|
||||
// this.$message.success(this.$t('OperationSuccessful'))
|
||||
// this.visible = false
|
||||
// this.selectedRowKeys = []
|
||||
// this.$emit('transferListForm')
|
||||
// } else {
|
||||
// if (res.message == '该虚拟清单的维护清单中没有数据,是否需要添加') {
|
||||
// this.confirmLoading = false
|
||||
// this.getAdd()
|
||||
// return
|
||||
// }
|
||||
// this.$message.warning(this.$t('operationFailed'))
|
||||
// this.confirmLoading = false
|
||||
// }
|
||||
// })
|
||||
} else {
|
||||
this.$message.warning(this.$t('selectLeastOne'))
|
||||
}
|
||||
},
|
||||
getAdd() {
|
||||
let _this = this
|
||||
this.$confirm({
|
||||
content: _this.$t('TheDoesNotContainData'),
|
||||
onOk() {
|
||||
_this.handleSubmit('1')
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.page {
|
||||
text-align: right;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.drawer-bootom-button {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
z-index: 100;
|
||||
width: 100%;
|
||||
border-top: 1px solid #e8e8e8;
|
||||
padding: 10px 16px;
|
||||
text-align: right;
|
||||
left: 0;
|
||||
background: #fff;
|
||||
border-radius: 0 0 2px 2px;
|
||||
}
|
||||
|
||||
.box-title-text {
|
||||
line-height: 1.4;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.title-text {
|
||||
width: 20%;
|
||||
min-width: 110px;
|
||||
color: #000F16;
|
||||
display: inline-block;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
margin-right: 16px;
|
||||
margin-top: 3px;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.box-input {
|
||||
display: inline-block;
|
||||
width: 70%;
|
||||
height: 38px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.box-button {
|
||||
height: 38px;
|
||||
}
|
||||
</style>
|
||||
@@ -160,6 +160,12 @@
|
||||
<a-icon type="copy"/>
|
||||
{{ $t('copy') }}
|
||||
</div>
|
||||
<!-- 关联平台件-->
|
||||
<!-- v-if="this.roleSwitchingCode == '0'"-->
|
||||
<div class="operator-text" @click="associatedplatformClick">
|
||||
<a-icon type="setting"/>
|
||||
{{ $t('Associatedplatform') }}
|
||||
</div>
|
||||
<!-- 列表设置-->
|
||||
<!-- v-if="this.roleSwitchingCode == '0' || this.roleSwitchingCode == '1' || this.roleSwitchingCode == '13'"-->
|
||||
<a-popconfirm :visible="customizevisible" overlayClassName="popconfirmmize"
|
||||
@@ -1920,6 +1926,10 @@
|
||||
//调取
|
||||
transferClick() {
|
||||
this.$refs.transferListRef.transferModel()
|
||||
},
|
||||
// 关联平台件
|
||||
associatedplatformClick(){
|
||||
|
||||
},
|
||||
//批量设置
|
||||
batSettingClick() {
|
||||
|
||||
@@ -125,11 +125,11 @@
|
||||
dataSource: [],
|
||||
confirmLoading: false,
|
||||
url: {
|
||||
list: 'project/projectLibraryBase/page',
|
||||
add: 'project/projectLibraryBase/add',
|
||||
edit: 'project/projectLibraryBase/edit',
|
||||
deleteBatch: 'project/projectLibraryBase/delete',
|
||||
deleteAll: 'project/projectLibraryBase/deleteBatch'
|
||||
list: 'platform/projectLibraryBase/page',
|
||||
add: 'platform/projectLibraryBase/add',
|
||||
edit: 'platform/projectLibraryBase/edit',
|
||||
deleteBatch: 'platform/projectLibraryBase/delete',
|
||||
deleteAll: 'platform/projectLibraryBase/deleteBatch'
|
||||
},
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
|
||||
+8
-8
@@ -124,13 +124,13 @@
|
||||
administrators: false,
|
||||
activeKey: this.$t('regulatoryComplianceManagement'),
|
||||
url: {
|
||||
queryById: 'project/projectLibraryBase/queryById',
|
||||
add: 'project/projectLibraryBase/add',
|
||||
edit: 'project/projectLibraryBase/edit',
|
||||
queryByProjectId: 'project/projectTaskPlanning/queryByProjectId',
|
||||
addSettingUrl: 'project/projectTaskPlanning/add',
|
||||
editSettingUrl: 'project/projectTaskPlanning/edit',
|
||||
settingQueryForm: '/project/projectTaskPlanning/list'
|
||||
queryById: 'platform/projectLibraryBase/queryById',
|
||||
add: 'platform/projectLibraryBase/add',
|
||||
edit: 'platform/projectLibraryBase/edit',
|
||||
queryByProjectId: 'platform/projectTaskPlanning/queryByProjectId',
|
||||
addSettingUrl: 'platform/projectTaskPlanning/add',
|
||||
editSettingUrl: 'platform/projectTaskPlanning/edit',
|
||||
settingQueryForm: '/platform/projectTaskPlanning/list'
|
||||
},
|
||||
selectedRowKeys: [],
|
||||
idList: [],
|
||||
@@ -196,7 +196,7 @@
|
||||
let query = {
|
||||
projectLibraryId: this.$route.query.id
|
||||
}
|
||||
downloadFile('/project/projectLibraryBase/exportProjectProgressStatisticsXls',
|
||||
downloadFile('/platform/projectLibraryBase/exportProjectProgressStatisticsXls',
|
||||
this.queryForm.projectName+'-'+this.queryForm.projectVersion+'-'+this.$t('projectProgressStatistics') + '.xls', query)
|
||||
},
|
||||
|
||||
|
||||
+1
-1
@@ -447,7 +447,7 @@
|
||||
projectId: this.$route.query.id,
|
||||
dutyTerritory: row.dutyTerritory || row
|
||||
}
|
||||
getAction('/project/projectRelatedPersonnel/queryPersonByProjectId', query).then((res) => {
|
||||
getAction('/platform/projectRelatedPersonnel/queryPersonByProjectId', query).then((res) => {
|
||||
if (res.success) {
|
||||
this.regulatoryEngineerList = res.result.lawEngineerList || [] //法规工程师
|
||||
this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList || [] //工程接口人
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@
|
||||
data() {
|
||||
return {
|
||||
url: {
|
||||
getProjectDetailsStatistics: '/project/projectLibraryBase/getProjectDetailsStatistics'
|
||||
getProjectDetailsStatistics: '/platform/projectLibraryBase/getProjectDetailsStatistics'
|
||||
},
|
||||
certificationProgressMap: {},
|
||||
num: '0',
|
||||
|
||||
+1
-1
@@ -72,7 +72,7 @@
|
||||
configItem: this.formInline.configItem
|
||||
}
|
||||
this.confirmLoading = true
|
||||
postAction('/project/projectCertificationInventoryEO/addConfigByIds', query).then((res) => {
|
||||
postAction('/platform/projectCertificationInventoryEO/addConfigByIds', query).then((res) => {
|
||||
if (res.success) {
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
this.confirmLoading = false
|
||||
|
||||
+4
-4
@@ -767,9 +767,9 @@
|
||||
uploadName: '',
|
||||
numIndex: 0,
|
||||
url: {
|
||||
add: '/project/projectCertificationInventoryEO/batchAdd',
|
||||
edit: '/project/projectCertificationInventoryEO/edit',
|
||||
list: '/project/projectLawsInventoryEO/list'
|
||||
add: '/platform/projectCertificationInventoryEO/batchAdd',
|
||||
edit: '/platform/projectCertificationInventoryEO/edit',
|
||||
list: '/platform/projectLawsInventoryEO/list'
|
||||
},
|
||||
engineeringInterfacePersonList: []
|
||||
}
|
||||
@@ -1062,7 +1062,7 @@
|
||||
projectId: this.$route.query.id,
|
||||
dutyTerritory: row
|
||||
}
|
||||
getAction('/project/projectRelatedPersonnel/queryPersonByProjectId', query).then((res) => {
|
||||
getAction('/platform/projectRelatedPersonnel/queryPersonByProjectId', query).then((res) => {
|
||||
if (res.success) {
|
||||
if (this.formInline.id) {
|
||||
this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList || [] //工程接口人
|
||||
|
||||
+2
-2
@@ -302,7 +302,7 @@
|
||||
let url = ''
|
||||
this.confirmLoading = true
|
||||
if (this.name == this.$t('changeSetting')) {
|
||||
url = '/project/projectCertificationInventoryEO/updateConfigItemBatch'
|
||||
url = '/platform/projectCertificationInventoryEO/updateConfigItemBatch'
|
||||
} else {
|
||||
url = this.url.setBatch
|
||||
}
|
||||
@@ -369,7 +369,7 @@
|
||||
projectId: this.$route.query.id,
|
||||
dutyTerritory: row
|
||||
}
|
||||
getAction('/project/projectRelatedPersonnel/queryPersonByProjectId', query).then((res) => {
|
||||
getAction('/platform/projectRelatedPersonnel/queryPersonByProjectId', query).then((res) => {
|
||||
if (res.success) {
|
||||
this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList || [] //工程接口人
|
||||
}
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
total: 0,
|
||||
projectCertificationInventoryId: '',
|
||||
url: {
|
||||
list: '/project/projectCertificationInventoryLogEO/page'
|
||||
list: '/platform/projectCertificationInventoryLogEO/page'
|
||||
},
|
||||
columns: [
|
||||
{
|
||||
|
||||
+2
-2
@@ -144,7 +144,7 @@
|
||||
...this.queryParam
|
||||
}
|
||||
this.loading = true
|
||||
postAction('project/projectLibraryBase/page', query).then((res) => {
|
||||
postAction('platform/projectLibraryBase/page', query).then((res) => {
|
||||
if (res.success) {
|
||||
this.dataList = res.result.records || []
|
||||
this.total = res.result.total
|
||||
@@ -177,7 +177,7 @@
|
||||
return
|
||||
}
|
||||
this.confirmLoading = true
|
||||
postAction('/project/projectCertificationInventoryEO/citeDeliverable', {
|
||||
postAction('/platform/projectCertificationInventoryEO/citeDeliverable', {
|
||||
projectCertificationInventoryIds: this.ids,
|
||||
projectLibraryId: this.$route.query.id,
|
||||
citeProjectLibraryId: selectedRowKeys.join(',')
|
||||
|
||||
+1
-1
@@ -236,7 +236,7 @@
|
||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||
this.confirmLoading = true
|
||||
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
|
||||
postAction('project/projectCertificationInventoryEO/callAdd', {
|
||||
postAction('platform/projectCertificationInventoryEO/callAdd', {
|
||||
authDummyInventoryBaseId: this.dummyInventoryBaseId,
|
||||
projectLibraryId: this.$route.query.id,
|
||||
authDummyInventoryInfoIds: selectedRowKeys.join(',')
|
||||
|
||||
+22
-22
@@ -645,17 +645,17 @@
|
||||
]
|
||||
},
|
||||
url: {
|
||||
list: '/project/projectCertificationInventoryEO/page',
|
||||
exportTemplate: '/project/projectCertificationInventoryEO/exportTemplate',
|
||||
exportData: '/project/projectCertificationInventoryEO/exportData',
|
||||
deleteBatch: '/project/projectCertificationInventoryEO/deleteBatch',
|
||||
setBatch: '/project/projectCertificationInventoryEO/setBatch',
|
||||
deleteOne: '/project/projectCertificationInventoryEO/delete',
|
||||
AndUserId: '/project/projectLibraryRoleRelEO/queryByProjectLibraryIdAndUserId',
|
||||
AndUserIdEdit: '/project/projectLibraryRoleRelEO/edit',
|
||||
saveBatch: '/project/projectCertificationInventoryEO/saveBatch',
|
||||
questionUrl: '/project/projectCertificationInventoryEO/expediting',
|
||||
importZipUrl: '/project/projectCertificationInventoryEO/importData'
|
||||
list: '/platform/projectCertificationInventoryEO/page',
|
||||
exportTemplate: '/platform/projectCertificationInventoryEO/exportTemplate',
|
||||
exportData: '/platform/projectCertificationInventoryEO/exportData',
|
||||
deleteBatch: '/platform/projectCertificationInventoryEO/deleteBatch',
|
||||
setBatch: '/platform/projectCertificationInventoryEO/setBatch',
|
||||
deleteOne: '/platform/projectCertificationInventoryEO/delete',
|
||||
AndUserId: '/platform/projectLibraryRoleRelEO/queryByProjectLibraryIdAndUserId',
|
||||
AndUserIdEdit: '/platform/projectLibraryRoleRelEO/edit',
|
||||
saveBatch: '/platform/projectCertificationInventoryEO/saveBatch',
|
||||
questionUrl: '/platform/projectCertificationInventoryEO/expediting',
|
||||
importZipUrl: '/platform/projectCertificationInventoryEO/importData'
|
||||
},
|
||||
dataSource: [],
|
||||
roleSwitchingCode: '',
|
||||
@@ -914,7 +914,7 @@
|
||||
let query = {
|
||||
projectLibraryId: this.$route.query.id
|
||||
}
|
||||
getAction('/project/projectCertificationInventoryEO/queryDutyPersonByProjectId', query).then((res) => {
|
||||
getAction('/platform/projectCertificationInventoryEO/queryDutyPersonByProjectId', query).then((res) => {
|
||||
if (res.success) {
|
||||
let engineeringInterfacePerson = {
|
||||
value: 'sdt',
|
||||
@@ -967,7 +967,7 @@
|
||||
})
|
||||
},
|
||||
getProcessStatus() {
|
||||
getAction('/project/projectCertificationInventoryEO/getFlowStatusList', {}).then((res) => {
|
||||
getAction('/platform/projectCertificationInventoryEO/getFlowStatusList', {}).then((res) => {
|
||||
if (res.success) {
|
||||
this.processStatusList = res.result || []
|
||||
} else {
|
||||
@@ -1246,7 +1246,7 @@
|
||||
// this.$confirm({
|
||||
// content: _this.$t('confirmRelease'),
|
||||
// onOk() {
|
||||
postAction('/project/projectCertificationInventoryEO/issue', {
|
||||
postAction('/platform/projectCertificationInventoryEO/issue', {
|
||||
ids: ids.join(','),
|
||||
projectLibraryId: _this.$route.query.id,
|
||||
inventoryVerifyEndTime: formInline.inventoryVerifyEndTime
|
||||
@@ -1283,7 +1283,7 @@
|
||||
taskConfirmEndTime: formInline.taskConfirmEndTime
|
||||
}
|
||||
|
||||
postAction('/project/projectCertificationInventoryEO/submitTask', query).then((res) => {
|
||||
postAction('/platform/projectCertificationInventoryEO/submitTask', query).then((res) => {
|
||||
if (res.success) {
|
||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||
_this.getList()
|
||||
@@ -1365,7 +1365,7 @@
|
||||
this.$confirm({
|
||||
content: _this.$t('confirmWithdrawal'),
|
||||
onOk() {
|
||||
postAction('/project/projectCertificationInventoryEO/resetFlow', {
|
||||
postAction('/platform/projectCertificationInventoryEO/resetFlow', {
|
||||
ids: ids.join(','),
|
||||
projectLibraryId: _this.$route.query.id,
|
||||
operatorType: 'certificationInventoryStudioWithdraw'
|
||||
@@ -1522,7 +1522,7 @@
|
||||
this.$refs.modifyHistoryRef.getList(row.id)
|
||||
},
|
||||
getRoleByUserId(callback) {
|
||||
getAction('/project/projectCertificationInventoryEO/getRoleByUserId', { projectLibraryId: this.$route.query.id }).then((res) => {
|
||||
getAction('/platform/projectCertificationInventoryEO/getRoleByUserId', { projectLibraryId: this.$route.query.id }).then((res) => {
|
||||
if (res.success) {
|
||||
this.roleSwitchingList = res.result || []
|
||||
} else {
|
||||
@@ -1733,7 +1733,7 @@
|
||||
'projectLibraryId': this.$route.query.id,
|
||||
'ids': this.toDoIds.join(',')
|
||||
}
|
||||
postAction('/project/projectCertificationInventoryEO/transferTask', query).then((res) => {
|
||||
postAction('/platform/projectCertificationInventoryEO/transferTask', query).then((res) => {
|
||||
if (res.success) {
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
this.$refs.SelectedByRef.visible = false
|
||||
@@ -2039,7 +2039,7 @@
|
||||
'ids': ids.join(','),
|
||||
reasonForReturn: reasonForReturn
|
||||
}
|
||||
postAction('/project/projectCertificationInventoryEO/submitTask', query).then((res) => {
|
||||
postAction('/platform/projectCertificationInventoryEO/submitTask', query).then((res) => {
|
||||
if (res.success) {
|
||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||
_this.getList()
|
||||
@@ -2089,7 +2089,7 @@
|
||||
'projectLibraryId': _this.$route.query.id,
|
||||
'ids': ids.join(',')
|
||||
}
|
||||
postAction('/project/projectCertificationInventoryEO/submitTask', query).then((res) => {
|
||||
postAction('/platform/projectCertificationInventoryEO/submitTask', query).then((res) => {
|
||||
if (res.success) {
|
||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||
_this.getList()
|
||||
@@ -2112,7 +2112,7 @@
|
||||
'flowStatus': 'NA',
|
||||
'ids': NAId.join(',')
|
||||
}
|
||||
postAction('/project/projectCertificationInventoryEO/updateStatusBatch', query).then((res) => {
|
||||
postAction('/platform/projectCertificationInventoryEO/updateStatusBatch', query).then((res) => {
|
||||
if (res.success) {
|
||||
if (ids && ids.length > 0) {
|
||||
} else {
|
||||
@@ -2181,7 +2181,7 @@
|
||||
ids: ids.join(','),
|
||||
'flowStatus': 'Results to be submitted'
|
||||
}
|
||||
postAction('/project/projectCertificationInventoryEO/updateStatusBatch', query).then((res) => {
|
||||
postAction('/platform/projectCertificationInventoryEO/updateStatusBatch', query).then((res) => {
|
||||
if (res.success) {
|
||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||
_this.getList()
|
||||
|
||||
+1
@@ -24,6 +24,7 @@
|
||||
:disabled="disabled"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
|
||||
+1
-1
@@ -787,7 +787,7 @@
|
||||
let query = {
|
||||
projectLawsInventoryId: id
|
||||
}
|
||||
getAction('/project/projectLawsInventoryRejectCauseEO/list', query).then((res) => {
|
||||
getAction('/platform/projectLawsInventoryRejectCauseEO/list', query).then((res) => {
|
||||
if (res.success) {
|
||||
this.rejectCauseList = []
|
||||
this.rejectCauseListOne = []
|
||||
|
||||
+31
-31
@@ -1261,25 +1261,25 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
addModelList: '/project/projectLawsInventoryEO/queryPageDummy',
|
||||
queryConditionInventory: '/project/projectLawsInventoryEO/queryConditionInventory',
|
||||
list: '/project/projectLawsInventoryEO/page',
|
||||
addModel: 'project/projectLawsInventoryEO/add',
|
||||
editModel: '/project/projectLawsInventoryEO/edit',
|
||||
deleteBatch: '/project/projectLawsInventoryEO/deleteBatch',
|
||||
deleteOne: '/project/projectLawsInventoryEO/delete',
|
||||
updateStatusBatch: '/project/projectLawsInventoryEO/updateStatusBatch',
|
||||
matchRelevantPeople: '/project/projectLawsInventoryEO/matchRelevantPeople',
|
||||
queryPersonByProject: '/project/projectRelatedPersonnel/queryPersonByProjectId',
|
||||
importZipUrl: '/project/projectLawsInventoryEO/importData',
|
||||
exportTemplate: '/project/projectLawsInventoryEO/exportTemplate',
|
||||
exportData: '/project/projectLawsInventoryEO/exportData',
|
||||
setBatch: '/project/projectLawsInventoryEO/setBatch',//批量设置
|
||||
copyUrl: '/project/projectLawsInventoryEO/copyInfoByIds',//复制
|
||||
transferUrl: '/project/projectLawsInventoryEO/getPageInfoDummy',//调取
|
||||
ExportReportUrl: '/project/projectLawsInventoryEO/downloadDocxReport',
|
||||
AndUserId: '/project/projectLibraryRoleRelEO/queryByProjectLibraryIdAndUserId',
|
||||
AndUserIdEdit: '/project/projectLibraryRoleRelEO/edit'
|
||||
addModelList: '/platform/projectLawsInventoryEO/queryPageDummy',
|
||||
queryConditionInventory: '/platform/projectLawsInventoryEO/queryConditionInventory',
|
||||
list: '/platform/projectLawsInventoryEO/page',
|
||||
addModel: 'platform/projectLawsInventoryEO/add',
|
||||
editModel: '/platform/projectLawsInventoryEO/edit',
|
||||
deleteBatch: '/platform/projectLawsInventoryEO/deleteBatch',
|
||||
deleteOne: '/platform/projectLawsInventoryEO/delete',
|
||||
updateStatusBatch: '/platform/projectLawsInventoryEO/updateStatusBatch',
|
||||
matchRelevantPeople: '/platform/projectLawsInventoryEO/matchRelevantPeople',
|
||||
queryPersonByProject: '/platform/projectRelatedPersonnel/queryPersonByProjectId',
|
||||
importZipUrl: '/platform/projectLawsInventoryEO/importData',
|
||||
exportTemplate: '/platform/projectLawsInventoryEO/exportTemplate',
|
||||
exportData: '/platform/projectLawsInventoryEO/exportData',
|
||||
setBatch: '/platform/projectLawsInventoryEO/setBatch',//批量设置
|
||||
copyUrl: '/platform/projectLawsInventoryEO/copyInfoByIds',//复制
|
||||
transferUrl: '/platform/projectLawsInventoryEO/getPageInfoDummy',//调取
|
||||
ExportReportUrl: '/platform/projectLawsInventoryEO/downloadDocxReport',
|
||||
AndUserId: '/platform/projectLibraryRoleRelEO/queryByProjectLibraryIdAndUserId',
|
||||
AndUserIdEdit: '/platform/projectLibraryRoleRelEO/edit'
|
||||
},
|
||||
downLoadFileUrl: window._CONFIG['domianPreviewURL'] + '/sys/common/download',
|
||||
downLoadImgUrl: window._CONFIG['domianWebImgURL'] + '/sys/common/download',
|
||||
@@ -1655,7 +1655,7 @@
|
||||
let query = {
|
||||
projectLibraryId: this.$route.query.id
|
||||
}
|
||||
getAction('/project/projectRelatedPersonnel/queryEngineeringInterfacePersonByProjectId', query).then((res) => {
|
||||
getAction('/platform/projectRelatedPersonnel/queryEngineeringInterfacePersonByProjectId', query).then((res) => {
|
||||
if (res.success) {
|
||||
let engineeringInterfacePerson = {
|
||||
value: 'engineeringInterfacePerson',
|
||||
@@ -1681,7 +1681,7 @@
|
||||
let query = {
|
||||
projectLibraryId: this.$route.query.id
|
||||
}
|
||||
getAction('/project/projectLawsInventoryEO/queryDutyPersonByProjectId', query).then((res) => {
|
||||
getAction('/platform/projectLawsInventoryEO/queryDutyPersonByProjectId', query).then((res) => {
|
||||
if (res.success) {
|
||||
let designDuty = {
|
||||
value: 'designDutyId',
|
||||
@@ -1708,7 +1708,7 @@
|
||||
let query = {
|
||||
projectLibraryId: this.$route.query.id
|
||||
}
|
||||
getAction('/project/projectLawsInventoryEO/queryDutyPersonByProjectId', query).then((res) => {
|
||||
getAction('/platform/projectLawsInventoryEO/queryDutyPersonByProjectId', query).then((res) => {
|
||||
if (res.success) {
|
||||
let verifyDuty = {
|
||||
value: 'verifyDutyId',
|
||||
@@ -1812,7 +1812,7 @@
|
||||
|
||||
//获取切换角色的数据
|
||||
getRoleByUserId(callback) {
|
||||
getAction('/project/projectLawsInventoryEO/getRoleByUserId', { projectLibraryId: this.$route.query.id }).then((res) => {
|
||||
getAction('/platform/projectLawsInventoryEO/getRoleByUserId', { projectLibraryId: this.$route.query.id }).then((res) => {
|
||||
if (res.success) {
|
||||
this.roleSwitchingList = res.result || []
|
||||
} else {
|
||||
@@ -2083,7 +2083,7 @@
|
||||
operateType: operateType
|
||||
}
|
||||
this.confirmLoadingQuestion = true
|
||||
postAction('project/projectLawsInventoryEO/expediting', query).then((res) => {
|
||||
postAction('platform/projectLawsInventoryEO/expediting', query).then((res) => {
|
||||
if (res.success) {
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
this.selectedRowKeys = []
|
||||
@@ -2248,7 +2248,7 @@
|
||||
let _this = this
|
||||
_this.confirmLoadingReset = true
|
||||
let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys))
|
||||
postAction('/project/projectLawsInventoryEO/change', {
|
||||
postAction('/platform/projectLawsInventoryEO/change', {
|
||||
ids: idList.join(','),
|
||||
projectLibraryId: _this.$route.query.id,
|
||||
operateType: _this.formInlineReset.operateType
|
||||
@@ -2279,7 +2279,7 @@
|
||||
content: _this.$t('NoteConfirmTheChange'),
|
||||
onOk() {
|
||||
let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys))
|
||||
postAction('/project/projectLawsInventoryEO/change', {
|
||||
postAction('/platform/projectLawsInventoryEO/change', {
|
||||
ids: idList.join(','),
|
||||
projectLibraryId: _this.$route.query.id
|
||||
}).then((res) => {
|
||||
@@ -2820,7 +2820,7 @@
|
||||
...this.formInline
|
||||
}
|
||||
this.confirmLoading = true
|
||||
postAction('/project/projectLawsInventoryEO/studioPublish', query).then((res) => {
|
||||
postAction('/platform/projectLawsInventoryEO/studioPublish', query).then((res) => {
|
||||
if (res.success) {
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
this.visible = false
|
||||
@@ -3085,7 +3085,7 @@
|
||||
flowStatus: 'NA',
|
||||
lawsInventoryArray: this.updateFlowStatusList
|
||||
}
|
||||
postAction('/project/projectLawsInventoryEO/updateFlowStatusBatch', query).then((res) => {
|
||||
postAction('/platform/projectLawsInventoryEO/updateFlowStatusBatch', query).then((res) => {
|
||||
if (res.success) {
|
||||
if (this.requestsNum == 0) {
|
||||
this.visible = false
|
||||
@@ -3124,7 +3124,7 @@
|
||||
projectLibraryId: this.$route.query.id,
|
||||
ids: ids.join(',')
|
||||
}
|
||||
postAction('/project/projectLawsInventoryEO/regulationOwnerReturned', query).then((res) => {
|
||||
postAction('/platform/projectLawsInventoryEO/regulationOwnerReturned', query).then((res) => {
|
||||
if (res.success) {
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
this.selectedRowKeys = []
|
||||
@@ -3151,7 +3151,7 @@
|
||||
commentContent: this.$t('For') + content.join(',') + this.$t('markedRejection') + ':' + commentContent,
|
||||
projectLibraryId: this.$route.query.id
|
||||
}
|
||||
postAction('/project/projectCommentEO/add', query).then((res) => {
|
||||
postAction('/platform/projectCommentEO/add', query).then((res) => {
|
||||
})
|
||||
},
|
||||
|
||||
@@ -3164,7 +3164,7 @@
|
||||
projectLawsInventoryId: ids.join(','),
|
||||
rejectType: '0'
|
||||
}
|
||||
postAction('/project/projectLawsInventoryRejectCauseEO/add', query).then((res) => {
|
||||
postAction('/platform/projectLawsInventoryRejectCauseEO/add', query).then((res) => {
|
||||
|
||||
})
|
||||
},
|
||||
|
||||
+1
-1
@@ -525,7 +525,7 @@
|
||||
let query = {
|
||||
projectLawsInventoryId: id
|
||||
}
|
||||
getAction('/project/projectLawsInventoryRejectCauseEO/list', query).then((res) => {
|
||||
getAction('/platform/projectLawsInventoryRejectCauseEO/list', query).then((res) => {
|
||||
if (res.success) {
|
||||
this.rejectCauseList = []
|
||||
this.rejectCauseListOne = []
|
||||
|
||||
+1
-1
@@ -96,7 +96,7 @@
|
||||
verifyTransferUserId: this.formInline.verifyTransferUserId
|
||||
}
|
||||
this.confirmLoading = true
|
||||
postAction('/project/projectLawsInventoryEO/compulsoryTransfer', query).then((res) => {
|
||||
postAction('/platform/projectLawsInventoryEO/compulsoryTransfer', query).then((res) => {
|
||||
if (res.success) {
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
this.confirmLoading = false
|
||||
|
||||
+4
-4
@@ -326,8 +326,8 @@ export default {
|
||||
long: '',
|
||||
isPersonnelSelection:true,
|
||||
url: {
|
||||
page: '/project/projectLawsInventoryEO/queryNotComplianList',
|
||||
exportData: '/project/projectLawsInventoryEO/exportNotComplianList'
|
||||
page: '/platform/projectLawsInventoryEO/queryNotComplianList',
|
||||
exportData: '/platform/projectLawsInventoryEO/exportNotComplianList'
|
||||
},
|
||||
content: []
|
||||
}
|
||||
@@ -366,7 +366,7 @@ export default {
|
||||
})
|
||||
},
|
||||
getNameList() {
|
||||
getAction('/project/projectNameInfoEO/queryProjectNameList', {}).then((res) => {
|
||||
getAction('/platform/projectNameInfoEO/queryProjectNameList', {}).then((res) => {
|
||||
if (res.success) {
|
||||
this.projectNameList = res.result || []
|
||||
} else {
|
||||
@@ -475,7 +475,7 @@ export default {
|
||||
this.$confirm({
|
||||
content: _this.$t('ConfirmDelete'),
|
||||
onOk() {
|
||||
deleteAction('/project/problemManagementEO/deleteBatch', { ids: record.uuid }).then((res) => {
|
||||
deleteAction('/platform/problemManagementEO/deleteBatch', { ids: record.uuid }).then((res) => {
|
||||
if (res.success) {
|
||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||
_this.getList()
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@
|
||||
return {
|
||||
loading: false,
|
||||
url: {
|
||||
getProjectDetailsStatistics: '/project/projectLibraryBase/getProjectDetailsStatistics'
|
||||
getProjectDetailsStatistics: '/platform/projectLibraryBase/getProjectDetailsStatistics'
|
||||
},
|
||||
mainTopNum: 0,
|
||||
mainLeftNum: 0,
|
||||
|
||||
+1
-1
@@ -57,7 +57,7 @@
|
||||
confirmLoading: false,
|
||||
uploadQuery: {},
|
||||
url: {
|
||||
editModel: '/project/projectLawsInventoryEO/edit'
|
||||
editModel: '/platform/projectLawsInventoryEO/edit'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
+1
-1
@@ -333,7 +333,7 @@ export default {
|
||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||
this.confirmLoading = true
|
||||
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
|
||||
postAction('project/projectLawsInventoryEO/add', {
|
||||
postAction('platform/projectLawsInventoryEO/add', {
|
||||
dummyInventoryBaseId: this.dummyInventoryBaseId,
|
||||
projectLibraryId: this.$route.query.id,
|
||||
dummyids: selectedRowKeys.join(','),
|
||||
|
||||
Reference in New Issue
Block a user