123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- <!--<template>-->
- <!--<el-dialog :close-on-click-modal="false" :title="title" :visible.sync="visible" :append-to-body="true" width="600px">-->
- <!--<el-table :data="historyList" border v-loading="historyLoading" style="width: 100%;">-->
- <!--<el-table-column width="100" prop="taskName" header-align="center" align="center" label="流程进度"></el-table-column>-->
- <!--<el-table-column width="80" prop="userName" header-align="center" align="center" label="处理人"></el-table-column>-->
- <!--<el-table-column prop="comment" header-align="center" align="center" label="备注 / 审批意见"></el-table-column>-->
- <!--<el-table-column width="100" prop="taskCreateTime" header-align="center" align="center" label="开始时间"></el-table-column>-->
- <!--<el-table-column width="100" prop="taskEndTime" header-align="center" align="center" label="结束时间"></el-table-column>-->
- <!--</el-table>-->
- <!--<div slot="footer" class="dialog-footer">-->
- <!--<el-button type="success" @click="dataFormSubmit(1)">通 过</el-button>-->
- <!--<el-button type="info" @click="dataFormSubmit(0)">驳 回</el-button>-->
- <!--<el-button @click="visible = false">返回</el-button>-->
- <!--</div>-->
- <!--</el-dialog>-->
- <!--</template>-->
- <!--<script>-->
- <!--import { getToken } from "@/utils/auth";-->
- <!--import { treeselect, listDept } from "@/api/system/dept";-->
- <!--import Treeselect from "@riophae/vue-treeselect";-->
- <!--import "@riophae/vue-treeselect/dist/vue-treeselect.css";-->
- <!--import {getHistorylist} from "@/api/branch/approvedanger";-->
- <!--export default {-->
- <!--name: "questionnaire-detail",-->
- <!--components: { Treeselect },-->
- <!--data() {-->
- <!--return {-->
- <!--rules: {-->
- <!--},-->
- <!--taskForm: {},-->
- <!--title: null,-->
- <!--visible: false,-->
- <!--deptOptions: [],-->
- <!--//流转列表-->
- <!--historyList: [],-->
- <!--// rejectList: [],-->
- <!--historyLoading: true,-->
- <!--dialogType: 0,-->
- <!--}-->
- <!--},-->
- <!--methods: {-->
- <!--init(id, taskId, processId, taskName, dialogType) {-->
- <!--// 流转列表-->
- <!--getHistorylist({ "processId": processId }).then(response => {-->
- <!--this.historyList = response.rows;-->
- <!--this.historyLoading = false-->
- <!--});-->
- <!--this.reset();-->
- <!--this.visible = true;-->
- <!--// if (taskName == "支部申请") {-->
- <!--// this.newDeptIdDisabled = false;-->
- <!--// } else {-->
- <!--// this.newDeptIdDisabled = true;-->
- <!--// }-->
- <!--// this.dialogType = dialogType;-->
- <!--// if (dialogType == 1) {-->
- <!--// this.title = taskName + "处理";-->
- <!--// } else {-->
- <!--// this.title = "查看详情";-->
- <!--// }-->
- <!--// this.taskForm.objId = id;-->
- <!--// this.taskForm.taskId = taskId;-->
- <!--// this.taskForm.taskName = taskName;-->
- <!--// getMember(id).then(response => {-->
- <!--// this.taskForm.obj = response.data;-->
- <!--// this.taskForm.oldDeptId = Number(response.data.oldDeptId);-->
- <!--// this.taskForm.newDeptId = Number(response.data.newDeptId);-->
- <!--// this.taskForm.userId = Number(response.data.userId);-->
- <!--// console.log(typeof(this.taskForm.newDeptId))-->
- <!--// console.log(typeof(this.taskForm.userId))-->
- <!--// });-->
- <!--// this.getTreeselect();-->
- <!--// this.getUserList();-->
- <!--},-->
- <!--reset() {-->
- <!--this.taskForm = {-->
- <!--oldDeptId: null,-->
- <!--newDeptId: null,-->
- <!--comment: '',-->
- <!--};-->
- <!--},-->
- <!--dataFormSubmit(condition) {-->
- <!--this.$refs["form"].validate(valid => {-->
- <!--if (valid) {-->
- <!--if (this.taskForm.taskName == "支部申请") {-->
- <!--this.taskForm.obj.oldDeptId = this.taskForm.oldDeptId;-->
- <!--this.taskForm.obj.newDeptId = this.taskForm.newDeptId;-->
- <!--this.$forceUpdate();-->
- <!--}-->
- <!--this.taskForm.condition = condition;-->
- <!--handle(this.taskForm).then(response => {-->
- <!--this.visible = false;-->
- <!--this.$modal.msgSuccess("提交成功");-->
- <!--// refreshDataList事件:调用父组件getList方法刷新页面-->
- <!--this.$emit('refreshDataList');-->
- <!--});-->
- <!--}-->
- <!--});-->
- <!--},-->
- <!--/** 查询部门下拉树结构 */-->
- <!--getTreeselect() {-->
- <!--treeselect().then(response => {-->
- <!--this.deptOptions = response.data;-->
- <!--});-->
- <!--},-->
- <!--}-->
- <!--}-->
- <!--</script>-->
- <!--<style scoped lang="scss">-->
- <!--::v-deep .el-input.is-disabled .el-input__inner {-->
- <!--color: #606266;-->
- <!--background-color: transparent;-->
- <!--}-->
- <!--</style>-->
|