ocpview-pro 0.1.6 → 0.1.8

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.
Files changed (90) hide show
  1. package/dist/ocpviewplus.min.esm.js +3599 -2520
  2. package/dist/ocpviewplus.min.js +17 -17
  3. package/dist/style.css +1 -1
  4. package/package.json +1 -1
  5. package/src/components/base/controlbox.vue +3 -3
  6. package/src/components/base/load.js +1 -1
  7. package/src/components/conditionbox/conditionbase.vue +3 -3
  8. package/src/components/conditionbox/conditionfilterbox.vue +9 -9
  9. package/src/components/conditionbox/conditionselectorbox.vue +52 -50
  10. package/src/components/conditionbox/queryconditionbox.vue +2 -2
  11. package/src/components/conditionbox/searchconditionbox.vue +2 -2
  12. package/src/components/conditionbox/searchgrid.vue +87 -86
  13. package/src/components/datebox/DateBoxV1.vue +1 -1
  14. package/src/components/form/detailsbox.vue +5 -3
  15. package/src/components/form/formcardbox.vue +3 -0
  16. package/src/components/form/formcardbox2.vue +3 -0
  17. package/src/components/form/formcardgroupbox.vue +2 -0
  18. package/src/components/form/formdetail.vue +2 -2
  19. package/src/components/form/formdetailtwo.vue +7 -7
  20. package/src/components/grid/basegrid.vue +5 -5
  21. package/src/components/grid/editgrid.vue +1 -1
  22. package/src/components/grid/editgridbase.vue +10 -1
  23. package/src/components/grid/editgridcard.vue +1 -1
  24. package/src/components/grid/viewgrid.vue +3 -3
  25. package/src/components/grid/viewgridbase.vue +10 -10
  26. package/src/components/map/mapbox.vue +2 -2
  27. package/src/components/masterplate/RewriteBillListDetails/BillInfoPanelEditTable.vue +6 -6
  28. package/src/components/masterplate/RewriteBillListDetails/BillInfoPanelEditTableControlbox.vue +2 -2
  29. package/src/components/masterplate/RewriteBillListDetails/BillListPanelQueryBar.vue +16 -7
  30. package/src/components/masterplate/RewriteBillListDetails/BillListPanelTable.vue +2 -2
  31. package/src/components/masterplate/RewriteBillListDetails/index.vue +10 -10
  32. package/src/components/masterplate/RewriteListdetails/BillListPanelV3QueryBar.vue +16 -7
  33. package/src/components/masterplate/RewriteListdetails/indexV2.vue +10 -10
  34. package/src/components/masterplate/RewriteListdetails/indexV3.vue +10 -10
  35. package/src/components/masterplate/appendix.vue +23 -23
  36. package/src/components/masterplate/approval.vue +42 -42
  37. package/src/components/masterplate/base.vue +10 -10
  38. package/src/components/masterplate/billasyncimport.vue +39 -39
  39. package/src/components/masterplate/billconditionbox.vue +11 -11
  40. package/src/components/masterplate/billconditionsbox.vue +60 -57
  41. package/src/components/masterplate/billdetailform.vue +4 -4
  42. package/src/components/masterplate/billimport.vue +12 -12
  43. package/src/components/masterplate/billquerygrid.vue +2 -2
  44. package/src/components/masterplate/billsinglegrid.vue +4 -4
  45. package/src/components/masterplate/birtreport.vue +5 -5
  46. package/src/components/masterplate/contractappendix.vue +27 -27
  47. package/src/components/masterplate/detailbtntoolbar.vue +11 -11
  48. package/src/components/masterplate/detailsbox.vue +7 -7
  49. package/src/components/masterplate/editgridcard.vue +7 -7
  50. package/src/components/masterplate/editgridcard2.vue +5 -5
  51. package/src/components/masterplate/formdetailtwo.vue +8 -8
  52. package/src/components/masterplate/gridcolset.vue +6 -6
  53. package/src/components/masterplate/index.js +1 -1
  54. package/src/components/masterplate/layouttemplate.vue +3 -3
  55. package/src/components/masterplate/leftlistrightdetails.vue +15 -13
  56. package/src/components/masterplate/leftlistrightlist.vue +24 -18
  57. package/src/components/masterplate/lefttreerightdetails.vue +17 -17
  58. package/src/components/masterplate/levelreport.vue +6 -6
  59. package/src/components/masterplate/listbtntoolbar.vue +3 -3
  60. package/src/components/masterplate/listdetails.vue +45 -45
  61. package/src/components/masterplate/operlog.vue +19 -19
  62. package/src/components/masterplate/promptmessage.vue +1 -1
  63. package/src/components/masterplate/querybar.vue +33 -21
  64. package/src/components/masterplate/report.vue +7 -7
  65. package/src/components/masterplate/rowbtntoolbar.vue +1 -1
  66. package/src/components/masterplate/simpletree.vue +3 -3
  67. package/src/components/masterplate/simpleviewgrid.vue +4 -4
  68. package/src/components/mychart/gauge/gauge.vue +1 -1
  69. package/src/components/numberbox/numberbox.vue +4 -4
  70. package/src/components/numberbox/numberrangebox.vue +11 -11
  71. package/src/components/picturebox/filebox.vue +6 -5
  72. package/src/components/picturebox/uploadbox.vue +3 -3
  73. package/src/components/poptagbox/poptagbox.vue +4 -3
  74. package/src/components/poptextbox/poptextbox.vue +5 -5
  75. package/src/components/richtextbox/editor.vue +36 -36
  76. package/src/components/richtextbox/richtextbox.vue +6 -6
  77. package/src/components/toolbar/toolbar.vue +7 -7
  78. package/src/components/tree/basetree.vue +3 -2
  79. package/src/components/tree/treedatabase.vue +1 -1
  80. package/src/components/upload/billimport.vue +8 -8
  81. package/src/components/videobox/uploadbox.vue +3 -9
  82. package/src/components/videobox/videobox.vue +1 -1
  83. package/src/components/wrichtextbox/editor.vue +26 -26
  84. package/src/index.js +2 -2
  85. package/src/localePlus/en-US.js +331 -1
  86. package/src/localePlus/zh-CN.js +331 -1
  87. package/src/localePlus/zh-TW.js +331 -1
  88. package/src/method/case/case.js +10 -10
  89. package/src/method/const/const.js +1 -1
  90. package/src/plugins/vxeTable/index.js +1 -1
@@ -1,15 +1,15 @@
1
1
  <template>
2
2
  <div>
3
3
  <template v-if="modeltype==='upload'">
4
- <Modal title="导入" v-model="showUpload" class-name="vertical-center-modal—bill" :width="modelWidth" :footer-hide="true" @on-visible-change="visibleChange">
4
+ <Modal :title="$t('导入')" v-model="showUpload" class-name="vertical-center-modal—bill" :width="modelWidth" :footer-hide="true" @on-visible-change="visibleChange">
5
5
  <Row type="flex" justify="start" :gutter="5">
6
6
  <Col span='16'>
7
7
  <Card :padding="0" :bordered="false" dis-hover >
8
8
  <div style="margin-bottom:10px;display: flex;justify-content: space-between;">
9
9
  <div>
10
- <span class="efuture-title-verticalline"/> <span style="font-size: 14px;font-weight:bold">任务文件</span>
10
+ <span class="efuture-title-verticalline"/> <span style="font-size: 14px;font-weight:bold">{{ $t('任务文件') }}</span>
11
11
  </div>
12
- <Button size="small" customIcon="iconfont icon-custom-anniu-shuaxin" @click="Refurbish">刷新</Button>
12
+ <Button size="small" customIcon="iconfont icon-custom-anniu-shuaxin" @click="Refurbish">{{ $t('刷新') }}</Button>
13
13
  </div>
14
14
  <SimpleViewGrid
15
15
  ref="grid"
@@ -22,9 +22,9 @@
22
22
  <Card :padding="0" :bordered="false" dis-hover >
23
23
  <div style="margin-bottom:10px;display: flex;justify-content: space-between;">
24
24
  <div>
25
- <span class="efuture-title-verticalline"/> <span style="font-size: 14px;font-weight:bold">导入错误信息</span>
25
+ <span class="efuture-title-verticalline"/> <span style="font-size: 14px;font-weight:bold">{{ $t('导入错误信息') }}</span>
26
26
  </div>
27
- <Button size="small" customIcon="iconfont icon-custom-filedown" @click="downErr">下载</Button>
27
+ <Button size="small" customIcon="iconfont icon-custom-filedown" @click="downErr">{{ $t('下载') }}</Button>
28
28
  </div>
29
29
  <SimpleViewGrid
30
30
  ref="griderr"
@@ -35,7 +35,7 @@
35
35
  </Col>
36
36
  <Col span='8'>
37
37
  <p style="margin-bottom:10px;">
38
- <span class="efuture-title-verticalline"/> <span style="font-size: 14px;font-weight:bold">导入文件</span>
38
+ <span class="efuture-title-verticalline"/> <span style="font-size: 14px;font-weight:bold">{{ $t('导入文件') }}</span>
39
39
  </p>
40
40
  <div class="demo-spin-col-bill">
41
41
  <RadioGroup v-if="showType" v-model="type" style="margin-bottom:24px">
@@ -51,14 +51,14 @@
51
51
  </Row>
52
52
  <Row type="flex" justify="center">
53
53
  <Col>
54
- <Input v-model="name" style="width:150px;" :border="false" placeholder="(支持xls、xlsx格式)" clearable disabled/>
54
+ <Input v-model="name" style="width:150px;" :border="false" :placeholder="$t('(支持xls、xlsx格式)')" clearable disabled/>
55
55
  </Col>
56
56
  </Row>
57
57
  <Row type="flex" justify="center" :gutter="10">
58
58
  <Col>
59
59
  <RadioGroup v-if="myConfig.showImportTtype" v-model="importType" style="margin-bottom: 24px;">
60
- <Radio label="all">全量导入</Radio>
61
- <Radio label="add">增量导入</Radio>
60
+ <Radio label="all">{{ $t('全量导入') }}</Radio>
61
+ <Radio label="add">{{ $t('增量导入') }}</Radio>
62
62
  </RadioGroup>
63
63
  <Upload ref="upload"
64
64
  :before-upload="handleUpload"
@@ -68,14 +68,14 @@
68
68
  :on-success="handleSuccess"
69
69
  :show-upload-list="false"
70
70
  :action="url">
71
- <Button style="width:150px;">选择文件</Button>
71
+ <Button style="width:150px;">{{ $t('选择文件') }}</Button>
72
72
  </Upload>
73
73
  </Col>
74
74
  </Row>
75
75
  </div>
76
76
  <Spin v-show="loading" fix>
77
77
  <Icon type="ios-loading" size="18" class="demo-spin-icon-load"></Icon>
78
- <div>导入中</div>
78
+ <div>{{ $t('导入中') }}</div>
79
79
  </Spin>
80
80
  </div>
81
81
  </Col>
@@ -83,7 +83,7 @@
83
83
  </Modal>
84
84
  </template>
85
85
  <template v-if="modeltype === 'down'">
86
- <Modal v-model="showUpload" title="选择模版" @on-ok="downTemplate" class-name="vertical-center-modal—bill">
86
+ <Modal v-model="showUpload" :title="$t('选择模版')" @on-ok="downTemplate" class-name="vertical-center-modal—bill">
87
87
  <RadioGroup v-model="type">
88
88
  <Radio v-for="(item,index) in myConfig.typeData" :key="index" :label="item.code">
89
89
  <span>{{item.name}}</span>
@@ -92,21 +92,21 @@
92
92
  </Modal>
93
93
  </template>
94
94
  <template v-if="modeltype === 'export'">
95
- <Modal v-model="showUpload" title="导出" :width="modelWidth" class-name="vertical-center-modal—bill" :footer-hide="true">
95
+ <Modal v-model="showUpload" :title="$t('导出')" :width="modelWidth" class-name="vertical-center-modal—bill" :footer-hide="true">
96
96
  <Row type="flex" justify="start" align="middle" :gutter="0" style="margin-bottom:20px">
97
97
  <Col span="3">
98
- <Button @click="doAsyncExport">生成导出任务</Button>
98
+ <Button @click="doAsyncExport">{{ $t('生成导出任务') }}</Button>
99
99
  </Col>
100
100
  <Col v-if="checkExport" span="21">
101
- <p v-if="checkExportFailFlag" style="border:1px solid #F3B352;background-color:#FFF7EB;padding-left:30px;padding-right:30px"> <Icon custom="iconfont icon-custom-daishenpi" size="20" color="#F3B352"/> <span style="margin-left: 12px;font-size:18px;color:#F3B352;font-weight:bold">已存在生成中的导出任务,请稍后生成导出任务</span> </p>
102
- <p v-if="checkExportSuccessFlag" style="border:1px solid #739943;background-color:#FBFFF6;padding-left:30px;padding-right:30px"> <Icon custom="iconfont icon-custom-wancheng" size="20" color="#739943"/> <span style="margin-left: 12px;font-size:18px;color:#739943;font-weight:bold">导出任务已生成,请稍后在任务列表下载文件</span> </p>
101
+ <p v-if="checkExportFailFlag" style="border:1px solid #F3B352;background-color:#FFF7EB;padding-left:30px;padding-right:30px"> <Icon custom="iconfont icon-custom-daishenpi" size="20" color="#F3B352"/> <span style="margin-left: 12px;font-size:18px;color:#F3B352;font-weight:bold">{{ $t('已存在生成中的导出任务,请稍后生成导出任务') }}</span> </p>
102
+ <p v-if="checkExportSuccessFlag" style="border:1px solid #739943;background-color:#FBFFF6;padding-left:30px;padding-right:30px"> <Icon custom="iconfont icon-custom-wancheng" size="20" color="#739943"/> <span style="margin-left: 12px;font-size:18px;color:#739943;font-weight:bold">{{ $t('导出任务已生成,请稍后在任务列表下载文件') }}</span> </p>
103
103
  </Col>
104
104
  </Row>
105
105
  <div style="margin-bottom:10px;display: flex;justify-content: space-between;">
106
106
  <div>
107
107
  <span class="efuture-title-verticalline"/> <span style="font-size: 14px;font-weight:bold" v-text="exportGridConfig.gridtitle" />
108
108
  </div>
109
- <Button size="small" customIcon="iconfont icon-custom-anniu-shuaxin" @click="Refurbish">刷新</Button>
109
+ <Button size="small" customIcon="iconfont icon-custom-anniu-shuaxin" @click="Refurbish">{{ $t('刷新') }}</Button>
110
110
  </div>
111
111
  <SimpleViewGrid
112
112
  ref="grid"
@@ -137,29 +137,29 @@
137
137
  resources:'',
138
138
  },
139
139
  gridConfig:{
140
- gridtitle:'任务文件',
140
+ gridtitle: this.$t('任务文件'),
141
141
  showPage:false,
142
142
  dynamicHeight:false,
143
143
  height:250,
144
144
  items:[{
145
- label:'日期',
145
+ label: this.$t('日期'),
146
146
  name:'taskdate',
147
147
  type:'DateBox',
148
148
  vtype:'datetime',
149
149
  width:150
150
150
  }, {
151
- label:'状态',
151
+ label: this.$t('状态'),
152
152
  name:'taskstatus',
153
153
  type:'ComboBox',
154
154
  codeWithName:false,
155
- data:[{ code : 'N', name : '进行中'},{ code : 'F', name : '导入失败'}, { code : 'Y', name : '已生成'} ,{ code : 'E', name : '部分导入成功'}],
155
+ data:[{ code : 'N', name : this.$t('进行中')},{ code : 'F', name : this.$t('导入失败')}, { code : 'Y', name : this.$t('已生成')} ,{ code : 'E', name : this.$t('部分导入成功')}],
156
156
  width:100,
157
157
  },{
158
- label:'文件名称',
158
+ label: this.$t('文件名称'),
159
159
  name:'filename',
160
160
  type:'TextBox'
161
161
  },{
162
- label:'操作',
162
+ label: this.$t('操作'),
163
163
  key:'action',
164
164
  align: 'center',
165
165
  render: this.actionRender,
@@ -167,40 +167,40 @@
167
167
  }]
168
168
  },
169
169
  gridErrConfig:{
170
- gridtitle:'任务文件',
170
+ gridtitle: this.$t('任务文件'),
171
171
  showPage:false,
172
172
  dynamicHeight:false,
173
173
  height:250,
174
174
  items:[{
175
- label:'错误信息',
175
+ label: this.$t('错误信息'),
176
176
  name:'errmsg',
177
177
  type:'TextBox'
178
178
  }]
179
179
  },
180
180
  exportGridConfig:{
181
- gridtitle:'任务日志',
181
+ gridtitle: this.$t('任务日志'),
182
182
  showPage:false,
183
183
  dynamicHeight:false,
184
184
  height:250,
185
185
  items:[{
186
- label:'日期',
186
+ label: this.$t('日期'),
187
187
  name:'taskdate',
188
188
  type:'DateBox',
189
189
  vtype:'datetime',
190
190
  width:150
191
191
  }, {
192
- label:'状态',
192
+ label: this.$t('状态'),
193
193
  name:'taskstatus',
194
194
  type:'ComboBox',
195
195
  codeWithName:false,
196
- data:[{ code : 'N', name : '进行中'},{ code : 'F', name : '导入失败'}, { code : 'Y', name : '已完成'} ,{ code : 'C', name : '已取消'},],
196
+ data:[{ code : 'N', name : this.$t('进行中')},{ code : 'F', name : this.$t('导入失败')}, { code : 'Y', name : this.$t('已完成')} ,{ code : 'C', name : this.$t('已取消')},],
197
197
  width:100,
198
198
  },{
199
- label:'文件名称',
199
+ label: this.$t('文件名称'),
200
200
  name:'filename',
201
201
  type:'TextBox'
202
202
  },{
203
- label:'操作',
203
+ label: this.$t('操作'),
204
204
  key:'action',
205
205
  align: 'center',
206
206
  render: this.actionRender,
@@ -225,17 +225,17 @@
225
225
  {
226
226
  icon:'custom-filedown',
227
227
  name:'downFile',
228
- text:'下载'
228
+ text: this.$t('下载')
229
229
  },
230
230
  {
231
231
  icon:'custom-filedel',
232
232
  name:'delTask',
233
- text:'删除'
233
+ text: this.$t('删除')
234
234
  },
235
235
  {
236
236
  icon:'custom-filerecall',
237
237
  name:'cancelTask',
238
- text:'取消'
238
+ text: this.$t('取消')
239
239
  }
240
240
  ],
241
241
  checkExportFailFlag: false,
@@ -258,7 +258,7 @@
258
258
  if (this.name) {
259
259
  return this.name;
260
260
  } else {
261
- return '(支持xls、xlsx格式)';
261
+ return this.$t('(支持xls、xlsx格式)');
262
262
  }
263
263
  },
264
264
  modelWidth() {
@@ -404,7 +404,7 @@
404
404
  return false;
405
405
  } else {
406
406
  if (this.checkTask()) {
407
- this.alert('存在进行中的导入任务,请稍后导入数据');
407
+ this.alert(this.$t('存在进行中的导入任务,请稍后导入数据'));
408
408
  this.file = null;
409
409
  this.name = '';
410
410
  return false;
@@ -452,7 +452,7 @@
452
452
 
453
453
  handleFormatError (file) {
454
454
  let type = this.myConfig.fileType.join(',');
455
- this.alert('文件[' + file.name + ']的格式不正确,请上传格式为(' + type + ')的文件');
455
+ this.alert(this.$t('文件[{name}]的格式不正确,请上传格式为({type})的文件', { name: file.name, type: type }));
456
456
  },
457
457
  handleSuccess(res) {
458
458
  let self = this;
@@ -539,10 +539,10 @@
539
539
  downErr() {
540
540
  let data = this.$refs.griderr.getData();
541
541
  if (data.length === 0) {
542
- this.alert('没有错误信息可下载');
542
+ this.alert(this.$t('没有错误信息可下载'));
543
543
  return;
544
544
  } else {
545
- this.$Method.exportExcel(this.gridErrConfig.items, this.$refs.griderr.getData(),null,'错误信息');
545
+ this.$Method.exportExcel(this.gridErrConfig.items, this.$refs.griderr.getData(),null,this.$t('错误信息'));
546
546
  }
547
547
 
548
548
  },
@@ -17,7 +17,7 @@
17
17
  name:'relevance',
18
18
  type:'ComboBox',
19
19
  codeWithName:false,
20
- data:[{code:'or',name:'或'}, {code:'and', name:'且'}],
20
+ data:[{code:'or',name:this.$t('或')}, {code:'and', name:this.$t('且')}],
21
21
  colNum:1.2,
22
22
  defaultValue:'and',
23
23
  style:{'margin-bottom':'10px','margin-top':'0px','margin-left':'0px',},
@@ -38,7 +38,7 @@
38
38
  clearable:false,
39
39
  colNum:2,
40
40
  data:[{
41
- name: '等于',
41
+ name: this.$t('等于'),
42
42
  code: '=='
43
43
  }],
44
44
  defaultValue:'==',
@@ -118,38 +118,38 @@
118
118
  getOperData(el) {
119
119
  let tempData = [];
120
120
  tempData.push({
121
- name: '等于',
121
+ name: this.$t('等于'),
122
122
  code: '=='
123
123
  });
124
124
  if (el.type === 'DateBox' || el.type === 'NumberBox') {
125
125
  tempData.push({
126
- name: '大于',
126
+ name: this.$t('大于'),
127
127
  code: '>'
128
128
  });
129
129
  tempData.push({
130
- name: '大于等于',
130
+ name: this.$t('大于等于'),
131
131
  code: '>='
132
132
  });
133
133
  tempData.push({
134
- name: '小于等于',
134
+ name: this.$t('小于等于'),
135
135
  code: '<='
136
136
  });
137
137
  tempData.push({
138
- name: '小于',
138
+ name: this.$t('小于'),
139
139
  code: '<'
140
140
  });
141
141
  tempData.push({
142
- name: '不等于',
142
+ name: this.$t('不等于'),
143
143
  code: '<>'
144
144
  });
145
145
  }
146
146
  if (el.type === 'TextBox') {
147
147
  tempData.push({
148
- name: '不等于',
148
+ name: this.$t('不等于'),
149
149
  code: '<>'
150
150
  });
151
151
  tempData.push({
152
- name: '包含',
152
+ name: this.$t('包含'),
153
153
  code: 'LIKE'
154
154
  });
155
155
  }
@@ -184,7 +184,7 @@
184
184
  }
185
185
  } else {
186
186
  oper.data = [{
187
- name: '等于',
187
+ name: this.$t('等于'),
188
188
  code: '=='
189
189
  }];
190
190
  oper.readOnly = true;
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <Card :padding="0" style="padding:14px 16px;" dis-hover>
3
- <Row type="flex" justify="start" align="middle" style="max-height:120px;overflow-y:auto;overflow-x:hidden" >
3
+ <Row type="flex" justify="start" align="middle">
4
4
  <Col v-for="temp in data" :key="temp.index" span="12">
5
5
  <BillConditionBox v-if="reset" :config="myConfig" :ref="temp.index" :curIndex="temp.index" :valueData="temp.form" @doAction="doAction" @inputValue="input"/>
6
6
  </Col>
@@ -10,10 +10,10 @@
10
10
  <p @click.stop="doAdd" style="cursor:pointer">
11
11
  <Row type="flex" justify="start" align="middle">
12
12
  <Col>
13
- <Icon custom="iconfont icon-custom-addcond" size="20" color="#AF292E"/>
13
+ <Icon custom="iconfont icon-custom-addcond" size="20" :style="{color: 'var(--mss-primary-color)'}"/>
14
14
  </Col>
15
15
  <Col>
16
- <span style="margin-left:18px;color:#AF292E;font-size:14px"> 添加条件 </span>
16
+ <span style="margin-left:18px;font-size:14px" class="add-cond-text"> {{ $t('添加条件') }} </span>
17
17
  </Col>
18
18
  </Row>
19
19
  </p>
@@ -21,34 +21,34 @@
21
21
  </Row>
22
22
  <Row type="flex" justify="start" align="middle">
23
23
  <Col style="margin-right:10px">
24
- <Button type="primary" @click="searchFilter" >筛选</Button>
24
+ <Button type="primary" @click="searchFilter" >{{ $t('筛选') }}</Button>
25
25
  </Col>
26
26
  <Col >
27
- <Button @click="clearData" >清空筛选值</Button>
27
+ <Button @click="clearData" >{{ $t('清空筛选值') }}</Button>
28
28
  </Col>
29
29
  <Col>
30
30
  <Divider type="vertical" class="dividercommon" />
31
31
  </Col>
32
32
  <Col v-if="!delSceneFlag" >
33
- <Checkbox v-model="saveSceneFlag"><span style="margin-left: 10px;">保存场景</span></Checkbox>
33
+ <Checkbox v-model="saveSceneFlag"><span style="margin-left: 10px;">{{ $t('保存场景') }}</span></Checkbox>
34
34
  </Col>
35
35
  <Col v-if="saveSceneFlag || delSceneFlag" style="margin-right:14px">
36
- <Input v-model="scenename" placeholder="请输入场景名称" style="width: 456px" />
36
+ <Input v-model="scenename" :placeholder="$t('请输入场景名称')" style="width: 456px" />
37
37
  </Col>
38
38
  <Col v-if="saveSceneFlag || delSceneFlag" >
39
- <Button type="info" @click="saveScene" >保存</Button>
39
+ <Button type="info" @click="saveScene" >{{ $t('保存') }}</Button>
40
40
  </Col>
41
41
  <Col v-if="delSceneFlag">
42
42
  <Divider type="vertical" class="dividercommon"/>
43
43
  </Col>
44
44
  <Col v-if="delSceneFlag" >
45
- <Button @click="delScene" >删除场景</Button>
45
+ <Button @click="delScene" >{{ $t('删除场景') }}</Button>
46
46
  </Col>
47
47
  <Col v-if="delSceneFlag">
48
48
  <Divider type="vertical" class="dividercommon"/>
49
49
  </Col>
50
50
  <Col v-if="delSceneFlag">
51
- <Button @click="addScene">新增</Button>
51
+ <Button @click="addScene">{{ $t('新增') }}</Button>
52
52
  </Col>
53
53
  </Row>
54
54
  </Card>
@@ -118,7 +118,7 @@ export default {
118
118
  let obj = {};
119
119
  obj.index ='index_0';
120
120
  obj.form = {};
121
- this.data.push(obj);
121
+ this.data.push(obj);
122
122
  }
123
123
  });
124
124
  }
@@ -153,7 +153,7 @@ export default {
153
153
  let obj = {};
154
154
  obj.index ='index_0';
155
155
  obj.form = {};
156
- this.data.push(obj);
156
+ this.data.push(obj);
157
157
  },
158
158
  clearData() {
159
159
  this.data = [];
@@ -214,12 +214,12 @@ export default {
214
214
  Object.assign(param,temp3);
215
215
  }
216
216
  }
217
- } else {
217
+ } else {
218
218
  param[obj.field] = {};
219
219
  if (obj.value.value !== undefined) {
220
- param[obj.field][obj.oper] = obj.value.value;
220
+ param[obj.field][obj.oper] = obj.value.value;
221
221
  } else {
222
- param[obj.field][obj.oper] = obj.value;
222
+ param[obj.field][obj.oper] = obj.value;
223
223
  }
224
224
  }
225
225
  } else {
@@ -229,21 +229,21 @@ export default {
229
229
  } else {
230
230
  param[obj.field] = {};
231
231
  if (obj.value.value !== undefined) {
232
- param[obj.field][obj.oper] = obj.value.value;
232
+ param[obj.field][obj.oper] = obj.value.value;
233
233
  } else {
234
- param[obj.field][obj.oper] = obj.value;
234
+ param[obj.field][obj.oper] = obj.value;
235
235
  }
236
- }
236
+ }
237
237
  }
238
-
238
+
239
239
  }
240
-
240
+
241
241
  if (para === undefined) {
242
242
  return param;
243
243
  } else {
244
244
  para.push(param);
245
245
  }
246
-
246
+
247
247
  },
248
248
  getQuerySearchParam () {
249
249
  if (this.data.length === 0) {
@@ -268,7 +268,7 @@ export default {
268
268
  if (el.form.relevance === 'and') {
269
269
  this.getCommomParam(el.form, paraAnd);
270
270
  }
271
-
271
+
272
272
  }
273
273
  });
274
274
  if (paraOr.length > 0) {
@@ -368,45 +368,48 @@ export default {
368
368
  position: relative;
369
369
  }
370
370
  }
371
-
371
+
372
372
  .ivu-btn {
373
373
  height:40px;
374
374
  }
375
- .ivu-btn-red {
376
- color: #fff;
377
- background-color: #AF292E;
378
- }
379
- .ivu-btn-red:hover {
380
- background-color: #FFB5B8;
381
- border-color: #FFB5B8;
382
- }
383
- .ivu-btn-red :focus {
384
- background-color: #7A2531;
385
- border-color: #7A2531;
386
- }
387
- .ivu-btn-black {
388
- color: #fff;
389
- background-color: #4D4E53;
375
+ .add-cond-text {
376
+ color: var(--mss-primary-color);
390
377
  }
378
+ // .ivu-btn-red {
379
+ // color: #fff;
380
+ // background-color: var(--mss-primary-color);
381
+ // }
382
+ // .ivu-btn-red:hover {
383
+ // background-color: var(--mss-primary-color-hover);
384
+ // border-color: var(--mss-primary-color-hover);
385
+ // }
386
+ // .ivu-btn-red:focus {
387
+ // background-color: var(--mss-primary-color-active);
388
+ // border-color: var(--mss-primary-color-active);
389
+ // }
390
+ // .ivu-btn-black {
391
+ // color: #fff;
392
+ // background-color: var(--mss-info-color);
393
+ // }
391
394
 
392
- .ivu-btn-black:hover {
393
- background-color: #CDD0D6;
394
- border-color: #CDD0D6;;
395
- }
396
- .ivu-btn-black:focus {
397
- background-color: #000000;
398
- border-color: #000000;;
399
- }
400
- .ivu-btn-default:hover {
401
- color: #EF6E73;
402
- background-color: #FFF9F9;
403
- border-color: #EF6E73;;
404
- }
405
- .ivu-btn-default:focus {
406
- color: #DF3D43;
407
- background-color: #FFF9F9;
408
- border-color: #DF3D43;
409
- }
395
+ // .ivu-btn-black:hover {
396
+ // background-color: #CDD0D6;
397
+ // border-color: #CDD0D6;
398
+ // }
399
+ // .ivu-btn-black:focus {
400
+ // background-color: #000000;
401
+ // border-color: #000000;
402
+ // }
403
+ // .ivu-btn-default:hover {
404
+ // color: var(--mss-error-color);
405
+ // background-color: #FFF9F9;
406
+ // border-color: var(--mss-error-color);
407
+ // }
408
+ // .ivu-btn-default:focus {
409
+ // color: var(--mss-error-color-active);
410
+ // background-color: #FFF9F9;
411
+ // border-color: var(--mss-error-color-active);
412
+ // }
410
413
  .modulecodetext {
411
414
  height:40px;
412
415
  text-align:center;
@@ -420,7 +423,7 @@ export default {
420
423
  height:32px;
421
424
  }
422
425
  }
423
-
426
+
424
427
  }
425
428
 
426
429
 
@@ -41,7 +41,7 @@ export default {
41
41
  data () {
42
42
  return {
43
43
  curlEditObject:'',
44
- title:'单据详情',
44
+ title:this.$t('单据详情'),
45
45
  singleForm:{},
46
46
  readOnly:false,
47
47
  showAnchorLink:false,
@@ -180,7 +180,7 @@ export default {
180
180
  let tmp = Object.assign({}, {}, this.billAppendixConfig);
181
181
  tmp.type = 'AppendixBox';
182
182
  tmp.name = 'detail_appenndix';
183
- tmp.title = '附件';
183
+ tmp.title = this.$t('附件');
184
184
  tmp.beforeUpload = this.beforeUpload;
185
185
  tmp.divId = 'detail_'+ this.getRandom() + '_'+ this.detailConfig.items.length;
186
186
  this.detailConfig.items.push(tmp);
@@ -190,7 +190,7 @@ export default {
190
190
  let tmp = Object.assign({}, {}, this.billAppendixConfig);
191
191
  tmp.type = 'AppendixBox2';
192
192
  tmp.name = 'detail_appenndix2';
193
- tmp.title = '附件';
193
+ tmp.title = this.$t('附件');
194
194
  tmp.beforeUpload = this.beforeUpload;
195
195
  tmp.divId = 'detail_'+ this.getRandom() + '_'+ this.detailConfig.items.length;
196
196
  this.detailConfig.items.push(tmp);
@@ -855,7 +855,7 @@ export default {
855
855
  if (name && name === this.curlEditObject) {
856
856
  return true;
857
857
  } else {
858
- this.alert('存在数据未保存');
858
+ this.alert(this.$t('存在数据未保存'));
859
859
  return false;
860
860
  }
861
861
  }