kz-ui-base 1.0.155 → 1.0.156
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.
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
opMenu.permission,
|
|
9
9
|
`${moduleName}:${serviceName}:${opMenu.permission}`,
|
|
10
10
|
]">
|
|
11
|
-
{{ opMenu.text }}
|
|
11
|
+
{{ opMenu.text || t(opMenu.i18nKey) }}
|
|
12
12
|
</el-button>
|
|
13
13
|
</el-col>
|
|
14
14
|
</template>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
opMenu.permission,
|
|
21
21
|
`${moduleName}:${serviceName}:${opMenu.permission}`,
|
|
22
22
|
]">
|
|
23
|
-
{{ opMenu.text }}
|
|
23
|
+
{{ opMenu.text || t(opMenu.i18nKey) }}
|
|
24
24
|
</el-button>
|
|
25
25
|
</el-col>
|
|
26
26
|
</template>
|
|
@@ -69,7 +69,7 @@ export default {
|
|
|
69
69
|
default:()=>[
|
|
70
70
|
{
|
|
71
71
|
visible: true,
|
|
72
|
-
|
|
72
|
+
i18nKey: "opMenus.add",
|
|
73
73
|
icon: "el-icon-plus",
|
|
74
74
|
permission: "add",
|
|
75
75
|
name: "add",
|
|
@@ -79,7 +79,7 @@ export default {
|
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
visible: true,
|
|
82
|
-
|
|
82
|
+
i18nKey: "opMenus.update",
|
|
83
83
|
icon: "el-icon-edit",
|
|
84
84
|
permission: "edit",
|
|
85
85
|
name: "update",
|
|
@@ -89,7 +89,7 @@ export default {
|
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
visible: true,
|
|
92
|
-
|
|
92
|
+
i18nKey: "opMenus.delete",
|
|
93
93
|
icon: "el-icon-delete",
|
|
94
94
|
permission: "remove",
|
|
95
95
|
name: "delete",
|
|
@@ -1294,7 +1294,7 @@ import { getToken } from "@utils/auth";
|
|
|
1294
1294
|
import _ from "lodash";
|
|
1295
1295
|
import KZ_DropDownList from "@srcComponents/customForm/dropDownList.vue";
|
|
1296
1296
|
import KZ_TextBox from "@srcComponents/customForm/textBox.vue";
|
|
1297
|
-
import EditDialog from "
|
|
1297
|
+
import EditDialog from "./common/src/components/base/dialog/editDialog.vue";
|
|
1298
1298
|
import KZ_CheckBox from "@srcComponents/customForm/checkBox.vue";
|
|
1299
1299
|
import KZ_DatePicker from "@srcComponents/customForm/datePicker.vue";
|
|
1300
1300
|
import KZ_Switch from "@srcComponents/customForm/switch.vue";
|
|
@@ -1305,7 +1305,7 @@ import KZ_Radio from "@srcComponents/customForm/radio.vue";
|
|
|
1305
1305
|
import UploadDialog from "@srcComponents/customForm/uploadDialog.vue";
|
|
1306
1306
|
import PrintDialog from "@srcComponents/customForm/printDialog.vue";
|
|
1307
1307
|
import KZ_Lookup from "@srcComponents/customForm/lookup.vue";
|
|
1308
|
-
import MultiLanguageDialog from "
|
|
1308
|
+
import MultiLanguageDialog from ".components/base/dialog/MultiLanguageDialog.vue";
|
|
1309
1309
|
import { batchGetTranslation } from "@srcComponents/base/dialog/config.js";
|
|
1310
1310
|
@Component({
|
|
1311
1311
|
components: {
|