centaline-data-driven 1.6.62 → 1.6.64
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.
- package/build/centaline/centaline.path.js +1 -0
- package/package.json +2 -1
- package/release-log.md +24 -0
- package/src/SearchList.vue +2 -2
- package/src/SearchTree.vue +3 -3
- package/src/centaline/dynamicMarkdownViewer/index.js +11 -0
- package/src/centaline/dynamicMarkdownViewer/src/dynamicMarkdownViewer.vue +128 -0
- package/src/centaline/dynamicMo/src/dynamicMo.vue +4 -0
- package/src/centaline/dynamicSearchList/src/dynamicSearchList.vue +7 -0
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +1 -1
- package/src/centaline/dynamicSearchListTab/src/dynamicSearchListOne.vue +10 -1
- package/src/centaline/dynamicTags/src/dynamicTags.vue +4 -0
- package/src/centaline/dynamicTreeList/src/dynamicTreeList.vue +2 -2
- package/src/centaline/loader/src/ctl/MarkdownViewer.js +17 -0
- package/src/centaline/loader/src/ctl/Router.js +13 -0
- package/src/centaline/loader/src/ctl/lib/LibFunction.js +5 -0
- package/src/centaline/loader/src/ctl.js +1 -0
- package/src/main.js +4 -4
- package/wwwroot/static/centaline/centaline-data-driven.js +2441 -2097
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
- package/wwwroot/static/centaline/fonts/element-icons.535877f5.woff +0 -0
- package/wwwroot/static/centaline/fonts/element-icons.732389de.ttf +0 -0
- package/wwwroot/static/centaline/fonts/fontawesome-webfont.674f50d2.eot +0 -0
- package/wwwroot/static/centaline/fonts/fontawesome-webfont.af7ae505.woff2 +0 -0
- package/wwwroot/static/centaline/fonts/fontawesome-webfont.b06871f2.ttf +0 -0
- package/wwwroot/static/centaline/fonts/fontawesome-webfont.fee66e71.woff +0 -0
- package/wwwroot/static/centaline/static/img/fontawesome-webfont.912ec66d.912ec66.svg +2671 -0
|
@@ -71,6 +71,7 @@ const paths = {
|
|
|
71
71
|
"dynamicSteps": "./src/centaline/dynamicSteps/index.js", //步骤控件
|
|
72
72
|
"dynamicLocation": "./src/centaline/dynamicLocation/index.js", //经纬度获取控件
|
|
73
73
|
"dynamicJsonViewer": "./src/centaline/dynamicJsonViewer/index.js", //json 数据查看控件
|
|
74
|
+
"dynamicMarkdownViewer": "./src/centaline/dynamicMarkdownViewer/index.js", //markdown数据查看控件
|
|
74
75
|
},
|
|
75
76
|
"plugs": {
|
|
76
77
|
"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.6.
|
|
3
|
+
"version": "1.6.64",
|
|
4
4
|
"description": "ccai",
|
|
5
5
|
"author": "hjc <3226136347@qq.com>",
|
|
6
6
|
"private": false,
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"compression-webpack-plugin": "^2.0.0",
|
|
18
18
|
"element-ui": "^2.15.7",
|
|
19
19
|
"js-cookie": "^3.0.1",
|
|
20
|
+
"markdown-it-vue": "^1.1.7",
|
|
20
21
|
"module": "^1.2.5",
|
|
21
22
|
"moment": "^2.30.1",
|
|
22
23
|
"sass": "^1.34.0",
|
package/release-log.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v1.6.64
|
|
2
|
+
2026-04-17
|
|
3
|
+
|
|
4
|
+
新增
|
|
5
|
+
|
|
6
|
+
添加 Markdown 数据查看控件
|
|
7
|
+
|
|
8
|
+
优化
|
|
9
|
+
|
|
10
|
+
树结构左边树宽度默认调整为210
|
|
11
|
+
|
|
12
|
+
执行客户端脚本传参默认按照button模式传
|
|
13
|
+
|
|
14
|
+
多选插件样式被覆盖处理
|
|
15
|
+
|
|
16
|
+
# v1.6.63
|
|
17
|
+
2026-03-19
|
|
18
|
+
|
|
19
|
+
BUG
|
|
20
|
+
|
|
21
|
+
列表第一次查询没有数据,第二次查询有数据,右侧侧边栏不显示处理
|
|
22
|
+
|
|
23
|
+
列表Tab切换第一次查询没有数据,Tab切换第二次查询有数据,右侧侧边栏显示但是不请求api处理
|
|
24
|
+
|
|
1
25
|
# v1.6.62
|
|
2
26
|
2026-03-06
|
|
3
27
|
|
package/src/SearchList.vue
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/workwxmanage/WorkWXApplicationList/getLayoutOfSearch'" :searchDataApi="'/workwxmanage/WorkWXApplicationList/getList'"></ct-searchlist> -->
|
|
29
29
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/salemattersmanage/UrgentResponsiblePersonList/getLayoutOfSearch'" :searchDataApi="'/salemattersmanage/UrgentResponsiblePersonList/getList'"></ct-searchlist> -->
|
|
30
30
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/ProjectCustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/ProjectCustomerList/getList'"></ct-searchlist> -->
|
|
31
|
-
|
|
31
|
+
<ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/MyCustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/MyCustomerList/getList'"></ct-searchlist>
|
|
32
32
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/CustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/CustomerList/getList'"></ct-searchlist> -->
|
|
33
33
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/customerfollowlist/getLayoutOfSearch'" :searchDataApi="'/customermanage/customerfollowlist/getList'"></ct-searchlist> -->
|
|
34
34
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customerquery/publiccustcalltaskreferrallist/getLayoutOfSearch'" :searchDataApi="'/customerquery/publiccustcalltaskreferrallist/getList'"></ct-searchlist> -->
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/financesalemanage/finContractList/getLayoutOfSearch'" :searchDataApi="'/financesalemanage/finContractList/getList'"></ct-searchlist> -->
|
|
47
47
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/financecommissionmanage/fincommissionapplylist/getLayoutOfSearch'" :searchDataApi="'/financecommissionmanage/fincommissionapplylist/getList'"></ct-searchlist> -->
|
|
48
48
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/customermanage/ProjectCustomerList/getLayoutOfSearch'" :searchDataApi="'/customermanage/ProjectCustomerList/getList'"></ct-searchlist> -->
|
|
49
|
-
<ct-searchlist :apiParam="para" :searchConditionApi="'/dealmanagementreport/StandingBookSZList/getLayoutOfSearch'" :searchDataApi="'/dealmanagementreport/StandingBookSZList/getList'"></ct-searchlist>
|
|
49
|
+
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/dealmanagementreport/StandingBookSZList/getLayoutOfSearch'" :searchDataApi="'/dealmanagementreport/StandingBookSZList/getList'"></ct-searchlist> -->
|
|
50
50
|
<!-- <ct-searchlist :apiParam="para" :searchConditionApi="'/dealmanagementreport/standingbookreport/getLayoutOfSearch'" :searchDataApi="'/dealmanagementreport/standingbookreport/getList'"></ct-searchlist> -->
|
|
51
51
|
<!-- CCES -->
|
|
52
52
|
|
package/src/SearchTree.vue
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="app-Tree" style="height:100%;position: fixed;width:100%;background: #c8c8c8;padding: 10px;">
|
|
3
|
-
<ct-treelist :flagsearch="true" :apiParam="apiParam" :leftWidth="'
|
|
4
|
-
:searchConditionApi="'/
|
|
5
|
-
:searchDataApi="'/
|
|
3
|
+
<ct-treelist :flagsearch="true" :apiParam="apiParam" :leftWidth="''"
|
|
4
|
+
:searchConditionApi="'/SystemParameterCatalogList/getLayoutOfSearch'"
|
|
5
|
+
:searchDataApi="'/SystemParameterCatalogList/getListOfSearchModel'" @loaded="loaded"></ct-treelist>
|
|
6
6
|
<ct-dialog-list></ct-dialog-list>
|
|
7
7
|
</div>
|
|
8
8
|
</template>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import dynamicMarkdownViewer from './src/dynamicMarkdownViewer'
|
|
2
|
+
|
|
3
|
+
dynamicMarkdownViewer.install = function (Vue, options) {
|
|
4
|
+
Vue.component(dynamicMarkdownViewer.name, dynamicMarkdownViewer);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
8
|
+
window.Vue.use(dynamicMarkdownViewer);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export default dynamicMarkdownViewer;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="field-top">
|
|
3
|
+
<div v-if="model !== null" class="ct-MarkdownViewer">
|
|
4
|
+
<div :class="[model.showLabel?'el-input-group el-input-group--prepend':'',!valid?'inputError':'']" style="display: inline-block;">
|
|
5
|
+
<div v-if="model.showLabel && model.label" :class="[model.labelClass]" style="text-align: left;padding-bottom: 5px;color: #303133;">
|
|
6
|
+
<h5>{{model.label}}</h5>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="josnViewerBox" tabindex="-1">
|
|
9
|
+
<MarkdownItVue :content="model.code1" :config="markdownConfig" />
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
<transition name="el-fade-in">
|
|
13
|
+
<span v-show="!valid" class="errorMessage">
|
|
14
|
+
{{validMessage}}
|
|
15
|
+
</span>
|
|
16
|
+
</transition>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
<script>
|
|
21
|
+
import dynamicElement from '../../mixins/dynamicElement';
|
|
22
|
+
import MarkdownItVue from 'markdown-it-vue'
|
|
23
|
+
import 'markdown-it-vue/dist/markdown-it-vue.css'
|
|
24
|
+
export default {
|
|
25
|
+
name: 'ct-MarkdownViewer',
|
|
26
|
+
mixins: [dynamicElement],
|
|
27
|
+
components: {
|
|
28
|
+
'MarkdownItVue': MarkdownItVue
|
|
29
|
+
},
|
|
30
|
+
props: {
|
|
31
|
+
vmodel: Object,
|
|
32
|
+
api: String,
|
|
33
|
+
},
|
|
34
|
+
data() {
|
|
35
|
+
return {
|
|
36
|
+
markdownConfig: {
|
|
37
|
+
markdownit: {
|
|
38
|
+
html: true, // 允许HTML标签
|
|
39
|
+
linkify: true, // 自动识别链接
|
|
40
|
+
typographer: true, // 优化文字排版,如智能引号
|
|
41
|
+
breaks: true, // <<< 启用此选项,将 \n 转换为 <br>
|
|
42
|
+
},
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
},
|
|
46
|
+
mounted() {
|
|
47
|
+
var self = this;
|
|
48
|
+
this.$nextTick(function () {
|
|
49
|
+
if (self.vmodel) {
|
|
50
|
+
self.load(self.vmodel);
|
|
51
|
+
}
|
|
52
|
+
else if (typeof self.source !== 'undefined') {
|
|
53
|
+
self.loaderObj.MarkdownViewer(self.source, (data) => {
|
|
54
|
+
self.load(data);
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
},
|
|
59
|
+
destroyed (){
|
|
60
|
+
this.model=null;
|
|
61
|
+
this.$el=null;
|
|
62
|
+
},
|
|
63
|
+
methods: {
|
|
64
|
+
load(data) {
|
|
65
|
+
this.model = data;
|
|
66
|
+
},
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
</script>
|
|
70
|
+
<style>
|
|
71
|
+
.josnViewerBox {
|
|
72
|
+
overflow: auto;
|
|
73
|
+
width: 100%;
|
|
74
|
+
border: 1px solid #eee;
|
|
75
|
+
border-radius: 4px;
|
|
76
|
+
padding: 2px;
|
|
77
|
+
box-sizing: border-box;
|
|
78
|
+
background-color: #ffffff;
|
|
79
|
+
line-height: normal;
|
|
80
|
+
|
|
81
|
+
.jv-container .jv-code{
|
|
82
|
+
padding: 0px !important;
|
|
83
|
+
}
|
|
84
|
+
.jv-container.light {
|
|
85
|
+
background: #fff;
|
|
86
|
+
white-space: nowrap;
|
|
87
|
+
color: #525252;
|
|
88
|
+
font-size: 14px;
|
|
89
|
+
font-family: Consolas, Menlo, Courier, monospace;
|
|
90
|
+
}
|
|
91
|
+
.jv-container.light .jv-button, .jv-container.jv-dark .jv-button {
|
|
92
|
+
color: #49b3ff;
|
|
93
|
+
}
|
|
94
|
+
.jv-container.light .jv-key {
|
|
95
|
+
color: #111;
|
|
96
|
+
margin-right: 4px;
|
|
97
|
+
}
|
|
98
|
+
.jv-container.light .jv-item.jv-string {
|
|
99
|
+
color: #42b983;
|
|
100
|
+
word-break: break-word;
|
|
101
|
+
white-space: normal;
|
|
102
|
+
}
|
|
103
|
+
.jv-container.light .jv-item.jv-number {
|
|
104
|
+
color: #fc1e70;
|
|
105
|
+
}
|
|
106
|
+
.jv-container.light .jv-item.jv-boolean {
|
|
107
|
+
color: #fc1e70;
|
|
108
|
+
}
|
|
109
|
+
.jv-tooltip {
|
|
110
|
+
position: sticky !important;
|
|
111
|
+
top: 0 !important;
|
|
112
|
+
right: 0 !important;
|
|
113
|
+
/* 新增:靠右定位 */
|
|
114
|
+
z-index: 10;
|
|
115
|
+
margin-left: auto;
|
|
116
|
+
/* 辅助:确保靠右 */
|
|
117
|
+
float: right;
|
|
118
|
+
}
|
|
119
|
+
.btn-iocn {
|
|
120
|
+
display: flex;
|
|
121
|
+
gap: 10px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
}
|
|
125
|
+
.josnViewerBox:focus {
|
|
126
|
+
border: 1px solid #3D5ECC;
|
|
127
|
+
}
|
|
128
|
+
</style>
|
|
@@ -233,6 +233,9 @@
|
|
|
233
233
|
},
|
|
234
234
|
searchComplate(index) {
|
|
235
235
|
this.pageDisabled=false;
|
|
236
|
+
if(!this.flagSideBar && this.$refs.table.model.flagSideBar){
|
|
237
|
+
this.flagSideBar = this.$refs.table.model.flagSideBar;
|
|
238
|
+
}
|
|
236
239
|
if(this.flagSideBar && this.$refs.table.model.listData.length>0){
|
|
237
240
|
if(!this.flagSideBarOfData || index===1){
|
|
238
241
|
this.refreshRowHandle();
|
|
@@ -441,6 +444,10 @@
|
|
|
441
444
|
if (self.selectIndex !== self.$refs.table.model.selectIndex && self.$refs.table.model.rowSelectRouter) {
|
|
442
445
|
self.rowCount = self.$refs.table.model.listData.length;
|
|
443
446
|
if (this.sideBarStatus && this.sideBarStatus == "open") {
|
|
447
|
+
if(!this.sideBarApi){
|
|
448
|
+
this.sideBarApi=this.$refs.table.model.rowSelectRouter.action;
|
|
449
|
+
this.sideBarPageType=this.$refs.table.model.rowSelectRouter.actionSource;
|
|
450
|
+
}
|
|
444
451
|
self.selectIndex = self.$refs.table.model.selectIndex;
|
|
445
452
|
self.sideBarApiParam = {};
|
|
446
453
|
if (self.$refs.table.model.rowSelectRouter.submitListField
|
|
@@ -1770,7 +1770,7 @@ export default {
|
|
|
1770
1770
|
|
|
1771
1771
|
|
|
1772
1772
|
let title = field.pageTitle == undefined ? field.label : field.pageTitle;
|
|
1773
|
-
submitData = field.
|
|
1773
|
+
submitData = field.getActionParaButton(submitData).para;
|
|
1774
1774
|
var fun = self.$common.getDataDrivenOpts().handler[action];
|
|
1775
1775
|
if (self.isIframe) {
|
|
1776
1776
|
submitData.isIframe = self.isIframe;
|
|
@@ -184,6 +184,9 @@
|
|
|
184
184
|
},
|
|
185
185
|
searchComplate(index) {
|
|
186
186
|
this.pageDisabled=false;
|
|
187
|
+
if(!this.flagSideBar && this.$refs.table.model.flagSideBar){
|
|
188
|
+
this.flagSideBar = this.$refs.table.model.flagSideBar;
|
|
189
|
+
}
|
|
187
190
|
if(this.flagSideBar && this.$refs.table.model.listData.length>0){
|
|
188
191
|
if(!this.flagSideBarOfData || index===1){
|
|
189
192
|
this.flagSideBarOfData=true;
|
|
@@ -308,10 +311,16 @@
|
|
|
308
311
|
var self = this;
|
|
309
312
|
if(self.selectIndex!==self.$refs.table.model.selectIndex && self.$refs.table.model.rowSelectRouter
|
|
310
313
|
&& this.sideBarStatus && this.sideBarStatus=='open'){
|
|
314
|
+
if(!this.sideBarApi){
|
|
315
|
+
this.sideBarApi=this.$refs.table.model.rowSelectRouter.action;
|
|
316
|
+
this.sideBarPageType=this.$refs.table.model.rowSelectRouter.actionSource;
|
|
317
|
+
}
|
|
311
318
|
self.selectIndex=self.$refs.table.model.selectIndex;
|
|
312
319
|
self.rowCount=self.$refs.table.model.listData.length;
|
|
313
320
|
self.sideBarApiParam = {};
|
|
314
|
-
if(self.$refs.table.model.rowSelectRouter.submitListField
|
|
321
|
+
if(self.$refs.table.model.rowSelectRouter.submitListField
|
|
322
|
+
&& self.$refs.table.model.listData
|
|
323
|
+
&& self.$refs.table.model.listData.length>0) {
|
|
315
324
|
self.$refs.table.model.rowSelectRouter.submitListField.forEach((k) => {
|
|
316
325
|
self.sideBarApiParam[k] = self.$refs.table.model.listData[self.selectIndex][k];
|
|
317
326
|
});
|
|
@@ -60,7 +60,7 @@ export default {
|
|
|
60
60
|
rightApiParam: {},
|
|
61
61
|
searchtreeHeight: 0,
|
|
62
62
|
dataRowRouter: "",
|
|
63
|
-
asideWidth:
|
|
63
|
+
asideWidth: 210,
|
|
64
64
|
isResizing: false,
|
|
65
65
|
startX: 0,
|
|
66
66
|
startWidth: 0
|
|
@@ -68,7 +68,7 @@ export default {
|
|
|
68
68
|
},
|
|
69
69
|
methods: {
|
|
70
70
|
loaded(data) {
|
|
71
|
-
this.asideWidth = Number(this.leftWidth ? this.leftWidth :
|
|
71
|
+
this.asideWidth = Number(this.leftWidth ? this.leftWidth : 210);
|
|
72
72
|
|
|
73
73
|
var self = this;
|
|
74
74
|
self.isShowMain = false;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import base from '../../index';
|
|
2
|
+
import Base from './Base';
|
|
3
|
+
|
|
4
|
+
const MarkdownViewer = function (source) {
|
|
5
|
+
var init = function (data) {
|
|
6
|
+
var rtn = {
|
|
7
|
+
get jsonData() {
|
|
8
|
+
return data.code1;
|
|
9
|
+
},
|
|
10
|
+
};
|
|
11
|
+
rtn = base.copy(Base(data), rtn);
|
|
12
|
+
return rtn;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
return init(source);
|
|
16
|
+
}
|
|
17
|
+
export default MarkdownViewer;
|
|
@@ -310,6 +310,19 @@ const Router = function (source) {
|
|
|
310
310
|
}
|
|
311
311
|
return params;
|
|
312
312
|
},
|
|
313
|
+
getActionParaButton(data) {
|
|
314
|
+
let params = {};
|
|
315
|
+
data.actionType = rtn.actionType;
|
|
316
|
+
data = Object.assign(data, rtn.queryPara);
|
|
317
|
+
if (rtn.isDropdown && rtn.selectOptionCode) {
|
|
318
|
+
data[rtn.paramName] = rtn.selectOptionCode;
|
|
319
|
+
}
|
|
320
|
+
params = {
|
|
321
|
+
action: rtn.action,
|
|
322
|
+
para: data
|
|
323
|
+
};
|
|
324
|
+
return params;
|
|
325
|
+
},
|
|
313
326
|
doAction(data, callback, scripts) {
|
|
314
327
|
if (rtn.action) {
|
|
315
328
|
Vue.prototype.$api.postHandler(common.globalUri(), rtn.getActionPara(data), scripts).then((response) => {
|
|
@@ -44,6 +44,7 @@ import Image from '../Image';
|
|
|
44
44
|
import Steps from '../Steps';
|
|
45
45
|
import Location from '../Location';
|
|
46
46
|
import JsonViewer from '../JsonViewer';
|
|
47
|
+
import MarkdownViewer from '../MarkdownViewer';
|
|
47
48
|
|
|
48
49
|
const LibFunction = {
|
|
49
50
|
install(Vue) {},
|
|
@@ -420,6 +421,10 @@ const LibFunction = {
|
|
|
420
421
|
item = JsonViewer(field);
|
|
421
422
|
item.is = 'ct-JsonViewer';
|
|
422
423
|
break;
|
|
424
|
+
case Enum.ControlType.MarkdownViewer: //MarkdownViewer 数据查看控件
|
|
425
|
+
item = MarkdownViewer(field);
|
|
426
|
+
item.is = 'ct-MarkdownViewer';
|
|
427
|
+
break;
|
|
423
428
|
default:
|
|
424
429
|
item = L(field);
|
|
425
430
|
item.is = 'ct-labelText';
|
|
@@ -52,6 +52,7 @@ const loader = {
|
|
|
52
52
|
SosNew: require("./ctl/SosNew.js").default,
|
|
53
53
|
TagsNew: require("./ctl/TagsNew.js").default,
|
|
54
54
|
JsonViewer: require("./ctl/JsonViewer.js").default,
|
|
55
|
+
MarkdownViewer: require("./ctl/MarkdownViewer.js").default,
|
|
55
56
|
};
|
|
56
57
|
|
|
57
58
|
export default loader;
|
package/src/main.js
CHANGED
|
@@ -71,9 +71,9 @@ Vue.use(centaline, {
|
|
|
71
71
|
// 获取请求头
|
|
72
72
|
getRequestHeaders: function (action) {
|
|
73
73
|
return {
|
|
74
|
-
oldToken: '1094eb9c-0ec7-4fcf-952f-7fc4258ca3b0',
|
|
74
|
+
// oldToken: '1094eb9c-0ec7-4fcf-952f-7fc4258ca3b0',
|
|
75
75
|
// token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjksOwjAMBe-SdS05tuPE7PpJNhwCBWglWCHaSiDE3SniEGznjfTm5eb16HYuIUWltoc-sYKkYGDcF_ApGWYzjrE_CHOHKANQxAJSYgYTCYBoahaC0qAHJc6lbRW8bLuUbpNIBDS3QTJhZiHXuPFxczsfmXxCJG3cpS4_gMb6Bes83vfj8x9x1-Wy3eJ48seQJuCaziATTWDRIlSazCNrlerd-wMAAP__.93H7c7k4TLTqbKpozp0aTSU4U_WrQu3eS990iS-TCpw',
|
|
76
|
-
// authObject: '{token:"
|
|
76
|
+
// authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjrEOgjAURf-lMy_po4--VzfawuJHkAIlwckIJBrjv4tGN3fPcIeznHtXy9arg4pSawqtgdCUFVDkCuqWBXwQ0b5kQ1469wF-zJcOkRyjbaB2HIAsGRAMAoFsoDY2JvioCpWvZ3VAZtJWI2Gh5rS-hXFs-CW2JV-O-faPc6d13rOlRhxwzDAMsmdzKZD6iSAlU-E4iUPM6vEEAAD__w.sr1i7dlMQsYwupWODh_qZbxtyhBQgcRkng2nBGbSzKE"}',
|
|
77
77
|
|
|
78
78
|
// originalRequestURL: 'http://10.88.22.67:8080',
|
|
79
79
|
// EstateInfo: '{"estateId":"1c581b7c-d629-4670-8a7c-6d622860bc58","estateName":"0%E9%87%91%E9%9A%85%E4%BA%91%E7%AD%91%E5%A4%A9%E6%B4%A5","estDeptPath":"009.014.001.001"}',
|
|
@@ -81,8 +81,8 @@ Vue.use(centaline, {
|
|
|
81
81
|
// appinfo:'{"appId":"7e4d0521-4e26-4beb-8627-e76977ad8aa5","appName":"CCAI-PLUS"}',
|
|
82
82
|
// authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjkzNDU5NjFkLWM2NmItNDU0ZS1hMTE4LTUzMWRkMjliZTdmYyJ9.ehMpxkFnyTFlJQ_43SbCTGZZTMFht3isTj3gUKmNoJBWCV5X8ez5Z2AgT7vMBwmmG1FdEHWZTnJhIj0ox86bCA',
|
|
83
83
|
|
|
84
|
-
AuthObject: '{"currentEstate":{},"platform":1,"osVersion":"","machineCode":"eeb8e2fc88b5bcbc2e4f297777142537","token":"","random":"
|
|
85
|
-
AuthorizationCode:'Bearer eyJhbGciOiJIUzI1NiJ9.
|
|
84
|
+
AuthObject: '{"currentEstate":{"estateId":"24111216092346234634995842BB8E5D","estateName":"%E6%B5%8B%E8%AF%95%E6%8C%89%E6%A5%BC%E4%BB%B7hq","estDeptPath":"001.200.063.001"},"platform":1,"osVersion":"","machineCode":"eeb8e2fc88b5bcbc2e4f297777142537","token":"","random":"byJE7z","time":"2026-04-16 15:47:01","timestamp":1776325621223,"sign":"","systemSource":"CCESU","empNo":"hqwygw","empId":"241112144356CFC186B963834B9FA0BD","clientVersion":"12.5","empName":"hq%E7%89%A9%E4%B8%9A%E9%A1%BE%E9%97%AE","roleName":"%E7%89%A9%E4%B8%9A%E9%A1%BE%E9%97%AE","deptFullName":"%E6%B7%B1%E5%9C%B3%E4%B8%AD%E5%8E%9F"}',
|
|
85
|
+
AuthorizationCode:'Bearer eyJhbGciOiJIUzI1NiJ9.eyJsb2dpbl91c2VyX2tleSI6IjU3Y2IwOGNiLTUwOWYtNDljOS1hYWU1LTg0MjVmOTIxMDViZiJ9.P7HlogkIV-zTNGMNYV_EUvyKbH9nVAht8pui5e-GbVU',
|
|
86
86
|
};
|
|
87
87
|
},
|
|
88
88
|
// 请求完成事件,可判断是否登录过期执行响应操作
|