修改表头拖拽
This commit is contained in:
@@ -145,7 +145,7 @@ const ResizeHeaderOne = function(val, name ,minWidths) {
|
||||
)
|
||||
}
|
||||
}
|
||||
console.log(restProps)
|
||||
console.log(restProps,11)
|
||||
let className = ''
|
||||
if ((restProps.attrs && restProps.attrs.colSpan && restProps.attrs.colSpan == 1) || (restProps.attrs && restProps.attrs.colSpan && restProps.attrs.colSpan > 0)){
|
||||
className = ' second'
|
||||
|
||||
@@ -97,6 +97,34 @@
|
||||
<div class="table-operator"
|
||||
v-if="(isRoleSwitching && !isDisplay) || (!isDisplay && roleSwitchingList.length > 1) || isDisplay"
|
||||
style="overflow:hidden;margin-bottom: 20px">
|
||||
<div style="float: right;margin-top: 1px; margin-left: 20px">
|
||||
<a-popconfirm :visible="customizevisible" overlayClassName='popconfirmmize' placement="bottomRight" >
|
||||
<template slot="title" id="popconfirmmize">
|
||||
<div style="height:320px;overflow:scroll;overflow-x: auto;">
|
||||
<a-checkbox
|
||||
style='margin-bottom: 22px;'
|
||||
v-if="customizeList && customizeList.length"
|
||||
v-model="checkAll"
|
||||
:indeterminate="indeterminate"
|
||||
@change="onCheckAllChange"
|
||||
>{{$t('selectAll')}}
|
||||
</a-checkbox>
|
||||
<a-checkbox-group @change="onChange" v-model="checkedList" class="customize-text">
|
||||
<a-checkbox class="customize-text-title" :disabled='item.disabled' v-for="(item, key) in customizeList" :key="key" :value="item.field">{{ item.name }}
|
||||
</a-checkbox>
|
||||
</a-checkbox-group>
|
||||
<div class="drawer-bootom-button">
|
||||
<a-button @click="cancel" style="margin-right: 16px">{{$t('cancel')}}</a-button>
|
||||
<a-button @click="handleSubmit" type="primary" :loading="confirmLoading">{{$t('determine')}}</a-button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<div class="operator-text" style="position: relative" @click='getcustomize'>
|
||||
<a-icon type="setting"/>
|
||||
{{ $t('customize') }}
|
||||
</div>
|
||||
</a-popconfirm>
|
||||
</div>
|
||||
<div style="float: left;margin-bottom: 0px;margin-left: 20px" v-if="isDisplay">
|
||||
<div class="operator-text" @click="initiateListConfirmationcClick('清单')">
|
||||
<a-icon type="solution"/>
|
||||
@@ -107,7 +135,7 @@
|
||||
{{ $t('initiateTaskConfirmation') }}
|
||||
</div>
|
||||
</div>
|
||||
<div style="float: right;margin-top: 1px;" v-if="isDisplay">
|
||||
<div style="float: right;margin-top: 1px;;margin-right: 20px" v-if="isDisplay">
|
||||
<a-popconfirm overlayClassName='popconfirm' placement="bottomRight">
|
||||
<template slot="title" id="popconfirm">
|
||||
<div style="height:320px;overflow:scroll;overflow-x: auto;">
|
||||
@@ -161,32 +189,6 @@
|
||||
<span style="position: absolute;left: -13px;top: -4px">...</span>{{ $t('more') }}
|
||||
</div>
|
||||
</a-popconfirm>
|
||||
<a-popconfirm :visible="customizevisible" overlayClassName='popconfirmmize' placement="bottomRight" >
|
||||
<template slot="title" id="popconfirmmize">
|
||||
<div style="height:320px;overflow:scroll;overflow-x: auto;">
|
||||
<a-checkbox
|
||||
style='margin-bottom: 22px;'
|
||||
v-if="customizeList && customizeList.length"
|
||||
v-model="checkAll"
|
||||
:indeterminate="indeterminate"
|
||||
@change="onCheckAllChange"
|
||||
>{{$t('selectAll')}}
|
||||
</a-checkbox>
|
||||
<a-checkbox-group @change="onChange" v-model="checkedList" class="customize-text">
|
||||
<a-checkbox class="customize-text-title" :disabled='item.disabled' v-for="(item, key) in customizeList" :key="key" :value="item.field">{{ item.name }}
|
||||
</a-checkbox>
|
||||
</a-checkbox-group>
|
||||
<div class="drawer-bootom-button">
|
||||
<a-button @click="cancel" style="margin-right: 16px">{{$t('cancel')}}</a-button>
|
||||
<a-button @click="handleSubmit" type="primary" :loading="confirmLoading">{{$t('determine')}}</a-button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<div class="operator-text" style="position: relative" @click='getcustomize'>
|
||||
<a-icon type="setting"/>
|
||||
{{ $t('customize') }}
|
||||
</div>
|
||||
</a-popconfirm>
|
||||
<!-- <div class="operator-text" @click="customizeClick">-->
|
||||
<!-- <a-icon type="setting"/>-->
|
||||
<!-- {{ $t('customize') }}-->
|
||||
@@ -210,7 +212,7 @@
|
||||
{{ $t('roleSwitching') }}
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="!isDisplay" style="float: right;margin-top: 1px;margin-bottom: 0px">
|
||||
<div v-if="!isDisplay" style="float: right;margin-top: 1px;margin-bottom: 0px;margin-right: 20px">
|
||||
<div @click="handleExport" v-has="'projectLawsInventory:exportData'"
|
||||
v-if="isRoleSwitching || formInlineRoleSwitching.roleSwitchingCode == '12'"
|
||||
class="operator-text">
|
||||
|
||||
Reference in New Issue
Block a user