Commit 695043a5 authored by renjintao's avatar renjintao

Merge branch 'product' of git.mes123.com:zhouyx/mes-ui into product-rjt

parents 04eb6985 1dd6fade
...@@ -386,7 +386,7 @@ export default { ...@@ -386,7 +386,7 @@ export default {
// } // }
// }); // });
this.columnsCur = items; this.columnsCur = items;
console.log("cur", items,this.columnsCur); // console.log("cur", items,this.columnsCur);
}, },
//数据加载 //数据加载
load() { load() {
......
...@@ -43,13 +43,13 @@ export default { ...@@ -43,13 +43,13 @@ export default {
methods: { methods: {
load() { load() {
var params = { var params = {
// codition:[{fieldName: "groupId", fieldValue: "b9d6fa9e-e033-4a3e-9925-c1f4437d970c", conditionalType: "Equal"}] conditions: [{
codition: [{
fieldName: "projectId", fieldName: "projectId",
fieldValue: this.projectId, fieldValue: this.projectId,
conditionalType: "Equal" conditionalType: "Equal"
}] }]
} }
//
this.$api.post(`${material}/projectgroupuser/list`, params).then(r => { this.$api.post(`${material}/projectgroupuser/list`, params).then(r => {
this.users = r.result; this.users = r.result;
}) })
...@@ -66,12 +66,9 @@ export default { ...@@ -66,12 +66,9 @@ export default {
// 加载人员 // 加载人员
}, },
watch: { watch: {
value: { projectId(v){
handler(v, o) { this.load();
this.name = v; }
},
deep: true,
},
}, },
}; };
</script> </script>
......
...@@ -12,12 +12,12 @@ ...@@ -12,12 +12,12 @@
</FormItem> </FormItem>
</Form> </Form>
</Col> </Col>
<Col span="2" v-if="groupUsers.length>0"> <Col span="4" v-if="groupUsers.length>0">
<label>可导入人员:{{ groupUsers.length }}</label> <label>可导入人员:{{ groupUsers.length }}</label>
<Button type="primary" @click="importBtn">导入</Button> <Button type="primary" @click="importBtn">导入</Button>
</Col> </Col>
<Col span="1" offset="17"> <Col span="1" offset="17" class="ar">
<Button type="primary" @click="clickTeams">保存</Button> <Button icon="md-construct" @click="clickTeams">存为团队</Button>
</Col> </Col>
<Modal v-model="modalFormk" :title="title" width="1200" footer-hide> <Modal v-model="modalFormk" :title="title" width="1200" footer-hide>
<Form ref="modalForm" :model="modalForm" :rules="rules" :label-width="90" > <Form ref="modalForm" :model="modalForm" :rules="rules" :label-width="90" >
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<Icon type="ios-arrow-forward" size="24" /> <Icon type="ios-arrow-forward" size="24" />
</a> </a>
</div> </div>
<Content class="content" :class="!showMenu?'con_bord':''"> <Content class="content" :class="!showMenu?'con_bord':''" >
<DataGrid :columns="columns" ref="grid" :action="action" :conditions="easySearch" :lazy="true"> <DataGrid :columns="columns" ref="grid" :action="action" :conditions="easySearch" :lazy="true">
<template slot="easySearch"> <template slot="easySearch">
<Form ref="formInline" inline> <Form ref="formInline" inline>
......
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