Authored by wangtao

【1162】实现页面批量更改主辅负责人的操作,在各组更换业务相关负责人时,能在页面进行批量更改

Showing 22 changed files with 96 additions and 12 deletions
... ... @@ -19,6 +19,9 @@
</div>
</el-col>
</el-row>
<el-row style="font-size: 12px;color: grey;padding: 6px;">
{{item.ddicDesc}}
</el-row>
<el-row class="margin-bottom-50" style="margin-top: 3px">
<el-col :span="24" class="table-height">
<cm-table-page :columns="data.columns"
... ...
... ... @@ -8,7 +8,12 @@ export default {
},
data() {
},
props: {},
props: {
item:{
type:Object,
default:{}
}
},
setup: function (props, {attrs, slots, emit}) {
const {proxy} = Vue.getCurrentInstance();
//列表高度
... ...
... ... @@ -19,6 +19,9 @@
</div>
</el-col>
</el-row>
<el-row style="font-size: 12px;color: grey;padding: 6px;">
{{item.ddicDesc}}
</el-row>
<el-row class="margin-bottom-50" style="margin-top: 3px">
<el-col :span="24" class="table-height">
<cm-table-page :columns="data.columns"
... ...
... ... @@ -8,7 +8,12 @@ export default {
},
data() {
},
props: {},
props: {
item:{
type:Object,
default:{}
}
},
setup: function (props, {attrs, slots, emit}) {
const {proxy} = Vue.getCurrentInstance();
//列表高度
... ...
... ... @@ -31,6 +31,9 @@
<el-button type="primary" @click="changeAdmin()" size="small" style="margin-left: 6px">变更</el-button>
</div>
</el-row>-->
<el-row style="font-size: 12px;color: grey;padding: 6px;">
{{item.ddicDesc}}
</el-row>
<el-row class="margin-bottom-50" style="margin-top: 3px">
<el-col :span="24" class="table-height">
<cm-table-page :columns="columns"
... ...
... ... @@ -9,6 +9,10 @@ export default {
data() {
},
props: {
item:{
type:Object,
default:{}
}
},
setup: function (props, {attrs, slots, emit}) {
const {proxy} = Vue.getCurrentInstance();
... ...
... ... @@ -19,11 +19,13 @@
</div>
</el-col>
</el-row>
<el-row style="font-size: 12px;color: grey;padding: 6px;">
{{item.ddicDesc}}
</el-row>
<el-row class="margin-bottom-50" style="margin-top: 3px">
<el-col :span="24" class="table-height">
<el-col :span="24" class="table-height tree-table">
<cm-table-page :columns="data.columns"
:dataList="data.tableData"
:treeProps="{ children: 'children', hasChildren: 'hasChildren' }"
:total="data.count"
:pageSize="pageSize"
@loaddata="loadTableDataList"
... ... @@ -34,6 +36,8 @@
:loading="loading"
:showPage="true"
:showTools="false"
:getRowKeys="'busId'"
:defaultExpand="true"
:height="(height - 200)">
<template #default="{row,prop,column}">
</template>
... ...
... ... @@ -8,7 +8,12 @@ export default {
},
data() {
},
props: {},
props: {
item:{
type:Object,
default:{}
}
},
setup: function (props, {attrs, slots, emit}) {
const {proxy} = Vue.getCurrentInstance();
//列表高度
... ... @@ -28,7 +33,7 @@ export default {
label: "名称",
width: "250",
sortable: true,
align: 'center'
align: 'left'
}, {
prop: "nickname",
label: "负责人",
... ... @@ -111,7 +116,6 @@ export default {
}).sort(function (a, b) {
return a.sort - b.sort
})
dataVal.tableData = tableData;
dataVal.count = count;
}
... ...
... ... @@ -19,6 +19,9 @@
</div>
</el-col>
</el-row>
<el-row style="font-size: 12px;color: grey;padding: 6px;">
{{item.ddicDesc}}
</el-row>
<el-row class="margin-bottom-50" style="margin-top: 3px">
<el-col :span="24" class="table-height">
<cm-table-page :columns="data.columns"
... ...
... ... @@ -8,7 +8,12 @@ export default {
},
data() {
},
props: {},
props: {
item:{
type:Object,
default:{}
}
},
setup: function (props, {attrs, slots, emit}) {
const {proxy} = Vue.getCurrentInstance();
//列表高度
... ...
... ... @@ -52,7 +52,7 @@
</el-row>
<el-row>
<el-col :span="24">
<component :is="activeName" ref="roomDetail" />
<component :is="activeName" :item="itemInfo" ref="roomDetail" />
</el-col>
</el-row>
</div>
... ...
... ... @@ -42,13 +42,20 @@ export default {
const {proxy} = Vue.getCurrentInstance();
const tabData=Vue.ref();//页签列表数据
const activeName = Vue.ref('');//标签页显示的页签名称
let itemInfo = Vue.ref({});
let selectModel=Vue.ref([]);//导出列表选中的数据
let title=Vue.ref('导出列表');//导出列表弹框名称
let show=Vue.ref(false);//导出列表弹框是否显示
let isAll=Vue.ref(1);//导出全部或者部分
//页签点击事件
const handleClick = (tab, event) => {
console.log(tab, event)
//console.log(tab, event)
let code = tab.props.name;
tabData.value.filter((item) =>{
if(item.ddicCode == code) {
itemInfo.value = item;
}
})
}
//导出点击事件
const exportClick=()=>{
... ... @@ -89,6 +96,7 @@ export default {
if (res && res.data && res.data.length>0) {
tabData.value = res.data.sort((a,b)=>a.ddicSort-b.ddicSort);
activeName.value=tabData.value[0].ddicCode;
itemInfo.value = tabData.value[0];
}
})
}
... ... @@ -108,7 +116,8 @@ export default {
hidedialog,
okExport,
clickAll,
isAll
isAll,
itemInfo
}
}
}
... ...
... ... @@ -36,6 +36,9 @@
<el-button type="primary" @click="changeAdmin()" size="small" style="margin-left: 6px">变更</el-button>
</div>
</el-row>-->
<el-row style="font-size: 12px;color: grey;padding: 6px;">
{{item.ddicDesc}}
</el-row>
<el-row class="margin-bottom-50" style="margin-top: 3px">
<el-col :span="24" class="table-height">
<cm-table-page :columns="columns"
... ...
... ... @@ -9,6 +9,10 @@ export default {
data() {
},
props: {
item:{
type:Object,
default:{}
}
},
setup: function (props, {attrs, slots, emit}) {
const {proxy} = Vue.getCurrentInstance();
... ...
... ... @@ -34,6 +34,9 @@
<el-button type="primary" @click="changeAdmin()" size="small" style="margin-left: 6px">变更</el-button>
</div>
</el-row>-->
<el-row style="font-size: 12px;color: grey;padding: 6px;">
{{item.ddicDesc}}
</el-row>
<el-row class="margin-bottom-50" style="margin-top: 3px">
<el-col :span="24" class="table-height">
<cm-table-page :columns="columns"
... ...
... ... @@ -9,6 +9,10 @@ export default {
data() {
},
props: {
item:{
type:Object,
default:{}
}
},
setup: function (props, {attrs, slots, emit}) {
const {proxy} = Vue.getCurrentInstance();
... ...
... ... @@ -34,6 +34,9 @@
<el-button type="primary" @click="changeAdmin()" size="small" style="margin-left: 6px">变更</el-button>
</div>
</el-row>-->
<el-row style="font-size: 12px;color: grey;padding: 6px;">
{{item.ddicDesc}}
</el-row>
<el-row class="margin-bottom-50" style="margin-top: 3px">
<el-col :span="24" class="table-height tree-table">
<cm-table-page :columns="columns"
... ...
... ... @@ -9,6 +9,10 @@ export default {
data() {
},
props: {
item:{
type:Object,
default:{}
}
},
setup: function (props, {attrs, slots, emit}) {
const {proxy} = Vue.getCurrentInstance();
... ...
... ... @@ -21,6 +21,9 @@
&lt;!&ndash; <el-button type="primary" @click="changeAdmin()" size="small" style="margin-left: 6px">变更</el-button>&ndash;&gt;
</div>
</el-row>-->
<el-row style="font-size: 12px;color: grey;padding: 6px;">
{{item.ddicDesc}}
</el-row>
<el-row class="margin-bottom-50" style="margin-top: 3px">
<el-col :span="24" class="table-height">
<cm-table-page :columns="columns"
... ...
... ... @@ -9,6 +9,10 @@ export default {
data() {
},
props: {
item:{
type:Object,
default:{}
}
},
setup: function (props, {attrs, slots, emit}) {
const {proxy} = Vue.getCurrentInstance();
... ...
... ... @@ -19,6 +19,9 @@
</div>
</el-col>
</el-row>
<el-row style="font-size: 12px;color: grey;padding: 6px;">
{{item.ddicDesc}}
</el-row>
<el-row class="margin-bottom-50" style="margin-top: 3px">
<el-col :span="24" class="table-height">
<cm-table-page :columns="data.columns"
... ...
... ... @@ -8,7 +8,12 @@ export default {
},
data() {
},
props: {},
props: {
item:{
type:Object,
default:{}
}
},
setup: function (props, {attrs, slots, emit}) {
const {proxy} = Vue.getCurrentInstance();
//列表高度
... ...