ysy há 1 ano atrás
pai
commit
093e85ee2b

+ 9 - 2
pages/pda/components/bottomOperate.vue

@@ -49,7 +49,7 @@
 			<view class="btn" @click="handTerminate()">终止</view>
 			<view class="btn">转派</view>
 			<view class="btn" :style="newTaskObj.existOutsource == 1 ? 'background: #FFA929' : ''" @click="handOutsource()">委外</view>
-			<view class="btn">交接</view>
+			<view class="btn"  @click="handHandover">交接</view>
 		</view>
 
 		<SearchPopup mode="center" v-if="outsourceShow">
@@ -143,6 +143,7 @@
 		</SearchPopup>
 		
 		<outsourceList  ref="outsourceListRef" @close="outCancel()"></outsourceList>
+		<handover ref="handoverRef"></handover>
 
 	</view>
 </template>
@@ -162,6 +163,7 @@
 	import SearchPopup from './searchPopup.vue'
 	
 	import outsourceList from './outsourceList.vue'
+	import handover from './handover.vue'
 		
 	import {
 		EventBus
@@ -171,7 +173,8 @@
 	export default {
 		components: {
 			SearchPopup,
-			outsourceList
+			outsourceList,
+			handover
 		},
 
 		props: {
@@ -463,6 +466,10 @@
 				}
 
 			},
+			
+			handHandover() {
+				this.$refs.handoverRef.open()
+			},
 
 			handTerminate() {
 

+ 74 - 0
pages/pda/components/handover.vue

@@ -0,0 +1,74 @@
+<template>
+	<view>
+		<u-popup :show="show" :mode='mode' :closeOnClickOverlay='false'>
+			<view class="popup_list">
+
+				<u-form labelPosition="left" :model="form" labelWidth="180" labelAlign="left" class="">
+					<u-form-item label="交接班组:" borderBottom prop="">
+						<zxz-uni-data-select :localdata="bzList" v-model="form.bz" dataValue='id' dataKey="name"
+							filterable format='{name}'></zxz-uni-data-select>
+					</u-form-item>
+				</u-form>
+			</view>
+
+
+			<view class="operate_box  rx-bc">
+				<u-button size="small" class="u-reset-button" @click="close">
+					取消
+				</u-button>
+				<u-button type="success" size="small" class="u-reset-button" @click="handOK">
+					提交
+				</u-button>
+
+			</view>
+		</u-popup>
+	</view>
+</template>
+
+<script>
+	import SearchPopup from './searchPopup.vue'
+	export default {
+		components: {},
+
+		data() {
+			return {
+				mode: 'center',
+				show: false,
+				topHight: 20 || 20,
+
+				form: {},
+				bzList: []
+			}
+		},
+		methods: {
+			open(obj) {
+
+
+				this.show = true
+			},
+
+			close() {},
+
+			handOK() {},
+		}
+
+	}
+</script>
+
+<style lang="scss" scoped>
+	.popup_list {
+		width: 78vw;
+		min-height: 360rpx;
+		padding: 0 32rpx;
+
+
+	}
+
+	.operate_box {
+		padding: 10rpx 32rpx;
+
+		/deep/ .u-button {
+			width: 40%;
+		}
+	}
+</style>