rxswin导入对接
This commit is contained in:
@@ -50,6 +50,10 @@
|
|||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
},
|
},
|
||||||
|
version: {
|
||||||
|
type: String,
|
||||||
|
default: ''
|
||||||
|
},
|
||||||
paramsTemplateId: {
|
paramsTemplateId: {
|
||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
@@ -73,6 +77,9 @@
|
|||||||
computed: {
|
computed: {
|
||||||
importUrl() {
|
importUrl() {
|
||||||
if (this.projectId) {
|
if (this.projectId) {
|
||||||
|
if(this.version){
|
||||||
|
return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut + '&projectId=' + this.projectId +'&version=' + this.version
|
||||||
|
}
|
||||||
return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut + '&projectId=' + this.projectId
|
return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut + '&projectId=' + this.projectId
|
||||||
} else if (this.dummyInventoryBaseId) {
|
} else if (this.dummyInventoryBaseId) {
|
||||||
return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut + '&dummyInventoryBaseId=' + this.dummyInventoryBaseId
|
return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut + '&dummyInventoryBaseId=' + this.dummyInventoryBaseId
|
||||||
|
|||||||
@@ -100,8 +100,9 @@
|
|||||||
<!-- 导入-->
|
<!-- 导入-->
|
||||||
<div v-show="staFlag != '1'" class="operator-text"
|
<div v-show="staFlag != '1'" class="operator-text"
|
||||||
v-has="'rxswin:Import'">
|
v-has="'rxswin:Import'">
|
||||||
<ImportFile :url="url" :accept="'.xls'"
|
<ImportFile :url="url" :projectId="$route.query.id" :version="$route.query.projectVersion" :accept="'.xls'"
|
||||||
@getList="getPersonnelList"/>
|
:isTrue="true"
|
||||||
|
@getList="getList"/>
|
||||||
</div>
|
</div>
|
||||||
<!-- 批量删除-->
|
<!-- 批量删除-->
|
||||||
<div v-show="staFlag != '1'" class="operator-text"
|
<div v-show="staFlag != '1'" class="operator-text"
|
||||||
@@ -333,7 +334,7 @@
|
|||||||
page: '/project/projectRxswinEO/page',
|
page: '/project/projectRxswinEO/page',
|
||||||
edit: '/project/projectRelatedPersonnel/edit',
|
edit: '/project/projectRelatedPersonnel/edit',
|
||||||
exportData: '/project/projectRxswinEO/exportXls',
|
exportData: '/project/projectRxswinEO/exportXls',
|
||||||
importZipUrl: '/project/projectRelatedPersonnel/importExcel',
|
importZipUrl: '/project/projectRxswinEO/importExcel',
|
||||||
queryCertificationEngineer: '/project/projectRelatedPersonnel/queryCertificationEngineer'
|
queryCertificationEngineer: '/project/projectRelatedPersonnel/queryCertificationEngineer'
|
||||||
},
|
},
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user