ソースを参照

分配组长, 与项目阶段无关

dongyuxue 4 ヶ月 前
コミット
58c1b97e72

+ 0 - 1
src_product/iam/audit/project/_import-components/audit-project-list-import.js

@@ -35,4 +35,3 @@ export default {
   SdSelect,
   SdUserPicker,
 }
-console.warn('文件名 audit-project-list.vue 不符合命名规则,应该以 iam 开头')

+ 7 - 7
src_product/iam/audit/project/audit-project-list.vue

@@ -67,7 +67,7 @@
         </audit-advanced-query>
         <sd-data-table-ex
           ref="dataTable"
-          style="margin-top: 42px;"
+          style="margin-top: 42px"
           :columns="columns"
           :process-req="processReq"
           show-selection
@@ -84,8 +84,8 @@
             <span v-for="(bt, index) in buttonsfortable" :key="index">
               <a-button
                 v-if="
-                  bt.showCondition === record.itemStatus &&
-                    checkPermission(bt.permission, record.operatePermission)
+                  (!bt.showCondition || bt.showCondition === record.itemStatus) &&
+                  checkPermission(bt.permission, record.operatePermission)
                 "
                 type="link"
                 size="small"
@@ -100,12 +100,12 @@
         </sd-data-table-ex>
         <div :class="[$style.btns]">
           <a-col :span="7" :offset="0">
-            <a-select v-model="searchYear" style="width:80px;" @change="changeYearSelect">
+            <a-select v-model="searchYear" style="width: 80px" @change="changeYearSelect">
               <a-select-option v-for="year in yearArry" :key="year">
                 {{ year }}
               </a-select-option>
             </a-select>
-            <a-checkbox v-model="checkboxValue" style="margin-left: 15px;" @change="onChange">
+            <a-checkbox v-model="checkboxValue" style="margin-left: 15px" @change="onChange">
               仅显示我参与的
             </a-checkbox>
           </a-col>
@@ -125,7 +125,7 @@
           <a-col :span="7" :offset="10" :class="$style.actionBtn">
             <a-input-search
               v-model="searchValue"
-              style="width: 200px;"
+              style="width: 200px"
               placeholder="请输入搜索条件"
               allow-clear
               @search="onSearch"
@@ -251,7 +251,7 @@ export default {
           id: 'assignTeamLeader',
           icontype: 'sd-audit-changeuser',
           theme: 'fill',
-          showCondition: '01', // 未启动
+          // showCondition: '01', // 未启动
           permission: '04', // 项目负责人
         },
         {