ocpview-pro 0.1.6 → 0.1.7
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/ocpviewplus.min.esm.js +2309 -1260
- package/dist/ocpviewplus.min.js +17 -17
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/base/controlbox.vue +3 -3
- package/src/components/base/load.js +1 -1
- package/src/components/conditionbox/conditionbase.vue +3 -3
- package/src/components/conditionbox/conditionfilterbox.vue +9 -9
- package/src/components/conditionbox/conditionselectorbox.vue +52 -50
- package/src/components/conditionbox/queryconditionbox.vue +2 -2
- package/src/components/conditionbox/searchconditionbox.vue +2 -2
- package/src/components/conditionbox/searchgrid.vue +87 -86
- package/src/components/datebox/DateBoxV1.vue +1 -1
- package/src/components/form/detailsbox.vue +5 -3
- package/src/components/form/formcardbox.vue +3 -0
- package/src/components/form/formcardbox2.vue +3 -0
- package/src/components/form/formcardgroupbox.vue +2 -0
- package/src/components/form/formdetail.vue +2 -2
- package/src/components/form/formdetailtwo.vue +7 -7
- package/src/components/grid/basegrid.vue +5 -5
- package/src/components/grid/editgrid.vue +1 -1
- package/src/components/grid/editgridbase.vue +10 -1
- package/src/components/grid/editgridcard.vue +1 -1
- package/src/components/grid/viewgrid.vue +3 -3
- package/src/components/grid/viewgridbase.vue +10 -10
- package/src/components/map/mapbox.vue +2 -2
- package/src/components/masterplate/RewriteBillListDetails/BillInfoPanelEditTable.vue +6 -6
- package/src/components/masterplate/RewriteBillListDetails/BillInfoPanelEditTableControlbox.vue +2 -2
- package/src/components/masterplate/RewriteBillListDetails/BillListPanelQueryBar.vue +4 -4
- package/src/components/masterplate/RewriteBillListDetails/BillListPanelTable.vue +2 -2
- package/src/components/masterplate/RewriteBillListDetails/index.vue +10 -10
- package/src/components/masterplate/RewriteListdetails/BillListPanelV3QueryBar.vue +4 -4
- package/src/components/masterplate/RewriteListdetails/indexV2.vue +10 -10
- package/src/components/masterplate/RewriteListdetails/indexV3.vue +10 -10
- package/src/components/masterplate/appendix.vue +23 -23
- package/src/components/masterplate/approval.vue +42 -42
- package/src/components/masterplate/base.vue +10 -10
- package/src/components/masterplate/billasyncimport.vue +39 -39
- package/src/components/masterplate/billconditionbox.vue +11 -11
- package/src/components/masterplate/billconditionsbox.vue +8 -8
- package/src/components/masterplate/billdetailform.vue +4 -4
- package/src/components/masterplate/billimport.vue +12 -12
- package/src/components/masterplate/billquerygrid.vue +2 -2
- package/src/components/masterplate/billsinglegrid.vue +4 -4
- package/src/components/masterplate/birtreport.vue +5 -5
- package/src/components/masterplate/contractappendix.vue +27 -27
- package/src/components/masterplate/detailbtntoolbar.vue +11 -11
- package/src/components/masterplate/detailsbox.vue +7 -7
- package/src/components/masterplate/editgridcard.vue +7 -7
- package/src/components/masterplate/editgridcard2.vue +5 -5
- package/src/components/masterplate/formdetailtwo.vue +8 -8
- package/src/components/masterplate/gridcolset.vue +6 -6
- package/src/components/masterplate/layouttemplate.vue +3 -3
- package/src/components/masterplate/leftlistrightdetails.vue +15 -13
- package/src/components/masterplate/leftlistrightlist.vue +24 -18
- package/src/components/masterplate/lefttreerightdetails.vue +17 -17
- package/src/components/masterplate/levelreport.vue +6 -6
- package/src/components/masterplate/listbtntoolbar.vue +3 -3
- package/src/components/masterplate/listdetails.vue +45 -45
- package/src/components/masterplate/operlog.vue +19 -19
- package/src/components/masterplate/promptmessage.vue +1 -1
- package/src/components/masterplate/querybar.vue +7 -7
- package/src/components/masterplate/report.vue +7 -7
- package/src/components/masterplate/rowbtntoolbar.vue +1 -1
- package/src/components/masterplate/simpletree.vue +3 -3
- package/src/components/masterplate/simpleviewgrid.vue +4 -4
- package/src/components/mychart/gauge/gauge.vue +1 -1
- package/src/components/numberbox/numberbox.vue +4 -4
- package/src/components/numberbox/numberrangebox.vue +11 -11
- package/src/components/picturebox/filebox.vue +6 -5
- package/src/components/picturebox/uploadbox.vue +3 -3
- package/src/components/poptagbox/poptagbox.vue +4 -3
- package/src/components/poptextbox/poptextbox.vue +5 -5
- package/src/components/richtextbox/editor.vue +36 -36
- package/src/components/richtextbox/richtextbox.vue +6 -6
- package/src/components/toolbar/toolbar.vue +7 -7
- package/src/components/tree/basetree.vue +3 -2
- package/src/components/tree/treedatabase.vue +1 -1
- package/src/components/upload/billimport.vue +8 -8
- package/src/components/videobox/uploadbox.vue +3 -9
- package/src/components/videobox/videobox.vue +1 -1
- package/src/components/wrichtextbox/editor.vue +26 -26
- package/src/index.js +1 -1
- package/src/localePlus/en-US.js +331 -1
- package/src/localePlus/zh-CN.js +331 -1
- package/src/localePlus/zh-TW.js +331 -1
- package/src/method/case/case.js +10 -10
- package/src/method/const/const.js +1 -1
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
:on-format-error="handleFormatError"
|
|
23
23
|
:max-size="fileSize"
|
|
24
24
|
:action="uploadfile">
|
|
25
|
-
<a
|
|
25
|
+
<a>{{ $t('上传') }}</a>
|
|
26
26
|
</Upload>
|
|
27
27
|
<div v-show="showGrid">
|
|
28
28
|
<EditGridCardS ref="grid" :config="myConfig" :dictData="dictData"></EditGridCardS>
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
<div ref="photo" v-show="false">
|
|
32
32
|
<li><img :src="imgUrl" :data-original="`${imgUrl}`" style="width: 100%; height: 100%;"/></li>
|
|
33
33
|
</div>
|
|
34
|
-
<Modal :styles="{top:'20px', width:'80%'}" title="文本" v-model="txtPanelFlag" :footer-hide="true">
|
|
34
|
+
<Modal :styles="{top:'20px', width:'80%'}" :title="$t('文本')" v-model="txtPanelFlag" :footer-hide="true">
|
|
35
35
|
<div v-html="textStr"/>
|
|
36
36
|
</Modal>
|
|
37
|
-
<Modal :styles="{top:'20px', width:'80%'}" title="PDF" v-model="pdfFlag" :footer-hide="true">
|
|
37
|
+
<Modal :styles="{top:'20px', width:'80%'}" :title="$t('PDF')" v-model="pdfFlag" :footer-hide="true">
|
|
38
38
|
<div ref="pdf" style="height:630px"/>
|
|
39
39
|
</Modal>
|
|
40
40
|
</Card>
|
|
@@ -68,22 +68,22 @@ export default {
|
|
|
68
68
|
showPage: false,
|
|
69
69
|
fileSize: 20,
|
|
70
70
|
fileNum: 10,
|
|
71
|
-
title: '附件',
|
|
71
|
+
title: this.$t('附件'),
|
|
72
72
|
dynamicHeight: true,
|
|
73
73
|
showTitle: true,
|
|
74
74
|
scenetype: '3',
|
|
75
75
|
height: 840,
|
|
76
76
|
items: [{
|
|
77
|
-
label: '操作状态',
|
|
77
|
+
label: this.$t('操作状态'),
|
|
78
78
|
name: 'modflag',
|
|
79
79
|
type: 'ComboBox',
|
|
80
|
-
data: [{code: 'N', name: '初始'}, {code: 'M', name: '待删除'},
|
|
81
|
-
{code: 'I', name: '新增'}, {code: 'D', name: '删除'}],
|
|
80
|
+
data: [{code: 'N', name: this.$t('初始')}, {code: 'M', name: this.$t('待删除')},
|
|
81
|
+
{code: 'I', name: this.$t('新增')}, {code: 'D', name: this.$t('删除')}],
|
|
82
82
|
visible: false,
|
|
83
83
|
width: 100,
|
|
84
84
|
readOnly: true
|
|
85
85
|
}, {
|
|
86
|
-
label: '附件类型',
|
|
86
|
+
label: this.$t('附件类型'),
|
|
87
87
|
name: 'filememo',
|
|
88
88
|
type: 'ComboBox',
|
|
89
89
|
dictkey: 'CUSTFILETYPE',
|
|
@@ -92,32 +92,32 @@ export default {
|
|
|
92
92
|
visible: false,
|
|
93
93
|
readOnly: true
|
|
94
94
|
}, {
|
|
95
|
-
label: '附件类型',
|
|
95
|
+
label: this.$t('附件类型'),
|
|
96
96
|
name: 'filemode',
|
|
97
97
|
type: 'TextBox',
|
|
98
98
|
width: 300,
|
|
99
99
|
readOnly: true
|
|
100
100
|
}, {
|
|
101
|
-
label: '文件名称',
|
|
101
|
+
label: this.$t('文件名称'),
|
|
102
102
|
name: 'filename',
|
|
103
103
|
type: 'TextBox',
|
|
104
104
|
minWidth: 200,
|
|
105
105
|
readOnly: true
|
|
106
106
|
}, {
|
|
107
|
-
label: '文件大小',
|
|
107
|
+
label: this.$t('文件大小'),
|
|
108
108
|
name: 'filesize',
|
|
109
109
|
render: this.sizeActionRender,
|
|
110
110
|
width: 120,
|
|
111
111
|
readOnly: true
|
|
112
112
|
}, {
|
|
113
|
-
label: '上传日期',
|
|
113
|
+
label: this.$t('上传日期'),
|
|
114
114
|
name: 'ph_timestamp',
|
|
115
115
|
type: 'DateBox',
|
|
116
116
|
vtype: 'datetime',
|
|
117
117
|
width: 150,
|
|
118
118
|
readOnly: true
|
|
119
119
|
}, {
|
|
120
|
-
label: '操作',
|
|
120
|
+
label: this.$t('操作'),
|
|
121
121
|
key: 'action',
|
|
122
122
|
align: 'center',
|
|
123
123
|
render: this.actionRender,
|
|
@@ -144,32 +144,32 @@ export default {
|
|
|
144
144
|
{
|
|
145
145
|
icon: 'custom-fileupload',
|
|
146
146
|
name: 'upFile',
|
|
147
|
-
text: '上传'
|
|
147
|
+
text: this.$t('上传')
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
150
|
icon: 'custom-filedel',
|
|
151
151
|
name: 'delFile',
|
|
152
|
-
text: '删除'
|
|
152
|
+
text: this.$t('删除')
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
155
|
icon: 'custom-filedown',
|
|
156
156
|
name: 'downFile',
|
|
157
|
-
text: '下载'
|
|
157
|
+
text: this.$t('下载')
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
icon: 'custom-filesearch',
|
|
161
161
|
name: 'searchFile',
|
|
162
|
-
text: '查看'
|
|
162
|
+
text: this.$t('查看')
|
|
163
163
|
},
|
|
164
164
|
{
|
|
165
165
|
icon: 'custom-filerecall',
|
|
166
166
|
name: 'recall',
|
|
167
|
-
text: '撤回'
|
|
167
|
+
text: this.$t('撤回')
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
170
|
icon: 'custom-fileupload',
|
|
171
171
|
name: 'reupFile',
|
|
172
|
-
text: '变更'
|
|
172
|
+
text: this.$t('变更')
|
|
173
173
|
},
|
|
174
174
|
]
|
|
175
175
|
};
|
|
@@ -274,7 +274,7 @@ export default {
|
|
|
274
274
|
methods: {
|
|
275
275
|
handleFormatError (file) {
|
|
276
276
|
let type = this.myConfig.fileType.join(',');
|
|
277
|
-
this.alert('文件['
|
|
277
|
+
this.alert(this.$t('文件[{name}]的格式不正确,请上传格式为({type})的文件', { name: file.name, type: type }));
|
|
278
278
|
this.loadFlag = true;
|
|
279
279
|
},
|
|
280
280
|
toggle () {
|
|
@@ -398,7 +398,7 @@ export default {
|
|
|
398
398
|
// this.$refs.grid.delRow(params.index);
|
|
399
399
|
} else {
|
|
400
400
|
if (params.row.modflag === 'M') {
|
|
401
|
-
this.alert('当前状态不允许删除');
|
|
401
|
+
this.alert(this.$t('当前状态不允许删除'));
|
|
402
402
|
return;
|
|
403
403
|
}
|
|
404
404
|
if (params.row.modflag === 'I') {
|
|
@@ -417,7 +417,7 @@ export default {
|
|
|
417
417
|
},
|
|
418
418
|
recall (params) {
|
|
419
419
|
if (params.row.modflag !== 'M') {
|
|
420
|
-
this.alert('当前状态不用撤回');
|
|
420
|
+
this.alert(this.$t('当前状态不用撤回'));
|
|
421
421
|
return;
|
|
422
422
|
}
|
|
423
423
|
let row = this.$Method.copy(params.row);
|
|
@@ -446,7 +446,7 @@ export default {
|
|
|
446
446
|
this.$emit('handleSuccessAfter' , response, file, fileList);
|
|
447
447
|
},
|
|
448
448
|
handleMaxSize (file) {
|
|
449
|
-
this.alert('文件['
|
|
449
|
+
this.alert(this.$t('文件[{name}]的文件大小不允许超过{size}M', { name: file.name, size: this.myConfig.fileSize }));
|
|
450
450
|
if (this.myConfig.scenetype === '4') {
|
|
451
451
|
this.loadFlag = true;
|
|
452
452
|
} else {
|
|
@@ -615,12 +615,12 @@ export default {
|
|
|
615
615
|
if (this.$refs.billupload && this.$refs.billupload.fileList) {
|
|
616
616
|
check = this.$refs.billupload.fileList.length < this.myConfig.fileNum;
|
|
617
617
|
if (!check) {
|
|
618
|
-
this.alert('上传的文件数量过多(一次最多允许上传'
|
|
618
|
+
this.alert(this.$t('上传的文件数量过多(一次最多允许上传{num}个文件)', { num: this.myConfig.fileNum }));
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
621
|
if (!this.flag) {
|
|
622
622
|
this.flag = true;
|
|
623
|
-
this.loadingtext = '上传中';
|
|
623
|
+
this.loadingtext = this.$t('上传中');
|
|
624
624
|
if (this.myConfig.scenetype === '4') {
|
|
625
625
|
this.loadFlag = false;
|
|
626
626
|
} else {
|
|
@@ -635,7 +635,7 @@ export default {
|
|
|
635
635
|
this.myConfig.beforeUpload();
|
|
636
636
|
}
|
|
637
637
|
if (!this.billno) {
|
|
638
|
-
this.alert('单据主健信息为空,不允许上传');
|
|
638
|
+
this.alert(this.$t('单据主健信息为空,不允许上传'));
|
|
639
639
|
return;
|
|
640
640
|
}
|
|
641
641
|
if (this.checkIsEdit()) {
|
|
@@ -654,7 +654,7 @@ export default {
|
|
|
654
654
|
this.myConfig.beforeUpload();
|
|
655
655
|
}
|
|
656
656
|
if (!this.billno) {
|
|
657
|
-
this.alert('单据主健信息为空,不允许上传');
|
|
657
|
+
this.alert(this.$t('单据主健信息为空,不允许上传'));
|
|
658
658
|
return;
|
|
659
659
|
}
|
|
660
660
|
if (this.checkIsEdit()) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<Col span="14">
|
|
4
4
|
<Row type="flex" :gutter="0" justify="start" align="middle">
|
|
5
5
|
<Col v-if="addDataBtnFlag">
|
|
6
|
-
<Button customIcon="iconfont icon-custom-add" type="primary" @click="addData"
|
|
6
|
+
<Button customIcon="iconfont icon-custom-add" type="primary" @click="addData" >{{ $t('新增') }}</Button>
|
|
7
7
|
</Col>
|
|
8
8
|
<Col v-if="addDataBtnFlag ">
|
|
9
9
|
<Divider type="vertical" class="dividercommon"/>
|
|
@@ -28,41 +28,41 @@
|
|
|
28
28
|
<Col span="10">
|
|
29
29
|
<Row type="flex" :gutter="0" justify="end" align="middle">
|
|
30
30
|
<Col v-if="billisworkflow">
|
|
31
|
-
<Button customIcon="iconfont icon-custom-flow" type="info" @click="openWorkFlow"
|
|
31
|
+
<Button customIcon="iconfont icon-custom-flow" type="info" @click="openWorkFlow">{{ $t('工作流') }}</Button>
|
|
32
32
|
</Col>
|
|
33
33
|
<Col v-if="billisworkflow">
|
|
34
34
|
<Divider type="vertical" class="dividercommon"/>
|
|
35
35
|
</Col>
|
|
36
36
|
<Col v-if="billapproval">
|
|
37
|
-
<Button customIcon="iconfont icon-custom-baopidan" @click="openBillapproval"
|
|
37
|
+
<Button customIcon="iconfont icon-custom-baopidan" @click="openBillapproval">{{ $t('报批单') }}</Button>
|
|
38
38
|
</Col>
|
|
39
39
|
|
|
40
40
|
<Col v-if="billapproval">
|
|
41
41
|
<Divider type="vertical" class="dividercommon"/>
|
|
42
42
|
</Col>
|
|
43
43
|
<Col v-if="billoperlog">
|
|
44
|
-
<Button customIcon="iconfont icon-custom-baopidan" @click="openBilloperlog"
|
|
44
|
+
<Button customIcon="iconfont icon-custom-baopidan" @click="openBilloperlog">{{ $t('操作日志') }}</Button>
|
|
45
45
|
</Col>
|
|
46
46
|
<Col v-if="billoperlog">
|
|
47
47
|
<Divider type="vertical" class="dividercommon"/>
|
|
48
48
|
</Col>
|
|
49
49
|
<Col v-if="printmodel">
|
|
50
|
-
<Button customIcon="iconfont icon-custom-print" @click="printBillData"
|
|
50
|
+
<Button customIcon="iconfont icon-custom-print" @click="printBillData">{{ $t('打印') }}</Button>
|
|
51
51
|
</Col>
|
|
52
52
|
<Col v-if="printmodel">
|
|
53
53
|
<Divider type="vertical" class="dividercommon"/>
|
|
54
54
|
</Col>
|
|
55
55
|
<Col v-if="showPreNex" style="margin-right:10px">
|
|
56
|
-
<Button style="padding-left:0px;padding-right:0px" customIcon="iconfont icon-custom-pre" type="text" @click="preBill"
|
|
56
|
+
<Button style="padding-left:0px;padding-right:0px" customIcon="iconfont icon-custom-pre" type="text" @click="preBill">{{ $t('上一单') }}</Button>
|
|
57
57
|
</Col>
|
|
58
58
|
<Col v-if="showPreNex" >
|
|
59
|
-
<Button style="padding-left:0px;padding-right:0px" customIcon="iconfont icon-custom-next" type="text" @click="nextBill"
|
|
59
|
+
<Button style="padding-left:0px;padding-right:0px" customIcon="iconfont icon-custom-next" type="text" @click="nextBill" >{{ $t('下一单') }}</Button>
|
|
60
60
|
</Col>
|
|
61
61
|
<Col>
|
|
62
62
|
<Divider type="vertical" class="dividercommon"/>
|
|
63
63
|
</Col>
|
|
64
64
|
<Col >
|
|
65
|
-
<Button style="padding-left:0px;padding-right:0px" customIcon="iconfont icon-custom-back" type="text" @click="backData"
|
|
65
|
+
<Button style="padding-left:0px;padding-right:0px" customIcon="iconfont icon-custom-back" type="text" @click="backData">{{ $t('返回') }}</Button>
|
|
66
66
|
</Col>
|
|
67
67
|
</Row>
|
|
68
68
|
</Col>
|
|
@@ -85,13 +85,13 @@ export default {
|
|
|
85
85
|
btnItems:[],
|
|
86
86
|
apporval:[{
|
|
87
87
|
name:'submitData',
|
|
88
|
-
text:'提交'
|
|
88
|
+
text:this.$t('提交')
|
|
89
89
|
},{
|
|
90
90
|
name:'revokeData',
|
|
91
|
-
text:'撤回'
|
|
91
|
+
text:this.$t('撤回')
|
|
92
92
|
},{
|
|
93
93
|
name:'approveData',
|
|
94
|
-
text:'审批'
|
|
94
|
+
text:this.$t('审批')
|
|
95
95
|
}],
|
|
96
96
|
ignoreModule:['downTemplate'],
|
|
97
97
|
|
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
<Row type="flex" justify="end" :gutter="0" align="middle">
|
|
11
11
|
<Dropdown placement="bottom-start" style="float:right">
|
|
12
12
|
<Button style="height:21px" type="info">
|
|
13
|
-
更多操作
|
|
13
|
+
{{ $t('更多操作') }}
|
|
14
14
|
<Icon type="ios-arrow-down"></Icon>
|
|
15
15
|
</Button>
|
|
16
16
|
<template #list>
|
|
17
17
|
<DropdownMenu>
|
|
18
18
|
<DropdownItem>
|
|
19
|
-
<Button @click.stop="openForm"
|
|
19
|
+
<Button @click.stop="openForm" >{{ $t('全部展开') }}</Button>
|
|
20
20
|
</DropdownItem>
|
|
21
21
|
<DropdownItem >
|
|
22
|
-
<Button @click.stop="closeForm"
|
|
22
|
+
<Button @click.stop="closeForm">{{ $t('全部收起') }}</Button>
|
|
23
23
|
</DropdownItem>
|
|
24
24
|
</DropdownMenu>
|
|
25
25
|
</template>
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
<Divider style="margin-left:24px;margin-bottom:10px;margin-top: 0px;"/>
|
|
32
32
|
<div style="margin-left:24px;" v-show="showForm" >
|
|
33
33
|
<Row style="margin-bottom:10px;">
|
|
34
|
-
<Button style="padding-left:0px;padding-right:0px" customIcon="iconfont icon-custom-rowadd3" type="text" :disabled="btnReadOnly" @click="add"
|
|
34
|
+
<Button style="padding-left:0px;padding-right:0px" customIcon="iconfont icon-custom-rowadd3" type="text" :disabled="btnReadOnly" @click="add" >{{ $t('添加') }}</Button>
|
|
35
35
|
</Row>
|
|
36
36
|
<FormDetail v-if="showAdd" ref="addform" :config="myConfig" :isAdd="true" @doAction="newDoAction" :dictData="dictData"/>
|
|
37
37
|
<FormDetail v-for="(temp,index) in data" :ref="temp.curlIndex" :key="temp.curlIndex" :valueData="temp" :curlIndex="temp.curlIndex" :index="index" :config="myConfig" @doAction="doAction" :dictData="dictData"/>
|
|
@@ -57,8 +57,8 @@ export default {
|
|
|
57
57
|
titleType:1,
|
|
58
58
|
addBtnType:'1',
|
|
59
59
|
hide:true,
|
|
60
|
-
addBtnName:'新增',
|
|
61
|
-
editBtnName:'编辑'
|
|
60
|
+
addBtnName:this.$t('新增'),
|
|
61
|
+
editBtnName:this.$t('编辑')
|
|
62
62
|
},
|
|
63
63
|
showForm:true,
|
|
64
64
|
editFlag:false,
|
|
@@ -350,7 +350,7 @@ export default {
|
|
|
350
350
|
}
|
|
351
351
|
});
|
|
352
352
|
if (flag) {
|
|
353
|
-
this.alert('必填项不允许为空');
|
|
353
|
+
this.alert(this.$t('必填项不允许为空'));
|
|
354
354
|
}
|
|
355
355
|
return flag;
|
|
356
356
|
},
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
</div>
|
|
21
21
|
<Row class-name="row-box" v-else v-show="showGrid" type="flex" justify="start" align="middle" :gutter="0" style="margin-bottom: 10px;">
|
|
22
22
|
<Col v-if="showAddBtn">
|
|
23
|
-
<Button :style="btnStyle" customIcon="iconfont icon-custom-rowadd3" type="text" :disabled="myConfig.readOnly" @click="addRow"
|
|
23
|
+
<Button :style="btnStyle" customIcon="iconfont icon-custom-rowadd3" type="text" :disabled="myConfig.readOnly" @click="addRow" >{{ $t('添加') }}</Button>
|
|
24
24
|
</Col>
|
|
25
25
|
<Col v-if="showAddBtn && showDelBatchBtn">
|
|
26
26
|
<Divider type="vertical" style="margin: 0 6px 0 6px;"/>
|
|
27
27
|
</Col>
|
|
28
28
|
<Col v-if="showDelBatchBtn">
|
|
29
|
-
<Button :style="btnStyle" customIcon="iconfont icon-custom-rowdel3" type="text" :disabled="myConfig.readOnly" @click="delBatchRow"
|
|
29
|
+
<Button :style="btnStyle" customIcon="iconfont icon-custom-rowdel3" type="text" :disabled="myConfig.readOnly" @click="delBatchRow">{{ $t('删除') }}</Button>
|
|
30
30
|
</Col>
|
|
31
31
|
<Col class="col-align" v-if="showZoom">
|
|
32
|
-
<Button type="ghost" shape="circle" :title="isFull ? '还原' : '全屏'" :customIcon="[isFull ? 'iconfont icon-custom-minimize' : 'iconfont icon-custom-fullscreen']" @click="setZoom"></Button>
|
|
32
|
+
<Button type="ghost" shape="circle" :title="isFull ? $t('还原') : $t('全屏')" :customIcon="[isFull ? 'iconfont icon-custom-minimize' : 'iconfont icon-custom-fullscreen']" @click="setZoom"></Button>
|
|
33
33
|
</Col>
|
|
34
34
|
</Row>
|
|
35
35
|
<Row v-show="showGrid" >
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
</div>
|
|
51
51
|
</Row>
|
|
52
52
|
<p v-show="showGrid && showEffectValue" @click="toggleEffect" style="cursor:pointer;background-color:#FFF2DE;height:36px;line-height:36px;border: 1px solid #F3B352;margin-top: 10px;" >
|
|
53
|
-
<Icon custom='iconfont icon-custom-help' size="20" style="margin-left: 10px;" color="#D5882E" /> <span style="margin-left: 4px;color:#D5882E"
|
|
53
|
+
<Icon custom='iconfont icon-custom-help' size="20" style="margin-left: 10px;" color="#D5882E" /> <span style="margin-left: 4px;color:#D5882E">{{ $t('参考数据') }}</span>
|
|
54
54
|
</p>
|
|
55
55
|
<Row v-show="showGrid && showEffectValue && showEffectGrid" class="efuture-effect-grid" style="margin-top: 10px;">
|
|
56
56
|
<Table ref="effect_table" :row-class-name="rowClassName" :loading="loading" :size="myConfig.tableSize" :border="myConfig.showBorder" :stripe="myConfig.showStripe" :maxHeight="tableMaxHeight" :columns="tableColumns" :data="curlEffectData" @on-column-width-resize="onColumnWidthResize" >
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
</Table>
|
|
61
61
|
</Row>
|
|
62
62
|
</div>
|
|
63
|
-
<Modal v-if="!editRowFlag" v-model="showEditRowForm" width="90%" title="编辑" @on-ok="editRow">
|
|
63
|
+
<Modal v-if="!editRowFlag" v-model="showEditRowForm" width="90%" :title="$t('编辑')" @on-ok="editRow">
|
|
64
64
|
<div>
|
|
65
65
|
<ExpandRow ref="rowForm" :config="myConfig" :dictData="dictData" />
|
|
66
66
|
</div>
|
|
@@ -82,7 +82,7 @@ export default {
|
|
|
82
82
|
showCheckBox:true,
|
|
83
83
|
showPage:false,
|
|
84
84
|
showAppendixCol:false,
|
|
85
|
-
appedixLable:'附件'
|
|
85
|
+
appedixLable:this.$t('附件')
|
|
86
86
|
},
|
|
87
87
|
btnStyle:'padding-left:0px;padding-right:0px',
|
|
88
88
|
divStyle:'padding-left:24px',
|
|
@@ -95,7 +95,7 @@ export default {
|
|
|
95
95
|
showEffectValue:false,
|
|
96
96
|
showEffectGrid:true,
|
|
97
97
|
actionAppendixConfig:{
|
|
98
|
-
label:'附件',
|
|
98
|
+
label:this.$t('附件'),
|
|
99
99
|
key:'actionappendix',
|
|
100
100
|
align: 'center',
|
|
101
101
|
fixed: 'right',
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
</div>
|
|
6
6
|
<Row class-name="row-box" v-else v-show="showGrid" type="flex" justify="start" align="middle" :gutter="0" style="margin-bottom: 10px;">
|
|
7
7
|
<Col v-if="showAddBtn">
|
|
8
|
-
<Button :style="btnStyle" customIcon="iconfont icon-custom-rowadd3" type="text" :disabled="myConfig.readOnly" @click="addRow"
|
|
8
|
+
<Button :style="btnStyle" customIcon="iconfont icon-custom-rowadd3" type="text" :disabled="myConfig.readOnly" @click="addRow" >{{ $t('添加') }}</Button>
|
|
9
9
|
</Col>
|
|
10
10
|
<Col v-if="showAddBtn && showDelBatchBtn">
|
|
11
11
|
<Divider type="vertical" style="margin: 0 6px 0 6px;"/>
|
|
12
12
|
</Col>
|
|
13
13
|
<Col v-if="showDelBatchBtn">
|
|
14
|
-
<Button :style="btnStyle" customIcon="iconfont icon-custom-rowdel3" type="text" :disabled="myConfig.readOnly" @click="delBatchRow"
|
|
14
|
+
<Button :style="btnStyle" customIcon="iconfont icon-custom-rowdel3" type="text" :disabled="myConfig.readOnly" @click="delBatchRow">{{ $t('删除') }}</Button>
|
|
15
15
|
</Col>
|
|
16
16
|
</Row>
|
|
17
17
|
<Row style="margin-top: 10px;">
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
</Card>
|
|
32
32
|
</div>
|
|
33
33
|
</Row>
|
|
34
|
-
<Modal v-if="!editRowFlag" v-model="showEditRowForm" width="90%" title="编辑" @on-ok="editRow">
|
|
34
|
+
<Modal v-if="!editRowFlag" v-model="showEditRowForm" width="90%" :title="$t('编辑')" @on-ok="editRow">
|
|
35
35
|
<div>
|
|
36
36
|
<ExpandRow ref="rowForm" :config="myConfig" :dictData="dictData"/>
|
|
37
37
|
</div>
|
|
@@ -53,7 +53,7 @@ export default {
|
|
|
53
53
|
showCheckBox:true,
|
|
54
54
|
showPage:false,
|
|
55
55
|
showAppendixCol:false,
|
|
56
|
-
appedixLable:'附件'
|
|
56
|
+
appedixLable:this.$t('附件')
|
|
57
57
|
},
|
|
58
58
|
btnStyle:'padding-left:0px;padding-right:0px',
|
|
59
59
|
showAddBtn:false,
|
|
@@ -61,7 +61,7 @@ export default {
|
|
|
61
61
|
showGrid:true,
|
|
62
62
|
showTitle:true,
|
|
63
63
|
actionAppendixConfig:{
|
|
64
|
-
label:'附件',
|
|
64
|
+
label:this.$t('附件'),
|
|
65
65
|
key:'actionappendix',
|
|
66
66
|
align: 'center',
|
|
67
67
|
render:this.actionAppendixRender,
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
<Col span="6" v-show="showForm" >
|
|
12
12
|
<Row type="flex" justify="end" align="middle" :gutter="0">
|
|
13
13
|
<Col>
|
|
14
|
-
<Button style="float:right" size="small" customIcon="iconfont icon-custom-recallcard" type="text" :disabled="btnReadOnly" @click.stop="resetRow"
|
|
14
|
+
<Button style="float:right" size="small" customIcon="iconfont icon-custom-recallcard" type="text" :disabled="btnReadOnly" @click.stop="resetRow" >{{ $t('撤消') }}</Button>
|
|
15
15
|
</Col>
|
|
16
16
|
<Col >
|
|
17
17
|
<Divider type="vertical" style="margin: 0 15px 0 15px;float:right"/>
|
|
18
18
|
</Col>
|
|
19
19
|
<Col>
|
|
20
|
-
<Button style="float:right" size="small" customIcon="iconfont icon-custom-delcard" type="text" :disabled="btnReadOnly" @click.stop="delBatchRow"
|
|
20
|
+
<Button style="float:right" size="small" customIcon="iconfont icon-custom-delcard" type="text" :disabled="btnReadOnly" @click.stop="delBatchRow">{{ $t('删除') }}</Button>
|
|
21
21
|
</Col>
|
|
22
22
|
</Row>
|
|
23
23
|
</Col>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<Divider type="vertical" style="margin: 0 15px 0 15px;float:right"/>
|
|
26
26
|
</template>
|
|
27
27
|
<template v-else>
|
|
28
|
-
<Badge status="processing" text="新增项" />
|
|
28
|
+
<Badge status="processing" :text="$t('新增项')" />
|
|
29
29
|
</template>
|
|
30
30
|
</p>
|
|
31
31
|
<Divider v-show="showForm" style="margin-top:0px;margin-bottom:10px;"/>
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
<template #header>
|
|
37
37
|
<Row type="flex" justify="start" align="middle" :gutter="0" style="margin-bottom: 10px;display: flex;">
|
|
38
38
|
<Col v-if="showAddBtn">
|
|
39
|
-
<Button customIcon="iconfont icon-custom-rowadd" type="text" size="small" :disabled="btnReadOnly" @click="addRow"
|
|
39
|
+
<Button customIcon="iconfont icon-custom-rowadd" type="text" size="small" :disabled="btnReadOnly" @click="addRow" >{{ $t('添加') }}</Button>
|
|
40
40
|
</Col>
|
|
41
41
|
<Col v-if="showAddBtn && showDelBatchBtn">
|
|
42
42
|
<Divider type="vertical" style="margin: 0 15px 0 15px;height: 20px"/>
|
|
43
43
|
</Col>
|
|
44
44
|
<Col v-if="showDelBatchBtn">
|
|
45
|
-
<Button customIcon="iconfont icon-custom-rowdel" size="small" type="text" :disabled="btnReadOnly" @click="delRow"
|
|
45
|
+
<Button customIcon="iconfont icon-custom-rowdel" size="small" type="text" :disabled="btnReadOnly" @click="delRow">{{ $t('删除') }}</Button>
|
|
46
46
|
</Col>
|
|
47
47
|
<Col class="col-align" v-if="showZoom" style="flex:1;text-align: right;">
|
|
48
48
|
<Button type="ghost" shape="circle" :customIcon="[isFull ? 'iconfont icon-custom-minimize' : 'iconfont icon-custom-fullscreen']" @click="setZoom"></Button>
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
</EditGridCard>
|
|
53
53
|
<Row v-if="isAdd" type="flex" justify="end" align="middle" style="margin-top: 10px;margin-bottom: 10px;" :gutter="16">
|
|
54
54
|
<Col>
|
|
55
|
-
<Button style="width:84px" @click="cancel"
|
|
55
|
+
<Button style="width:84px" @click="cancel">{{ $t('取消') }}</Button>
|
|
56
56
|
</Col>
|
|
57
57
|
<Col>
|
|
58
|
-
<Button style="width:84px" type="info" @click="save"
|
|
58
|
+
<Button style="width:84px" type="info" @click="save">{{ $t('确认') }}</Button>
|
|
59
59
|
</Col>
|
|
60
60
|
</Row>
|
|
61
61
|
</div>
|
|
@@ -116,7 +116,7 @@ export default {
|
|
|
116
116
|
},
|
|
117
117
|
computed: {
|
|
118
118
|
title() {
|
|
119
|
-
let title = '标题';
|
|
119
|
+
let title = this.$t('标题');
|
|
120
120
|
if (this.config.titleName) {
|
|
121
121
|
if (this.valueData[this.config.titleName]) {
|
|
122
122
|
title = this.valueData[this.config.titleName];
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<Card :bordered="false" :padding="0" style="padding-top:14px;padding-left:16px;padding-right:16px;padding-bottom:14px" dis-hover>
|
|
3
3
|
<Row type="flex" justify="start" align="middle">
|
|
4
4
|
<Col span='18'>
|
|
5
|
-
<span
|
|
5
|
+
<span style="font-size:14px">{{ $t('显示这些字段') }}</span>
|
|
6
6
|
</Col>
|
|
7
7
|
<Col span='6'>
|
|
8
8
|
<Row type="flex" justify="end" align="middle" >
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<Card :padding="0" dis-hover style="width:330px;margin-top:20px;">
|
|
18
18
|
<template #title>
|
|
19
19
|
<p style="margin-top: 3px;margin-bottom: 3px;margin-left: 8px;margin-right: 10px;">
|
|
20
|
-
<span style="font-size:14px"
|
|
20
|
+
<span style="font-size:14px">{{ $t('已选择字段') }}: </span><span style="color:#AF292E;font-size:14px">{{num}}{{ $t('个') }}</span>
|
|
21
21
|
</p>
|
|
22
22
|
</template>
|
|
23
23
|
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<Tooltip placement="left">
|
|
36
36
|
<template #content>
|
|
37
37
|
<div>
|
|
38
|
-
<span style="font-size:12px"> 冻结列 </span>
|
|
38
|
+
<span style="font-size:12px"> {{ $t('冻结列') }} </span>
|
|
39
39
|
</div>
|
|
40
40
|
</template>
|
|
41
41
|
<p @click.stop="doFixed(tmp.name)" style="padding-right:14px;">
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<Tooltip placement="left">
|
|
49
49
|
<template #content>
|
|
50
50
|
<div>
|
|
51
|
-
<span style="font-size:12px"> 置顶 </span>
|
|
51
|
+
<span style="font-size:12px"> {{ $t('置顶') }} </span>
|
|
52
52
|
</div>
|
|
53
53
|
</template>
|
|
54
54
|
<p @click.stop="doStick(index)">
|
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
</Card>
|
|
64
64
|
<Row style="margin-top:14px" type="flex" justify="end" align="middle" :gutter="10" >
|
|
65
65
|
<Col>
|
|
66
|
-
<Button @click="reset"
|
|
66
|
+
<Button @click="reset" >{{ $t('重置') }}</Button>
|
|
67
67
|
</Col>
|
|
68
68
|
<Col>
|
|
69
|
-
<Button type="info" @click="ok"
|
|
69
|
+
<Button type="info" @click="ok" >{{ $t('确定') }}</Button>
|
|
70
70
|
</Col>
|
|
71
71
|
</Row>
|
|
72
72
|
</Card>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<!-- ============================ -->
|
|
18
18
|
</component>
|
|
19
19
|
<Modal
|
|
20
|
-
title="附件"
|
|
20
|
+
:title="$t('附件')"
|
|
21
21
|
v-model="showDetailAppendix"
|
|
22
22
|
:width="appendixCurrentWidth"
|
|
23
23
|
:footer-hide="true"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
/>
|
|
31
31
|
</Modal>
|
|
32
32
|
<Modal
|
|
33
|
-
title="模版打印"
|
|
33
|
+
:title="$t('模版打印')"
|
|
34
34
|
v-model="showPrintMode"
|
|
35
35
|
:width="appendixCurrentWidth"
|
|
36
36
|
:footer-hide="true"
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
>
|
|
60
60
|
</BillImport>
|
|
61
61
|
<Modal
|
|
62
|
-
title="合同模版"
|
|
62
|
+
:title="$t('合同模版')"
|
|
63
63
|
v-model="ContractModalShowType"
|
|
64
64
|
:width="ContractModalWidth"
|
|
65
65
|
:mask-closable="false"
|