ludc
2023-06-27 b6bc27020cf028c4390d7262c4d2f08eaa51b2f0
Source/UBCS-WEB/src/components/template/SetPersonnel.vue
@@ -100,7 +100,7 @@
            tags: [],
            typeName: [],
            collectParam: {},
            saveParam: this.saveParam(),
            saveParam: this.setSaveParam(),
            users: [],
            rules: {
                processName: [
@@ -114,9 +114,13 @@
    mounted() {
        // this.apiInit()
        // this.apiDict()
      console.log('---',this.parameter)
    },
    methods: {
        saveParam() {
  created() {
    console.log('parameter',this.parameter)
  },
  methods: {
        setSaveParam() {
            return {
                processName: this.parameter[this.parameterKeys.flowTemplate],
                topName: this.title,
@@ -200,8 +204,8 @@
                        message: "请选择节点!"
                    });
                } else {
                    const {modelKey,modelName,processDesc,processName,templateId,topName,vars} = this.saveParam
                    const vals= {modelKey,modelName,processDesc,processName,templateId,topName,...vars}
                    const {modelKey,modelName,processDesc,processName,templateId,topName,vars,ids} = this.saveParam
                    const vals= {modelKey,modelName,processDesc,processName,templateId,topName,ids,...vars}
                    const response = await personnelSave({ variables:vals, flowTaskUsers: this.collectParam.flowTaskUsers, })
                    if (response.status === 200) {
                        console.log(response)