Browse Source

工作流前端垃圾代码剔除

main
pixel 4 years ago
parent
commit
da0f416e2e
  1. 23
      web/src/view/exa_wf_leave/exa_wf_leaveFrom.vue

23
web/src/view/exa_wf_leave/exa_wf_leaveFrom.vue

@ -27,10 +27,7 @@
></el-date-picker>
</el-form-item>
<el-form-item>
<el-button
v-if="this.wf.clazz == 'start'"
@click="start"
type="primary"
<el-button v-if="this.wf.clazz == 'start'" @click="start" type="primary"
>启动</el-button
>
<el-button
@ -45,11 +42,7 @@
type="primary"
>拒绝</el-button
>
<el-button
@click="back"
type="primary"
>返回</el-button
>
<el-button @click="back" type="primary">返回</el-button>
</el-form-item>
</el-form>
</div>
@ -62,7 +55,6 @@ import {
} from "@/api/workflowProcess";
import infoList from "@/mixins/infoList";
import { mapGetters } from "vuex";
import Axios from 'axios';
export default {
name: "ExaWfLeave",
mixins: [infoList],
@ -82,12 +74,10 @@ export default {
},
data() {
return {
type: "",
formData: {
cause:"",
startTime:new Date(),
endTime:new Date(),
}
};
},
@ -151,7 +141,7 @@ export default {
if(res.code == 0){
this.$message({
type:"success",
message:"提交"
message:"提交成功"
})
this.back()
}
@ -161,12 +151,9 @@ export default {
}
},
async created() {
console.log(this.workflowMoveID)
// urlID find createupdate idurl
if(this.business){
if(this.business){
this.formData = this.business
}
}
}
};

Loading…
Cancel
Save