centaline-data-driven 1.1.23 → 1.1.27
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/.vs/Centaline.Front_End.DataDriven/DesignTimeBuild/.dtbcache +0 -0
- package/.vs/Centaline.Front_End.DataDriven/v16/Server/sqlite3/db.lock +0 -0
- package/.vs/Centaline.Front_End.DataDriven/v16/Server/sqlite3/storage.ide +0 -0
- package/build/centaline/centaline.path.js +2 -0
- package/build/centaline/webpack.centaline.conf.js +5 -3
- package/build/utils.js +2 -1
- package/config/dev.env.js +5 -2
- package/obj/Centaline.Front_End.DataDriven.csproj.nuget.dgspec.json +73 -0
- package/obj/Centaline.Front_End.DataDriven.csproj.nuget.g.props +29 -0
- package/obj/Centaline.Front_End.DataDriven.csproj.nuget.g.targets +15 -0
- package/obj/Debug/netcoreapp2.1/Centaline.Front_End.DataDriven.AssemblyInfo.cs +23 -0
- package/obj/Debug/netcoreapp2.1/Centaline.Front_End.DataDriven.RazorAssemblyInfo.cs +20 -0
- package/obj/project.assets.json +11907 -0
- package/package.json +7 -5
- package/src/Detail.vue +28 -0
- package/src/Edit.vue +23 -130
- package/src/Form.vue +5 -5
- package/src/SearchList.vue +5 -4
- package/src/SearchTree.vue +55 -0
- package/src/assets/Mvr.png +0 -0
- package/src/assets/VR.png +0 -0
- package/src/assets/collection.png +0 -0
- package/src/assets/dian.png +0 -0
- package/src/assets/ewm.png +0 -0
- package/src/assets/image.png +0 -0
- package/src/assets/location.png +0 -0
- package/src/assets/max-fold.png +0 -0
- package/src/assets/max-open.png +0 -0
- package/src/assets/mero.png +0 -0
- package/src/assets/node-collapse.png +0 -0
- package/src/assets/node-expand.png +0 -0
- package/src/assets/video.png +0 -0
- package/src/assets//350/256/241/347/256/227/345/231/250.png +0 -0
- package/src/centaline/comfirm/src/comfirm.vue +2 -2
- package/src/centaline/css/common.css +29 -28
- package/src/centaline/css/max.css +145 -0
- package/src/centaline/dynamicBtn/src/dynamicBtn.vue +35 -4
- package/src/centaline/dynamicCheckbox/src/dynamicCheckbox.vue +1 -1
- package/src/centaline/dynamicDetail/index.js +11 -0
- package/src/centaline/dynamicDetail/src/dynamicDetail.vue +39 -0
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailOFI.vue +1283 -0
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +29 -0
- package/src/centaline/dynamicForm/src/dynamicForm.vue +25 -9
- package/src/centaline/dynamicForm/src/dynamicFormList.vue +2 -2
- package/src/centaline/dynamicForm/src/dynamicFormListTable.vue +27 -6
- package/src/centaline/dynamicHyperLink/index.js +1 -1
- package/src/centaline/dynamicPlaceHolder/index.js +1 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchList.vue +27 -6
- package/src/centaline/dynamicSearchList/src/dynamicSearchScreen.vue +10 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +56 -36
- package/src/centaline/dynamicSearchList/src/dynamicTableStatistics.vue +41 -0
- package/src/centaline/dynamicSearchList/src/dynamicTableToolbar.vue +7 -4
- package/src/centaline/dynamicSos/src/dynamicSos.vue +0 -1
- package/src/centaline/dynamicT/src/dynamicT.vue +18 -23
- package/src/centaline/dynamicTimeSelect/src/dynamicTimeSelect.vue +37 -3
- package/src/centaline/dynamicTree/index.js +11 -0
- package/src/centaline/dynamicTree/src/dynamicSearchTree.vue +66 -0
- package/src/centaline/dynamicTree/src/dynamicTree.vue +213 -0
- package/src/centaline/dynamicTree/src/dynamicTreeList.vue +77 -0
- package/src/centaline/loader/index.js +1 -2
- package/src/centaline/loader/src/ctl/Base.js +31 -2
- package/src/centaline/loader/src/ctl/Button.js +18 -1
- package/src/centaline/loader/src/ctl/ComboBoxWithTextBox.js +0 -8
- package/src/centaline/loader/src/ctl/Form.js +51 -7
- package/src/centaline/loader/src/ctl/FormList.js +6 -1
- package/src/centaline/loader/src/ctl/HyperLink.js +1 -1
- package/src/centaline/loader/src/ctl/Mo.js +1 -9
- package/src/centaline/loader/src/ctl/PlaceHolder.js +2 -2
- package/src/centaline/loader/src/ctl/Router.js +58 -1
- package/src/centaline/loader/src/ctl/SearchScreen.js +42 -2
- package/src/centaline/loader/src/ctl/SearchTable.js +25 -10
- package/src/centaline/loader/src/ctl/So.js +1 -9
- package/src/centaline/loader/src/ctl/Sos.js +2 -11
- package/src/centaline/loader/src/ctl/Tags.js +1 -9
- package/src/centaline/loader/src/ctl/TimeSelect.js +34 -7
- package/src/centaline/loader/src/ctl/Tree.js +154 -0
- package/src/centaline/loader/src/ctl/lib/Enum.js +12 -2
- package/src/centaline/loader/src/ctl/lib/LibFunction.js +8 -0
- package/src/centaline/loader/src/ctl.js +1 -0
- package/src/centaline/templateControls/src/dynamicTableCurrency.vue +13 -9
- package/src/main.js +3 -4
- package/src/router/index.js +11 -0
- package/wwwroot/static/centaline/centaline-data-driven.js +1 -7
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
|
@@ -1,8 +1,26 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-
|
|
2
|
+
<el-dropdown v-if="model.isDropdown"
|
|
3
|
+
trigger="click"
|
|
4
|
+
v-bind="model.attrs"
|
|
5
|
+
placement="bottom"
|
|
6
|
+
@click.native="dropClick"
|
|
7
|
+
@command="commandClick"
|
|
8
|
+
:disabled="model.disabled">
|
|
9
|
+
<el-button type="primary">
|
|
10
|
+
{{model.label}}<i class="el-icon-arrow-down el-icon--right"></i>
|
|
11
|
+
</el-button>
|
|
12
|
+
<el-dropdown-menu slot="dropdown">
|
|
13
|
+
<el-dropdown-item v-for="item in model.elementOptions" :key="item.code" :command="item.code">{{item.name}}</el-dropdown-item>
|
|
14
|
+
</el-dropdown-menu>
|
|
15
|
+
</el-dropdown>
|
|
16
|
+
<el-button v-else-if="!model.isImport"
|
|
3
17
|
:type="model.isHyperLink ? 'text' : 'primary'"
|
|
4
18
|
v-bind="model.attrs" @click="$emit('click',model)"
|
|
5
|
-
:
|
|
19
|
+
:style="{color:model.textColor,backgroundColor:model.bgColor,borderColor:model.borderColor}"
|
|
20
|
+
:icon="model.icon"
|
|
21
|
+
:disabled="model.disabled">
|
|
22
|
+
<!-- <i v-if="model.isShowIocn" :class="model.iconClass"></i> -->
|
|
23
|
+
{{model.label}}</el-button>
|
|
6
24
|
<el-upload v-else
|
|
7
25
|
:action="model.action"
|
|
8
26
|
v-bind="model.attrs"
|
|
@@ -22,7 +40,8 @@
|
|
|
22
40
|
name: 'ct-btn',
|
|
23
41
|
props: {
|
|
24
42
|
vmodel: Object,
|
|
25
|
-
fileData: Object
|
|
43
|
+
fileData: Object,
|
|
44
|
+
optionApi:String,
|
|
26
45
|
},
|
|
27
46
|
mixins: [dynamicElement],
|
|
28
47
|
data: function () {
|
|
@@ -63,7 +82,19 @@
|
|
|
63
82
|
},
|
|
64
83
|
handleAvatarError(info) {
|
|
65
84
|
this.$message.warning("失败,请重试");
|
|
66
|
-
}
|
|
85
|
+
},
|
|
86
|
+
dropClick(event) {
|
|
87
|
+
var self = this;
|
|
88
|
+
this.$nextTick(function () {
|
|
89
|
+
if (self.optionApi) {
|
|
90
|
+
self.model.getOptions(self.optionApi);
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
},
|
|
94
|
+
commandClick(code){
|
|
95
|
+
this.model.selectOptionCode=code;
|
|
96
|
+
this.$emit('click', this.model);
|
|
97
|
+
},
|
|
67
98
|
}
|
|
68
99
|
}
|
|
69
100
|
</script>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
</el-checkbox-group>
|
|
13
13
|
</span>
|
|
14
14
|
|
|
15
|
-
<span v-if="!model.lock" class="cover-list-item-span">
|
|
15
|
+
<span v-if="!model.lock" class="cover-list-item-span max-cover-list-item">
|
|
16
16
|
<i class="el-input__icon el-icon-circle-close" @click="clearClickHandle"></i>
|
|
17
17
|
</span>
|
|
18
18
|
</div>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import dynamicDetail from './src/dynamicDetail'
|
|
2
|
+
|
|
3
|
+
dynamicDetail.install = function (Vue) {
|
|
4
|
+
Vue.component(dynamicDetail.name, dynamicDetail);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
8
|
+
window.Vue.use(dynamicDetail);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export default dynamicDetail;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<ct-PropertyDetailOFI class="ct-PropertyDetailOFI" v-if="pageType=='PropertyDetailOFI'"></ct-PropertyDetailOFI>
|
|
4
|
+
<ct-PropertyDetailRET class="ct-PropertyDetailRET" v-if="pageType=='PropertyDetailRET'"></ct-PropertyDetailRET>
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
|
|
8
|
+
<script>
|
|
9
|
+
import dynamicPropertyDetailOFI from './dynamicPropertyDetailOFI'
|
|
10
|
+
import dynamicPropertyDetailRET from './dynamicPropertyDetailRET'
|
|
11
|
+
export default {
|
|
12
|
+
name: 'ct-Detail',
|
|
13
|
+
components: {
|
|
14
|
+
'ct-PropertyDetailOFI': dynamicPropertyDetailOFI,
|
|
15
|
+
'ct-PropertyDetailRET': dynamicPropertyDetailRET,
|
|
16
|
+
},
|
|
17
|
+
props: {
|
|
18
|
+
vmodel: Object,
|
|
19
|
+
api: String,
|
|
20
|
+
pageType: String,
|
|
21
|
+
},
|
|
22
|
+
data() {
|
|
23
|
+
return {
|
|
24
|
+
model:null,
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
created() {
|
|
28
|
+
this.model = this.vmodel;
|
|
29
|
+
},
|
|
30
|
+
methods: {
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
</script>
|
|
34
|
+
<style>
|
|
35
|
+
|
|
36
|
+
</style>
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|