whj 1 жил өмнө
parent
commit
5a08f35b01

+ 24 - 0
src/views/repair/application-form/RepairFormPool.vue

@@ -41,6 +41,18 @@
                 </a-select>
               </a-form-item>
             </a-col>
+            <a-col :md="6" :sm="24">
+              <a-form-item label="是否加入日历图">
+                <a-select v-model="queryParam.addCalendar" placeholder="请选择">
+                  <a-select-option
+                    :value="true">已加入
+                  </a-select-option>
+                  <a-select-option
+                    :value="false">未加入
+                  </a-select-option>
+                </a-select>
+              </a-form-item>
+            </a-col>
             <a-col :md="6" :sm="24">
               <a-form-item label="报修起始日期">
                 <a-date-picker
@@ -145,6 +157,10 @@
         <span slot="status" slot-scope="text">
           <badge :text="BaseTool.Object.getField(statusMap,text)" :status="DictCache.COLOR.REPAIR_APPLICATION_FORM_STATUS[text]"/>
         </span>
+        <span slot="calendarDate" slot-scope="text">
+          <badge v-if="text" text="已加入" status="success"/>
+          <badge v-else text="未加入" status="default"/>
+        </span>
         <span slot="level" slot-scope="text">
           <badge :text="BaseTool.Object.getField(levelMap,text)" :status="DictCache.COLOR.REPAIR_APPLICATION_FORM_LEVEL[text]"/>
         </span>
@@ -300,6 +316,14 @@ export default {
             return this.BaseTool.Object.getField(this.needStopMap, text)
           }
         }, */
+        {
+          title: '日历图',
+          checked: true,
+          width: '100px',
+          fixed: 'right',
+          dataIndex: 'calendarDate',
+          scopedSlots: { customRender: 'calendarDate' }
+        },
         {
           title: '工单状态',
           checked: true,