pull/1/head
			
			
		
		
							parent
							
								
									e27c49a6b9
								
							
						
					
					
						commit
						d2a10fe313
					
				
				 3 changed files with 128 additions and 6 deletions
			
			
		| @ -0,0 +1,54 @@ | |||||||
|  | <template> | ||||||
|  |   <el-dialog | ||||||
|  |     :title="controlWindows.addInfo.title" | ||||||
|  |     :visible.sync="controlWindows.examine" | ||||||
|  |     width="40%" | ||||||
|  |   > | ||||||
|  |     <el-input | ||||||
|  |       type="textarea" | ||||||
|  |       :rows="2" | ||||||
|  |       :placeholder="controlWindows.addInfo.placeholder" | ||||||
|  |       v-model="auditRemark" | ||||||
|  |     > | ||||||
|  |     </el-input> | ||||||
|  |     <span slot="footer" class="dialog-footer"> | ||||||
|  |       <el-button @click="closeWindow">取 消</el-button> | ||||||
|  |       <el-button type="primary" @click="submit">确 定</el-button> | ||||||
|  |     </span> | ||||||
|  |   </el-dialog> | ||||||
|  | </template> | ||||||
|  | 
 | ||||||
|  | <script> | ||||||
|  | import serve from "api/financialCenter/enterpriseRecharge.js"; | ||||||
|  | export default { | ||||||
|  |   props: { | ||||||
|  |     controlWindows: Object, | ||||||
|  |   }, | ||||||
|  |   data() { | ||||||
|  |     return { | ||||||
|  |       auditRemark: "", | ||||||
|  |     }; | ||||||
|  |   }, | ||||||
|  |   methods: { | ||||||
|  |     closeWindow() { | ||||||
|  |       this.auditRemark = ""; | ||||||
|  |       this.controlWindows.addInfo = {}; | ||||||
|  |       this.$emit("closeWindow"); | ||||||
|  |       this.controlWindows.examine = false; | ||||||
|  |     }, | ||||||
|  |     submit() { | ||||||
|  |       serve | ||||||
|  |         .audit({ | ||||||
|  |           auditRemark: this.auditRemark, | ||||||
|  |           ...this.controlWindows.addInfo, | ||||||
|  |         }) | ||||||
|  |         .then((res) => { | ||||||
|  |           this.$message.success(res.msg); | ||||||
|  |           this.closeWindow(); | ||||||
|  |         }); | ||||||
|  |     }, | ||||||
|  |   }, | ||||||
|  | }; | ||||||
|  | </script> | ||||||
|  | 
 | ||||||
|  | <style></style> | ||||||
					Loading…
					
					
				
		Reference in new issue