参数项清单添加引用参数列功能
This commit is contained in:
@@ -144,6 +144,16 @@
|
||||
<a-icon type="solution"/>
|
||||
{{$t('FreezeConfiguration')}}
|
||||
</div>
|
||||
<!-- 引用参数列-->
|
||||
<div @click="Referenceparametercolumn" class="operator-text-title" v-if='currentPersonRole == "homo" '>
|
||||
<a-icon type="plus"/>
|
||||
{{$t('Referenceparametercolumn')}}
|
||||
</div>
|
||||
<!-- 更新参数列-->
|
||||
<div @click="Updateparametercolumn" class="operator-text-title" v-if='currentPersonRole == "homo" '>
|
||||
<a-icon type="check-circle"/>
|
||||
{{$t('Updateparametercolumn')}}
|
||||
</div>
|
||||
<!-- 同步上报库 -->
|
||||
<div @click="handleSynchronousReportLibraryJurisdiction" class="operator-text-title" v-if='currentPersonRole == "homo"'>
|
||||
<a-icon type="setting"/>
|
||||
@@ -331,6 +341,24 @@
|
||||
:selectedRowKeysArray='selectedRowKeysArray'
|
||||
@areaVisibsynchronous='areaVisibsynchronous = false'/>
|
||||
</a-modal>
|
||||
<!-- 引用参数列-->
|
||||
<a-drawer
|
||||
class="show-drawer"
|
||||
:maskClosable="false"
|
||||
:visible="parametercolumn"
|
||||
style="height: 100%;overflow: auto;padding-bottom: 53px;"
|
||||
placement="right"
|
||||
@close="drawerhandleCancel"
|
||||
:title="$t('Referenceparametercolumn')"
|
||||
width="850px"
|
||||
:footer="null">
|
||||
<parameter-column v-if='parametercolumn' @areaVisible='drawerhandleCancel'
|
||||
:templateTitle='templatetitle'
|
||||
:selectedRowKeyS='selectedRowKeys' :rowId='rowId' :version='version' :url='url'
|
||||
:projectId='this.$route.query.parentId ? this.$route.query.parentId : this.$route.query.id'>
|
||||
|
||||
</parameter-column>
|
||||
</a-drawer>
|
||||
<!-- 切换角色-->
|
||||
<a-modal
|
||||
:title="$t('roleSwitching')"
|
||||
@@ -453,6 +481,7 @@
|
||||
|
||||
<script>
|
||||
import TableCollection from '@/components/tableCollection/index'
|
||||
import parameterColumn from '../dialog/parametercolumn'
|
||||
import { getAction, postAction, downloadFile } from '../../../api/manage'
|
||||
import eventBUs from '../../../common/event'
|
||||
import ParameterLibraryAdd from '@/components/ParameterLibraryAdd/index'
|
||||
@@ -474,6 +503,7 @@
|
||||
components: {
|
||||
TableCollection,
|
||||
ParameterLibraryAdd,
|
||||
parameterColumn,
|
||||
AssignedBy,
|
||||
AdjustareaSofrespon,
|
||||
ImportFileOnlyList,
|
||||
@@ -658,6 +688,7 @@
|
||||
areaVisibleAssignedby: false, // 分配填写人弹框
|
||||
areaVisibleTaskCutOffTime: false, // 截至时间弹框
|
||||
OneclickCollection:false,
|
||||
parametercolumn:false,
|
||||
Adjustareasofrespon:false,
|
||||
areaVisiblereferenceparameter: false, // 引用参数弹框
|
||||
areaVisibsynchronous: false, // 同步上报库弹框
|
||||
@@ -1300,6 +1331,14 @@
|
||||
defOneclickCollection() {
|
||||
this.$refs.OneclickCollection.searchData()
|
||||
// this.OneclickCollection = true
|
||||
},
|
||||
// 引用参数列
|
||||
Referenceparametercolumn() {
|
||||
console.log(1111)
|
||||
this.parametercolumn = true
|
||||
},
|
||||
Updateparametercolumn() {
|
||||
|
||||
},
|
||||
// // 下发收集---请求接口
|
||||
// distributionAndCollection() {
|
||||
@@ -1559,6 +1598,9 @@
|
||||
this.visibleoperationFailed = true
|
||||
}
|
||||
},
|
||||
drawerhandleCancel(val) {
|
||||
this.parametercolumn = false
|
||||
},
|
||||
// 强制撤回
|
||||
compulsoryWithdrawal() {
|
||||
let _array = []
|
||||
|
||||
Reference in New Issue
Block a user