Commit a5776103 authored by renjintao's avatar renjintao

page

parents 24ae67a5 8bbe81be
<template> <template>
<div class="flex fd tree-menu"> <div class="flex fd tree-menu">
<h3> <!-- 任务结构 -->
任务结构 <div class="p-list">
<div class="fr mr10 mt10"> <h3>
<ButtonGroup class="fr" size="small"> <Dropdown @on-click="clickItem">
<Button :icon="expand ? 'md-arrow-dropright' : 'md-arrow-dropdown'" @click="toggle" title="展开/合并"></Button> <a href="javascript:void(0)">
<Button icon="md-refresh" title="刷新" @click="loadTree"></Button> {{ downName }}
<Button icon="md-rewind" title="收起" @click="hide"></Button> <Icon type="ios-arrow-down"></Icon>
</ButtonGroup> </a>
</div> <DropdownMenu slot="list">
</h3> <DropdownItem
v-for="item in projectList"
:key="item.id"
:name="item.id"
>{{ item.title }}</DropdownItem
>
</DropdownMenu>
</Dropdown>
</h3>
<div class="mr10 mt10 icon-d">
<ButtonGroup class="fr" size="small">
<Button
:icon="expand ? 'md-arrow-dropright' : 'md-arrow-dropdown'"
@click="toggle"
title="展开/合并"
></Button>
<Button
icon="md-refresh"
title="刷新"
@click="loadTree(curId)"
></Button>
<Button icon="md-rewind" title="收起" @click="hide"></Button>
</ButtonGroup>
</div>
</div>
<div class="search"> <div class="search">
<Input search placeholder="请输入关键字" v-model="keys" clearable /> <Input search placeholder="请输入关键字" v-model="keys" clearable />
</div> </div>
<div class="fg"> <div class="fg">
<div class="tree"> <div class="tree">
<Tree :data="data" :render="renderContent" ref="tree" @on-select-change="change"></Tree> <Tree
</div> :data="data"
:render="renderContent"
ref="tree"
@on-select-change="change"
></Tree>
</div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
export default { export default {
name: "", name: "",
data() { data() {
return { return {
keys: "", keys: "",
expand: true, expand: true,
list: [] list: [],
}; downName: "",
projectList: [],
curdId: this.curId,
};
},
props: {
curId: {
type: String,
default: "",
}, },
props: { },
curId: { created() {
type: String, this.listSlecet();
default: '', // this.loadTree();
}, },
methods: {
clickItem(val) {
console.log(val);
this.projectList.forEach((e) => {
if (val == e.id) {
this.downName = e.title;
}
});
this.curdId = val;
this.loadTree();
}, },
created() { listSlecet() {
this.loadTree(); let data = {
conditions: [],
sortBy: "id",
isDesc: false,
};
this.$api.post(`${material}/projectmain/list`, data).then((r) => {
if (r.result) {
this.projectList = r.result;
this.downName = this.projectList[0].title;
this.curdId = this.projectList[0].id;
this.loadTree(this.projectList[0].id);
}
});
}, },
methods: { loadTree() {
loadTree() { let params = {
let params = { conditions: [
conditions: [{ {
fieldName: "projectId", fieldName: "projectId",
fieldValue: this.curId, fieldValue: this.curdId,
conditionalType: "Equal" conditionalType: "Equal",
}] },
} ],
this.$api.post(`${material}/projectplan/list`, params).then(r => { };
var data = this.$u.toTree( this.$api.post(`${material}/projectplan/list`, params).then((r) => {
r.result, var data = this.$u.toTree(
null, r.result,
u => { null,
u.value = u.id; (u) => {
u.expand = true; u.value = u.id;
u.selected = false; u.expand = true;
u.checked = false; u.selected = false;
}, u.checked = false;
"upId" },
); "upId"
this.list = this.$u.clone(data); );
}); this.list = this.$u.clone(data);
}, });
toggle() { },
this.expand = !this.expand; toggle() {
}, this.expand = !this.expand;
renderContent(h, { },
root, renderContent(h, { root, node, data }) {
node, var items = this.$store.getters.dictionaryByKey(
data "mes.project_plan.Status"
}) { );
// let type = "md-folder"; var item = items.filter((u) => {
// if (data.isProduct != 0) { return u.code == data.status;
// type = "ios-image"; })[0];
// } // console.warn("jjjjjj", items, item);
return h("div", [ var color = item.color || "black";
h("state", { return h("div", [
props: { h("state", {
code: "mes.project_plan.Type", props: {
type: "icon", code: "mes.project_plan.Type",
value: data.type + "" type: "icon",
} value: data.type + "",
}), size: 16,
h( },
"span", { }),
style: { h("Badge", {
// color: data.isProduct == 0 ? "#000" : "rgba(38, 128, 235, 1)" props: {
} color: color,
}, text: data.title,
data.title },
), }),
h("state", { ]);
props: { },
code: "mes.project_plan.Status", change(v, b) {
type: "tag", // console.log(b);
value: data.status let ids = [];
} let productIds = [];
}), // if (b.bomId !== 0) {
]); // ids.push(b.bomId);
}, // }
change(v, b) { var curentId = "";
// console.log(b); curentId = b.id;
let ids = []; productIds.push(b.value);
let productIds = []; if (b.children) {
// if (b.bomId !== 0) { addId(b.children);
// ids.push(b.bomId);
// }
var curentId = ''
curentId = b.id
productIds.push(b.value);
if (b.children) {
addId(b.children);
function addId(data) { function addId(data) {
data.map(u => { data.map((u) => {
// if (u.bomId !== 0) { // if (u.bomId !== 0) {
// ids.push(u.bomId); // ids.push(u.bomId);
// } // }
productIds.push(u.value); productIds.push(u.value);
if (u.children) { if (u.children) {
addId(u.children); addId(u.children);
}
});
}
} }
this.$emit("on-select", curentId, b, productIds); });
},
hide() {
this.$emit("on-hide");
} }
}
this.$emit("on-select", curentId, b, productIds);
},
hide() {
this.$emit("on-hide");
}, },
computed: { },
data() { computed: {
let items = this.$u.clone(this.list); data() {
let expand = this.expand; let items = this.$u.clone(this.list);
let result = []; let expand = this.expand;
search(this.keys, items); let result = [];
search(this.keys, items);
function search(keys, data) { function search(keys, data) {
data.map(u => { data.map((u) => {
if (keys.length < 2) { if (keys.length < 2) {
u.expand = expand; u.expand = expand;
result.push(u); result.push(u);
} else { } else {
u.expand = expand; u.expand = expand;
if (u.title.indexOf(keys) > -1) { if (u.title.indexOf(keys) > -1) {
result.push(u); result.push(u);
} else if (u.children) { } else if (u.children) {
search(keys, u.children); search(keys, u.children);
}
}
});
} }
return result; }
} });
}
return result;
}, },
watch: { },
curId(v) { watch: {
if (v) { curId(v) {
this.loadTree(); if (v) {
} this.curdId = v;
}, this.loadTree();
}
}, },
},
}; };
</script> </script>
<style lang="less"> <style lang="less">
@import "../../assets/css/custom.less"; // @import "../../assets/css/custom.less";
.tree-menu {
h3 {
height: 50px;
font-size: 14px;
font-family: Microsoft YaHei;
font-weight: bold;
line-height: 50px;
color: @left-tree-header-color;
background: @left-tree-header-bg-color;
opacity: 1;
padding-left: 10px;
}
.search { // .tree-menu {
height: 50px; // h3 {
padding: 5px 10px; // height: 50px;
} // font-size: 14px;
// font-family: Microsoft YaHei;
// font-weight: bold;
// line-height: 50px;
// color: @left-tree-header-color;
// background: @left-tree-header-bg-color;
// opacity: 1;
// padding-left: 10px;
// }
.p-list {
position: relative;
}
.icon-d {
position: absolute;
top: 0;
right: 0;
}
// .search {
// height: 50px;
// padding: 5px 10px;
// }
.fg { // .fg {
flex: none; // flex: none;
// height:0; // // height:0;
overflow: auto; // overflow: auto;
padding-left: 10px; // padding-left: 10px;
} // }
.tree { // .tree {
height: calc(100vh - 215px); // height: calc(100vh - 215px);
overflow: auto; // overflow: auto;
} // }
} // }
</style> </style>
<template> <template>
<div class="ib" @click="showLife"> <div class="ib" @click="showLife">
<div class="ib" v-if="!isMore"> <div class="ib" v-if="!isMore">
<span v-if="type=='text'" :style="style">{{name}}</span> <span v-if="type == 'text'" :style="style">{{ name }}</span>
<Tag v-if="type=='tag'" :color="tagcolor">{{name}}</Tag> <Tag v-if="type == 'tag'" :color="tagcolor">{{ name }}</Tag>
<Badge v-if="type=='dot'" :color="tagcolor" :text="name" /> <Badge v-if="type == 'dot'" :color="tagcolor" :text="name" />
<Icon v-if="type=='icon'" :type="item.icon" :color="tagcolor" :title="name" size="24" /> <Icon
v-if="type == 'icon'"
:type="item.icon"
:color="tagcolor"
:title="name"
:size="size"
/>
</div> </div>
<div class="ib" v-else v-for="(li,i) in items" :key="i"> <div class="ib" v-else v-for="(li, i) in items" :key="i">
<span v-if="type=='text'" :style="li.style">{{li.name}}</span> <span v-if="type == 'text'" :style="li.style">{{ li.name }}</span>
<Tag v-if="type=='tag'" :color="li.tagcolor">{{li.name}}</Tag> <Tag v-if="type == 'tag'" :color="li.tagcolor">{{ li.name }}</Tag>
<Badge v-if="type=='dot'" :color="li.tagcolor" :text="li.name" />&nbsp; <Badge v-if="type == 'dot'" :color="li.tagcolor" :text="li.name" />&nbsp;
</div> </div>
<Modal v-model="modal" title="生命周期" width="800" footer-hide :mask-closable="false"> <Modal
<component :is="detail" :code="code" :value="value" :mode="mode" /> v-model="modal"
title="生命周期"
width="800"
footer-hide
:mask-closable="false"
>
<component :is="detail" :code="code" :value="value" :mode="mode" />
</Modal> </Modal>
</div> </div>
</template> </template>
...@@ -21,48 +33,52 @@ export default { ...@@ -21,48 +33,52 @@ export default {
name: "state", name: "state",
data() { data() {
return { return {
mode:'0', mode: "0",
name: "", name: "",
isMore: false, isMore: false,
modal:false, modal: false,
item: {}, item: {},
items: [], items: [],
data: [], data: [],
detail:null, detail: null,
}; };
}, },
props: { props: {
default: { default: {
type: String, type: String,
default: "" default: "",
}, },
type: { type: {
type: String, type: String,
default: "text", default: "text",
validator: function(value) { validator: function (value) {
return ["text", "tag", "dot", "icon"].indexOf(value) != -1; return ["text", "tag", "dot", "icon"].indexOf(value) != -1;
} },
}, },
code: { code: {
type: String, type: String,
required: true required: true,
}, },
value: { value: {
type: [String, Number], type: [String, Number],
required: false required: false,
}, },
color: { color: {
type: Boolean, type: Boolean,
default: true default: true,
},
size: {
type: Number,
default: 24,
}, },
icon: { icon: {
type: Boolean, type: Boolean,
default: false default: false,
}, },
img: { img: {
type: Boolean, type: Boolean,
default: false default: false,
} },
}, },
created() { created() {
this.data = this.$store.getters.dictionaryByKey(this.code) || []; this.data = this.$store.getters.dictionaryByKey(this.code) || [];
...@@ -71,7 +87,7 @@ export default { ...@@ -71,7 +87,7 @@ export default {
setName(v) { setName(v) {
if ((v + "").indexOf(",") == -1) { if ((v + "").indexOf(",") == -1) {
var item; var item;
this.data.map(u => { this.data.map((u) => {
if (u.code == v) { if (u.code == v) {
item = u; item = u;
} }
...@@ -81,7 +97,7 @@ export default { ...@@ -81,7 +97,7 @@ export default {
this.item = item; this.item = item;
} else { } else {
if (this.value == "undefined") { if (this.value == "undefined") {
this.name = ' ' this.name = " ";
} else { } else {
this.name = this.value; this.name = this.value;
} }
...@@ -90,7 +106,7 @@ export default { ...@@ -90,7 +106,7 @@ export default {
this.isMore = true; this.isMore = true;
var items = []; var items = [];
var ul = (v + "").split(","); var ul = (v + "").split(",");
this.data.map(u => { this.data.map((u) => {
if (ul.indexOf(u.code) > -1) { if (ul.indexOf(u.code) > -1) {
u.tagcolor = u.color | "default"; u.tagcolor = u.color | "default";
u.style = { color: u.color | "inherit" }; u.style = { color: u.color | "inherit" };
...@@ -99,11 +115,11 @@ export default { ...@@ -99,11 +115,11 @@ export default {
}); });
this.items = items; this.items = items;
} }
} },
,showLife(){ showLife() {
this.modal= true ; this.modal = true;
this.detail=()=>import("./life"); this.detail = () => import("./life");
} },
}, },
computed: { computed: {
tagcolor() { tagcolor() {
...@@ -125,9 +141,9 @@ export default { ...@@ -125,9 +141,9 @@ export default {
color: color:
this.item && this.item.color != "" && this.item.color != null this.item && this.item.color != "" && this.item.color != null
? this.item.color ? this.item.color
: "inherit" : "inherit",
}; };
} },
}, },
watch: { watch: {
value(v) { value(v) {
...@@ -139,7 +155,7 @@ export default { ...@@ -139,7 +155,7 @@ export default {
this.setName(this.value); this.setName(this.value);
this.$forceUpdate(); this.$forceUpdate();
} }
} },
} },
}; };
</script> </script>
\ No newline at end of file
...@@ -259,17 +259,17 @@ export default { ...@@ -259,17 +259,17 @@ export default {
this.$Message.error("未设置结束时间"); this.$Message.error("未设置结束时间");
return return
} }
if(!row.executor){ if(row.executor.length==0){
this.$Message.error("设置执行人"); this.$Message.error("设置执行人");
return return
} }
delete row.chlidren; delete row.chlidren;
delete row.parent; delete row.parent;
console.warn(row) console.warn(row)
var data=JSON.parse(JSON.stringify(row));
data.status=1; row.status=1;
Api.sendtask(data).then(r=>{ Api.sendtask(row).then(r=>{
if(r.result){ if(r.success){
this.$Message.info("任务派发成功!"); this.$Message.info("任务派发成功!");
this.search(); this.search();
} }
......
...@@ -54,7 +54,8 @@ ...@@ -54,7 +54,8 @@
</Tabs> </Tabs>
</div> </div>
</FormItem> </FormItem>
<FormItem prop="keys"><Input placeholder="请输入项目标题/计划名称/任务标题" v-model="easySearch.keys.value" v-width="240" /> </FormItem> <FormItem prop="keys"><Input placeholder="请输入项目标题/计划名称/任务标题" v-model="easySearch.keys.value" v-width="240" />
</FormItem>
<FormItem><Button type="primary" @click="search">查询</Button></FormItem> <FormItem><Button type="primary" @click="search">查询</Button></FormItem>
<!-- <!--
<FormItem> <FormItem>
...@@ -82,8 +83,8 @@ ...@@ -82,8 +83,8 @@
</template> </template>
<script> <script>
import Api from './api' import Api from "./api";
import Search from './search' import Search from "./search";
export default { export default {
name: 'list', name: 'list',
components: { components: {
...@@ -382,79 +383,124 @@ export default { ...@@ -382,79 +383,124 @@ export default {
this.modal = false this.modal = false
this.curId = 0; this.curId = 0;
}, },
search() { projectId: {
this.easySearch.planId.value = this.planIdsCur op: "Equal",
this.$refs.grid.reload(this.easySearch) value: "",
}, },
add() { planId: {
this.curId = this.projectId; op: "In",
this.title = "新增"; value: [],
this.fullScreen = false;
this.detail = () => import('./add')
this.modal = true;
}, },
highSearch() { },
this.curId = 0; theme1: "light",
this.title = "高级搜索"; modal: false,
this.fullScreen = false; title: "新增",
this.detail = () => import('./search') detail: null,
this.modal = true; curId: "",
fullScreen: false,
projectId: "",
columns: [
// {
// key: "selection",
// type: "selection",
// width: 50,
// align: "center"
// },
{
key: "id",
title: this.$t("id"),
align: "left",
high: true,
hide: true,
}, },
copy(id) { {
this.curId = id; key: "title",
this.title = "克隆"; title: this.l("title"),
this.fullScreen = false; align: "left",
this.detail = () => import('./add') easy: true,
this.modal = true; high: true,
render: (h, params) => {
return h(
"a", {
attrs: {
oprate: "detail",
},
on: {
click: () => this.viewRecord(params.row.id),
},
},
params.row.title
);
},
}, },
view(id) { {
this.curId = id; key: "level",
this.title = "详情"; title: this.l("level"),
this.fullScreen = false; align: "center",
this.detail = () => import('./detail') high: true,
this.modal = true; code: "project.task.level",
}, },
edit(id) { {
this.curId = id; key: "projectTitle",
this.title = "编辑"; title: this.l("projectTitle"),
this.fullScreen = false; align: "left",
this.detail = () => import('./edit') easy: true,
this.modal = true; high: true,
hide: true,
}, },
remove(id) { {
Api.delete(id).then((r) => { key: "planTitle",
if (r.success) { title: this.l("planTitle"),
this.$refs.grid.load(); align: "left",
this.$Message.success('删除成功') easy: true,
} high: true,
}) hide: true,
}, },
cancel() { {
this.curId = 0; key: "status",
this.modal = false title: this.l("status"),
align: "center",
high: true,
code: "project.task.status",
}, },
onHide() {
// this.$Message.info("收起左侧树") {
this.showMenu = false; key: "userId",
title: this.l("userId"),
align: "left",
high: true,
type: "user",
}, },
showMenuFn() { {
//this.$Message.info("展开左侧树") key: "startDate",
this.showMenu = true; title: this.l("startDate"),
align: "center",
high: true,
}, },
productSearch(id, item, planIds) { {
this.planId = item.selected ? id : ''; key: "endDate",
this.planIdsCur = item.selected ? planIds : [] title: this.l("endDate"),
let where = { align: "center",
planId: { high: true,
op: "In", },
value: item.selected ? planIds : [] {
}, key: "workHour",
projectId: { title: this.l("workHour"),
op: "Equal", align: "center",
value: this.eid high: true,
}, render: (h, params) => {
}; return h(
this.$refs.grid.reload(where); "a", {
attrs: {
oprate: "detail",
},
on: {
click: () => this.viewWork(params.row.id),
},
},
params.row.workHour
);
},
}, },
updatepart(valId, valStatus) { updatepart(valId, valStatus) {
let params = { let params = {
...@@ -480,8 +526,12 @@ export default { ...@@ -480,8 +526,12 @@ export default {
console.warn(err) console.warn(err)
}) })
}, },
onSelect(val) { {
this.$refs.grid.reload(this.easySearch) key: "creationTime",
title: this.l("creationTime"),
align: "left",
high: true,
hide: true,
}, },
viewRecord(id) { viewRecord(id) {
this.curId = id; this.curId = id;
...@@ -490,36 +540,270 @@ export default { ...@@ -490,36 +540,270 @@ export default {
this.detail = () => import('./detail') this.detail = () => import('./detail')
this.modal = true; this.modal = true;
}, },
viewWork(id) { {
this.curId = id; title: "操作",
this.title = "查看工时"; key: "action",
this.fullScreen = false; width: 200,
this.detail = () => import('../record') align: "center",
this.modal = true; render: (h, params) => {
}, return h(
addRecord(id) { "div", {
this.curId = id; class: "action",
this.title = "新增记录"; },
this.fullScreen = false; [
this.detail = () => import('../record/add') h("op", {
this.modal = true; attrs: {
icon: "md-arrow-dropright-circle",
type: "icon",
oprate: "edit",
title: params.row.status == 0 ?
"开始" :
params.row.status == 2 ?
"继续" :
"",
//disable: (params.row.status == 0 || params.row.status == 2) ? false : true
},
on: {
click: () => this.updatepart(params.row.id, 1),
},
}),
// h('op', {
// attrs: {
// icon: "ios-pause",
// type: "icon",
// title: "暂停",
// //disable: params.row.status == 1 ? false : true
// },
// on: {
// click: () => this.updatepart(params.row.id, 2)
// }
// }),
h("op", {
attrs: {
icon: "ios-alarm",
type: "icon",
oprate: "edit",
title: "完成",
//disable: (params.row.status != 0 && params.row.status != 3) ? false : true
},
on: {
click: () => this.updatepart(params.row.id, 3),
},
}),
h("op", {
attrs: {
icon: "md-add",
type: "icon",
oprate: "add",
title: "新增记录",
// disable: (params.row.status != 3 && params.row.status != 4) ? false : true
},
on: {
click: () => this.addRecord(params.row.id),
},
}),
h("op", {
attrs: {
icon: "md-create",
type: "icon",
oprate: "edit",
title: "修改",
//disable: (params.row.status == 0 || params.row.status == 2) ? false : true
},
on: {
click: () => this.edit(params.row.id),
},
}),
h("op", {
attrs: {
icon: "md-trash",
type: "icon",
title: "删除",
oprate: "delete",
// disable: (params.row.status == 0 || params.row.status == 3) ? false : true
},
on: {
click: () => this.remove(params.row.id),
},
}),
]
);
},
}, },
l(key) { ],
let vkey = "project_task" + "." + key; data1: [{
return this.$t(vkey) || key id: 1,
} title: "测试title",
}, ],
data: [],
planId: "", //当前计划Id
planIdsCur: [],
};
},
props: {
eid: String,
}, },
watch: { async fetch({
eid(v) { store,
if (v != "") { params
this.eid = v }) {
await store.dispatch("loadDictionary"); // 加载数据字典
},
created() {
if (this.eid != "") {
this.projectId = this.eid;
this.easySearch.projectId.value = this.eid;
} }
} this.treeHeight = window.innerHeight - 150;
} },
} mounted() {
if (this.eid != "") {
this.easySearch.projectId.value = this.eid;
this.$refs.grid.reload(this.easySearch);
}
},
methods: {
ok() {
this.$refs.grid.load();
this.modal = false;
this.curId = 0;
},
search() {
this.easySearch.planId.value = this.planIdsCur;
this.$refs.grid.reload(this.easySearch);
},
add() {
this.curId = this.projectId;
this.title = "新增";
this.fullScreen = false;
this.detail = () => import("./add");
this.modal = true;
},
highSearch() {
this.curId = 0;
this.title = "高级搜索";
this.fullScreen = false;
this.detail = () => import("./search");
this.modal = true;
},
copy(id) {
this.curId = id;
this.title = "克隆";
this.fullScreen = false;
this.detail = () => import("./add");
this.modal = true;
},
view(id) {
this.curId = id;
this.title = "详情";
this.fullScreen = false;
this.detail = () => import("./detail");
this.modal = true;
},
edit(id) {
this.curId = id;
this.title = "编辑";
this.fullScreen = false;
this.detail = () => import("./edit");
this.modal = true;
},
remove(id) {
Api.delete(id).then((r) => {
if (r.success) {
this.$refs.grid.load();
this.$Message.success("删除成功");
}
});
},
cancel() {
this.curId = 0;
this.modal = false;
},
onHide() {
// this.$Message.info("收起左侧树")
this.showMenu = false;
},
showMenuFn() {
//this.$Message.info("展开左侧树")
this.showMenu = true;
},
productSearch(id, item, planIds) {
this.planId = item.selected ? id : "";
this.planIdsCur = item.selected ? planIds : [];
let where = {
planId: {
op: "In",
value: item.selected ? planIds : [],
},
projectId: {
op: "Equal",
value: this.eid,
},
};
this.$refs.grid.reload(where);
},
updatepart(valId, valStatus) {
let params = {
id: valId,
status: valStatus,
};
Api.updatepart(params)
.then((r) => {
if (r.success) {
this.$refs.grid.load();
this.$Message.success("操作成功");
} else {
this.$Message.error("操作失败");
}
})
.catch((err) => {
this.disabled = false;
this.$Message.error("操作失败");
console.warn(err);
});
},
onSelect(val) {
this.$refs.grid.reload(this.easySearch);
},
viewRecord(id) {
this.curId = id;
this.title = "查看记录";
this.fullScreen = true;
this.detail = () => import("./detail");
this.modal = true;
},
viewWork(id) {
this.curId = id;
this.title = "查看工时";
this.fullScreen = false;
this.detail = () => import("../record");
this.modal = true;
},
addRecord(id) {
this.curId = id;
this.title = "新增记录";
this.fullScreen = false;
this.detail = () => import("../record/add");
this.modal = true;
},
l(key) {
let vkey = "project_task" + "." + key;
return this.$t(vkey) || key;
},
},
watch: {
eid(v) {
if (v != "") {
this.eid = v;
}
},
},
};
</script> </script>
<style lang="less"> <style lang="less">
@import "../../../assets/css/custom.less";
.full { .full {
margin-top: 0; margin-top: 0;
...@@ -534,6 +818,23 @@ export default { ...@@ -534,6 +818,23 @@ export default {
content: "\f33d"; content: "\f33d";
} }
} }
.ivu-layout-sider {
background: @layout-content-bg-color;
margin-right: 10px;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
// height: 89vh;
overflow: auto;
}
.ivu-layout-content {
margin-left: 5px;
background: @right-bg;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
overflow: auto;
padding: 10px;
// height: 89vh;
}
} }
.taskTab .ivu-tabs-bar { .taskTab .ivu-tabs-bar {
......
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