chunk-2d0af4a5.b76f11fe.js 2.8 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0af4a5"],{"0e60":function(e,t,i){"use strict";i.r(t);var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"app-container"},[i("el-form",{ref:"form",attrs:{model:e.form,"label-width":"100px"}},[i("el-form-item",{attrs:{label:"来文标题 : "}},[i("el-input",{model:{value:e.form.fwtitle,callback:function(t){e.$set(e.form,"fwtitle",t)},expression:"form.fwtitle"}})],1),i("el-form-item",{attrs:{label:"来文单位 : "}},[i("el-input",{model:{value:e.form.fwdept,callback:function(t){e.$set(e.form,"fwdept",t)},expression:"form.fwdept"}})],1),i("el-form-item",{attrs:{label:"来文日期 : "}},[i("el-input",{model:{value:e.form.createTime,callback:function(t){e.$set(e.form,"createTime",t)},expression:"form.createTime"}})],1),i("el-form-item",{attrs:{label:"流水号 : "}},[i("el-input")],1),i("el-form-item",{attrs:{label:"文件字号 : "}},[i("el-input")],1),i("el-form-item",{attrs:{label:"紧急程度 : "}},[i("el-input")],1),i("el-form-item",{attrs:{label:"添加附件 : "}},[i("el-upload",{staticClass:"upload-demo",attrs:{action:"https://jsonplaceholder.typicode.com/posts/","on-preview":e.handlePreview,"on-remove":e.handleRemove,"before-remove":e.beforeRemove,multiple:"",limit:3,"on-exceed":e.handleExceed,"file-list":e.fileList}},[i("el-button",{attrs:{size:"small",type:"primary"}},[e._v("点击上传")])],1)],1),i("el-form-item",{attrs:{label:"收文原件 : "}},[i("el-input")],1),i("el-form-item",{attrs:{label:"发文对象 : "}},[i("el-input")],1)],1)],1)},s=[],r=(i("20d6"),i("5b15")),a={name:"tododetails",data:function(){return{form:this.$route.query.bd,loading:!0,fileList:[]}},created:function(){this.info()},methods:{info:function(e){},submitToDo:function(){var e=this;this.loading=!0,Object(r["f"])(this.form.taskid).then((function(t){e.msgSuccess("提交成功"),e.$router.go(-1),e.$store.state.tagsView.visitedViews.splice(e.$store.state.tagsView.visitedViews.findIndex((function(t){return t.path===e.$route.path})),1),e.$router.push(e.$store.state.tagsView.visitedViews[e.$store.state.tagsView.visitedViews.length-1].path)}))},deleteToDo:function(){var e=this;this.$confirm("是否确认拒绝这这个申请吗?","警告",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(r["a"])(e.form.taskid).then((function(t){e.msgSuccess("拒绝成功"),e.form={},e.$router.go(-1),e.$store.state.tagsView.visitedViews.splice(e.$store.state.tagsView.visitedViews.findIndex((function(t){return t.path===e.$route.path})),1),e.$router.push(e.$store.state.tagsView.visitedViews[e.$store.state.tagsView.visitedViews.length-1].path)}))})).catch((function(){}))}},watch:{$route:function(e,t){e!=t&&(this.form=this.$route.query.bd)}}},l=a,n=i("2877"),f=Object(n["a"])(l,o,s,!1,null,"b9023c96",null);t["default"]=f.exports}}]);