瀏覽代碼

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

1004749546@qq.com 4 年之前
父節點
當前提交
40e139440f

+ 4 - 4
src/views/evaluation/evaluationItem/AddEvaIndexModal.vue

@@ -8,7 +8,7 @@
             <a-form-item label="考评指标名称:" :label-col="{ span: 6 }" :wrapper-col="{ span: 18 }">
               <a-input
                 allowClear
-				id="addEvaIndexModal-name"
+                id="addEvaIndexModal-name"
                 :maxLength="128"
                 v-decorator="[
                   'formData.name',
@@ -110,7 +110,7 @@ export default {
       const _this = this
       this.form.validateFields((err, values) => {
         if (!err) {
-			this.loading = true
+          this.loading = true
           const params = this.itemIndexId ? Object.assign({ assessItemId: this.itemId, id: this.itemIndexId }, values.formData) : Object.assign({ assessItemId: this.itemId }, values.formData)
           // console.log(params, 'ppppppppppppp')
           itemIndexSave(params).then(res => {
@@ -124,7 +124,7 @@ export default {
             } else {
               // this.$message.warning(res.message)
             }
-			this.loading = false
+            this.loading = false
           })
         }
       })
@@ -157,7 +157,7 @@ export default {
 }
 </script>
 
-<style>
+<style scoped>
 	.modalBox {}
 
 	.ant-modal-footer {

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

@@ -183,7 +183,7 @@ export default {
 }
 </script>
 
-<style>
+<style scoped>
 	.modalBox {}
 
 	.ant-modal-footer {

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

@@ -28,7 +28,7 @@
     </div>
     <a-divider />
     <div class="table-operator">
-      <a-button id="evaluationItem-add" type="primary" icon="plus" @click="openModal">新</a-button>
+      <a-button id="evaluationItem-add" type="primary" icon="plus" @click="openModal">新</a-button>
     </div>
     <s-table
       ref="table"

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

@@ -223,7 +223,7 @@ export default {
 }
 </script>
 
-<style>
+<style scoped>
 	.modalBox {}
 
 	.ant-modal-footer {

+ 2 - 2
src/views/evaluation/evaluationPlan/EvaluationPlan.vue

@@ -28,8 +28,8 @@
     </div>
     <a-divider />
     <a-row class="add-btn" type="flex" justify="space-between">
-      <a-button id="evaluationPlan-add" type="primary" icon="plus" @click="openModal">新</a-button>
-	  <!-- 目前版本不要 -->
+      <a-button id="evaluationPlan-add" type="primary" icon="plus" @click="openModal">新</a-button>
+      <!-- 目前版本不要 -->
       <!-- <a-col id="evaluationPlan-setDefaultPlan" @click="handleDefaultSet">
         <a-icon type="setting" class="setting-icon" />
         <span class="setting">默认方案设置</span>

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

@@ -215,7 +215,7 @@ export default {
 }
 </script>
 
-<style>
+<style scoped>
 	.modalBox {}
 
 	.ant-modal-footer {

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

@@ -151,7 +151,7 @@ export default {
       form: this.$form.createForm(this, {
         name: 'SetEvaModal'
       }),
-	  loading: false, // 确定按钮loading
+      loading: false, // 确定按钮loading
       // 已选考评项数据
       checkedList: [], // 已选考评项列表
       // 表头
@@ -195,9 +195,6 @@ export default {
       loadItemData: parameter => {
         return getItemList().then(res => {
           if (res.status == 200) {
-            //       res.data.map((item, index) => {
-			   // res.data.no = index + 1
-            //       })
             return res.data
           }
         })