Browse Source

Signed-off-by: 1004749546@qq.com <1004749546@qq.com>
修改

1004749546@qq.com 4 years ago
parent
commit
1110787a55

+ 1 - 0
src/views/evaluation/evaluationItem/AddEvaIndexModal.vue

@@ -3,6 +3,7 @@
     <a-modal
       class="modalBox"
       :footer="null"
+      centered
       :title="titleText"
       v-model="isshow"
       @cancle="cancel"

+ 1 - 0
src/views/evaluation/evaluationItem/AddEvaItemModal.vue

@@ -3,6 +3,7 @@
     <a-modal
       class="modalBox"
       :footer="null"
+      centered
       :title="titleText"
       v-model="isshow"
       @cancle="cancel"

+ 1 - 0
src/views/evaluation/evaluationItem/EvaluationItem.vue

@@ -193,6 +193,7 @@ export default {
       const _this = this
       this.$confirm({
         title: '警告',
+        centered: true,
         content: '删除考评项目时,其关联的考评指标将被同步删除,确认删除吗?',
         okText: '确定',
         cancelText: '取消',

+ 2 - 0
src/views/evaluation/evaluationItem/SetEvaItemModal.vue

@@ -3,6 +3,7 @@
     <a-modal
       class="modalBox"
       :footer="null"
+      centered
       title="设置考评指标"
       v-model="isshow"
       @cancle="cancel"
@@ -131,6 +132,7 @@ export default {
       const _this = this
       this.$confirm({
         title: '警告',
+        centered: true,
         content: '删除后原数据不可恢复,是否删除?',
         okText: '确定',
         cancelText: '取消',

+ 1 - 0
src/views/evaluation/evaluationPlan/AddEvaModal.vue

@@ -3,6 +3,7 @@
     <a-modal
       class="modalBox"
       :footer="null"
+      centered
       :title="titleText"
       v-model="isshow"
       @cancle="cancel"

+ 20 - 6
src/views/evaluation/evaluationPlan/EvaluationPlan.vue

@@ -44,9 +44,21 @@
       bordered>
       <!-- 操作 -->
       <template slot="action" slot-scope="text, record">
-		<a-icon id="evaluationPlan-setting" title="选择考评项目" type="setting" class="actionBtn orange" @click="handleSet(record)" />
-        <a-icon id="evaluationPlan-edit" title="编辑" type="edit" class="actionBtn blue" v-if="record.status == '0'" @click="openModal(record)" />
-        <a-icon id="evaluationPlan-delete" title="删除" type="delete" class="actionBtn red" v-if="record.status == '0'" @click="delect(record)" />
+        <a-icon id="evaluationPlan-setting" title="选择考评项目" type="setting" class="actionBtn orange" @click="handleSet(record)" />
+        <a-icon
+          id="evaluationPlan-edit"
+          title="编辑"
+          type="edit"
+          class="actionBtn blue"
+          v-if="record.status == '0'"
+          @click="openModal(record)" />
+        <a-icon
+          id="evaluationPlan-delete"
+          title="删除"
+          type="delete"
+          class="actionBtn red"
+          v-if="record.status == '0'"
+          @click="delect(record)" />
       </template>
       <!-- 启用禁用 -->
       <template slot="enable" slot-scope="text, row">
@@ -119,9 +131,9 @@ export default {
         dataIndex: 'desc',
         width: 300,
         align: 'center',
-		customRender: (text) => {
-		  return text || '--'
-		}
+        customRender: (text) => {
+          return text || '--'
+        }
       },
       {
         title: '适用模式',
@@ -214,11 +226,13 @@ export default {
       if (has) {
         this.$warning({
           title: '警告',
+		  centered: true,
           content: '该考评方案为当前默认考评方案,不能删除,请取消该方案的默认后再进行删除!'
         })
       } else {
         this.$confirm({
           title: '警告',
+		  centered: true,
           content: '删除后原数据不可恢复,是否删除?',
           okText: '确定',
           cancelText: '取消',

+ 1 - 0
src/views/evaluation/evaluationPlan/SetEvaDefaultModal.vue

@@ -4,6 +4,7 @@
       class="modalBox"
       :footer="null"
       title="默认方案设置"
+	  centered
       v-model="isshow"
       @cancle="cancel"
       :width="600">

+ 1 - 0
src/views/evaluation/evaluationPlan/SetEvaModal.vue

@@ -3,6 +3,7 @@
     <a-modal
       class="modalBox"
       :footer="null"
+      centered
       title="选择考评项"
       v-model="isshow"
       @cancle="cancel"

+ 1 - 0
src/views/tenants/tenantsList.vue

@@ -173,6 +173,7 @@ export default {
       const _this = this
       this.$confirm({
         title: '警告',
+        centered: true,
         content: '删除后原数据不可恢复,是否删除?',
         okText: '确定',
         cancelText: '取消',

+ 1 - 1
src/views/tenants/tenantsModal.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <a-modal class="modalBox" :title="titleText" v-model="isshow" @cancle="cancel" :width="900">
+    <a-modal centered class="modalBox" :footer="null" :title="titleText" v-model="isshow" @cancle="cancel" :width="900">
       <a-form :form="form" ref="form" @submit="handleSubmit">
         <a-row :gutter="24">
           <a-col :span="12">