Commit 84bde72e authored by “yiyousong”'s avatar “yiyousong”

修改部门编号显示

parent 83beff3e
......@@ -63,21 +63,17 @@
</span>
</template>
<!-- 部门 -->
<template slot="belongDept" slot-scope="text">
{{ text.belongDept ? text.belongDept : "--" }}
<template slot="deptCode" slot-scope="text">
{{ text.deptCode ? text.deptCode : "--" }}
</template>
<!-- 到现场次数 -->
<template slot="num" slot-scope="text">
<span
v-if="text.windowToTheSceneNum && text.windowToTheSceneNum != ''"
>{{ text.windowToTheSceneNum }}</span
>
<span
v-else-if="
text.onlineToTheSceneNum && text.onlineToTheSceneNum != ''
"
>{{ text.onlineToTheSceneNum }}</span
>
<span v-if="text.windowToTheSceneNum">{{
text.windowToTheSceneNum
}}</span>
<span v-else-if="text.onlineToTheSceneNum">{{
text.onlineToTheSceneNum
}}</span>
<span v-else>--</span>
</template>
<!-- 操作 -->
......@@ -152,8 +148,8 @@
</span>
</template>
<!-- 部门 -->
<template slot="belongDept" slot-scope="text">
{{ text.belongDept ? text.belongDept : "--" }}
<template slot="deptCode" slot-scope="text">
{{ text.deptCode ? text.deptCode : "--" }}
</template>
<template slot="action" slot-scope="text">
<a href="javascript:;" class="jion" @click="handleIn(text.id)"
......@@ -204,10 +200,10 @@ const leftColumns = [
scopedSlots: { customRender: "index" },
},
{
title: "部门",
title: "部门编号",
width: "20%",
scopedSlots: {
customRender: "belongDept",
customRender: "deptCode",
},
},
{
......@@ -239,10 +235,10 @@ const rightColumns = [
scopedSlots: { customRender: "num" },
},
{
title: "部门",
title: "部门编号",
width: "20%",
scopedSlots: {
customRender: "belongDept",
customRender: "deptCode",
},
},
{
......
......@@ -105,8 +105,8 @@
</span>
</template>
<!-- 部门 -->
<template slot="belongDept" slot-scope="text">
{{ text.belongDept ? text.belongDept : "--" }}
<template slot="deptCode" slot-scope="text">
{{ text.deptCode ? text.deptCode : "--" }}
</template>
<template slot="action" slot-scope="text">
<a href="javascript:;" class="jion" @click="handleIn(text)">关联</a>
......@@ -281,10 +281,10 @@ const rightColumns = [
scopedSlots: { customRender: "num" },
},
{
title: "部门",
title: "部门编号",
width: "20%",
scopedSlots: {
customRender: "belongDept",
customRender: "deptCode",
},
},
{
......
......@@ -428,7 +428,6 @@ export default {
}
})
.flat();
console.log(data);
this.business = this.delChildren(this.business);
},
// 新增部门
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment