浏览代码

文字修改

lilei 4 年之前
父节点
当前提交
d07038a1ce

+ 1 - 1
src/core/directives/hasPermission.js

@@ -5,7 +5,7 @@ import store from '@/store'
  * hasPermission 权限指令
  * 指令用法:
  *  - 在需要控制 hasPermission 级别权限的组件上使用 v-hasPermission:[method] , 如下:
- *    <i-button v-hasPermission:add >添加用户</a-button>
+ *    <i-button v-hasPermission:add >新增用户</a-button>
  *    <a-button v-hasPermission:delete>删除用户</a-button>
  *    <a v-hasPermission:edit @click="edit(record)">修改</a>
  *

+ 2 - 2
src/views/bnSetting/menu/adminMenus.vue

@@ -1,8 +1,8 @@
 <template>
   <a-card :bordered="false">
     <a-row :gutter="24">
-      <a-button style="margin-right: 10px;" type="primary" icon="plus" @click="addChild" id="adminMenus-addChild">添加子菜单</a-button>
-      <a-button style="margin-right: 10px;background-color: #19be6b;color: #fff;" type="" icon="plus" @click="addTitle" id="adminMenus-addTitle">添加顶部菜单</a-button>
+      <a-button style="margin-right: 10px;" type="primary" icon="plus" @click="addChild" id="adminMenus-addChild">新增子菜单</a-button>
+      <a-button style="margin-right: 10px;background-color: #19be6b;color: #fff;" type="" icon="plus" @click="addTitle" id="adminMenus-addTitle">新增顶部菜单</a-button>
       <a-button style="margin-right: 10px;background-color: red;color: #fff;" type="" icon="delete" @click="delect()" id="adminMenus-delect">删除</a-button>
 
     </a-row>

+ 2 - 2
src/views/bnSetting/menu/childModal.vue

@@ -316,13 +316,13 @@ export default {
     isshow (newValue, oldValue) {
       if (newValue) {
         if (this.data.id) { // 添加子菜单
-          this.titleText = '添加子菜单'
+          this.titleText = '新增子菜单'
           this.disabled = false
           console.log(this.data, 'this.data')
           this.formData.parentId = this.data.id
           this.parentTitle = this.data.name
         } else { // 添加顶菜单
-          this.titleText = '添加顶菜单'
+          this.titleText = '新增顶菜单'
           this.formData.type = 0
           this.disabled = true
         }

+ 2 - 2
src/views/bnSetting/menu/storeMenus.vue

@@ -1,8 +1,8 @@
 <template>
   <a-card :bordered="false">
     <a-row :gutter="24">
-      <a-button style="margin-right: 10px;" type="primary" icon="plus" @click="addChild" id="storeMenus-addChild">添加子菜单</a-button>
-      <a-button style="margin-right: 10px;background-color: #19be6b;color: #fff;" type="" icon="plus" @click="addTitle" id="storeMenus-addTitle">添加顶部菜单</a-button>
+      <a-button style="margin-right: 10px;" type="primary" icon="plus" @click="addChild" id="storeMenus-addChild">新增子菜单</a-button>
+      <a-button style="margin-right: 10px;background-color: #19be6b;color: #fff;" type="" icon="plus" @click="addTitle" id="storeMenus-addTitle">新增顶部菜单</a-button>
       <a-button style="margin-right: 10px;background-color: red;color: #fff;" type="" icon="delete" @click="delect()" id="storeMenus-delect">删除</a-button>
 
     </a-row>

+ 2 - 2
src/views/power/dataDictionary/codeItemModal.vue

@@ -223,7 +223,7 @@ export default {
   },
   data () {
     return {
-      titleText: '添加字典项',
+      titleText: '新增字典项',
       isshow: this.visible,
       formLayout: 'horizontal',
       form: this.$form.createForm(this, { name: 'miniForm' }),
@@ -315,7 +315,7 @@ export default {
           console.log(this.formData, 'this.formData')
         } else {
           this.formData.lookupCode = this.data.lookupCode
-          this.titleText = '添加字典项'
+          this.titleText = '新增字典项'
         }
       } else {
         this.cancel()

+ 2 - 2
src/views/power/dataDictionary/codeModal.vue

@@ -113,7 +113,7 @@ export default {
   },
   data () {
     return {
-      titleText: '添加字典',
+      titleText: '新增字典',
       isshow: this.visible,
       formLayout: 'horizontal',
       form: this.$form.createForm(this, { name: 'miniForm' }),
@@ -188,7 +188,7 @@ export default {
           this.formData.isEnable = Number(this.formData.isEnable)
           console.log(this.formData, 'this.formData')
         } else {
-          this.formData.titleText = '添加字典'
+          this.formData.titleText = '新增字典'
         }
       } else {
         this.cancel()

+ 2 - 2
src/views/power/dataDictionary/dataDictionary.vue

@@ -4,7 +4,7 @@
       <!-- 左侧字典列表 -->
       <a-col :span="6">
         <a-row :gutter="24">
-          <!-- <a-button style="margin-right: 10px;" type="primary" icon="plus" @click="addCode">添加字典</a-button> -->
+          <!-- <a-button style="margin-right: 10px;" type="primary" icon="plus" @click="addCode">新增字典</a-button> -->
           <a-button style="margin-right: 10px;" type="primary" icon="plus" @click="editCode">编辑字典</a-button>
           <!-- <a-select style="width: 110px" placeholder="更多操作" allowClear >
                <a-select-option @click="editCode" value="编辑字典">编辑字典</a-select-option>
@@ -66,7 +66,7 @@
           </div>
           <!-- <a-divider/> -->
           <div class="table-operator">
-            <a-button type="primary" icon="plus" @click="openCodeItemModal" id="dataDictionary-openCodeItemModal">添加数据</a-button>
+            <a-button type="primary" icon="plus" @click="openCodeItemModal" id="dataDictionary-openCodeItemModal">新增数据</a-button>
             <!-- <a-button type="" icon="delete" @click="delectAll">批量删除</a-button> -->
             <a-button type="" icon="reload" @click="$refs.table.refresh(true)" id="dataDictionary-refreshTable">刷新数据</a-button>
           </div>

+ 2 - 2
src/views/power/job/jobs.vue

@@ -16,7 +16,7 @@
     </div>
     <a-divider />
     <div class="btns">
-      <a-button @click="addJob()" type="primary" icon="plus-circle" id="jobs-addJob">添加JOB</a-button>
+      <a-button @click="addJob()" type="primary" icon="plus-circle" id="jobs-addJob">新增JOB</a-button>
       <a-button @click="startJob()" type="default" icon="play-circle" id="jobs-startJob">启动</a-button>
       <a-button @click="stopJob()" type="default" icon="stop" id="jobs-stopJob">停止</a-button>
     </div>
@@ -49,7 +49,7 @@
     </s-table>
 
     <a-modal
-      title="添加JOB"
+      title="新增JOB"
       v-model="visible"
       :footer="null"
       :maskClosable="false"

+ 2 - 2
src/views/power/menu/childModal.vue

@@ -276,13 +276,13 @@ export default {
     isshow (newValue, oldValue) {
       if (newValue) {
         if (this.data.id) { // 添加子菜单
-          this.titleText = '添加子菜单'
+          this.titleText = '新增子菜单'
           this.disabled = false
           console.log(this.data, 'this.data')
           this.formData.parentId = this.data.id
           this.parentTitle = this.data.name
         } else { // 添加顶菜单
-          this.titleText = '添加顶菜单'
+          this.titleText = '新增顶菜单'
           this.formData.type = 0
           this.disabled = true
         }

+ 2 - 2
src/views/power/menu/menu.vue

@@ -1,8 +1,8 @@
 <template>
   <a-card :bordered="false">
     <a-row :gutter="24">
-      <a-button style="margin-right: 10px;" type="primary" icon="plus" @click="addChild" id="menu-addChild">添加子菜单</a-button>
-      <a-button style="margin-right: 10px;background-color: #19be6b;color: #fff;" type="" icon="plus" @click="addTitle" id="menu-addTitle">添加顶部菜单</a-button>
+      <a-button style="margin-right: 10px;" type="primary" icon="plus" @click="addChild" id="menu-addChild">新增子菜单</a-button>
+      <a-button style="margin-right: 10px;background-color: #19be6b;color: #fff;" type="" icon="plus" @click="addTitle" id="menu-addTitle">新增顶部菜单</a-button>
       <a-button style="margin-right: 10px;background-color: red;color: #fff;" type="" icon="delete" @click="delect()" id="menu-delect">删除</a-button>
 
     </a-row>

+ 2 - 2
src/views/power/register/register.vue

@@ -36,8 +36,8 @@
 
         <a-form :form="form" @submit="handleSubmit">
           <a-form-item label=" " :colon="false" :label-col="{ span: 5 }" :wrapper-col="{ span: 14 }">
-            <a-button style="margin-right: 10px;" type="primary" icon="plus" @click="addChild" id="register-addChild">添加子分类</a-button>
-            <a-button style="margin-right: 10px;background-color: #19be6b;color: #fff;" type="" icon="plus" @click="addTop" id="register-addTop">添加根节点</a-button>
+            <a-button style="margin-right: 10px;" type="primary" icon="plus" @click="addChild" id="register-addChild">新增子分类</a-button>
+            <a-button style="margin-right: 10px;background-color: #19be6b;color: #fff;" type="" icon="plus" @click="addTop" id="register-addTop">新增根节点</a-button>
             <a-button style="margin-right: 10px;background-color: red;color: #fff;" type="" icon="delete" @click="remove()" id="register-remove">删除</a-button>
           </a-form-item>
           <!-- 父路径 -->

+ 2 - 2
src/views/power/role/roleModal.vue

@@ -88,7 +88,7 @@ export default {
   },
   data () {
     return {
-      titleText: '添加角色',
+      titleText: '新增角色',
       isshow: this.visible,
       formLayout: 'horizontal',
       form: this.$form.createForm(this, { name: 'roleModal' }),
@@ -158,7 +158,7 @@ export default {
           this.formData.isEnable = Number(this.formData.isEnable)
           console.log(this.formData, 'this.formData')
         } else {
-          this.titleText = '添加角色'
+          this.titleText = '新增角色'
         }
       } else {
         this.cancel()

+ 2 - 2
src/views/power/user/userModal.vue

@@ -157,7 +157,7 @@ export default {
   },
   data () {
     return {
-      titleText: '添加用户',
+      titleText: '新增用户',
       isshow: this.visible,
       formLayout: 'horizontal',
       form: this.$form.createForm(this, { name: 'miniForm' }),
@@ -274,7 +274,7 @@ export default {
           // this.formData.sex = Number(this.formData.sex)
           console.log(this.formData, 'this.formData')
         } else {
-          this.titleText = '添加用户'
+          this.titleText = '新增用户'
         }
       } else {
         this.cancel()