centaline-data-driven-v3 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import Axios from 'axios';
2
2
  import Enum from './Enum';
3
3
  import common from './common';
4
- import { closeToast } from "vant";
4
+ import { closeToast } from "vant";
5
5
 
6
6
 
7
7
  Axios.defaults.headers.post['Content-Type'] = 'application/json';
@@ -83,31 +83,32 @@ const request = {
83
83
  common.message(response.data.rtnMsg, 'success')
84
84
  }
85
85
  }
86
- }
87
- if (data.notification === Enum.ActionType.Export && data.content) {//导出
88
- var dialogOption = {
89
- title: "导出",
90
- content: [{
91
- component: 'ct-progress',
92
- width: '350px',
93
- height: '165px',
94
- attrs: {
95
- progressAction: data.content.action,
96
- progressKey: data.content.key,
97
- progressType: 'export',
98
- flagNotification: '1',
99
- onFinished(data) {
100
- common.closeDialog(dialogOption);
101
86
 
87
+ if (data.notification === Enum.ActionType.Export && data.content) {//导出
88
+ var dialogOption = {
89
+ title: "导出",
90
+ content: [{
91
+ component: 'ct-progress',
92
+ width: '350px',
93
+ height: '165px',
94
+ attrs: {
95
+ progressAction: data.content.action,
96
+ progressKey: data.content.key,
97
+ progressType: 'export',
98
+ flagNotification: '1',
99
+ onFinished(data) {
100
+ common.closeDialog(dialogOption);
101
+
102
+ },
103
+ onError(data) {
104
+ common.closeDialog(dialogOption);
105
+ common.message(data.rtnMsg, 'info')
106
+ }
102
107
  },
103
- onError(data) {
104
- common.closeDialog(dialogOption);
105
- common.message(data.rtnMsg, 'info')
106
- }
107
- },
108
- }]
109
- };
110
- self.$common.openDialog(dialogOption);
108
+ }]
109
+ };
110
+ common.openDialog(dialogOption);
111
+ }
111
112
  }
112
113
  else if (data.rtnCode === Enum.ReturnCode.ConfirmAlert) {
113
114
  }
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="data-driven" id="app-form" >
3
3
 
4
- <ct-form :api="'/PropertyPublish/readDetail'" :apiParam="apiParam" :flagNavbar="true"></ct-form>
4
+ <ct-form :api="'/EmployeeAttendanceBillApply/getLayoutOfNew'" :apiParam="apiParam" :flagNavbar="true"></ct-form>
5
5
  <!-- <ct-form :api="'/api/third-dept-tran/tran-comm-adjust/task'" :apiParam="apiParam"></ct-form> -->
6
6
  <!-- <ct-form :api="'/PropertyTranToActive/getLayoutOfNew'" :apiParam="apiParam"></ct-form> -->
7
7
  <!-- <ct-textbox :source="source"></ct-textbox> -->
@@ -4,11 +4,11 @@
4
4
  :searchDataApi="'/propertyPublishList/getListOfSearchModel'"
5
5
  :searchStatsApi="'/propertyPublishList/getListStats'"></ct-searchlist> -->
6
6
 
7
- <!-- <ct-searchlist :apiParam="apiParam" :searchConditionApi="'/propertyTenderList/getLayoutOfSearch'"
8
- :searchDataApi="'/propertyTenderList/getListOfSearchModel'"></ct-searchlist> -->
7
+ <ct-searchlist :apiParam="apiParam" :searchConditionApi="'/EmployeeAttendanceBillList/getLayoutOfSearchForMy'"
8
+ :searchDataApi="'/EmployeeAttendanceBillList/getListOfSearchModelForMy'"></ct-searchlist>
9
9
 
10
- <ct-searchlist :apiParam="apiParam" :searchConditionApi="'/OvertimeList/getLayoutOfSearch'"
11
- :searchDataApi="'/OvertimeList/getListOfSearchModel'"></ct-searchlist>
10
+ <!-- <ct-searchlist :apiParam="apiParam" :searchConditionApi="'/OvertimeList/getLayoutOfSearch'"
11
+ :searchDataApi="'/OvertimeList/getListOfSearchModel'"></ct-searchlist> -->
12
12
  <ct-dialoglist ref="dialogList"></ct-dialoglist>
13
13
 
14
14
  </div>