wang1
2023-07-20 12ab52e9490034843b72f1399da666108cabbe4f
提交被覆盖的前端代码,流程模板、流程阶段、流程审批页面
已修改3个文件
35 ■■■■ 文件已修改
Source/UBCS-WEB/src/components/template/FlowPath.vue 28 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/template/SetPersonnel.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/views/work/process/leave/handle.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/template/FlowPath.vue
@@ -1,5 +1,5 @@
<template>
        <avue-crud ref="crud" :table-loading="loading" :data="data" v-model="form" :option="option" :page.sync="page"   :permission="permissionList"
        <avue-crud ref="crud" :table-loading="loading" :data="data" v-model="form" :option="option" :page.sync="page"
            :search.sync="search" @on-load="getDataList" @row-save="handleSave" @row-del="handleDelete"
            @row-update="handleEdit" @refresh-change="handleRefresh" @size-change="handleSizePage"
            @current-change="handleCurrentPage">
@@ -8,19 +8,14 @@
<script>
import { getFlowpathList, getStartList, flowpathSave, flowpathDelete } from '@/api/template/flowpath.js'
import {mapGetters} from "vuex";
export default {
    name: 'FlowPath',
    props: {
      code: {
        typeof: String,
        required: true,
        default: ""
      },
      crudLCStatus: {
        type: String,
        default: 'Editing'
      }
        code: {
            typeof: String,
            required: true,
            default: ""
        }
    },
    data() {
        return {
@@ -103,17 +98,6 @@
    created() {
        this.getStart()
    },
  computed:{
    ...mapGetters([ "permission"]),
    permissionList() {
      return {
        addBtn: this.crudLCStatus=='Editing',
        viewBtn: false,
        delBtn: this.crudLCStatus=='Editing',
        editBtn: this.crudLCStatus=='Editing'
      };
    },
  },
    methods: {
        async getStart() {
            const response = await getStartList()
Source/UBCS-WEB/src/components/template/SetPersonnel.vue
@@ -76,7 +76,6 @@
        visible(n) {
            this.dialogVisible = n;
            if (n) {
              this.saveParam=this.setSaveParam();
                this.apiInit()
                this.apiDict()
            }
@@ -118,8 +117,10 @@
    },
    mounted() {
      console.log('---',this.parameter)
    },
    created() {
  created() {
    console.log('parameter',this.parameter)
  },
  methods: {
        setSaveParam() {
Source/UBCS-WEB/src/views/work/process/leave/handle.vue
@@ -146,7 +146,7 @@
      this.templateId=res.data.variables.templateId;
      this.modelKey=res.data.variables.modelKey;
      this.codeClassifyOid=res.data.variables.codeClassifyOid;
      this.taskId=res.data.variables.taskId;
      //this.taskId=res.data.variables.taskId;
      if (res.success) {
        console.log(res)
        this.btnList = res.data.toTasks;