yusheng 1 жил өмнө
parent
commit
6cecf521b0

+ 9 - 9
src/views/bpm/handleTask/formParser/formParserDialog.vue

@@ -89,15 +89,15 @@ export default {
   },
   methods: {
     open(row){
-      // this.form = _.cloneDeep(row)
-      // this.jsonData = JSON.parse(this.form.formJson.makingJson);
-      // this.jsonData.config.dataSource &&
-      // this.jsonData.config.dataSource.forEach((item) => {
-      //   item.headers = {
-      //     Authorization: getToken()
-      //   };
-      //   // item.url = item.url && item.url.replace('/api', this.APIUrl);
-      // });
+      this.form = _.cloneDeep(row)
+      this.jsonData = JSON.parse(this.form.formJson.makingJson);
+      this.jsonData.config.dataSource &&
+      this.jsonData.config.dataSource.forEach((item) => {
+        item.headers = {
+          Authorization: getToken()
+        };
+        // item.url = item.url && item.url.replace('/api', this.APIUrl);
+      });
     },
     cancel() {
       this.$emit('update:formParserDialogFlag', false);