feat:任务分解打印
This commit is contained in:
parent
b56a06d5e6
commit
7956d72987
|
@ -7,6 +7,7 @@
|
||||||
@closed="$emit('closed')"
|
@closed="$emit('closed')"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
|
<el-button type="primary" @click="handlePrint" style="position: absolute;right: 20px;">打印</el-button>
|
||||||
<el-card style="width: 100%" header="基本信息" shadow="never">
|
<el-card style="width: 100%" header="基本信息" shadow="never">
|
||||||
<el-descriptions>
|
<el-descriptions>
|
||||||
<el-descriptions-item label="名称">{{
|
<el-descriptions-item label="名称">{{
|
||||||
|
@ -67,10 +68,15 @@
|
||||||
<el-button type="primary" @click="mtaskb_submit">提交</el-button>
|
<el-button type="primary" @click="mtaskb_submit">提交</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<el-dialog v-model="printVisible" width="1200px">
|
||||||
|
<print :baseData="mtaskObj" type="mtask" @closePrint="printVisible=false"/>
|
||||||
|
</el-dialog>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
import print from "./../setting/print/A4.vue";
|
||||||
export default {
|
export default {
|
||||||
|
components: { print },
|
||||||
props: {
|
props: {
|
||||||
mgroup: {
|
mgroup: {
|
||||||
type: String,
|
type: String,
|
||||||
|
@ -89,6 +95,7 @@ export default {
|
||||||
loading: false,
|
loading: false,
|
||||||
visible: false,
|
visible: false,
|
||||||
isSaveing: false,
|
isSaveing: false,
|
||||||
|
printVisible:false,
|
||||||
mtaskObj:{},
|
mtaskObj:{},
|
||||||
userList:[],
|
userList:[],
|
||||||
cUserList:[],//
|
cUserList:[],//
|
||||||
|
@ -182,6 +189,10 @@ export default {
|
||||||
this.selectionFilters = filters;
|
this.selectionFilters = filters;
|
||||||
this.setFiltersVisible = true;
|
this.setFiltersVisible = true;
|
||||||
},
|
},
|
||||||
|
//打印
|
||||||
|
handlePrint(){
|
||||||
|
this.printVisible = true;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue