cloud-web-corejs 1.0.54 → 1.0.55

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.54",
4
+ "version": "1.0.55",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -87,6 +87,7 @@ export default {
87
87
  fullscreen: this.option.fullscreen,
88
88
  };
89
89
  config = Object.assign({}, config, this.option.dialogConfig, {customClass});
90
+ config.title = this.$t1(config.title);
90
91
  return config;
91
92
  },
92
93
  bodyConfig() {
@@ -81,6 +81,7 @@ export default {
81
81
  direction:"btt"
82
82
  };
83
83
  config = Object.assign({}, config, this.option.dialogConfig, {customClass});
84
+ config.title = this.$t1(config.title);
84
85
  return config;
85
86
  },
86
87
  bodyConfig() {
@@ -55,7 +55,7 @@
55
55
  </div>
56
56
  </label>
57
57
  <div class="multipleChoice">
58
- <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a class="allDel icon-quanbushanchu"
58
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a class="allDel icon-quanbushanchu"
59
59
  @click="clearChecked()"></a>
60
60
  </el-tooltip>
61
61
  <div class="list">
@@ -66,7 +66,7 @@
66
66
  </div>
67
67
  </div>
68
68
  <span slot="footer" class="dialog-footer">
69
- <span class="fl tips" v-if="!selectMulti">注:双击确认选择(单选)</span>
69
+ <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
70
70
  <el-button type="primary" plain class="button-sty" @click="dialogClose">
71
71
  <i class="el-icon-close el-icon"></i>
72
72
  {{ $t2('取 消', 'system.button.cancel2') }}
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <el-dialog
3
- title="表单提交"
3
+ :title="$t1('提交内容')"
4
4
  :visible.sync="showDialog"
5
5
  :modal-append-to-body="false"
6
6
  :close-on-click-modal="false"
@@ -18,7 +18,7 @@
18
18
  <th>
19
19
  <span class="t">
20
20
  <em class="f-red">*</em>
21
- {{ $t1('备注') }}
21
+ {{ $t1('内容') }}
22
22
  </span>
23
23
  </th>
24
24
  <td>
@@ -20,7 +20,7 @@
20
20
  </div>
21
21
  </label>
22
22
  <div class="multipleChoice">
23
- <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a
23
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
24
24
  class="allDel icon-quanbushanchu"
25
25
  @click="clearChecked()"></a>
26
26
  </el-tooltip>
@@ -34,14 +34,14 @@
34
34
  </div>
35
35
  </div>
36
36
  <span slot="footer" class="dialog-footer" v-if="option.showFooter!==false" v-bind="option.footerConfig">
37
- <span class="fl tips" v-if="!selectMulti">注:双击确认选择(单选)</span>
37
+ <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
38
38
  <el-button type="primary" plain class="button-sty" @click="close">
39
39
  <i class="el-icon-close el-icon"></i>
40
- {{ $t2('取 消', 'system.button.cancel2') }}
40
+ {{ $t1('取 消') }}
41
41
  </el-button>
42
42
  <el-button type="primary" @click="dialogSubmit" class="button-sty">
43
43
  <i class="el-icon-check el-icon"></i>
44
- {{ $t2('确 定', 'system.button.confirm2') }}
44
+ {{ $t1('确 定') }}
45
45
  </el-button>
46
46
  </span>
47
47
  </el-dialog>
@@ -130,6 +130,7 @@ export default {
130
130
  fullscreen: this.option.fullscreen,
131
131
  };
132
132
  config = Object.assign({}, config, this.option.dialogConfig, {customClass});
133
+ config.title = this.$t1(config.title);
133
134
  return config;
134
135
  },
135
136
  bodyConfig() {
@@ -53,7 +53,7 @@
53
53
  </div>
54
54
  </label>
55
55
  <div class="multipleChoice">
56
- <el-tooltip :enterable="false" effect="dark" content="全部删除" placement="top"><a class="allDel icon-quanbushanchu"
56
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a class="allDel icon-quanbushanchu"
57
57
  @click="clearChecked()"></a>
58
58
  </el-tooltip>
59
59
  <div class="list">
@@ -64,7 +64,7 @@
64
64
  </div>
65
65
  </div>
66
66
  <span slot="footer" class="dialog-footer">
67
- <span class="fl tips" v-if="!selectMulti">注:双击确认选择(单选)</span>
67
+ <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
68
68
  <el-button type="primary" plain class="button-sty" @click="dialogClose">
69
69
  <i class="el-icon-close el-icon"></i>
70
70
  {{ $t2('取 消', 'system.button.cancel2') }}
@@ -41,8 +41,7 @@
41
41
  <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog"
42
42
  v-if="isDev && currentFormType.editAuth===1">{{ $t1('新增') }}
43
43
  </vxe-button>
44
- <vxe-button status="success" class="button-sty" icon="el-icon-download" @click="jsonImport"
45
- v-if="currentFormType.editAuth===1">{{ $t1('导入发布') }}
44
+ <vxe-button status="success" class="button-sty" icon="el-icon-download" @click="jsonImport">{{ $t1('导入发布') }}
46
45
  </vxe-button>
47
46
  <vxe-button status="success" class="button-sty" icon="el-icon-upload2" @click="jsonExport"
48
47
  v-if="isDev && currentFormType.exportAuth===1">{{ $t1('导出发布') }}
@@ -45,8 +45,7 @@
45
45
  <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog()"
46
46
  v-if="isDev && currentFormType.editAuth===1">{{ $t1('新增') }}
47
47
  </vxe-button>
48
- <vxe-button status="success" class="button-sty" icon="el-icon-download" @click="jsonImport"
49
- v-if="currentFormType.editAuth===1">{{ $t1('导入发布') }}
48
+ <vxe-button status="success" class="button-sty" icon="el-icon-download" @click="jsonImport">{{ $t1('导入发布') }}
50
49
  </vxe-button>
51
50
  <vxe-button status="success" class="button-sty" icon="el-icon-upload2" @click="jsonExport"
52
51
  v-if="isDev && currentFormType.exportAuth===1">{{ $t1('导出发布') }}
@@ -40,8 +40,7 @@
40
40
  <vxe-button status="primary" class="button-sty" icon="el-icon-plus" @click="openEditDialog"
41
41
  v-if="isDev && currentFormType.editAuth===1">{{ $t1('新增') }}
42
42
  </vxe-button>
43
- <vxe-button status="success" class="button-sty" icon="el-icon-download" @click="jsonImport"
44
- v-if="currentFormType.editAuth===1">{{ $t1('导入发布') }}
43
+ <vxe-button status="success" class="button-sty" icon="el-icon-download" @click="jsonImport">{{ $t1('导入发布') }}
45
44
  </vxe-button>
46
45
  <vxe-button status="success" class="button-sty" icon="el-icon-upload2" @click="jsonExport"
47
46
  v-if="isDev && currentFormType.exportAuth===1">{{ $t1('导出发布') }}