centaline-data-driven-v3 0.0.52 → 0.0.53
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/dist/centaline-data-driven-v3.umd.js +41 -41
- package/package.json +1 -1
- package/src/components/app/FormList.vue +1 -1
- package/src/components/app/PhotoSelect.vue +1 -1
- package/src/components/app/ViewerFile.vue +4 -4
- package/src/components/web/FormList.vue +3 -0
- package/src/components/web/SearchList/SearchTable.vue +1 -1
- package/src/components/web/ViewerFile.vue +4 -4
- package/src/loader/src/FormList.js +2 -2
- package/src/main.js +4 -4
package/package.json
CHANGED
|
@@ -119,7 +119,7 @@ function handleOpen() {
|
|
|
119
119
|
chooseList.push(n);
|
|
120
120
|
});
|
|
121
121
|
var dialogOption = {
|
|
122
|
-
title:
|
|
122
|
+
title: common.LocalizedString('选择','選擇') + model.value.controlLabel || common.LocalizedString('选择图片','選擇圖片'),
|
|
123
123
|
pane: common.getParentPane(),
|
|
124
124
|
content: [{
|
|
125
125
|
component: "ct-photoselectlist",
|
|
@@ -14,19 +14,19 @@
|
|
|
14
14
|
<div class="cont" v-if="file.mediaUrl">
|
|
15
15
|
<div style="padding-right:10px;">
|
|
16
16
|
<div class="enlarge-picture " v-if="file.mediaLabelName">
|
|
17
|
-
<span class="" style="width:80px;"
|
|
17
|
+
<span class="" style="width:80px;">{{common.LocalizedString('附件类型','附件類型')}} : </span>
|
|
18
18
|
<span style="font-weight: bold;flex: 1;">{{ file.mediaLabelName }}</span>
|
|
19
19
|
</div>
|
|
20
20
|
<div class="enlarge-picture" v-if="file.mediaDescCN">
|
|
21
|
-
<span style="width:80px;"
|
|
21
|
+
<span style="width:80px;">{{common.LocalizedString('中文描述','中文描述')}} : </span>
|
|
22
22
|
<span style="font-weight: bold;flex: 1;">{{ file.mediaDescCN }}</span>
|
|
23
23
|
</div>
|
|
24
24
|
<div class="enlarge-picture" v-if="file.mediaDescEN">
|
|
25
|
-
<span style="width:80px;"
|
|
25
|
+
<span style="width:80px;">{{common.LocalizedString('英文描述','英文描述')}} : </span>
|
|
26
26
|
<span style="font-weight: bold;flex: 1;">{{ file.mediaDescEN }}</span>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="enlarge-picture" v-if="file.mediaUploadEmployeeDesc">
|
|
29
|
-
<span style="width:80px;"
|
|
29
|
+
<span style="width:80px;">{{common.LocalizedString('来源描述','來源描述')}} : </span>
|
|
30
30
|
<span style="font-weight: bold;flex: 1;">{{ file.mediaUploadEmployeeDesc }}</span>
|
|
31
31
|
</div>
|
|
32
32
|
</div>
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
style="margin-top: 10px;width: 100%;display: inline-block;height: 30px;margin-bottom: 10px;">
|
|
218
218
|
<el-button size="mini" @click="popupClickHandler()" class="max-search-btn" style="float:right;"
|
|
219
219
|
type="primary">
|
|
220
|
-
|
|
220
|
+
{{common.LocalizedString('确认','確認')}}
|
|
221
221
|
</el-button>
|
|
222
222
|
</div>
|
|
223
223
|
<div v-if="isLoading" v-loading="isLoading" style="top: 30px"></div>
|
|
@@ -32,19 +32,19 @@
|
|
|
32
32
|
<div class="cont" v-if="resultObject">
|
|
33
33
|
<div style="padding-right:10px;" v-if="mediaLabelShow">
|
|
34
34
|
<div class="enlarge-picture " v-if="itemFile.mediaLabelName">
|
|
35
|
-
<span class="" style="width:80px;"
|
|
35
|
+
<span class="" style="width:80px;">{{common.LocalizedString('附件类型','附件類型')}} : </span>
|
|
36
36
|
<lable style="font-weight: bold;">{{ itemFile.mediaLabelName }}</lable>
|
|
37
37
|
</div>
|
|
38
38
|
<div class="enlarge-picture" v-if="itemFile.mediaDescCN">
|
|
39
|
-
<span style="width:80px;"
|
|
39
|
+
<span style="width:80px;">{{common.LocalizedString('中文描述','中文描述')}} : </span>
|
|
40
40
|
<lable style="font-weight: bold;">{{ itemFile.mediaDescCN }}</lable>
|
|
41
41
|
</div>
|
|
42
42
|
<div class="enlarge-picture" v-if="itemFile.mediaDescEN">
|
|
43
|
-
<span style="width:80px;"
|
|
43
|
+
<span style="width:80px;">{{common.LocalizedString('英文描述','英文描述')}} : </span>
|
|
44
44
|
<lable style="font-weight: bold;">{{ itemFile.mediaDescEN }}</lable>
|
|
45
45
|
</div>
|
|
46
46
|
<div class="enlarge-picture" v-if="itemFile.mediaUploadEmployeeDesc">
|
|
47
|
-
<span style="width:80px;"
|
|
47
|
+
<span style="width:80px;">{{common.LocalizedString('来源描述','來源描述')}} : </span>
|
|
48
48
|
<lable style="font-weight: bold;">{{ itemFile.mediaUploadEmployeeDesc }}</lable>
|
|
49
49
|
</div>
|
|
50
50
|
</div>
|
|
@@ -419,8 +419,8 @@ function fieldsToTableData(fields) {
|
|
|
419
419
|
}
|
|
420
420
|
//删除行
|
|
421
421
|
function deleteRow(index, model, callback) {
|
|
422
|
-
common.confirm(common.LocalizedString('确定删除?','
|
|
423
|
-
confirmButtonText: common.LocalizedString('确定','
|
|
422
|
+
common.confirm(common.LocalizedString('确定删除?','確認刪除?'), "提示", {
|
|
423
|
+
confirmButtonText: common.LocalizedString('确定','確認'),
|
|
424
424
|
cancelButtonText: "取消",
|
|
425
425
|
}).then(() => {
|
|
426
426
|
model.rows.forEach((row, i) => {
|
package/src/main.js
CHANGED
|
@@ -21,8 +21,8 @@ for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
app.use(centaline, {
|
|
24
|
-
baseUrl:"http://10.88.22.66/IBS.Mvc/api/",
|
|
25
|
-
|
|
24
|
+
//baseUrl:"http://10.88.22.66/IBS.Mvc/api/",
|
|
25
|
+
baseUrl: "http://10.88.22.66:6060/onecard-api/",
|
|
26
26
|
//baseUrl: "http://10.1.245.50:38735/max-uplink-api/",
|
|
27
27
|
//baseUrl: "http://10.1.245.111:38028/",
|
|
28
28
|
flagRouterSelf: true,
|
|
@@ -63,8 +63,8 @@ app.use(centaline, {
|
|
|
63
63
|
return {
|
|
64
64
|
//authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQBe-ydVay1xvvOl3sJA2HiPIxElSIJBIIcXdAQEfPFK-YZt4Nlm2EChqtDafOYWqpRG6kxLoTxZhUTSRxHLUPH_DHfOmt5SDWt1gHScieHapNiol94q5pXYoNFJAvJ6isGHWmNMYVcBjWtyCr_iW2JZ93-fqPc8f18MwGIqFRCIO1GXmWGYd9npCZJ6N5JjYZ7g8AAAD__w.HgtNKtHWooj8c9Hy_vB8CfKq-qOeHMp0irnW0DfXtHo"}',
|
|
65
65
|
//oldToken: 'd92d4a3b-2274-42e8-96f0-100ffb579b6e',
|
|
66
|
-
|
|
67
|
-
authObject: '{EmpID:"Token_937f0ada-8862-4c37-bf44-578531920446",MachineCode:"7a216b39-84af-43bb-842b-07604ac37a10",SSO_Token:"SSOToken_937f0ada-8862-4c37-bf44-578531920446",Platform:"WEB"}',
|
|
66
|
+
authObject: '{token:"1-b0ca13fb-3f45-46b0-9d1f-7b028c05f6d3"}',
|
|
67
|
+
//authObject: '{EmpID:"Token_937f0ada-8862-4c37-bf44-578531920446",MachineCode:"7a216b39-84af-43bb-842b-07604ac37a10",SSO_Token:"SSOToken_937f0ada-8862-4c37-bf44-578531920446",Platform:"WEB"}',
|
|
68
68
|
};
|
|
69
69
|
},
|
|
70
70
|
// 请求完成事件,可判断是否登录过期执行响应操作
|