centaline-data-driven 1.5.68 → 1.5.69

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.
@@ -60,6 +60,8 @@ const paths = {
60
60
  "dynamicEditPictures": "./src/centaline/dynamicEditPictures/index.js", //图片编辑组件
61
61
  "dynamicMapBaidu": "./src/centaline/dynamicMapBaidu/index.js", //地图
62
62
  "dynamicContainer": "./src/centaline/dynamicContainer/index.js", //容器控件
63
+ "dynamicSearch": "./src/centaline/dynamicSearch/index.js", //查询条件
64
+ "dynamicCalendar": "./src/centaline/dynamicCalendar/index.js", //日历控件
63
65
  },
64
66
  "plugs": {
65
67
  "api": "./src/centaline/api/index.js", //调用API插件
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centaline-data-driven",
3
- "version": "1.5.68",
3
+ "version": "1.5.69",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
package/release-log.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## v1.5.69
2
+ 2023-10-25
3
+
4
+ 新增
5
+
6
+ 将查询条件包装成组件
7
+
8
+ 表单中打开link参数优化和列表打开一致
9
+
10
+ 列表多选按钮多个参数优化
11
+
1
12
  ## v1.5.68
2
13
  2023-10-08
3
14
 
@@ -0,0 +1,85 @@
1
+ <template>
2
+ <div id="app-Class">
3
+ <el-container style="background-color: #ddd !important">
4
+ <el-header style="height: 60%; width: 100%; padding: 0 10px">
5
+ <ct-searchlist
6
+ :searchConditionApi="'/EmployeeClassList/getEmployeeLayoutOfSearch'"
7
+ :searchDataApi="'/EmployeeClassList/getEmployeeListOfSearchModel'"
8
+ @rowClickHandle="rowClickHandle"
9
+ ></ct-searchlist
10
+ ></el-header>
11
+ <el-container
12
+ style="height: 40%; margin-top: 10px; padding-left: 10px"
13
+ v-if="flagShow"
14
+ >
15
+ <el-aside width="50%" style="margin-right: 10px">
16
+ <ct-searchlist
17
+ :searchConditionApi="ClassSearch"
18
+ :searchDataApi="ClassModel"
19
+ :apiParam="classSearchPara"
20
+ ></ct-searchlist
21
+ ></el-aside>
22
+ <el-main width="50%" style="padding: 0 10px 10px 0">
23
+ <!-- <ct-searchlist
24
+ :searchConditionApi="'/EmployeeClassList/getEmployeeLayoutOfSearch'"
25
+ :searchDataApi="'/EmployeeClassList/getEmployeeListOfSearchModel'"
26
+ ></ct-searchlist> -->
27
+ <ct-calendar :searchConditionApi="'/EmployeeClassCalenderList/getLayoutOfSearch'"
28
+ :searchDataApi="'/EmployeeClassCalenderList/getListOfSearchModel'" :apiParam="classSearchPara" ></ct-calendar>
29
+ </el-main>
30
+ </el-container>
31
+ </el-container>
32
+
33
+ <ct-dialog-list></ct-dialog-list>
34
+ </div>
35
+ </template>
36
+
37
+ <script>
38
+ import Vue from "vue";
39
+ export default {
40
+ name: "DataDrivenEmployeeClassList",
41
+ data() {
42
+ return {
43
+ classSearchPara: {},
44
+ flagShow: false,
45
+ ClassSearch:'/EmployeeClassList/getLayoutOfSearch',
46
+ ClassModel:'/EmployeeClassList/getListOfSearchModel',
47
+ };
48
+ },
49
+ methods: {
50
+ rowClickHandle(data) {
51
+
52
+ this.flagShow = false;
53
+
54
+
55
+ var self = this;
56
+ self.$nextTick(() => {
57
+ this.classSearchPara = data;
58
+ this.flagShow = true;
59
+
60
+ });
61
+ },
62
+ loaded(data) {
63
+ debugger
64
+ var self = this;
65
+ self.isShowSearchlist = false;
66
+ self.apiParam = data;
67
+ self.$nextTick(() => {
68
+ self.isShowSearchlist = true;
69
+ });
70
+ }
71
+ },
72
+ mounted() {},
73
+ created() {},
74
+ };
75
+ </script>
76
+ <style>
77
+ body {
78
+ height: 100%;
79
+ overflow: hidden;
80
+ }
81
+
82
+ html {
83
+ height: 100%;
84
+ }
85
+ </style>
package/src/Form.vue CHANGED
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div id="form-app" class="data-driven" style="width:100%;height:100%;overflow:auto">
3
3
  <!-- <ct-form :source="formdata.content" :apiParam="apiParam"></ct-form> -->
4
- <ct-form :api="'/api/third-dept-tran/transaction/edit'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
4
+ <ct-form :api="'/api/distribution/transactionCommAdjust/detail'" :apiParam="apiParam" :topHeight="topHeight"></ct-form>
5
5
  <ct-dialog-list></ct-dialog-list>
6
6
  </div>
7
7
  </template>
@@ -12,7 +12,7 @@
12
12
  data() {
13
13
  return {
14
14
  apiParam:{
15
- "originalTraId":"1701804080706330626","actionType":"3","pageStyle":"2","pageTitle":"修改成交单","pageOnly":"true"
15
+ transactionId: "1699302916360077313", actionType: "1", pageStyle: "2", pageOnly: "true"
16
16
  },
17
17
  topHeight:10,
18
18
  }
@@ -15,6 +15,7 @@
15
15
 
16
16
  <!-- <ct-searchlist :appRootUrl="appRootUrl" :searchConditionApi="'/api/necessaryFile/importTransFile/getLayoutOfSearch'" :searchDataApi="'/api/necessaryFile/importTransFile/getTableList'"></ct-searchlist> -->
17
17
 
18
+ <!-- <ct-searchlist :appRootUrl="appRootUrl" :searchConditionApi="'/taskManagement/WorkingCalendarList/getLayoutOfSearch'" :searchDataApi="'//taskManagement/WorkingCalendarList/getList'"></ct-searchlist> -->
18
19
 
19
20
  <!-- <ct-searchlist :searchConditionApi="'/mainlandsecond/CustAndContractRegSumList/getLayoutOfSearch'" :searchDataApi="'/mainlandsecond/CustAndContractRegSumList/getList'"></ct-searchlist> -->
20
21
 
@@ -90,8 +91,9 @@
90
91
 
91
92
  <!-- <ct-searchlist :appRootUrl="appRootUrl" :searchConditionApi="'/AttendanceClassList/getLayoutOfSearch'" :searchDataApi="'/AttendanceClassList/getListOfSearchModel'"></ct-searchlist> -->
92
93
 
93
- <ct-searchlist :appRootUrl="appRootUrl" :searchConditionApi="'/ReportMonthAttendanceList/getLayoutOfSearch'" :searchDataApi="'/ReportMonthAttendanceList/getListOfSearchModel'"></ct-searchlist>
94
+ <!-- <ct-searchlist :appRootUrl="appRootUrl" :searchConditionApi="'/ReportMonthAttendanceList/getLayoutOfSearch'" :searchDataApi="'/ReportMonthAttendanceList/getListOfSearchModel'"></ct-searchlist> -->
94
95
 
96
+ <ct-searchlist :appRootUrl="appRootUrl" :searchConditionApi="'/PersonHolidayList/getLayoutOfSearch'" :searchDataApi="'/PersonHolidayList/getListOfSearchModel'"></ct-searchlist>
95
97
 
96
98
 
97
99
  <ct-dialog-list></ct-dialog-list>
@@ -0,0 +1,11 @@
1
+ import dynamicCalendar from './src/dynamicCalendar'
2
+
3
+ dynamicCalendar.install = function (Vue, options) {
4
+ Vue.component(dynamicCalendar.name, dynamicCalendar);
5
+ }
6
+
7
+ if (typeof window !== 'undefined' && window.Vue) {
8
+ window.Vue.use(dynamicCalendar);
9
+ }
10
+
11
+ export default dynamicCalendar;