Merge remote-tracking branch 'origin/feature_dev_20221010_extend' into dev_2nd_period_test
This commit is contained in:
@@ -54,6 +54,10 @@ export default {
|
|||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
},
|
},
|
||||||
|
paramsManifestId: {
|
||||||
|
type: String,
|
||||||
|
default: ''
|
||||||
|
},
|
||||||
projectLibraryId: {
|
projectLibraryId: {
|
||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
@@ -76,6 +80,8 @@ export default {
|
|||||||
return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut + '¶msTemplateId=' + this.paramsTemplateId
|
return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut + '¶msTemplateId=' + this.paramsTemplateId
|
||||||
} else if (this.projectLibraryId) {
|
} else if (this.projectLibraryId) {
|
||||||
return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut + '&projectLibraryId=' + this.projectLibraryId
|
return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut + '&projectLibraryId=' + this.projectLibraryId
|
||||||
|
} else if (this.paramsManifestId) {
|
||||||
|
return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut + '¶msManifestId=' + this.paramsManifestId
|
||||||
}
|
}
|
||||||
return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut
|
return window._CONFIG['domianURL'] + '/' + this.url.importZipUrl + '?cut=' + this.cut
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,8 +5,12 @@
|
|||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :md="6" :sm="10">
|
<a-col :md="6" :sm="10">
|
||||||
<a-form-item :label="$t('Collectlist')">
|
<a-form-item :label="$t('Collectlist')">
|
||||||
<a-select v-model="queryParam.ctype" @change="getonChange" :getPopupContainer="triggerNode => triggerNode.parentNode" :popper-append-to-body="false">
|
<a-select v-model="queryParam.ctype" @change="getonChange" style='width: 183px' :getPopupContainer="triggerNode => triggerNode.parentNode" :popper-append-to-body="false">
|
||||||
<a-select-option v-for="d in options" :key="d.value" :value="d.value" >{{ d.label }}</a-select-option>
|
<a-select-option v-for="d in options" :key="d.value" :value="d.value" >
|
||||||
|
<span style="display: inline-block;width: 80%" :title=" d.label">
|
||||||
|
{{ d.label }}
|
||||||
|
</span>
|
||||||
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -366,6 +370,12 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.box-input {
|
||||||
|
display: inline-block;
|
||||||
|
width: calc(70% - 100px);
|
||||||
|
height: 38px;
|
||||||
|
margin-top: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
.box-content-right {
|
.box-content-right {
|
||||||
width: calc(50% - 12px);
|
width: calc(50% - 12px);
|
||||||
|
|||||||
@@ -210,6 +210,16 @@
|
|||||||
<a-icon type="delete"/>
|
<a-icon type="delete"/>
|
||||||
{{$t('sendBack')}}
|
{{$t('sendBack')}}
|
||||||
</div>
|
</div>
|
||||||
|
<!-- 导入-->
|
||||||
|
<div class="operator-text" v-if='currentPersonRole == "dre"'>
|
||||||
|
<ImportFileOnlyList :url="url" :isTrue="false" :accept="'.zip'" :paramsManifestId='this.$route.query.id' @getList='getList'/>
|
||||||
|
</div>
|
||||||
|
<!-- 填写人导出-->
|
||||||
|
<div @click="handleExportDre" class="operator-text"
|
||||||
|
v-if='currentPersonRole == "dre"'>
|
||||||
|
<a-icon type="export"/>
|
||||||
|
{{$t('export')}}
|
||||||
|
</div>
|
||||||
<!-- 强制撤回-->
|
<!-- 强制撤回-->
|
||||||
<div @click="compulsoryWithdrawaljurisdiction" class="operator-text"
|
<div @click="compulsoryWithdrawaljurisdiction" class="operator-text"
|
||||||
v-if='currentPersonRole == "homo" || currentPersonRole == "sdt"'>
|
v-if='currentPersonRole == "homo" || currentPersonRole == "sdt"'>
|
||||||
@@ -453,6 +463,7 @@
|
|||||||
import AdjustareaSofrespon from '@/components/AdjustareaSofrespon/index'
|
import AdjustareaSofrespon from '@/components/AdjustareaSofrespon/index'
|
||||||
import ReferenceParameter from '@/components/ReferenceParameter/index'
|
import ReferenceParameter from '@/components/ReferenceParameter/index'
|
||||||
import AssignedBy from '@/components/AssignedBy/index'
|
import AssignedBy from '@/components/AssignedBy/index'
|
||||||
|
import ImportFileOnlyList from '@/components/ImportFileOnlyList/index'
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
@@ -465,6 +476,7 @@
|
|||||||
ParameterLibraryAdd,
|
ParameterLibraryAdd,
|
||||||
AssignedBy,
|
AssignedBy,
|
||||||
AdjustareaSofrespon,
|
AdjustareaSofrespon,
|
||||||
|
ImportFileOnlyList,
|
||||||
TaskCutOffTime,
|
TaskCutOffTime,
|
||||||
ReferenceParameter,
|
ReferenceParameter,
|
||||||
SynchronousSubmissionLibrary,
|
SynchronousSubmissionLibrary,
|
||||||
@@ -603,6 +615,7 @@
|
|||||||
getLoginUserType: 'params/collectManifest/getLoginUserType', // 获取当前登陆人
|
getLoginUserType: 'params/collectManifest/getLoginUserType', // 获取当前登陆人
|
||||||
getquerySdtList: 'params/collectManifest/querySdtList', // 获取工程接口人的列表
|
getquerySdtList: 'params/collectManifest/querySdtList', // 获取工程接口人的列表
|
||||||
updateSdt: 'params/collectManifest/updateSdt', // 提交工程接口人
|
updateSdt: 'params/collectManifest/updateSdt', // 提交工程接口人
|
||||||
|
importZipUrl: 'params/collectManifest/importDre', // 导入
|
||||||
deleteBatch: 'params/collectManifest/deleteBatch'
|
deleteBatch: 'params/collectManifest/deleteBatch'
|
||||||
},
|
},
|
||||||
loading: false,
|
loading: false,
|
||||||
@@ -619,6 +632,7 @@
|
|||||||
rowId: '',
|
rowId: '',
|
||||||
version: 0,
|
version: 0,
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
|
importsVisible: false,
|
||||||
itemId: '',
|
itemId: '',
|
||||||
selectedRowKeysValue: [], // table列表所选得数据
|
selectedRowKeysValue: [], // table列表所选得数据
|
||||||
token: Vue.ls.get(ACCESS_TOKEN),
|
token: Vue.ls.get(ACCESS_TOKEN),
|
||||||
@@ -903,6 +917,39 @@
|
|||||||
this.textLoading = false
|
this.textLoading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
//填写人导出
|
||||||
|
handleExportDre(){
|
||||||
|
console.log(this.selectedRowKeys)
|
||||||
|
this.$message.success(this.$t('Intheexport'))
|
||||||
|
let long = localStorage.getItem('language')
|
||||||
|
this.cut = ''
|
||||||
|
if (long && long === 'zh-cn') {
|
||||||
|
this.cut = 'cn'
|
||||||
|
} else if (long && long === 'en-us') {
|
||||||
|
this.cut = 'en'
|
||||||
|
}
|
||||||
|
let query = {
|
||||||
|
paramsManifestId: this.paramsManifest.id,
|
||||||
|
cut: this.cut,
|
||||||
|
ids: this.selectedRowKeys.join(','),
|
||||||
|
exportName:this.$route.query.projectName + '(' + this.$route.query.title + ')'
|
||||||
|
}
|
||||||
|
getAction('/params/collectManifest/exportDre', query).then((res) => {
|
||||||
|
if (res && !res.success) {
|
||||||
|
this.$message.error(res.message)
|
||||||
|
}
|
||||||
|
this.textLoading = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
getList(){
|
||||||
|
this.$refs.CollectionTabel.getTableList(this.queryParamQuery)
|
||||||
|
},
|
||||||
|
iVisible(val,num) {
|
||||||
|
this.importsVisible = val
|
||||||
|
if (num == 1){
|
||||||
|
eventBUs.$emit('searchGetData')
|
||||||
|
}
|
||||||
|
},
|
||||||
// 高级搜索
|
// 高级搜索
|
||||||
handleSuperQuery(params, matchType) {
|
handleSuperQuery(params, matchType) {
|
||||||
let sqp = {}
|
let sqp = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user