Commit c44f2790 authored by renjintao's avatar renjintao

projectTaskTree task iview.js groupUser...

parent 56bd610e
<template>
<div class="flex fd tree-menu">
<h3>
任务结构
<div class="fr mr10 mt10">
<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"></Button>
<Button icon="md-rewind" title="收起" @click="hide"></Button>
</ButtonGroup>
</div>
</h3>
<div class="search">
<Input search placeholder="请输入关键字" v-model="keys" clearable />
</div>
<div class="fg">
<div class="tree">
<Tree :data="data" :render="renderContent" ref="tree" @on-select-change="change"></Tree>
</div>
</div>
</div>
</template>
<script>
export default {
name: "",
data() {
return {
keys: "",
expand: true,
list: []
};
},
props: {
curId: {
type: String,
default: '',
},
},
created() {
this.loadTree();
},
methods: {
loadTree() {
let params = {
conditions: [{
fieldName: "projectId",
fieldValue: this.curId,
conditionalType: "Equal"
}]
}
this.$api.post(`${material}/projectplan/list`, params).then(r => {
var data = this.$u.toTree(
r.result,
null,
u => {
u.value = u.id;
u.expand = true;
u.selected = false;
u.checked = false;
},
"upId"
);
this.list = this.$u.clone(data);
});
},
toggle() {
this.expand = !this.expand;
},
renderContent(h, {
root,
node,
data
}) {
// let type = "md-folder";
// if (data.isProduct != 0) {
// type = "ios-image";
// }
return h("div", [
h("state", {
props: {
code: "mes.project_plan.Type",
type: "icon",
value: data.type + ""
}
}),
h(
"span", {
style: {
// color: data.isProduct == 0 ? "#000" : "rgba(38, 128, 235, 1)"
}
},
data.title
),
h("state", {
props: {
code: "mes.project_plan.Status",
type: "text",
value: data.status
}
}),
]);
},
change(v, b) {
// console.log(b);
let ids = [];
let productIds = [];
// if (b.bomId !== 0) {
// ids.push(b.bomId);
// }
var curentId = ''
curentId = b.id
productIds.push(b.value);
if (b.children) {
addId(b.children);
function addId(data) {
data.map(u => {
// if (u.bomId !== 0) {
// ids.push(u.bomId);
// }
productIds.push(u.value);
if (u.children) {
addId(u.children);
}
});
}
}
this.$emit("on-select", curentId, b, productIds);
},
hide() {
this.$emit("on-hide");
}
},
computed: {
data() {
let items = this.$u.clone(this.list);
let expand = this.expand;
let result = [];
search(this.keys, items);
function search(keys, data) {
data.map(u => {
if (keys.length < 2) {
u.expand = expand;
result.push(u);
} else {
u.expand = expand;
if (u.title.indexOf(keys) > -1) {
result.push(u);
} else if (u.children) {
search(keys, u.children);
}
}
});
}
return result;
}
},
watch: {
curId(v) {
if (v) {
this.loadTree();
}
},
},
};
</script>
<style lang="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 {
height: 50px;
padding: 5px 10px;
}
.fg {
flex: none;
// height:0;
overflow: auto;
padding-left: 10px;
}
.tree {
height: calc(100vh - 215px);
overflow: auto;
}
}
</style>
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<Table border :columns="columns" :data="list" ref="table" class="tableCommon" stripe> <Table border :columns="columns" :data="list" ref="table" class="tableCommon" stripe>
<template slot-scope="{ row, index }" slot="userId"> <template slot-scope="{ row, index }" slot="userId">
<User v-if="edit != index" :value="row.userId"></User> <User v-if="edit != index" :value="row.userId"></User>
<UserSelect v-else ref="userSelected" v-model="cur.userId" /> <UserSelect v-else ref="userSelected" v-model="cur.userId" @on-change="changeUser" />
</template> </template>
<template slot-scope="{ row, index }" slot="role"> <template slot-scope="{ row, index }" slot="role">
<state v-if="edit != index" code="project.group.role" :value="row.role" type="text"></state> <state v-if="edit != index" code="project.group.role" :value="row.role" type="text"></state>
...@@ -13,10 +13,12 @@ ...@@ -13,10 +13,12 @@
<state v-if="edit != index" code="project.group.status" :value="row.status" type="text"></state> <state v-if="edit != index" code="project.group.status" :value="row.status" type="text"></state>
<Dictionary v-else code="project.group.status" v-model="cur.status"></Dictionary> <Dictionary v-else code="project.group.status" v-model="cur.status"></Dictionary>
</template> </template>
<!--
<template slot-scope="{ row, index }" slot="joindate"> <template slot-scope="{ row, index }" slot="joindate">
<span v-if="edit != index" v-text="row.joindate"></span> <span v-if="edit != index" v-text="row.joindate"></span>
<DatePicker v-else v-model="cur.joindate" type="date" transfer placeholder="请选择加入日期" @on-change="getTime"></DatePicker> <DatePicker v-else v-model="cur.joindate" type="date" transfer placeholder="请选择加入日期" @on-change="getTime"></DatePicker>
</template> </template>
-->
<template slot-scope="{ row, index }" slot="whour"> <template slot-scope="{ row, index }" slot="whour">
<span v-if="edit != index" v-text="row.whour"></span> <span v-if="edit != index" v-text="row.whour"></span>
<InputNumber v-else type="text" v-model.trim="cur.whour" /> <InputNumber v-else type="text" v-model.trim="cur.whour" />
...@@ -31,7 +33,7 @@ ...@@ -31,7 +33,7 @@
</template> </template>
<template slot-scope="{ row, index }" slot="note"> <template slot-scope="{ row, index }" slot="note">
<span v-if="edit != index" v-text="row.note"></span> <span v-if="edit != index" v-text="row.note"></span>
<Input v-else type="text" v-model.trim="cur.note" /> <Input v-else type="text" v-model.trim="cur.note" :disabled="true" />
</template> </template>
<template slot-scope="{ row, index }" slot="action"> <template slot-scope="{ row, index }" slot="action">
<div v-if="edit != index" class="action"> <div v-if="edit != index" class="action">
...@@ -108,13 +110,13 @@ export default { ...@@ -108,13 +110,13 @@ export default {
width: 150, width: 150,
slot: 'status' slot: 'status'
}, },
{ // {
key: "joindate", // key: "joindate",
title: this.l("joindate"), // title: this.l("joindate"),
align: "center", // align: "center",
width: 180, // width: 180,
slot: 'joindate' // slot: 'joindate'
}, // },
{ {
key: "whour", key: "whour",
title: this.l("whour"), title: this.l("whour"),
...@@ -233,6 +235,9 @@ export default { ...@@ -233,6 +235,9 @@ export default {
this.authorityCur = row.authority this.authorityCur = row.authority
this.edit = index this.edit = index
}, },
changeUser(val, item) {
this.cur.note = item
},
//选择权限 //选择权限
changeAuthority(val) { changeAuthority(val) {
if (this.authorityCur != 1 && this.authorityCount == 1 && val == 1) { if (this.authorityCur != 1 && this.authorityCount == 1 && val == 1) {
......
<template> <template>
<div> <div>
<Card> <Card>
<EditGrid :columns="columns" ref="grid" :items="list" <EditGrid :columns="columns" ref="grid" :items="list">
> <template slot="easySearch">
<template slot="easySearch"><Form ref="formInline" :model="easySearch" inline><FormItem prop="keys"><Input placeholder="请输入关键字标题" v-model="easySearch.keys.value" /> </FormItem> <Form ref="formInline" :model="easySearch" inline>
<FormItem><Button type="primary" @click="search">查询</Button> <FormItem prop="keys"><Input placeholder="请输入关键字标题" v-model="easySearch.keys.value" /> </FormItem>
</FormItem> <FormItem><Button type="primary" @click="search">查询</Button>
</Form></template> </FormItem>
<!-- <template slot="searchForm"> </Form>
</template>
<!-- <template slot="searchForm">
<Search /> <Search />
</template> --> </template> -->
<template slot="buttons"> <template slot="buttons">
<Button type="primary" @click="add(null)">新增</Button> <Button type="primary" @click="add(null)">新增</Button>
</template> </template>
</EditGrid> </EditGrid>
</Card> </Card>
<Modal v-model="modal" :title="title" width="1200" footer-hide> <Modal v-model="modal" :title="title" width="1200" footer-hide>
<component :is="detail" :eid="curId" :v="row" @on-close="cancel" @on-ok="ok" /> <component :is="detail" :eid="curId" :v="row" @on-close="cancel" @on-ok="ok" />
</Modal> </Modal>
</div> </div>
</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: {
Search, Search,
},
head: {
title: "项目计划",
author: "henq",
description: "project_plan 10/19/2020 10:23:07 AM",
},
props:{
eid:{
type:String
}, },
data:{ head: {
type:Object, title: "项目计划",
default:()=>{ author: "henq",
return { description: "project_plan 10/19/2020 10:23:07 AM",
id:"33930562-a9f7-bd95-88ab-d01eb1c4c369", },
title:"示例项目" props: {
eid: {
type: String
},
data: {
type: Object,
default: () => {
return {
id: "33930562-a9f7-bd95-88ab-d01eb1c4c369",
title: "示例项目"
}
}
} }
} },
} data() {
}, return {
data() { entity: {},
return { row: {},
entity:{}, action: Api.index,
row:{}, easySearch: {
action: Api.index, keys: {
easySearch: { op: "title",
keys: { op: "title", value: null }, value: null
}, },
modal: false, },
title: "新增", modal: false,
detail: null, title: "新增",
curId:null, detail: null,
list: [], curId: null,
columns: [ list: [],
// { key:"id",title:this.$t("id") ,hide:true ,align:"left" ,high:true }, columns: [
// { key:"creationTime",title:this.l("creationTime") ,align:"left" ,high:true }, // { key:"id",title:this.$t("id") ,hide:true ,align:"left" ,high:true },
// { key:"creatorUserId",title:this.l("creatorUserId") ,align:"left" ,high:true }, // { key:"creationTime",title:this.l("creationTime") ,align:"left" ,high:true },
// { key:"lastModificationTime",title:this.l("lastModificationTime") ,align:"left" ,high:true }, // { key:"creatorUserId",title:this.l("creatorUserId") ,align:"left" ,high:true },
// { key:"lastModifierUserId",title:this.l("lastModifierUserId") ,align:"left" ,high:true }, // { key:"lastModificationTime",title:this.l("lastModificationTime") ,align:"left" ,high:true },
// { key:"isDeleted",title:this.l("isDeleted") ,align:"left" ,high:true }, // { key:"lastModifierUserId",title:this.l("lastModifierUserId") ,align:"left" ,high:true },
// { key:"deletionTime",title:this.l("deletionTime") ,align:"left" ,high:true }, // { key:"isDeleted",title:this.l("isDeleted") ,align:"left" ,high:true },
// { key:"deleterUserId",title:this.l("deleterUserId") ,align:"left" ,high:true }, // { key:"deletionTime",title:this.l("deletionTime") ,align:"left" ,high:true },
// { key:"projectId",title:this.l("projectId") ,align:"left" ,high:true }, // { key:"deleterUserId",title:this.l("deleterUserId") ,align:"left" ,high:true },
// { key:"upId",title:this.l("upId") ,align:"left" ,high:true }, // { key:"projectId",title:this.l("projectId") ,align:"left" ,high:true },
// { type: "selection", width: 80, align: "center" }, // { key:"upId",title:this.l("upId") ,align:"left" ,high:true },
{ // { type: "selection", width: 80, align: "center" },
title: "操作", {
key: "action", title: "操作",
width: 150, key: "action",
align: "center", width: 150,
// render:(h,params)=>{ align: "center",
// return h("Actions" // render:(h,params)=>{
// ,{ // return h("Actions"
// attrs:{ // ,{
// row:params, // attrs:{
// row:params,
// }, // },
// on:{ // on:{
// 'on-click':this.rowclick // 'on-click':this.rowclick
// } // }
// } // }
// ) // )
// } // }
render: (h, params) => { render: (h, params) => {
return h("div", { class: "action" }, [ return h("div", {
h( class: "action"
"op", }, [
h(
"op", {
attrs: {
icon: "md-arrow-dropright-circle",
type: "icon",
title: "派发",
oprate: "edit",
},
on: {
click: () => this.copy(params.row.id)
},
},
),
h(
"op", {
attrs: {
icon: "md-add",
type: "icon",
title: "新增子任务",
oprate: "edit",
},
on: {
click: () => this.add(params.row)
},
}
),
h(
"op", {
attrs: {
icon: "md-eye",
type: "icon",
title: "编辑",
oprate: "edit",
},
on: {
click: () => this.edit(params.row.id)
},
}
),
h(
"op", {
attrs: {
icon: "ios-trash",
type: "icon",
title: "删除",
oprate: "delete",
msg: "确认要删除吗?"
},
on: {
click: () => this.remove(params.row.id)
},
}
),
]);
},
},
{ {
attrs: { icon: "md-arrow-dropright-circle", key: "type",
type: "icon", width: 90,
title: "派发", title: this.l("type"),
oprate: "edit", align: "left",
}, high: true,
on: { click: () => this.copy(params.row.id) }, code: "mes.project_plan.Type",
}, },
),
h(
"op",
{ {
attrs: { icon: "md-add", key: "title",
type: "icon", title: this.l("title"),
title: "新增子任务", align: "left",
oprate: "edit",}, tree: true,
on: { click: () => this.add(params.row) }, easy: true,
} high: true,
), },
h(
"op",
{ {
attrs: { icon: "md-eye", key: "status",
type: "icon", title: this.l("status"),
title: "编辑", align: "left",
oprate: "edit", }, high: true,
on: { click: () => this.edit(params.row.id) }, code: "mes.project_plan.Status",
} },
), {
h( key: "startDate",
"op", title: this.l("startDate"),
align: "left",
high: true,
type: "date"
},
{ {
attrs: { icon: "ios-trash", key: "endDate",
type: "icon", title: this.l("endDate"),
title: "删除", align: "left",
oprate: "delete", high: true,
msg: "确认要删除吗?" }, type: "date"
on: { click: () => this.remove(params.row.id) }, },
// {
// key: "attachment",
// title: this.l("attachment"),
// align: "left",
// high: true,
// },
{
key: "executor",
title: this.l("executor"),
align: "left",
high: true,
type: "users",
},
],
};
},
mounted() {
console.log(this);
this.search();
},
async fetch({
store,
params
}) {
await store.dispatch("loadDictionary"); // 加载数据字典
},
methods: {
ok() {
this.search();
this.modal = false;
this.curId = null;
},
search() {
// this.$refs.grid.reload(this.easySearch);
var params = {
conditions: [{
fieldName: "projectId",
conditionalType: 'Equal',
fieldValue: this.eid
}],
// conditions: []
};
Api.list(params).then((r) => {
let res = r.result;
var data = this.$u.toTree(
res,
null,
(u) => {
// console.log(u);
u.expanded = true;
u.selected = false;
u.checked = false;
},
"upId"
);
this.list = data;
});
},
// rowclick(row,li){
// return {
// test(){
// alert(1);
// }
// }
// },
add(row) {
if (row) {
this.curId = row.id;
this.row = row
} else {
this.curId = null;
this.row = {
projectId: this.data.id,
} }
), }
]);
}, this.title = "新增";
this.detail = () => import("./add");
this.modal = true;
}, },
{ copy(id) {
key: "type", this.curId = id;
width: 90, this.title = "克隆";
title: this.l("type"), this.detail = () => import("./add");
align: "left", this.modal = true;
high: true,
code: "mes.project_plan.Type",
}, },
{ view(id) {
key: "title", this.curId = id;
title: this.l("title"), this.title = "详情";
align: "left", this.detail = () => import("./detail");
tree: true, this.modal = true;
easy: true,
high: true,
}, },
{ edit(id) {
key: "status", this.curId = id;
title: this.l("status"), this.title = "编辑";
align: "left", this.detail = () => import("./edit");
high: true, this.modal = true;
code: "mes.project_plan.Status",
}, },
{ remove(id) {
key: "startDate", Api.delete(id).then((r) => {
title: this.l("startDate"), if (r.success) {
align: "left", this.search();
high: true this.$Message.success("删除成功");
,type:"date" }
});
}, },
{ key: "endDate", title: this.l("endDate"), align: "left", high: true,type:"date" }, cancel() {
// { this.curId = null;
// key: "attachment", this.modal = false;
// title: this.l("attachment"), },
// align: "left", l(key) {
// high: true, let vkey = "project_plan" + "." + key;
// }, return this.$t(vkey) || key;
{
key: "executor",
title: this.l("executor"),
align: "left",
high: true,
type:"users",
}, },
],
};
},
mounted() {
console.log(this);
this.search();
},
async fetch({ store, params }) {
await store.dispatch("loadDictionary"); // 加载数据字典
},
methods: {
ok() {
this.search();
this.modal = false;
this.curId = null;
},
search() {
// this.$refs.grid.reload(this.easySearch);
var params = {
conditions: [{
fieldName:"projectId",
conditionalType: 'Equal',
fieldValue:this.eid
}],
// conditions: []
};
Api.list(params).then((r) => {
let res = r.result;
var data = this.$u.toTree(
res,
null,
(u) => {
// console.log(u);
u.expanded = true;
u.selected = false;
u.checked = false;
},
"upId"
);
this.list =data;
});
},
// rowclick(row,li){
// return {
// test(){
// alert(1);
// }
// }
// },
add(row) {
if(row){
this.curId=row.id;
this.row=row
}else{
this.curId=null;
this.row={
projectId:this.data.id
}
}
this.title = "新增";
this.detail = () => import("./add");
this.modal = true;
},
copy(id) {
this.curId = id;
this.title = "克隆";
this.detail = () => import("./add");
this.modal = true;
},
view(id) {
this.curId = id;
this.title = "详情";
this.detail = () => import("./detail");
this.modal = true;
},
edit(id) {
this.curId = id;
this.title = "编辑";
this.detail = () => import("./edit");
this.modal = true;
},
remove(id) {
Api.delete(id).then((r) => {
if (r.success) {
this.search();
this.$Message.success("删除成功");
}
});
},
cancel() {
this.curId = null;
this.modal = false;
},
l(key) {
let vkey = "project_plan" + "." + key;
return this.$t(vkey) || key;
}, },
},
}; };
</script> </script>
<style lang="less"> <style lang="less">
</style> </style>
\ No newline at end of file
...@@ -81,18 +81,21 @@ export default { ...@@ -81,18 +81,21 @@ export default {
}, },
props: { props: {
v: Object, v: Object,
eid: Number eid: String,
pid: String,
}, },
mounted() { mounted() {
if (this.eid > 0) { // if (this.eid != '' && this.eid != null) {
this.load(this.eid); // this.load(this.eid);
} // }
}, },
methods: { methods: {
handleSubmit() { handleSubmit() {
this.$refs.form.validate((v) => { this.$refs.form.validate((v) => {
if (v) { if (v) {
this.disabled = true; this.disabled = true;
this.entity.projectId = this.eid;
this.entity.planId = this.pid;
this.entity.status = 0 this.entity.status = 0
Api.create(this.entity).then((r) => { Api.create(this.entity).then((r) => {
this.disabled = false; this.disabled = false;
...@@ -152,9 +155,9 @@ export default { ...@@ -152,9 +155,9 @@ export default {
this.entity = this.$u.clone(this.v) this.entity = this.$u.clone(this.v)
}, },
eid(v) { eid(v) {
if (v > 0) { //if (v != '' && v != null) {
this.load(v); // this.load(v);
} //}
} }
} }
} }
......
<template> <template>
<Layout class="full"> <Layout class="full">
<Sider hide-trigger v-if="showMenu" class="menu_side" width="300"> <Sider hide-trigger v-if="showMenu" class="menu_side" width="300">
<ProductTree @on-hide="onHide" @on-select="productSearch" /> <ProjectTaskTree :curId="projectId" @on-hide="onHide" @on-select="productSearch" />
</Sider> </Sider>
<div v-if="!showMenu" class="show_menu"> <div v-if="!showMenu" class="show_menu">
<a class="menu_play fr" @click="showMenuFn" title="展开"> <a class="menu_play fr" @click="showMenuFn" title="展开">
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
</template> </template>
</DataGrid> </DataGrid>
<Modal v-model="modal" :title="title" width="1200" :fullscreen="fullScreen" footer-hide> <Modal v-model="modal" :title="title" width="1200" :fullscreen="fullScreen" footer-hide>
<component :is="detail" :eid="curId" @on-close="cancel" @on-ok="ok" /> <component :is="detail" :eid="curId" :pid="planId" @on-close="cancel" @on-ok="ok" />
</Modal> </Modal>
</Content> </Content>
</Layout> </Layout>
...@@ -82,12 +82,10 @@ ...@@ -82,12 +82,10 @@
<script> <script>
import Api from './api' import Api from './api'
import Search from './search' import Search from './search'
import ProductTree from "@/components/page/productTree.vue";
export default { export default {
name: 'list', name: 'list',
components: { components: {
Search, Search,
ProductTree
}, },
head: { head: {
title: "", title: "",
...@@ -106,6 +104,10 @@ export default { ...@@ -106,6 +104,10 @@ export default {
projectId: { projectId: {
op: "Equal", op: "Equal",
value: '' value: ''
},
planId: {
op: "In",
value: []
} }
}, },
theme1: 'light', theme1: 'light',
...@@ -301,7 +303,9 @@ export default { ...@@ -301,7 +303,9 @@ export default {
id: 1, id: 1,
title: '测试title' title: '测试title'
}], }],
data: [] data: [],
planId: '', //当前计划Id
planIdsCur: []
} }
}, },
async fetch({ async fetch({
...@@ -312,6 +316,7 @@ export default { ...@@ -312,6 +316,7 @@ export default {
}, },
created() { created() {
if (this.$route.params.id != '') { if (this.$route.params.id != '') {
this.projectId = this.$route.params.id
this.easySearch.projectId.value = this.$route.params.id this.easySearch.projectId.value = this.$route.params.id
} }
this.treeHeight = window.innerHeight - 150; this.treeHeight = window.innerHeight - 150;
...@@ -327,10 +332,11 @@ export default { ...@@ -327,10 +332,11 @@ export default {
this.curId = 0; this.curId = 0;
}, },
search() { search() {
this.easySearch.planId.value = this.planIdsCur
this.$refs.grid.reload(this.easySearch) this.$refs.grid.reload(this.easySearch)
}, },
add() { add() {
this.curId = 0; this.curId = this.projectId;
this.title = "新增"; this.title = "新增";
this.fullScreen = false; this.fullScreen = false;
this.detail = () => import('./add') this.detail = () => import('./add')
...@@ -384,12 +390,18 @@ export default { ...@@ -384,12 +390,18 @@ export default {
//this.$Message.info("展开左侧树") //this.$Message.info("展开左侧树")
this.showMenu = true; this.showMenu = true;
}, },
productSearch(id, item, productIds, ids) { productSearch(id, item, planIds) {
this.planId = item.selected ? id : '';
this.planIdsCur = item.selected ? planIds : []
let where = { let where = {
bomId: { planId: {
op: "In", op: "In",
value: ids value: item.selected ? planIds : []
} },
projectId: {
op: "Equal",
value: this.$route.params.id
},
}; };
this.$refs.grid.reload(where); this.$refs.grid.reload(where);
}, },
......
...@@ -62,6 +62,7 @@ import op from '@/components/page/opration.vue' ...@@ -62,6 +62,7 @@ import op from '@/components/page/opration.vue'
import ProductNumberSelect from '@/components/page/productNumberSelect.vue' import ProductNumberSelect from '@/components/page/productNumberSelect.vue'
import ProductSelect from '@/components/page/productSelect.vue' import ProductSelect from '@/components/page/productSelect.vue'
import ProductSelect1 from '@/components/page/productSelect1.vue' import ProductSelect1 from '@/components/page/productSelect1.vue'
import ProjectTaskTree from '@/components/page/projectTaskTree.vue'
import DTSpan from '@/components/page/dtSpan.vue' import DTSpan from '@/components/page/dtSpan.vue'
import DTSearch from '@/components/page/dtSearch.vue' import DTSearch from '@/components/page/dtSearch.vue'
import InputTime from '@/components/page/inputTime.vue' import InputTime from '@/components/page/inputTime.vue'
...@@ -139,6 +140,7 @@ Vue.component("DepartmentSelect", DepartmentSelect) ...@@ -139,6 +140,7 @@ Vue.component("DepartmentSelect", DepartmentSelect)
Vue.component("ProductNumberSelect", ProductNumberSelect) Vue.component("ProductNumberSelect", ProductNumberSelect)
Vue.component("ProductSelect", ProductSelect) Vue.component("ProductSelect", ProductSelect)
Vue.component("ProductSelect1", ProductSelect1) Vue.component("ProductSelect1", ProductSelect1)
Vue.component("ProjectTaskTree",ProjectTaskTree)
Vue.component("DTSpan", DTSpan) Vue.component("DTSpan", DTSpan)
Vue.component("DTSearch", DTSearch) Vue.component("DTSearch", DTSearch)
Vue.component("InputTime", InputTime) Vue.component("InputTime", InputTime)
......
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