Compare commits
	
		
			2 Commits
		
	
	
		
			df1bbab25d
			...
			7138931260
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					7138931260 | ||
| 
						 | 
					6676f8ebd8 | 
@ -179,6 +179,12 @@
 | 
				
			|||||||
											border="surround"></u--textarea>
 | 
																border="surround"></u--textarea>
 | 
				
			||||||
									</u-form-item> -->
 | 
														</u-form-item> -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
														<u-form-item borderBottom style="text-align: center;">
 | 
				
			||||||
 | 
															<button type="primary" class="btnSubDel"
 | 
				
			||||||
 | 
																style="width: 35%; background-color: red;"
 | 
				
			||||||
 | 
																v-if='(isDIY||(isLoadOK && tableKey === "1"))'
 | 
				
			||||||
 | 
																@click.stop="DetailDel(item)">删除</button>
 | 
				
			||||||
 | 
														</u-form-item>
 | 
				
			||||||
								</uni-collapse-item>
 | 
													</uni-collapse-item>
 | 
				
			||||||
							</uni-card>
 | 
												</uni-card>
 | 
				
			||||||
						</uni-collapse>
 | 
											</uni-collapse>
 | 
				
			||||||
@ -492,21 +498,21 @@
 | 
				
			|||||||
				this.currentTab = t
 | 
									this.currentTab = t
 | 
				
			||||||
			},
 | 
								},
 | 
				
			||||||
			btnCancel() {
 | 
								btnCancel() {
 | 
				
			||||||
				var that=this
 | 
									var that = this
 | 
				
			||||||
				uni.showModal({
 | 
									uni.showModal({
 | 
				
			||||||
					title: '提示',
 | 
										title: '提示',
 | 
				
			||||||
					content: '确定取消?',
 | 
										content: '确定取消?',
 | 
				
			||||||
					success: function(res) {
 | 
										success: function(res) {
 | 
				
			||||||
						if (res.confirm) {
 | 
											if (res.confirm) {
 | 
				
			||||||
							
 | 
												let json = initFilter(that.model.ORG_ID, that.model.ID, null, null, null, that
 | 
				
			||||||
							let json = initFilter(that.model.ORG_ID, that.model.ID, null, null, null, that.TaskID);
 | 
													.TaskID);
 | 
				
			||||||
							Cancel(json).then(res => {
 | 
												Cancel(json).then(res => {
 | 
				
			||||||
								uni.$showMsgFunc('操作成功!', () => {
 | 
													uni.$showMsgFunc('操作成功!', () => {
 | 
				
			||||||
									uni.navigateBack()
 | 
														uni.navigateBack()
 | 
				
			||||||
								}, 'success', 1000)
 | 
													}, 'success', 1000)
 | 
				
			||||||
							})
 | 
												})
 | 
				
			||||||
						// } else {
 | 
												// } else {
 | 
				
			||||||
						// 	uni.$showErrorInfo('取消!')
 | 
												// 	uni.$showErrorInfo('取消!')
 | 
				
			||||||
						}
 | 
											}
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
				})
 | 
									})
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user