平台件项目库更换接口
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"/>
|
<a-icon type="copy"/>
|
||||||
{{ $t('copy') }}
|
{{ $t('copy') }}
|
||||||
</div>
|
</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'"-->
|
<!-- v-if="this.roleSwitchingCode == '0' || this.roleSwitchingCode == '1' || this.roleSwitchingCode == '13'"-->
|
||||||
<a-popconfirm :visible="customizevisible" overlayClassName="popconfirmmize"
|
<a-popconfirm :visible="customizevisible" overlayClassName="popconfirmmize"
|
||||||
@@ -1920,6 +1926,10 @@
|
|||||||
//调取
|
//调取
|
||||||
transferClick() {
|
transferClick() {
|
||||||
this.$refs.transferListRef.transferModel()
|
this.$refs.transferListRef.transferModel()
|
||||||
|
},
|
||||||
|
// 关联平台件
|
||||||
|
associatedplatformClick(){
|
||||||
|
|
||||||
},
|
},
|
||||||
//批量设置
|
//批量设置
|
||||||
batSettingClick() {
|
batSettingClick() {
|
||||||
|
|||||||
@@ -125,11 +125,11 @@
|
|||||||
dataSource: [],
|
dataSource: [],
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
url: {
|
url: {
|
||||||
list: 'project/projectLibraryBase/page',
|
list: 'platform/projectLibraryBase/page',
|
||||||
add: 'project/projectLibraryBase/add',
|
add: 'platform/projectLibraryBase/add',
|
||||||
edit: 'project/projectLibraryBase/edit',
|
edit: 'platform/projectLibraryBase/edit',
|
||||||
deleteBatch: 'project/projectLibraryBase/delete',
|
deleteBatch: 'platform/projectLibraryBase/delete',
|
||||||
deleteAll: 'project/projectLibraryBase/deleteBatch'
|
deleteAll: 'platform/projectLibraryBase/deleteBatch'
|
||||||
},
|
},
|
||||||
total: 0,
|
total: 0,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
|
|||||||
+8
-8
@@ -124,13 +124,13 @@
|
|||||||
administrators: false,
|
administrators: false,
|
||||||
activeKey: this.$t('regulatoryComplianceManagement'),
|
activeKey: this.$t('regulatoryComplianceManagement'),
|
||||||
url: {
|
url: {
|
||||||
queryById: 'project/projectLibraryBase/queryById',
|
queryById: 'platform/projectLibraryBase/queryById',
|
||||||
add: 'project/projectLibraryBase/add',
|
add: 'platform/projectLibraryBase/add',
|
||||||
edit: 'project/projectLibraryBase/edit',
|
edit: 'platform/projectLibraryBase/edit',
|
||||||
queryByProjectId: 'project/projectTaskPlanning/queryByProjectId',
|
queryByProjectId: 'platform/projectTaskPlanning/queryByProjectId',
|
||||||
addSettingUrl: 'project/projectTaskPlanning/add',
|
addSettingUrl: 'platform/projectTaskPlanning/add',
|
||||||
editSettingUrl: 'project/projectTaskPlanning/edit',
|
editSettingUrl: 'platform/projectTaskPlanning/edit',
|
||||||
settingQueryForm: '/project/projectTaskPlanning/list'
|
settingQueryForm: '/platform/projectTaskPlanning/list'
|
||||||
},
|
},
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
idList: [],
|
idList: [],
|
||||||
@@ -196,7 +196,7 @@
|
|||||||
let query = {
|
let query = {
|
||||||
projectLibraryId: this.$route.query.id
|
projectLibraryId: this.$route.query.id
|
||||||
}
|
}
|
||||||
downloadFile('/project/projectLibraryBase/exportProjectProgressStatisticsXls',
|
downloadFile('/platform/projectLibraryBase/exportProjectProgressStatisticsXls',
|
||||||
this.queryForm.projectName+'-'+this.queryForm.projectVersion+'-'+this.$t('projectProgressStatistics') + '.xls', query)
|
this.queryForm.projectName+'-'+this.queryForm.projectVersion+'-'+this.$t('projectProgressStatistics') + '.xls', query)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -447,7 +447,7 @@
|
|||||||
projectId: this.$route.query.id,
|
projectId: this.$route.query.id,
|
||||||
dutyTerritory: row.dutyTerritory || row
|
dutyTerritory: row.dutyTerritory || row
|
||||||
}
|
}
|
||||||
getAction('/project/projectRelatedPersonnel/queryPersonByProjectId', query).then((res) => {
|
getAction('/platform/projectRelatedPersonnel/queryPersonByProjectId', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.regulatoryEngineerList = res.result.lawEngineerList || [] //法规工程师
|
this.regulatoryEngineerList = res.result.lawEngineerList || [] //法规工程师
|
||||||
this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList || [] //工程接口人
|
this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList || [] //工程接口人
|
||||||
|
|||||||
+1
-1
@@ -59,7 +59,7 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
url: {
|
url: {
|
||||||
getProjectDetailsStatistics: '/project/projectLibraryBase/getProjectDetailsStatistics'
|
getProjectDetailsStatistics: '/platform/projectLibraryBase/getProjectDetailsStatistics'
|
||||||
},
|
},
|
||||||
certificationProgressMap: {},
|
certificationProgressMap: {},
|
||||||
num: '0',
|
num: '0',
|
||||||
|
|||||||
+1
-1
@@ -72,7 +72,7 @@
|
|||||||
configItem: this.formInline.configItem
|
configItem: this.formInline.configItem
|
||||||
}
|
}
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
postAction('/project/projectCertificationInventoryEO/addConfigByIds', query).then((res) => {
|
postAction('/platform/projectCertificationInventoryEO/addConfigByIds', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.confirmLoading = false
|
this.confirmLoading = false
|
||||||
|
|||||||
+4
-4
@@ -767,9 +767,9 @@
|
|||||||
uploadName: '',
|
uploadName: '',
|
||||||
numIndex: 0,
|
numIndex: 0,
|
||||||
url: {
|
url: {
|
||||||
add: '/project/projectCertificationInventoryEO/batchAdd',
|
add: '/platform/projectCertificationInventoryEO/batchAdd',
|
||||||
edit: '/project/projectCertificationInventoryEO/edit',
|
edit: '/platform/projectCertificationInventoryEO/edit',
|
||||||
list: '/project/projectLawsInventoryEO/list'
|
list: '/platform/projectLawsInventoryEO/list'
|
||||||
},
|
},
|
||||||
engineeringInterfacePersonList: []
|
engineeringInterfacePersonList: []
|
||||||
}
|
}
|
||||||
@@ -1062,7 +1062,7 @@
|
|||||||
projectId: this.$route.query.id,
|
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) {
|
if (res.success) {
|
||||||
if (this.formInline.id) {
|
if (this.formInline.id) {
|
||||||
this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList || [] //工程接口人
|
this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList || [] //工程接口人
|
||||||
|
|||||||
+2
-2
@@ -302,7 +302,7 @@
|
|||||||
let url = ''
|
let url = ''
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
if (this.name == this.$t('changeSetting')) {
|
if (this.name == this.$t('changeSetting')) {
|
||||||
url = '/project/projectCertificationInventoryEO/updateConfigItemBatch'
|
url = '/platform/projectCertificationInventoryEO/updateConfigItemBatch'
|
||||||
} else {
|
} else {
|
||||||
url = this.url.setBatch
|
url = this.url.setBatch
|
||||||
}
|
}
|
||||||
@@ -369,7 +369,7 @@
|
|||||||
projectId: this.$route.query.id,
|
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) {
|
if (res.success) {
|
||||||
this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList || [] //工程接口人
|
this.engineeringInterfacePersonList = res.result.engineeringInterfacePersonList || [] //工程接口人
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -54,7 +54,7 @@
|
|||||||
total: 0,
|
total: 0,
|
||||||
projectCertificationInventoryId: '',
|
projectCertificationInventoryId: '',
|
||||||
url: {
|
url: {
|
||||||
list: '/project/projectCertificationInventoryLogEO/page'
|
list: '/platform/projectCertificationInventoryLogEO/page'
|
||||||
},
|
},
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
|
|||||||
+2
-2
@@ -144,7 +144,7 @@
|
|||||||
...this.queryParam
|
...this.queryParam
|
||||||
}
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
postAction('project/projectLibraryBase/page', query).then((res) => {
|
postAction('platform/projectLibraryBase/page', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.dataList = res.result.records || []
|
this.dataList = res.result.records || []
|
||||||
this.total = res.result.total
|
this.total = res.result.total
|
||||||
@@ -177,7 +177,7 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
postAction('/project/projectCertificationInventoryEO/citeDeliverable', {
|
postAction('/platform/projectCertificationInventoryEO/citeDeliverable', {
|
||||||
projectCertificationInventoryIds: this.ids,
|
projectCertificationInventoryIds: this.ids,
|
||||||
projectLibraryId: this.$route.query.id,
|
projectLibraryId: this.$route.query.id,
|
||||||
citeProjectLibraryId: selectedRowKeys.join(',')
|
citeProjectLibraryId: selectedRowKeys.join(',')
|
||||||
|
|||||||
+1
-1
@@ -236,7 +236,7 @@
|
|||||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
|
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
|
||||||
postAction('project/projectCertificationInventoryEO/callAdd', {
|
postAction('platform/projectCertificationInventoryEO/callAdd', {
|
||||||
authDummyInventoryBaseId: this.dummyInventoryBaseId,
|
authDummyInventoryBaseId: this.dummyInventoryBaseId,
|
||||||
projectLibraryId: this.$route.query.id,
|
projectLibraryId: this.$route.query.id,
|
||||||
authDummyInventoryInfoIds: selectedRowKeys.join(',')
|
authDummyInventoryInfoIds: selectedRowKeys.join(',')
|
||||||
|
|||||||
+22
-22
@@ -645,17 +645,17 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
url: {
|
url: {
|
||||||
list: '/project/projectCertificationInventoryEO/page',
|
list: '/platform/projectCertificationInventoryEO/page',
|
||||||
exportTemplate: '/project/projectCertificationInventoryEO/exportTemplate',
|
exportTemplate: '/platform/projectCertificationInventoryEO/exportTemplate',
|
||||||
exportData: '/project/projectCertificationInventoryEO/exportData',
|
exportData: '/platform/projectCertificationInventoryEO/exportData',
|
||||||
deleteBatch: '/project/projectCertificationInventoryEO/deleteBatch',
|
deleteBatch: '/platform/projectCertificationInventoryEO/deleteBatch',
|
||||||
setBatch: '/project/projectCertificationInventoryEO/setBatch',
|
setBatch: '/platform/projectCertificationInventoryEO/setBatch',
|
||||||
deleteOne: '/project/projectCertificationInventoryEO/delete',
|
deleteOne: '/platform/projectCertificationInventoryEO/delete',
|
||||||
AndUserId: '/project/projectLibraryRoleRelEO/queryByProjectLibraryIdAndUserId',
|
AndUserId: '/platform/projectLibraryRoleRelEO/queryByProjectLibraryIdAndUserId',
|
||||||
AndUserIdEdit: '/project/projectLibraryRoleRelEO/edit',
|
AndUserIdEdit: '/platform/projectLibraryRoleRelEO/edit',
|
||||||
saveBatch: '/project/projectCertificationInventoryEO/saveBatch',
|
saveBatch: '/platform/projectCertificationInventoryEO/saveBatch',
|
||||||
questionUrl: '/project/projectCertificationInventoryEO/expediting',
|
questionUrl: '/platform/projectCertificationInventoryEO/expediting',
|
||||||
importZipUrl: '/project/projectCertificationInventoryEO/importData'
|
importZipUrl: '/platform/projectCertificationInventoryEO/importData'
|
||||||
},
|
},
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
roleSwitchingCode: '',
|
roleSwitchingCode: '',
|
||||||
@@ -914,7 +914,7 @@
|
|||||||
let query = {
|
let query = {
|
||||||
projectLibraryId: this.$route.query.id
|
projectLibraryId: this.$route.query.id
|
||||||
}
|
}
|
||||||
getAction('/project/projectCertificationInventoryEO/queryDutyPersonByProjectId', query).then((res) => {
|
getAction('/platform/projectCertificationInventoryEO/queryDutyPersonByProjectId', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
let engineeringInterfacePerson = {
|
let engineeringInterfacePerson = {
|
||||||
value: 'sdt',
|
value: 'sdt',
|
||||||
@@ -967,7 +967,7 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
getProcessStatus() {
|
getProcessStatus() {
|
||||||
getAction('/project/projectCertificationInventoryEO/getFlowStatusList', {}).then((res) => {
|
getAction('/platform/projectCertificationInventoryEO/getFlowStatusList', {}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.processStatusList = res.result || []
|
this.processStatusList = res.result || []
|
||||||
} else {
|
} else {
|
||||||
@@ -1246,7 +1246,7 @@
|
|||||||
// this.$confirm({
|
// this.$confirm({
|
||||||
// content: _this.$t('confirmRelease'),
|
// content: _this.$t('confirmRelease'),
|
||||||
// onOk() {
|
// onOk() {
|
||||||
postAction('/project/projectCertificationInventoryEO/issue', {
|
postAction('/platform/projectCertificationInventoryEO/issue', {
|
||||||
ids: ids.join(','),
|
ids: ids.join(','),
|
||||||
projectLibraryId: _this.$route.query.id,
|
projectLibraryId: _this.$route.query.id,
|
||||||
inventoryVerifyEndTime: formInline.inventoryVerifyEndTime
|
inventoryVerifyEndTime: formInline.inventoryVerifyEndTime
|
||||||
@@ -1283,7 +1283,7 @@
|
|||||||
taskConfirmEndTime: formInline.taskConfirmEndTime
|
taskConfirmEndTime: formInline.taskConfirmEndTime
|
||||||
}
|
}
|
||||||
|
|
||||||
postAction('/project/projectCertificationInventoryEO/submitTask', query).then((res) => {
|
postAction('/platform/projectCertificationInventoryEO/submitTask', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||||
_this.getList()
|
_this.getList()
|
||||||
@@ -1365,7 +1365,7 @@
|
|||||||
this.$confirm({
|
this.$confirm({
|
||||||
content: _this.$t('confirmWithdrawal'),
|
content: _this.$t('confirmWithdrawal'),
|
||||||
onOk() {
|
onOk() {
|
||||||
postAction('/project/projectCertificationInventoryEO/resetFlow', {
|
postAction('/platform/projectCertificationInventoryEO/resetFlow', {
|
||||||
ids: ids.join(','),
|
ids: ids.join(','),
|
||||||
projectLibraryId: _this.$route.query.id,
|
projectLibraryId: _this.$route.query.id,
|
||||||
operatorType: 'certificationInventoryStudioWithdraw'
|
operatorType: 'certificationInventoryStudioWithdraw'
|
||||||
@@ -1522,7 +1522,7 @@
|
|||||||
this.$refs.modifyHistoryRef.getList(row.id)
|
this.$refs.modifyHistoryRef.getList(row.id)
|
||||||
},
|
},
|
||||||
getRoleByUserId(callback) {
|
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) {
|
if (res.success) {
|
||||||
this.roleSwitchingList = res.result || []
|
this.roleSwitchingList = res.result || []
|
||||||
} else {
|
} else {
|
||||||
@@ -1733,7 +1733,7 @@
|
|||||||
'projectLibraryId': this.$route.query.id,
|
'projectLibraryId': this.$route.query.id,
|
||||||
'ids': this.toDoIds.join(',')
|
'ids': this.toDoIds.join(',')
|
||||||
}
|
}
|
||||||
postAction('/project/projectCertificationInventoryEO/transferTask', query).then((res) => {
|
postAction('/platform/projectCertificationInventoryEO/transferTask', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.$refs.SelectedByRef.visible = false
|
this.$refs.SelectedByRef.visible = false
|
||||||
@@ -2039,7 +2039,7 @@
|
|||||||
'ids': ids.join(','),
|
'ids': ids.join(','),
|
||||||
reasonForReturn: reasonForReturn
|
reasonForReturn: reasonForReturn
|
||||||
}
|
}
|
||||||
postAction('/project/projectCertificationInventoryEO/submitTask', query).then((res) => {
|
postAction('/platform/projectCertificationInventoryEO/submitTask', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||||
_this.getList()
|
_this.getList()
|
||||||
@@ -2089,7 +2089,7 @@
|
|||||||
'projectLibraryId': _this.$route.query.id,
|
'projectLibraryId': _this.$route.query.id,
|
||||||
'ids': ids.join(',')
|
'ids': ids.join(',')
|
||||||
}
|
}
|
||||||
postAction('/project/projectCertificationInventoryEO/submitTask', query).then((res) => {
|
postAction('/platform/projectCertificationInventoryEO/submitTask', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||||
_this.getList()
|
_this.getList()
|
||||||
@@ -2112,7 +2112,7 @@
|
|||||||
'flowStatus': 'NA',
|
'flowStatus': 'NA',
|
||||||
'ids': NAId.join(',')
|
'ids': NAId.join(',')
|
||||||
}
|
}
|
||||||
postAction('/project/projectCertificationInventoryEO/updateStatusBatch', query).then((res) => {
|
postAction('/platform/projectCertificationInventoryEO/updateStatusBatch', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
if (ids && ids.length > 0) {
|
if (ids && ids.length > 0) {
|
||||||
} else {
|
} else {
|
||||||
@@ -2181,7 +2181,7 @@
|
|||||||
ids: ids.join(','),
|
ids: ids.join(','),
|
||||||
'flowStatus': 'Results to be submitted'
|
'flowStatus': 'Results to be submitted'
|
||||||
}
|
}
|
||||||
postAction('/project/projectCertificationInventoryEO/updateStatusBatch', query).then((res) => {
|
postAction('/platform/projectCertificationInventoryEO/updateStatusBatch', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||||
_this.getList()
|
_this.getList()
|
||||||
|
|||||||
+1
@@ -24,6 +24,7 @@
|
|||||||
:disabled="disabled"/>
|
:disabled="disabled"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
|
|||||||
+1
-1
@@ -787,7 +787,7 @@
|
|||||||
let query = {
|
let query = {
|
||||||
projectLawsInventoryId: id
|
projectLawsInventoryId: id
|
||||||
}
|
}
|
||||||
getAction('/project/projectLawsInventoryRejectCauseEO/list', query).then((res) => {
|
getAction('/platform/projectLawsInventoryRejectCauseEO/list', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.rejectCauseList = []
|
this.rejectCauseList = []
|
||||||
this.rejectCauseListOne = []
|
this.rejectCauseListOne = []
|
||||||
|
|||||||
+31
-31
@@ -1261,25 +1261,25 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
url: {
|
url: {
|
||||||
addModelList: '/project/projectLawsInventoryEO/queryPageDummy',
|
addModelList: '/platform/projectLawsInventoryEO/queryPageDummy',
|
||||||
queryConditionInventory: '/project/projectLawsInventoryEO/queryConditionInventory',
|
queryConditionInventory: '/platform/projectLawsInventoryEO/queryConditionInventory',
|
||||||
list: '/project/projectLawsInventoryEO/page',
|
list: '/platform/projectLawsInventoryEO/page',
|
||||||
addModel: 'project/projectLawsInventoryEO/add',
|
addModel: 'platform/projectLawsInventoryEO/add',
|
||||||
editModel: '/project/projectLawsInventoryEO/edit',
|
editModel: '/platform/projectLawsInventoryEO/edit',
|
||||||
deleteBatch: '/project/projectLawsInventoryEO/deleteBatch',
|
deleteBatch: '/platform/projectLawsInventoryEO/deleteBatch',
|
||||||
deleteOne: '/project/projectLawsInventoryEO/delete',
|
deleteOne: '/platform/projectLawsInventoryEO/delete',
|
||||||
updateStatusBatch: '/project/projectLawsInventoryEO/updateStatusBatch',
|
updateStatusBatch: '/platform/projectLawsInventoryEO/updateStatusBatch',
|
||||||
matchRelevantPeople: '/project/projectLawsInventoryEO/matchRelevantPeople',
|
matchRelevantPeople: '/platform/projectLawsInventoryEO/matchRelevantPeople',
|
||||||
queryPersonByProject: '/project/projectRelatedPersonnel/queryPersonByProjectId',
|
queryPersonByProject: '/platform/projectRelatedPersonnel/queryPersonByProjectId',
|
||||||
importZipUrl: '/project/projectLawsInventoryEO/importData',
|
importZipUrl: '/platform/projectLawsInventoryEO/importData',
|
||||||
exportTemplate: '/project/projectLawsInventoryEO/exportTemplate',
|
exportTemplate: '/platform/projectLawsInventoryEO/exportTemplate',
|
||||||
exportData: '/project/projectLawsInventoryEO/exportData',
|
exportData: '/platform/projectLawsInventoryEO/exportData',
|
||||||
setBatch: '/project/projectLawsInventoryEO/setBatch',//批量设置
|
setBatch: '/platform/projectLawsInventoryEO/setBatch',//批量设置
|
||||||
copyUrl: '/project/projectLawsInventoryEO/copyInfoByIds',//复制
|
copyUrl: '/platform/projectLawsInventoryEO/copyInfoByIds',//复制
|
||||||
transferUrl: '/project/projectLawsInventoryEO/getPageInfoDummy',//调取
|
transferUrl: '/platform/projectLawsInventoryEO/getPageInfoDummy',//调取
|
||||||
ExportReportUrl: '/project/projectLawsInventoryEO/downloadDocxReport',
|
ExportReportUrl: '/platform/projectLawsInventoryEO/downloadDocxReport',
|
||||||
AndUserId: '/project/projectLibraryRoleRelEO/queryByProjectLibraryIdAndUserId',
|
AndUserId: '/platform/projectLibraryRoleRelEO/queryByProjectLibraryIdAndUserId',
|
||||||
AndUserIdEdit: '/project/projectLibraryRoleRelEO/edit'
|
AndUserIdEdit: '/platform/projectLibraryRoleRelEO/edit'
|
||||||
},
|
},
|
||||||
downLoadFileUrl: window._CONFIG['domianPreviewURL'] + '/sys/common/download',
|
downLoadFileUrl: window._CONFIG['domianPreviewURL'] + '/sys/common/download',
|
||||||
downLoadImgUrl: window._CONFIG['domianWebImgURL'] + '/sys/common/download',
|
downLoadImgUrl: window._CONFIG['domianWebImgURL'] + '/sys/common/download',
|
||||||
@@ -1655,7 +1655,7 @@
|
|||||||
let query = {
|
let query = {
|
||||||
projectLibraryId: this.$route.query.id
|
projectLibraryId: this.$route.query.id
|
||||||
}
|
}
|
||||||
getAction('/project/projectRelatedPersonnel/queryEngineeringInterfacePersonByProjectId', query).then((res) => {
|
getAction('/platform/projectRelatedPersonnel/queryEngineeringInterfacePersonByProjectId', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
let engineeringInterfacePerson = {
|
let engineeringInterfacePerson = {
|
||||||
value: 'engineeringInterfacePerson',
|
value: 'engineeringInterfacePerson',
|
||||||
@@ -1681,7 +1681,7 @@
|
|||||||
let query = {
|
let query = {
|
||||||
projectLibraryId: this.$route.query.id
|
projectLibraryId: this.$route.query.id
|
||||||
}
|
}
|
||||||
getAction('/project/projectLawsInventoryEO/queryDutyPersonByProjectId', query).then((res) => {
|
getAction('/platform/projectLawsInventoryEO/queryDutyPersonByProjectId', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
let designDuty = {
|
let designDuty = {
|
||||||
value: 'designDutyId',
|
value: 'designDutyId',
|
||||||
@@ -1708,7 +1708,7 @@
|
|||||||
let query = {
|
let query = {
|
||||||
projectLibraryId: this.$route.query.id
|
projectLibraryId: this.$route.query.id
|
||||||
}
|
}
|
||||||
getAction('/project/projectLawsInventoryEO/queryDutyPersonByProjectId', query).then((res) => {
|
getAction('/platform/projectLawsInventoryEO/queryDutyPersonByProjectId', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
let verifyDuty = {
|
let verifyDuty = {
|
||||||
value: 'verifyDutyId',
|
value: 'verifyDutyId',
|
||||||
@@ -1812,7 +1812,7 @@
|
|||||||
|
|
||||||
//获取切换角色的数据
|
//获取切换角色的数据
|
||||||
getRoleByUserId(callback) {
|
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) {
|
if (res.success) {
|
||||||
this.roleSwitchingList = res.result || []
|
this.roleSwitchingList = res.result || []
|
||||||
} else {
|
} else {
|
||||||
@@ -2083,7 +2083,7 @@
|
|||||||
operateType: operateType
|
operateType: operateType
|
||||||
}
|
}
|
||||||
this.confirmLoadingQuestion = true
|
this.confirmLoadingQuestion = true
|
||||||
postAction('project/projectLawsInventoryEO/expediting', query).then((res) => {
|
postAction('platform/projectLawsInventoryEO/expediting', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.selectedRowKeys = []
|
this.selectedRowKeys = []
|
||||||
@@ -2248,7 +2248,7 @@
|
|||||||
let _this = this
|
let _this = this
|
||||||
_this.confirmLoadingReset = true
|
_this.confirmLoadingReset = true
|
||||||
let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys))
|
let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys))
|
||||||
postAction('/project/projectLawsInventoryEO/change', {
|
postAction('/platform/projectLawsInventoryEO/change', {
|
||||||
ids: idList.join(','),
|
ids: idList.join(','),
|
||||||
projectLibraryId: _this.$route.query.id,
|
projectLibraryId: _this.$route.query.id,
|
||||||
operateType: _this.formInlineReset.operateType
|
operateType: _this.formInlineReset.operateType
|
||||||
@@ -2279,7 +2279,7 @@
|
|||||||
content: _this.$t('NoteConfirmTheChange'),
|
content: _this.$t('NoteConfirmTheChange'),
|
||||||
onOk() {
|
onOk() {
|
||||||
let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys))
|
let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys))
|
||||||
postAction('/project/projectLawsInventoryEO/change', {
|
postAction('/platform/projectLawsInventoryEO/change', {
|
||||||
ids: idList.join(','),
|
ids: idList.join(','),
|
||||||
projectLibraryId: _this.$route.query.id
|
projectLibraryId: _this.$route.query.id
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
@@ -2820,7 +2820,7 @@
|
|||||||
...this.formInline
|
...this.formInline
|
||||||
}
|
}
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
postAction('/project/projectLawsInventoryEO/studioPublish', query).then((res) => {
|
postAction('/platform/projectLawsInventoryEO/studioPublish', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.visible = false
|
this.visible = false
|
||||||
@@ -3085,7 +3085,7 @@
|
|||||||
flowStatus: 'NA',
|
flowStatus: 'NA',
|
||||||
lawsInventoryArray: this.updateFlowStatusList
|
lawsInventoryArray: this.updateFlowStatusList
|
||||||
}
|
}
|
||||||
postAction('/project/projectLawsInventoryEO/updateFlowStatusBatch', query).then((res) => {
|
postAction('/platform/projectLawsInventoryEO/updateFlowStatusBatch', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
if (this.requestsNum == 0) {
|
if (this.requestsNum == 0) {
|
||||||
this.visible = false
|
this.visible = false
|
||||||
@@ -3124,7 +3124,7 @@
|
|||||||
projectLibraryId: this.$route.query.id,
|
projectLibraryId: this.$route.query.id,
|
||||||
ids: ids.join(',')
|
ids: ids.join(',')
|
||||||
}
|
}
|
||||||
postAction('/project/projectLawsInventoryEO/regulationOwnerReturned', query).then((res) => {
|
postAction('/platform/projectLawsInventoryEO/regulationOwnerReturned', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.selectedRowKeys = []
|
this.selectedRowKeys = []
|
||||||
@@ -3151,7 +3151,7 @@
|
|||||||
commentContent: this.$t('For') + content.join(',') + this.$t('markedRejection') + ':' + commentContent,
|
commentContent: this.$t('For') + content.join(',') + this.$t('markedRejection') + ':' + commentContent,
|
||||||
projectLibraryId: this.$route.query.id
|
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(','),
|
projectLawsInventoryId: ids.join(','),
|
||||||
rejectType: '0'
|
rejectType: '0'
|
||||||
}
|
}
|
||||||
postAction('/project/projectLawsInventoryRejectCauseEO/add', query).then((res) => {
|
postAction('/platform/projectLawsInventoryRejectCauseEO/add', query).then((res) => {
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
+1
-1
@@ -525,7 +525,7 @@
|
|||||||
let query = {
|
let query = {
|
||||||
projectLawsInventoryId: id
|
projectLawsInventoryId: id
|
||||||
}
|
}
|
||||||
getAction('/project/projectLawsInventoryRejectCauseEO/list', query).then((res) => {
|
getAction('/platform/projectLawsInventoryRejectCauseEO/list', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.rejectCauseList = []
|
this.rejectCauseList = []
|
||||||
this.rejectCauseListOne = []
|
this.rejectCauseListOne = []
|
||||||
|
|||||||
+1
-1
@@ -96,7 +96,7 @@
|
|||||||
verifyTransferUserId: this.formInline.verifyTransferUserId
|
verifyTransferUserId: this.formInline.verifyTransferUserId
|
||||||
}
|
}
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
postAction('/project/projectLawsInventoryEO/compulsoryTransfer', query).then((res) => {
|
postAction('/platform/projectLawsInventoryEO/compulsoryTransfer', query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.confirmLoading = false
|
this.confirmLoading = false
|
||||||
|
|||||||
+4
-4
@@ -326,8 +326,8 @@ export default {
|
|||||||
long: '',
|
long: '',
|
||||||
isPersonnelSelection:true,
|
isPersonnelSelection:true,
|
||||||
url: {
|
url: {
|
||||||
page: '/project/projectLawsInventoryEO/queryNotComplianList',
|
page: '/platform/projectLawsInventoryEO/queryNotComplianList',
|
||||||
exportData: '/project/projectLawsInventoryEO/exportNotComplianList'
|
exportData: '/platform/projectLawsInventoryEO/exportNotComplianList'
|
||||||
},
|
},
|
||||||
content: []
|
content: []
|
||||||
}
|
}
|
||||||
@@ -366,7 +366,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
getNameList() {
|
getNameList() {
|
||||||
getAction('/project/projectNameInfoEO/queryProjectNameList', {}).then((res) => {
|
getAction('/platform/projectNameInfoEO/queryProjectNameList', {}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.projectNameList = res.result || []
|
this.projectNameList = res.result || []
|
||||||
} else {
|
} else {
|
||||||
@@ -475,7 +475,7 @@ export default {
|
|||||||
this.$confirm({
|
this.$confirm({
|
||||||
content: _this.$t('ConfirmDelete'),
|
content: _this.$t('ConfirmDelete'),
|
||||||
onOk() {
|
onOk() {
|
||||||
deleteAction('/project/problemManagementEO/deleteBatch', { ids: record.uuid }).then((res) => {
|
deleteAction('/platform/problemManagementEO/deleteBatch', { ids: record.uuid }).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||||
_this.getList()
|
_this.getList()
|
||||||
|
|||||||
+1
-1
@@ -45,7 +45,7 @@
|
|||||||
return {
|
return {
|
||||||
loading: false,
|
loading: false,
|
||||||
url: {
|
url: {
|
||||||
getProjectDetailsStatistics: '/project/projectLibraryBase/getProjectDetailsStatistics'
|
getProjectDetailsStatistics: '/platform/projectLibraryBase/getProjectDetailsStatistics'
|
||||||
},
|
},
|
||||||
mainTopNum: 0,
|
mainTopNum: 0,
|
||||||
mainLeftNum: 0,
|
mainLeftNum: 0,
|
||||||
|
|||||||
+1
-1
@@ -57,7 +57,7 @@
|
|||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
uploadQuery: {},
|
uploadQuery: {},
|
||||||
url: {
|
url: {
|
||||||
editModel: '/project/projectLawsInventoryEO/edit'
|
editModel: '/platform/projectLawsInventoryEO/edit'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
+1
-1
@@ -333,7 +333,7 @@ export default {
|
|||||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
|
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
|
||||||
postAction('project/projectLawsInventoryEO/add', {
|
postAction('platform/projectLawsInventoryEO/add', {
|
||||||
dummyInventoryBaseId: this.dummyInventoryBaseId,
|
dummyInventoryBaseId: this.dummyInventoryBaseId,
|
||||||
projectLibraryId: this.$route.query.id,
|
projectLibraryId: this.$route.query.id,
|
||||||
dummyids: selectedRowKeys.join(','),
|
dummyids: selectedRowKeys.join(','),
|
||||||
|
|||||||
Reference in New Issue
Block a user