Browse Source

更新地址

master
zongjl 3 years ago
parent
commit
4c9257e852
14 changed files with 199 additions and 97 deletions
  1. +4
    -0
      src/store/modules/base.js
  2. +6
    -6
      src/views/chain/coordinationManage/approvalCooperation.vue
  3. +14
    -7
      src/views/chain/coordinationManage/cooperateList.vue
  4. +31
    -31
      src/views/chain/industryClassify.vue
  5. +2
    -1
      src/views/second/coordinationManage/approvalCooperation/basicTarget.vue
  6. +2
    -1
      src/views/second/coordinationManage/approvalCooperation/constraint.vue
  7. +2
    -1
      src/views/second/coordinationManage/approvalCooperation/reward.vue
  8. +7
    -1
      src/views/second/search.vue
  9. +28
    -7
      src/views/second/segmentation/basicTable.vue
  10. +30
    -7
      src/views/second/segmentation/constraint.vue
  11. +44
    -28
      src/views/second/segmentation/contentDetail.vue
  12. +27
    -6
      src/views/second/segmentation/reward.vue
  13. +1
    -0
      src/views/system/dept/index.vue
  14. +1
    -1
      src/views/system/user/index.vue

+ 4
- 0
src/store/modules/base.js View File

department: [], department: [],
quota: [], quota: [],
principalList: [], principalList: [],
currentPage:null,
}, },
mutations: { mutations: {
SET_CURRENT_PAGE(state,data){
state.currentPage=data;
},
SET_DEPARTMENT(state, data) { SET_DEPARTMENT(state, data) {
state.department = data; state.department = data;
}, },

+ 6
- 6
src/views/chain/coordinationManage/approvalCooperation.vue View File

<el-table-column <el-table-column
label="申请时间" label="申请时间"
align="center" align="center"
width="150"
width="160"
prop="createTime" prop="createTime"
></el-table-column ></el-table-column
><el-table-column ><el-table-column
<el-table-column <el-table-column
label="指标名称" label="指标名称"
align="center" align="center"
width="100"
min-width="200"
prop="content" prop="content"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
<el-table-column <el-table-column
label="第一牵头部门" label="第一牵头部门"
align="center" align="center"
width="180"
width="130"
prop="leaderDeptName" prop="leaderDeptName"
> >
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<el-table-column <el-table-column
label="其它牵头部门" label="其它牵头部门"
align="center" align="center"
width="180"
width="130"
prop="otherDeptName" prop="otherDeptName"
> >
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<el-table-column <el-table-column
label="配合部门" label="配合部门"
align="center" align="center"
width="180"
width="130"
prop="cooperateDeptName" prop="cooperateDeptName"
> >
<template slot-scope="{ row }"> <template slot-scope="{ row }">
this.warning = { this.warning = {
title: "确定不同意此申请?", title: "确定不同意此申请?",
info: info:
"点击确定后,该部门申请将驳回,如需再次添加,则管理员确认后增加",
"点击确定后,该部门申请将驳回,如需再次添加,则管理员确认后增加",
}; };
} }
}, },

+ 14
- 7
src/views/chain/coordinationManage/cooperateList.vue View File

<el-table-column <el-table-column
label="申请时间" label="申请时间"
align="center" align="center"
width="150"
width="160"
prop="createTime" prop="createTime"
></el-table-column ></el-table-column
><el-table-column ><el-table-column
label="类型" label="类型"
align="center" align="center"
width="100" width="100"
prop="type"
prop="typeName"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
label="指标名称" label="指标名称"
align="center" align="center"
width="100"
min-width="200"
prop="content" prop="content"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
<el-table-column <el-table-column
label="第一牵头部门" label="第一牵头部门"
align="center" align="center"
width="180"
width="130"
prop="leaderDeptName" prop="leaderDeptName"
> >
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<el-table-column <el-table-column
label="其它牵头部门" label="其它牵头部门"
align="center" align="center"
width="180"
width="130"
prop="otherDeptName" prop="otherDeptName"
> >
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<el-table-column <el-table-column
label="配合部门" label="配合部门"
align="center" align="center"
width="180"
width="130"
prop="cooperateDeptName" prop="cooperateDeptName"
> >
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<pre>{{ row.cooperateDeptList | formatList }}</pre> <pre>{{ row.cooperateDeptList | formatList }}</pre>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" min-width="120">
<el-table-column label="状态" align="center" width="80">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<el-link type="primary" v-if="row.status == 0">审核中</el-link> <el-link type="primary" v-if="row.status == 0">审核中</el-link>
<el-link type="primary" v-if="row.status == 1">审核通过</el-link> <el-link type="primary" v-if="row.status == 1">审核通过</el-link>
}); });
}, },
}, },
filters: {
formatList(val) {
if (val) {
return val.join("\n");
}
},
},
}; };
</script> </script>



+ 31
- 31
src/views/chain/industryClassify.vue View File

</div> </div>
<div class="operating"> <div class="operating">
<el-button size="small" type="warning" @click="add">新增</el-button> <el-button size="small" type="warning" @click="add">新增</el-button>
<el-button size="small" type="default" @click="remove()"
<!-- <el-button size="small" type="default" @click="remove()"
>批量删除</el-button >批量删除</el-button
>
> -->
<!-- <el-button size="small" type="default">批量导入</el-button> --> <!-- <el-button size="small" type="default">批量导入</el-button> -->
</div> </div>
<el-table <el-table
@selection-change="selectionChange" @selection-change="selectionChange"
v-loading="loading" v-loading="loading"
> >
<el-table-column
<!-- <el-table-column
type="selection" type="selection"
width="50" width="50"
align="center" align="center"
></el-table-column>
></el-table-column> -->
<el-table-column <el-table-column
type="index" type="index"
width="50" width="50"
this.ischecked = "edit"; this.ischecked = "edit";
}, },
remove(row) { remove(row) {
if (!row) {
// 批量删除
if (this.multipleSelection.length === 0)
return this.$message.error("请至少选择一条数据");
let ids = this.multipleSelection.map((d) => d.id);
ids.join(",");
this.$confirm("确定要删除选中表格?", "提示", { type: "warning" })
.then(() => {
this.loading = true;
api
.delete(ids)
.then(() => {
this.loading = false;
this.$message({ type: "success", message: "删除成功" });
})
.catch(() => {
this.loading = fa;
se;
this.$message.error("删失败");
})
.finally(() => {
this.getDataList();
});
})
.catch(() => 0);
} else {
// if (!row) {
// // 批量删除
// if (this.multipleSelection.length === 0)
// return this.$message.error("请至少选择一条数据");
// let ids = this.multipleSelection.map((d) => d.id);
// ids.join(",");
// this.$confirm("确定要删除选中表格?", "提示", { type: "warning" })
// .then(() => {
// this.loading = true;
// api
// .delete(ids)
// .then(() => {
// this.loading = false;
// this.$message({ type: "success", message: "删除成功" });
// })
// .catch(() => {
// this.loading = fa;
// se;
// this.$message.error("删失败");
// })
// .finally(() => {
// this.getDataList();
// });
// })
// .catch(() => 0);
// } else {
// 单个删除 // 单个删除
this.loading = true; this.loading = true;
api api
.finally(() => { .finally(() => {
this.getDataList(); this.getDataList();
}); });
}
// }
}, },
save() { save() {
this.$refs["editForm"].validate((valid) => { this.$refs["editForm"].validate((valid) => {

+ 2
- 1
src/views/second/coordinationManage/approvalCooperation/basicTarget.vue View File

@search:task="updateParams($event)" @search:task="updateParams($event)"
@export="exportData($event)" @export="exportData($event)"
:show-export="true" :show-export="true"
:approval="false"
/> />
<el-table <el-table
:data="dataList" :data="dataList"
this.warning = { this.warning = {
title: "确定不同意此申请?", title: "确定不同意此申请?",
info: info:
"点击确定后,该部门申请将驳回,如需再次添加,则管理员确认后增加",
"点击确定后,该部门申请将驳回,如需再次添加,则管理员确认后增加",
}; };
} }
}, },

+ 2
- 1
src/views/second/coordinationManage/approvalCooperation/constraint.vue View File

@search:task="updateParams($event)" @search:task="updateParams($event)"
@export="exportData($event)" @export="exportData($event)"
:show-export="true" :show-export="true"
:approval="false"
/> />
<el-table <el-table
:data="dataList" :data="dataList"
this.warning = { this.warning = {
title: "确定不同意此申请?", title: "确定不同意此申请?",
info: info:
"点击确定后,该部门申请将驳回,如需再次添加,则管理员确认后增加",
"点击确定后,该部门申请将驳回,如需再次添加,则管理员确认后增加",
}; };
} }
}, },

+ 2
- 1
src/views/second/coordinationManage/approvalCooperation/reward.vue View File

@search:task="updateParams($event)" @search:task="updateParams($event)"
@export="exportData($event)" @export="exportData($event)"
:show-export="true" :show-export="true"
:approval="false"
/> />
<el-table <el-table
:data="dataList" :data="dataList"
this.warning = { this.warning = {
title: "确定不同意此申请?", title: "确定不同意此申请?",
info: info:
"点击确定后,该部门申请将驳回,如需再次添加,则管理员确认后增加",
"点击确定后,该部门申请将驳回,如需再次添加,则管理员确认后增加",
}; };
} }
}, },

+ 7
- 1
src/views/second/search.vue View File

v-model="searchParams.content" v-model="searchParams.content"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="第一牵头部门:">
<el-form-item label="第一牵头部门:" v-if="approval">
<treeselect <treeselect
:disable-branch-nodes="true" :disable-branch-nodes="true"
v-model="searchParams.leaderDept" v-model="searchParams.leaderDept"
return 1; return 1;
}, },
}, },
approval:{
type:Boolean,
default(){
return true
}
},
showExport:{ showExport:{
type:Boolean, type:Boolean,
default(){ default(){

+ 28
- 7
src/views/second/segmentation/basicTable.vue View File

:span-method="arraySpanMethod" :span-method="arraySpanMethod"
ref="table" ref="table"
> >
<el-table-column
<el-table-column
type="index" type="index"
width="50" width="50"
align="center" align="center"
align="center" align="center"
prop="leaderUnit" prop="leaderUnit"
></el-table-column> ></el-table-column>
<el-table-column label="第一牵头部门" width="150" align="center">
<el-table-column label="第一牵头部门" width="150" align="center">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre> <pre>{{ row.leaderDeptList | formatList }}</pre>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="第一牵头部门责任领导" width="170" align="center">
<el-table-column
label="第一牵头部门责任领导"
width="170"
align="center"
>
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<pre>{{ row.leaderPrincipalList | formatList }}</pre> <pre>{{ row.leaderPrincipalList | formatList }}</pre>
</template> </template>
<pre>{{ row.otherDeptList | formatList }}</pre> <pre>{{ row.otherDeptList | formatList }}</pre>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="其他牵头部门责任领导" width="170" align="center">
<el-table-column
label="其他牵头部门责任领导"
width="170"
align="center"
>
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<pre>{{ row.otherPrincipalList | formatList }}</pre> <pre>{{ row.otherPrincipalList | formatList }}</pre>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="80" align="center"> <el-table-column label="操作" width="80" align="center">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<router-link
<!-- <router-link
:to="{ name: 'segmentation', params: { id:row.basicTaskId, type: 1 } }" :to="{ name: 'segmentation', params: { id:row.basicTaskId, type: 1 } }"
>分项</router-link >分项</router-link
>
> -->
<!-- <span @click="toSegmentation(row)">分项</span> -->
<el-link @click="toSegmentation(row)" type="primary" >分项</el-link>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
mergeSpan([ mergeSpan([
{ name: "quota1", col: [1] }, { name: "quota1", col: [1] },
{ name: "quota2", col: [2] }, { name: "quota2", col: [2] },
{ name: "content", col: [3,13] },
{ name: "content", col: [3, 13] },
]), ]),
], ],
created() { created() {
this.getDataList(); this.getDataList();
let page=this.page;
page.page=this.$store.state.base.currentPage||1;
this.$store.commit("base/SET_CURRENT_PAGE", null);
this.page=page
}, },
methods: { methods: {
toSegmentation(row) {
this.$store.commit("base/SET_CURRENT_PAGE", this.page.page);
this.$router.push({
name: "segmentation",
params: { id: row.basicTaskId, type: 1 },
});
},
updateParams(data) { updateParams(data) {
this.searchParams = data; this.searchParams = data;
this.resetCurrentPage(); this.resetCurrentPage();

+ 30
- 7
src/views/second/segmentation/constraint.vue View File

align="center" align="center"
prop="leaderUnit" prop="leaderUnit"
></el-table-column> ></el-table-column>
<el-table-column label="第一牵头部门" width="150" align="center">
<el-table-column label="第一牵头部门" width="150" align="center">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre> <pre>{{ row.leaderDeptList | formatList }}</pre>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="第一牵头部门责任领导" width="170" align="center">
<el-table-column
label="第一牵头部门责任领导"
width="170"
align="center"
>
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<pre>{{ row.leaderPrincipalList | formatList }}</pre> <pre>{{ row.leaderPrincipalList | formatList }}</pre>
</template> </template>
<pre>{{ row.otherDeptList | formatList }}</pre> <pre>{{ row.otherDeptList | formatList }}</pre>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="其他牵头部门责任领导" width="170" align="center">
<el-table-column
label="其他牵头部门责任领导"
width="170"
align="center"
>
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<pre>{{ row.otherPrincipalList | formatList }}</pre> <pre>{{ row.otherPrincipalList | formatList }}</pre>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="80" align="center"> <el-table-column label="操作" width="80" align="center">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<router-link
:to="{ name: 'segmentation', params: { id: row.rigidityConstraintId, type: 3 } }"
<!-- <router-link
:to="{
name: 'segmentation',
params: { id: row.rigidityConstraintId, type: 3 },
}"
>分项</router-link >分项</router-link
>
> -->
<el-link @click="toSegmentation(row)" type="primary">分项</el-link>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
mixins: [ mixins: [
mergeSpan([ mergeSpan([
{ name: "quota", col: [1] }, { name: "quota", col: [1] },
{ name: "content", col: [2,12] },
{ name: "content", col: [2, 12] },
]), ]),
], ],
created() { created() {
this.getDataList(); this.getDataList();
let page = this.page;
page.page = this.$store.state.base.currentPage || 1;
this.$store.commit("base/SET_CURRENT_PAGE", null);
this.page = page;
}, },
methods: { methods: {
toSegmentation(row) {
this.$store.commit("base/SET_CURRENT_PAGE", this.page.page);
this.$router.push({
name: "segmentation",
params: { id: row.rigidityConstraintId, type: 3 },
});
},
updateParams(data) { updateParams(data) {
this.searchParams = data; this.searchParams = data;
this.resetCurrentPage(); this.resetCurrentPage();

+ 44
- 28
src/views/second/segmentation/contentDetail.vue View File

<pre>{{ data.leaderDeptList | formatList }}</pre> <pre>{{ data.leaderDeptList | formatList }}</pre>
</span></el-col </span></el-col
> >
<el-col :span="5" class="grey"><span>牵头部门责任领导</span></el-col>
<el-col :span="5" class="grey"
><span>牵头部门责任领导</span></el-col
>
<el-col :span="7" <el-col :span="7"
><span> ><span>
<pre>{{ data.leaderPrincipalList | formatList }}</pre> <pre>{{ data.leaderPrincipalList | formatList }}</pre>
</span></el-col </span></el-col
> >
</el-row> </el-row>
<!-- <el-row type="flex">
<el-col :span="5" class="grey"><span>其他牵头部门</span></el-col>
<el-col :span="7"
><span>
<pre>{{ data.otherDeptList | formatList }}</pre>
</span></el-col
>
<el-col :span="5" class="grey"><span>其他牵头部门责任领导</span></el-col>
<el-col :span="7"
><span>
<pre>{{ data.otherPrincipalList | formatList }}</pre>
</span></el-col
>
</el-row> -->
<el-row type="flex"> <el-row type="flex">
<el-col :span="5" class="grey"><span>配合部门</span></el-col> <el-col :span="5" class="grey"><span>配合部门</span></el-col>
<el-col :span="7" <el-col :span="7"
<pre>{{ data.cooperateDeptList | formatList }}</pre> <pre>{{ data.cooperateDeptList | formatList }}</pre>
</span></el-col </span></el-col
> >
<el-col :span="5" class="grey"><span>配合部门责任领导</span></el-col>
<el-col :span="5" class="grey"
><span>配合部门责任领导</span></el-col
>
<el-col :span="7" <el-col :span="7"
><span> ><span>
<pre>{{ data.cooperatePrincipalList | formatList }}</pre> <pre>{{ data.cooperatePrincipalList | formatList }}</pre>
>添加</el-button >添加</el-button
> >
</div> </div>
<div>
<div style="overflow-x:scroll">
<el-table <el-table
:data="detailList" :data="detailList"
border border
highlight-current-row highlight-current-row
v-loading="tableLoading" v-loading="tableLoading"
style="min-height:400px"
style="min-height:400px;min-width:1500px"
> >
<el-table-column <el-table-column
type="index" type="index"
<el-table-column <el-table-column
label="小项内容" label="小项内容"
align="center" align="center"
min-width="120"
min-width="160"
max-width="200" max-width="200"
> >
<template slot-scope="{ row }"> <template slot-scope="{ row }">
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="第一牵头部门责任领导" align="center" width="180">
<el-table-column
label="第一牵头部门责任领导"
align="center"
width="180"
>
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<treeselect <treeselect
:disable-branch-nodes="true" :disable-branch-nodes="true"
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="其他牵头部门责任领导" align="center" width="180">
<el-table-column
label="其他牵头部门责任领导"
align="center"
width="180"
>
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<treeselect <treeselect
:disable-branch-nodes="true" :disable-branch-nodes="true"
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="配合部门责任领导" align="center" width="180">
<el-table-column
label="配合部门责任领导"
align="center"
width="180"
>
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<treeselect <treeselect
:disable-branch-nodes="true" :disable-branch-nodes="true"
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="135">
<el-table-column label="操作" align="center" >
<template slot-scope="{ row, $index }"> <template slot-scope="{ row, $index }">
<template v-if="row.add || row.edit"> <template v-if="row.add || row.edit">
<el-link <el-link
change(type, index, row) { change(type, index, row) {
if (!this.reducing) { if (!this.reducing) {
if (type == "add") { if (type == "add") {
// document.documentElement.scrollTop =
// document.documentElement.offsetHeight;
window.scroll({
top: document.documentElement.offsetHeight,
behavior: "smooth",
});
this.form = {}; this.form = {};
let data = this.data; let data = this.data;
data[map[this.type]].push({ add: true }); data[map[this.type]].push({ add: true });
} }
}, },
close() { close() {
console.log("===============");
this.$router.back(-1); this.$router.back(-1);
}, },
add(data) { add(data) {
} }
} }
for (let item of form[param]) { for (let item of form[param]) {
if (!item && item != 0) {
debugger;
if(item==0){
continue;
}
if (!item ) {
debugger
this.$message({ this.$message({
type: "warning", type: "warning",
message: "请完善信息", message: "请完善信息",
} }
} else { } else {
if (!form[param]) { if (!form[param]) {
debugger;
debugger
this.$message({ this.$message({
type: "warning", type: "warning",
message: "请完善信息", message: "请完善信息",
typeof form[param] == "string" && typeof form[param] == "string" &&
form[param].trim() == "" form[param].trim() == ""
) { ) {
debugger;
debugger
this.$message({ this.$message({
type: "warning", type: "warning",
message: "请完善信息", message: "请完善信息",
/deep/ .el-table__body-wrapper { /deep/ .el-table__body-wrapper {
overflow: visible; overflow: visible;
} }
.table{
box-sizing: border-box;
}
/deep/ .el-table--border th.gutter:last-of-type {
width:0!important;
}
</style> </style>

+ 27
- 6
src/views/second/segmentation/reward.vue View File

align="center" align="center"
prop="leaderUnit" prop="leaderUnit"
></el-table-column> ></el-table-column>
<el-table-column label="第一牵头部门" width="150" align="center">
<el-table-column label="第一牵头部门" width="150" align="center">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<pre>{{ row.leaderDeptList | formatList }}</pre> <pre>{{ row.leaderDeptList | formatList }}</pre>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="第一牵头部门责任领导" width="170" align="center">
<el-table-column
label="第一牵头部门责任领导"
width="170"
align="center"
>
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<pre>{{ row.leaderPrincipalList | formatList }}</pre> <pre>{{ row.leaderPrincipalList | formatList }}</pre>
</template> </template>
<pre>{{ row.otherDeptList | formatList }}</pre> <pre>{{ row.otherDeptList | formatList }}</pre>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="其他牵头部门责任领导" width="170" align="center">
<el-table-column
label="其他牵头部门责任领导"
width="170"
align="center"
>
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<pre>{{ row.otherPrincipalList | formatList }}</pre> <pre>{{ row.otherPrincipalList | formatList }}</pre>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="125" align="center"> <el-table-column label="操作" width="125" align="center">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<router-link
<!-- <router-link
:to="{ :to="{
name: 'segmentation', name: 'segmentation',
params: { id: row.specialPowerId, type: 2 }, params: { id: row.specialPowerId, type: 2 },
}" }"
>分项</router-link >分项</router-link
>
> -->
<el-link @click="toSegmentation(row)" type="primary">分项</el-link>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
mergeSpan([ mergeSpan([
{ name: "quota1", col: [1] }, { name: "quota1", col: [1] },
{ name: "quota2", col: [2] }, { name: "quota2", col: [2] },
{ name: "content", col: [3,13] },
{ name: "content", col: [3, 13] },
]), ]),
], ],
created() { created() {
this.getDataList(); this.getDataList();
this.getDataList();
let page = this.page;
page.page = this.$store.state.base.currentPage || 1;
this.$store.commit("base/SET_CURRENT_PAGE", null);
this.page = page;
}, },
methods: { methods: {
toSegmentation(row) {
this.$store.commit("base/SET_CURRENT_PAGE", this.page.page);
this.$router.push({
name: "segmentation",
params: { id: row.specialPowerId, type: 2 },
});
},
updateParams(data) { updateParams(data) {
this.searchParams = data; this.searchParams = data;
this.resetCurrentPage(); this.resetCurrentPage();

+ 1
- 0
src/views/system/dept/index.vue View File

return false; return false;
} }
}); });
this.query()
} else { } else {
this.$message.error(res.data.msg); this.$message.error(res.data.msg);
} }

+ 1
- 1
src/views/system/user/index.vue View File

</el-tag> </el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="deptId" label="部门" sortable="custom" show-overflow-tooltip min-width="100"/>
<el-table-column prop="deptName" label="部门" sortable="custom" show-overflow-tooltip min-width="130"/>
<el-table-column prop="levelName" label="职级" sortable="custom" show-overflow-tooltip min-width="100"/> <el-table-column prop="levelName" label="职级" sortable="custom" show-overflow-tooltip min-width="100"/>
<el-table-column prop="positionName" label="岗位" sortable="custom" show-overflow-tooltip min-width="100"/> <el-table-column prop="positionName" label="岗位" sortable="custom" show-overflow-tooltip min-width="100"/>
<el-table-column label="创建时间" sortable="custom" show-overflow-tooltip min-width="160"> <el-table-column label="创建时间" sortable="custom" show-overflow-tooltip min-width="160">

Loading…
Cancel
Save