centaline-data-driven 1.1.68 → 1.1.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.
- package/build/centaline/webpack.centaline.conf.js +1 -1
- package/package.json +1 -1
- package/src/Edit.vue +36 -2
- package/src/Form.vue +7 -21
- package/src/SearchList.vue +2 -4
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +7 -7
- package/src/centaline/dynamicFile/src/dynamicFile.vue +1 -1
- package/src/centaline/dynamicHyperLink/index.js +1 -1
- package/src/centaline/dynamicPlaceHolder/index.js +1 -1
- package/src/centaline/loader/src/ctl/Detail.js +4 -4
- package/src/centaline/loader/src/ctl/PlaceHolder.js +2 -2
- package/src/main.js +4 -12
- package/wwwroot/static/centaline/centaline-data-driven.js +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
- 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/obj/Centaline.Front_End.DataDriven.csproj.nuget.dgspec.json +0 -73
- package/obj/Centaline.Front_End.DataDriven.csproj.nuget.g.props +0 -29
- package/obj/Centaline.Front_End.DataDriven.csproj.nuget.g.targets +0 -15
- package/obj/Debug/netcoreapp2.1/Centaline.Front_End.DataDriven.AssemblyInfo.cs +0 -23
- package/obj/Debug/netcoreapp2.1/Centaline.Front_End.DataDriven.RazorAssemblyInfo.cs +0 -20
- package/obj/project.assets.json +0 -11907
package/package.json
CHANGED
package/src/Edit.vue
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="app">
|
|
3
|
-
<formListTable></formListTable>
|
|
3
|
+
<!-- <formListTable></formListTable> -->
|
|
4
|
+
<el-button @click="copyField">test</el-button>
|
|
4
5
|
</div>
|
|
5
6
|
|
|
6
7
|
</template>
|
|
@@ -21,7 +22,40 @@
|
|
|
21
22
|
TestEdit() {
|
|
22
23
|
this.$api.post('http://10.88.22.52:2828//api/values/edit', { content: this.template }, (data) => {
|
|
23
24
|
});
|
|
24
|
-
}
|
|
25
|
+
},
|
|
26
|
+
copyField()
|
|
27
|
+
{
|
|
28
|
+
debugger;
|
|
29
|
+
var self = this;
|
|
30
|
+
var dialogOption = {
|
|
31
|
+
title: "复制控件",
|
|
32
|
+
content: [
|
|
33
|
+
{
|
|
34
|
+
component: "ct-form",
|
|
35
|
+
attrs: {
|
|
36
|
+
showTitle: false,
|
|
37
|
+
api: "/forminfo/readTargetDetail",
|
|
38
|
+
apiParam: {
|
|
39
|
+
formId: "1ae27876-a938-4ea5-aeab-fb2a7b067a2f",
|
|
40
|
+
actionType: 3,
|
|
41
|
+
},
|
|
42
|
+
width: "1300px",
|
|
43
|
+
height: "650px",
|
|
44
|
+
},
|
|
45
|
+
on: {
|
|
46
|
+
submit(ev) {
|
|
47
|
+
self.$common.closeDialog(dialogOption.dialog);
|
|
48
|
+
},
|
|
49
|
+
closeDialog() {
|
|
50
|
+
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
};
|
|
56
|
+
self.$common.openDialog(dialogOption);
|
|
57
|
+
|
|
58
|
+
},
|
|
25
59
|
},
|
|
26
60
|
created() {
|
|
27
61
|
//this.$api.get('http://10.88.22.52:2828//api/values/test', null, (data) => {
|
package/src/Form.vue
CHANGED
|
@@ -1,39 +1,25 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="app-form" class="data-driven" style="width:100%;height:100%;overflow:auto">
|
|
3
|
-
|
|
3
|
+
<ct-form :api="'/roomtype/readDetail'" :apiParam="apiParam"></ct-form>
|
|
4
4
|
<!-- <ct-form :source="formdata.content" :apiParam="apiParam"></ct-form> -->
|
|
5
5
|
<!--:api="'FormSample/formdata'"-->
|
|
6
6
|
<!--<ct-form :source="formdata.content"></ct-form>-->
|
|
7
7
|
<!--<ct-form :api="'/api/form/formdata/contractDetail'" :apiParam="apiParam"></ct-form>-->
|
|
8
8
|
<!--<ct-form :api="'api/Form/formdata'"></ct-form>-->
|
|
9
|
-
<!-- <ct-form :api="'/forminfo/readDetail'" :apiParam="apiParam"></ct-form> -->
|
|
10
|
-
<!-- <ct-form :api="'PropertyKey/getLayoutOfNew'" :apiParam="apiParam"></ct-form> -->
|
|
11
|
-
<ct-form :api="'Worklist/getLayoutOfAudit'" :apiParam="apiParam"></ct-form>
|
|
12
|
-
<!-- <ct-form :api="'/api/distribution/transaction/add'" :apiParam="apiParam"></ct-form> -->
|
|
13
9
|
<ct-dialog-list></ct-dialog-list>
|
|
14
10
|
</div>
|
|
15
11
|
</template>
|
|
16
12
|
|
|
17
13
|
<script>
|
|
18
14
|
export default {
|
|
19
|
-
name: '
|
|
15
|
+
name: 'App',
|
|
20
16
|
data() {
|
|
21
17
|
return {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
apiParam: {worklistID: "1494206747714392064", actionType: 2}
|
|
28
|
-
// apiParam: {
|
|
29
|
-
// actionType: 2,
|
|
30
|
-
// agentId: "1450283160825425922",
|
|
31
|
-
// estateId: "B6E6B3D8-FDF2-4AF8-91E6-B348D637E993",
|
|
32
|
-
// pageOnly: true,
|
|
33
|
-
// pageStyle: 2,
|
|
34
|
-
// propertyId: "14102015-0736-9265-205A-451687BF7062",
|
|
35
|
-
// relProId: "1475708315466829833",
|
|
36
|
-
// }
|
|
18
|
+
apiParam: {
|
|
19
|
+
actionType: 3,
|
|
20
|
+
roomTypeID: "2202111630507BE6C40D42A44A21B7EE",
|
|
21
|
+
jsonData: {searchFields: {fields: []}}
|
|
22
|
+
},
|
|
37
23
|
}
|
|
38
24
|
},
|
|
39
25
|
methods: {
|
package/src/SearchList.vue
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div id="app-search" style="height:100%;position: fixed;">
|
|
3
3
|
<!-- <ct-searchlist :searchConditionApi="'/api/third-dept-tran/tran-list/layout'" :searchDataApi="'/api/third-dept-tran/tran-list'"></ct-searchlist> -->
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
<ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlist>
|
|
6
6
|
<!-- <ct-searchlist :searchConditionApi="'/WorklistList/getLayoutOfSearch'" :searchDataApi="'/WorklistList/getListOfSearchModel'" :searchCategoryApi="'/WorklistList/getLayoutOfSearchCategory'"></ct-searchlist> -->
|
|
7
7
|
|
|
8
8
|
<!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'"
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
></ct-searchlist> -->
|
|
13
13
|
|
|
14
14
|
<!--<ct-searchlist :searchConditionApi="'/api/invoice-info/search-condition'" :searchDataApi="'/api/invoice-info/list'" :searchDataStatisticsApi="'api/ContractList/GetLayoutOfStatisticsTool'" :apiParam="para"></ct-searchlist>-->
|
|
15
|
-
<ct-searchlist :searchConditionApi="'/PropertyStatusList/getLayoutOfSearch'" :searchDataApi="'/PropertyStatusList/getListOfSearchModel'" :apiParam="para"></ct-searchlist>
|
|
16
15
|
<ct-dialog-list></ct-dialog-list>
|
|
17
16
|
</div>
|
|
18
17
|
</template>
|
|
@@ -24,8 +23,7 @@
|
|
|
24
23
|
data() {
|
|
25
24
|
return {
|
|
26
25
|
//para: { agentId: "1424932685198864386", estateId: "L201402181627000007233", estateName: "271医院宿舍区", pageOnly: "true", pageTitle: "销控房源列表" }
|
|
27
|
-
|
|
28
|
-
para: {paramKey: "PropertyStatusID", code: "002.001", name: "盘源状态", paramName: "盘源状态"}
|
|
26
|
+
para: {}
|
|
29
27
|
}
|
|
30
28
|
},
|
|
31
29
|
mounted() {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<span>{{model.fields1Dic.PropertyNo.label}}{{model.fields1Dic.PropertyNo.value}}</span>
|
|
17
17
|
<span>{{model.fields1Dic.GovNo.label}}{{model.fields1Dic.GovNo.value}}</span>
|
|
18
18
|
<span class="mr10">{{model.fields1Dic["DistrictName"].value+model.fields1Dic.AreaName.value}}</span>
|
|
19
|
-
|
|
19
|
+
<img :src="model.fields1Dic.LocationUrl.value" alt="" class="location">
|
|
20
20
|
</div>
|
|
21
21
|
<div class="title-tags">
|
|
22
22
|
<div class="t-tag" v-for="(tag, index) in model.actionRouterLabel" :key="index"
|
|
@@ -238,25 +238,25 @@
|
|
|
238
238
|
<div v-if="col.appID==='Maintain'" class="el-tabs__content">
|
|
239
239
|
<div v-if="col.list" role="tabpanel" aria-labelledby="tab-first" class="el-tab-pane">
|
|
240
240
|
<div class="tab-conten">
|
|
241
|
-
<img :src="col.list[0].maintainEmpUrl">
|
|
241
|
+
<img :src="col.list[0].maintainEmpUrl" alt="" class="location">
|
|
242
242
|
<div class="user-name">
|
|
243
243
|
<div class="text">{{col.list[0].maintainEmpName}}</div><span class="user-but">{{col.list[0].maintainDeptName}}</span>
|
|
244
244
|
</div>
|
|
245
245
|
<div class="text">{{col.list[0].mobileNo}}</div>
|
|
246
246
|
</div>
|
|
247
|
-
<div v-show="allIn" class="tab-conten">
|
|
248
|
-
<img src="
|
|
247
|
+
<div v-show="allIn" v-for="(info, i) in col.list.slice(1,col.list.legth)" :key="i" class="tab-conten">
|
|
248
|
+
<img :src="info.maintainEmpUrl">
|
|
249
249
|
<div class="user-name">
|
|
250
|
-
<div class="text"
|
|
250
|
+
<div class="text">{{info.maintainEmpName}}</div><span class="user-but">{{info.maintainDeptName}}</span>
|
|
251
251
|
</div>
|
|
252
|
-
<div class="text">
|
|
252
|
+
<div class="text">{{info.mobileNo}}</div>
|
|
253
253
|
</div>
|
|
254
254
|
<div class="open-mero" @click="allIn=!allIn">{{allIn?'收起全部':'查看全部'}}
|
|
255
255
|
<img src="../../../assets/mero.png" alt="" class="mero" > <!--:class="allIn?'more-colose':'more-open'" -->
|
|
256
256
|
</div>
|
|
257
257
|
</div>
|
|
258
258
|
</div>
|
|
259
|
-
<div v-else class="el-tabs__content">
|
|
259
|
+
<div v-else class="el-tabs__content" :key="model.tags2Key">
|
|
260
260
|
<div v-for="(m, i) in col.list" class="text" :key="i">{{m.dutyEmpName}}</div>
|
|
261
261
|
</div>
|
|
262
262
|
</el-tab-pane>
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<span class="cover-list-item-span-delete" v-if="!model.lock && file.rightDel">
|
|
29
29
|
<i class="el-icon-delete" @click="handleRemove(file)"></i>
|
|
30
30
|
</span>
|
|
31
|
-
<span class="cover-list-item-span" v-if="model.paramName">
|
|
31
|
+
<span class="cover-list-item-span" v-if="model.lock||model.paramName">
|
|
32
32
|
<!--锁定-->
|
|
33
33
|
<span v-if="model.lock || !file.rightEdit" class="el-dropdown-link">
|
|
34
34
|
{{file.mediaLabelName}}
|
|
@@ -16,10 +16,11 @@ const Detail = function (source,para ,callBack) {
|
|
|
16
16
|
detailHeight:750,
|
|
17
17
|
activeIndex1:'0',
|
|
18
18
|
activeIndex2:'0',
|
|
19
|
-
searchlistKey:0,
|
|
19
|
+
searchlistKey:0,
|
|
20
|
+
tags2Key:0,
|
|
20
21
|
_searchConditionApiTags1:null,
|
|
21
22
|
_searchDataApiTags1:null,
|
|
22
|
-
_paramDataTags1:null,
|
|
23
|
+
_paramDataTags1:null,
|
|
23
24
|
get fields1() {
|
|
24
25
|
return data.fields1;
|
|
25
26
|
},
|
|
@@ -222,8 +223,7 @@ const Detail = function (source,para ,callBack) {
|
|
|
222
223
|
function (response) {
|
|
223
224
|
if (response.rtnCode === Enum.ReturnCode.Successful) {
|
|
224
225
|
rtn.tags2[i].list=response.content;
|
|
225
|
-
rtn.
|
|
226
|
-
rtn.tags2[i].key='1';
|
|
226
|
+
rtn.tags2Key= rtn.tags2Key+1;
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import base from '../../index';
|
|
2
|
-
import Base from './Base';
|
|
2
|
+
import Base from './Base';
|
|
3
3
|
|
|
4
4
|
const PlaceHolder = function (source) {
|
|
5
5
|
var rtn = {
|
|
@@ -14,4 +14,4 @@ const PlaceHolder = function (source) {
|
|
|
14
14
|
return rtn;
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
export default PlaceHolder;
|
|
17
|
+
export default PlaceHolder;
|
package/src/main.js
CHANGED
|
@@ -12,8 +12,7 @@ Vue.use(ElementUI, { size: 'mini'});
|
|
|
12
12
|
// 关闭生产模式下给出的提示
|
|
13
13
|
Vue.config.productionTip = false;
|
|
14
14
|
Vue.use(centaline, {
|
|
15
|
-
baseUrl:
|
|
16
|
-
// baseUrl: "http://tjcptest.centaline.com.cn/v1/form/router",
|
|
15
|
+
baseUrl: 'http://10.88.22.67:9999/v1/form/router',
|
|
17
16
|
zindex: 999,
|
|
18
17
|
showRequestErrorMessage: true,
|
|
19
18
|
handler: {
|
|
@@ -21,12 +20,6 @@ Vue.use(centaline, {
|
|
|
21
20
|
openTab: function (action) {
|
|
22
21
|
alert("打开tab页:" + action)
|
|
23
22
|
},
|
|
24
|
-
openDetail: function (action) {
|
|
25
|
-
alert("打开tab页:" + action)
|
|
26
|
-
},
|
|
27
|
-
openPropertyDetailRET: function (submitData, pageTitle, parentModel) {
|
|
28
|
-
alert("打开tab页:" + pageTitle)
|
|
29
|
-
},
|
|
30
23
|
// 关闭当前tab
|
|
31
24
|
closeTab: function () {
|
|
32
25
|
alert("关闭当前tab")
|
|
@@ -34,10 +27,9 @@ Vue.use(centaline, {
|
|
|
34
27
|
// 获取请求头
|
|
35
28
|
getRequestHeaders: function () {
|
|
36
29
|
return {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
Authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjE0NmU5ZjEzLTVjMmYtNGVlMy1hM2U5LWIxM2QyZThjZTBhZSJ9.Gl8K5lbG7t5DyCqouu7Ux7Oh9xuAxqdOXr4JnoHCN-YwC3b2zPO-C2sHbYJUZHYQPa7kTNRmg1xJiwugpVo5Xw',
|
|
30
|
+
Authorization: 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjgyYjQwNjBhLTU4NmMtNGRhYy04N2JkLTJiODQ5N2YxYzQ3MCJ9.c6FZAjNkE8cQqdArVejAWCEe-aVyxeNOVDQhVZfN2MLZCMcAMEeh4d9LSZJAvUxr8yOGZMdQVSjy69kWgE5HyQ',
|
|
31
|
+
originalRequestURL: 'http://10.88.23.22:9999',
|
|
32
|
+
EstateInfo: '{"estateId":"201509230915485D942241BBA30FF49F","estateName":"A-%E7%88%B1%E7%90%B4%E6%B5%B7B%E7%BB%84"}'
|
|
41
33
|
};
|
|
42
34
|
},
|
|
43
35
|
// 请求完成事件,可判断是否登录过期执行响应操作
|