|
@@ -45,7 +45,6 @@
|
|
|
<script src="./resource/uni.webview.js"></script>
|
|
<script src="./resource/uni.webview.js"></script>
|
|
|
<script src="./vue-form-making/form-making-v3.umd.js"></script>
|
|
<script src="./vue-form-making/form-making-v3.umd.js"></script>
|
|
|
<script>
|
|
<script>
|
|
|
- const APIUrl = 'http://192.168.1.251:51001'
|
|
|
|
|
let EnvObj = {}
|
|
let EnvObj = {}
|
|
|
uni.getEnv(function(res) {
|
|
uni.getEnv(function(res) {
|
|
|
EnvObj = res;
|
|
EnvObj = res;
|
|
@@ -66,6 +65,7 @@
|
|
|
created() {
|
|
created() {
|
|
|
this.headers = this.getQueryParams('headers');
|
|
this.headers = this.getQueryParams('headers');
|
|
|
let params = this.getQueryParams('params');
|
|
let params = this.getQueryParams('params');
|
|
|
|
|
+ const APIUrl = this.headers.serverInfo
|
|
|
axios({
|
|
axios({
|
|
|
method: 'get',
|
|
method: 'get',
|
|
|
url: APIUrl + `/flowable/bpmcustomform/getById/${params.id}`,
|
|
url: APIUrl + `/flowable/bpmcustomform/getById/${params.id}`,
|
|
@@ -101,16 +101,16 @@
|
|
|
this.isFlag = true
|
|
this.isFlag = true
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
- // axios({
|
|
|
|
|
- // method: 'get',
|
|
|
|
|
- // url: APIUrl + `/bpm/task/list-by-process-instance-id?processInstanceId=${params.id}`,
|
|
|
|
|
- // headers: this.headers,
|
|
|
|
|
- // }).then((res) => {
|
|
|
|
|
- // console.log(res)
|
|
|
|
|
- // if (res.data.code != '-1') {
|
|
|
|
|
|
|
+ axios({
|
|
|
|
|
+ method: 'get',
|
|
|
|
|
+ url: APIUrl + `/bpm/task/list-by-process-instance-id?processInstanceId=${params.id}`,
|
|
|
|
|
+ headers: this.headers,
|
|
|
|
|
+ }).then((res) => {
|
|
|
|
|
+ console.log(res)
|
|
|
|
|
+ if (res.data.code != '-1') {
|
|
|
|
|
|
|
|
- // }
|
|
|
|
|
- // });
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
},
|