Forráskód Böngészése

修复上次bug(底部导航遮挡弹框按钮)

liangyan0105 2 éve
szülő
commit
6cd4053b83

+ 0 - 6
src/assets/less/common.css

@@ -18,12 +18,6 @@
 .ant-modal-cust-warp {
   height: 100%;
 }
-.ant-drawer-open {
-  z-index: 99999999999999999999999;
-}
-.ant-modal-wrap {
-  z-index: 99999999999999999999999;
-}
 /*弹出modal Y轴滚动条*/
 .ant-modal-cust-warp .ant-modal-body {
   height: calc(100% - 110px) !important;

+ 0 - 9
src/assets/less/common.less

@@ -20,15 +20,6 @@
   height: 100%;
 }
 
-//全局设置 所有抽屉弹框层级最高
-.ant-drawer-open {
-  z-index: 99999999999999999999999;
-}
-//全局设置 所有弹框弹框层级最高
-.ant-modal-wrap {
-  z-index: 99999999999999999999999;
-}
-
 /*弹出modal Y轴滚动条*/
 .ant-modal-cust-warp .ant-modal-body {
   height: calc(100% - 110px) !important;

+ 2 - 2
src/components/page/GlobalFooter.vue

@@ -12,7 +12,7 @@
       <!-- Copyright
       <a-icon type="copyright"/>
       2019 <span>JEECG开源社区 出品</span> -->
-      上海萃颠信息科技有限公司出品
+      <!-- 上海萃颠信息科技有限公司出品 -->
     </div>
   </div>
 </template>
@@ -26,7 +26,7 @@ export default {
 <style lang="less" scoped>
 .footer {
   padding: 0 16px;
-  margin: 30px 0 80px 0;
+  margin: 0 0 40px 0;
   text-align: center;
 
   .links {

+ 34 - 34
src/components/page/GlobalNavFooter.vue

@@ -2,39 +2,39 @@
 <template>
   <div id="navFooter">
     <!-- 底部快捷菜单 -->
-    <a-row>
-      <!-- 左 小箭头 -->
-      <a-col :span="1" @click="handleChange" style="background:rgba(24, 144, 255,.9);">
-        <a class="arrowBtn">
-          <!-- 切换频繁时使用v-show  -->
-          <a-icon v-if="isShow" type="arrow-left" />
-          <a-divider type="vertical" style="width:3px;height:20px;marginBottom:6px;borderRadius:4px;" />
-          <a-icon v-if="!isShow" type="arrow-right" />
-        </a>
-      </a-col>
+    <!-- <a-row> -->
+    <!-- 左 小箭头 -->
+    <a-col :span="1" @click="handleChange" style="background:rgba(24, 144, 255,.9);">
+      <a class="arrowBtn">
+        <!-- 切换频繁时使用v-show  -->
+        <a-icon v-if="isShow" type="arrow-left" />
+        <a-divider type="vertical" style="width:3px;height:20px;marginBottom:6px;borderRadius:4px;" />
+        <a-icon v-if="!isShow" type="arrow-right" />
+      </a>
+    </a-col>
 
-      <!-- 右 菜单  -->
-      <a-col :span="23">
-        <transition-group name="animation">
-          <div class="shortcut" v-if="isShow" :key="1">
-            <a-row style="textAlign:;background:rgba(24, 144, 255,.9); ">
-              <!-- 设置快捷 -->
-              <a-col :span="16">
-                <a href="#" @click="showDrawer" class="setBtn" style="float:left;marginRight:6px;">设置快捷</a>
-                <!-- 菜单 -->
-                <div class="nav" v-for="item in selectList" :key="item.id">
-                  <a href="#" @click="menuPuth(item)">{{ item.name }}</a>
-                </div>
-              </a-col>
-              <!-- 公司名称 -->
-              <a-col :span="8" style="textAlign:right;">
-                <span style="color:#ccc;">上海萃颠信息科技有限公司出品</span>
-              </a-col>
-            </a-row>
-          </div>
-        </transition-group>
-      </a-col>
-    </a-row>
+    <!-- 右 菜单  -->
+    <a-col :span="23">
+      <transition-group name="animation">
+        <div class="shortcut" v-if="isShow" :key="1">
+          <a-row style="textAlign:;background:rgba(24, 144, 255,.9); ">
+            <!-- 设置快捷 -->
+            <a-col :span="16">
+              <a href="#" @click="showDrawer" class="setBtn" style="float:left;marginRight:6px;">设置快捷</a>
+              <!-- 菜单 -->
+              <div class="nav" v-for="item in selectList" :key="item.id">
+                <a href="#" @click="menuPuth(item)">{{ item.name }}</a>
+              </div>
+            </a-col>
+            <!-- 公司名称 -->
+            <a-col :span="8" style="textAlign:right;">
+              <span style="color:#ccc;">上海萃颠信息科技有限公司出品</span>
+            </a-col>
+          </a-row>
+        </div>
+      </transition-group>
+    </a-col>
+    <!-- </a-row> -->
 
     <!-- 抽屉 设置快捷 -->
     <a-drawer
@@ -277,7 +277,7 @@ export default {
 
         // 底部导航 显示隐藏
         handleChange () {
-            // console.log(this.isShow)
+            console.log(this.isShow, '000000')
             if (!this.isShow) {
                 this.visible = false
                 this.isShow = true
@@ -298,7 +298,7 @@ export default {
 #navFooter {
   width: 100%;
   position: fixed;
-  bottom: 0;
+  bottom: -0;
   left: 0;
   height: 40px;
   line-height: 40px;

+ 11 - 29
src/views/administrative-management/asset-management/assetAdd.vue

@@ -3,11 +3,10 @@
     <a-drawer
       title="新增"
       placement="right"
-      :closable="false"
+      :closable="true"
       :visible="visible"
       width="600"
-      :maskClosable="false"
-    >
+      @close="onClose">
       <a-form-model ref="ruleForm" :model="form" :rules="rules">
         <a-row :gutter="24">
           <a-col :span="24">
@@ -22,12 +21,7 @@
             </a-form-model-item>
           </a-col>
           <a-col :span="24">
-            <a-form-model-item
-              :label-col="labelCol"
-              :wrapper-col="wrapperCol"
-              label="类别"
-              style="width:100%"
-            >
+            <a-form-model-item :label-col="labelCol" :wrapper-col="wrapperCol" label="类别" style="width:100%">
               <a-select show-search placeholder="请选择类别" style="width: 100%" v-model="form.type">
                 <a-select-option value="电脑类">电脑类</a-select-option>
                 <a-select-option value="电器类">电器类</a-select-option>
@@ -76,12 +70,7 @@
         </a-row>
         <a-row :gutter="24">
           <a-col :span="24">
-            <a-form-model-item
-              :label-col="labelCol"
-              :wrapper-col="wrapperCol"
-              label="单价"
-              style="width:100%"
-            >
+            <a-form-model-item :label-col="labelCol" :wrapper-col="wrapperCol" label="单价" style="width:100%">
               <a-input-number
                 placeholder="请输入单价"
                 :default-value="0"
@@ -93,12 +82,7 @@
             </a-form-model-item>
           </a-col>
           <a-col :span="24">
-            <a-form-model-item
-              :label-col="labelCol"
-              :wrapper-col="wrapperCol"
-              label="状态"
-              style="width:100%"
-            >
+            <a-form-model-item :label-col="labelCol" :wrapper-col="wrapperCol" label="状态" style="width:100%">
               <a-select show-search placeholder="请选择" style="width: 100%" v-model="form.state">
                 <a-select-option value="正常">正常</a-select-option>
                 <a-select-option value="维修">维修</a-select-option>
@@ -109,12 +93,7 @@
         </a-row>
         <a-row :gutter="24">
           <a-col :span="24">
-            <a-form-model-item
-              :label-col="labelCol"
-              :wrapper-col="wrapperCol"
-              label="领用人"
-              style="width:100%"
-            >
+            <a-form-model-item :label-col="labelCol" :wrapper-col="wrapperCol" label="领用人" style="width:100%">
               <a-input v-model="form.receiver" placeholder="请输入领用人" />
             </a-form-model-item>
           </a-col>
@@ -125,13 +104,13 @@
         :style="{
           position: 'absolute',
           right: 0,
-          bottom: 0,
+          bottom: '40px',
           width: '100%',
           borderTop: '1px solid #e9e9e9',
           padding: '10px 16px',
           background: '#fff',
           textAlign: 'right',
-          zIndex: 1,
+          zIndex: 1
         }"
       >
         <a-button :style="{ marginRight: '8px' }" @click="close">关闭</a-button>
@@ -175,6 +154,9 @@ export default {
         showDrawer () {
             this.visible = true
         },
+        onClose () {
+            this.visible = false
+        },
         // 保存按钮
         save () {
             this.$refs.ruleForm.validate(valid => {

+ 3 - 0
src/views/administrative-management/asset-management/assetManagement.vue

@@ -192,6 +192,9 @@ export default {
             } else {
                 this.$refs.assetAdd.form.state = '报废'
             }
+            if (obj.name != '') {
+                this.$refs.assetAdd.form.title === '编辑'
+            }
         },
 
         handleTableChange (pagination, filters, sorter) {

+ 7 - 21
src/views/administrative-management/supplies-management/supplies-list/suppliesAdd.vue

@@ -6,8 +6,7 @@
       :closable="false"
       :visible="visible"
       width="600"
-      :maskClosable="false"
-    >
+      :maskClosable="false">
       <a-form-model ref="ruleForm" :model="form" :rules="rules">
         <a-row :gutter="24">
           <!-- 名称 -->
@@ -24,12 +23,7 @@
           </a-col>
           <!-- 类别 -->
           <a-col :span="24">
-            <a-form-model-item
-              :label-col="labelCol"
-              :wrapper-col="wrapperCol"
-              label="类别"
-              style="width:100%"
-            >
+            <a-form-model-item :label-col="labelCol" :wrapper-col="wrapperCol" label="类别" style="width:100%">
               <a-select show-search placeholder="请选择类别" style="width: 100%" v-model="form.type">
                 <a-select-option value="办公耗材">办公耗材</a-select-option>
                 <a-select-option value="办公生活用品">办公生活用品</a-select-option>
@@ -56,23 +50,14 @@
             </a-form-model-item>
           </a-col>
           <a-col :span="24">
-            <a-form-model-item
-              :label-col="labelCol"
-              :wrapper-col="wrapperCol"
-              label="规格"
-              style="width:100%"
-            >
+            <a-form-model-item :label-col="labelCol" :wrapper-col="wrapperCol" label="规格" style="width:100%">
               <a-input v-model="form.specifications" placeholder="请输入规格" />
             </a-form-model-item>
           </a-col>
         </a-row>
         <a-row :gutter="24">
           <a-col :span="24">
-            <a-form-model-item
-              :label-col="labelCol"
-              :wrapper-col="wrapperCol"
-              label="库存数量"
-              style="width:100%">
+            <a-form-model-item :label-col="labelCol" :wrapper-col="wrapperCol" label="库存数量" style="width:100%">
               <a-input-number
                 placeholder="请输入库存数量"
                 :default-value="0"
@@ -89,13 +74,13 @@
         :style="{
           position: 'absolute',
           right: 0,
-          bottom: 0,
+          bottom: '40px',
           width: '100%',
           borderTop: '1px solid #e9e9e9',
           padding: '10px 16px',
           background: '#fff',
           textAlign: 'right',
-          zIndex: 1,
+          zIndex: 1
         }"
       >
         <a-button :style="{ marginRight: '8px' }" @click="close">关闭</a-button>
@@ -143,6 +128,7 @@ export default {
                 if (valid) {
                     // 校验成功
                     console.log(this.form)
+                    this.visible = false
                 } else {
                     return false
                 }

+ 1 - 0
src/views/oa/my-plan/add/savePlan.vue

@@ -1,4 +1,5 @@
 <template>
+  <!-- 弹框信息 -->
   <a-modal v-model="savePlanModalVisible" :title="title" @ok="handleOk" @cancel="handleCancel" width="86%">
     <a-divider orientation="left" dashed class="divider">基本信息</a-divider>
 

+ 186 - 177
src/views/system/modules/SysAnnouncementModal.vue

@@ -30,7 +30,7 @@
                 v-decorator="[ 'msgCategory', validatorRules.msgCategory]"
                 placeholder="请选择消息类型"
                 :disabled="disableSubmit"
-                :getPopupContainer = "(target) => target.parentNode">
+                :getPopupContainer="(target) => target.parentNode">
                 <a-select-option value="1">通知公告</a-select-option>
                 <a-select-option value="2">系统消息</a-select-option>
               </a-select>
@@ -43,7 +43,13 @@
               :labelCol="labelCol"
               :wrapperCol="wrapperCol"
               label="开始时间:">
-              <j-date style="width: 100%" :getCalendarContainer="node => node.parentNode" v-decorator="[ 'startTime', validatorRules.startTime]" placeholder="请选择开始时间" showTime dateFormat="YYYY-MM-DD HH:mm:ss" ></j-date>
+              <j-date
+                style="width: 100%"
+                :getCalendarContainer="node => node.parentNode"
+                v-decorator="[ 'startTime', validatorRules.startTime]"
+                placeholder="请选择开始时间"
+                showTime
+                dateFormat="YYYY-MM-DD HH:mm:ss" ></j-date>
             </a-form-item>
           </a-col>
           <a-col :span="24/2">
@@ -52,7 +58,13 @@
               :wrapperCol="wrapperCol"
               label="结束时间"
               class="endTime">
-              <j-date style="width: 100%" :getCalendarContainer="node => node.parentNode" v-decorator="[ 'endTime', validatorRules.endTime]" placeholder="请选择结束时间" showTime dateFormat="YYYY-MM-DD HH:mm:ss"></j-date>
+              <j-date
+                style="width: 100%"
+                :getCalendarContainer="node => node.parentNode"
+                v-decorator="[ 'endTime', validatorRules.endTime]"
+                placeholder="请选择结束时间"
+                showTime
+                dateFormat="YYYY-MM-DD HH:mm:ss"></j-date>
             </a-form-item>
           </a-col>
         </a-row>
@@ -66,7 +78,7 @@
                 v-decorator="[ 'priority', {}]"
                 placeholder="请选择优先级"
                 :disabled="disableSubmit"
-                :getPopupContainer = "(target) => target.parentNode">
+                :getPopupContainer="(target) => target.parentNode">
                 <a-select-option value="L">低</a-select-option>
                 <a-select-option value="M">中</a-select-option>
                 <a-select-option value="H">高</a-select-option>
@@ -83,7 +95,7 @@
                 placeholder="请选择通告类型"
                 :disabled="disableSubmit"
                 @change="chooseMsgType"
-                :getPopupContainer = "(target) => target.parentNode">
+                :getPopupContainer="(target) => target.parentNode">
                 <a-select-option value="USER">指定用户</a-select-option>
                 <a-select-option value="ALL">全体用户</a-select-option>
               </a-select>
@@ -125,193 +137,190 @@
 </template>
 
 <script>
-  import { httpAction } from '@/api/manage'
-  import pick from 'lodash.pick'
-  import { getAction } from '@/api/manage'
-  import JDate from '@/components/jeecg/JDate'
-  import JEditor from '@/components/jeecg/JEditor'
-  import SelectUserListModal from "./SelectUserListModal";
-  import moment from 'moment'
+import { httpAction, getAction } from '@/api/manage'
+import pick from 'lodash.pick'
 
-  export default {
-    components: { JEditor, JDate, SelectUserListModal},
-    name: "SysAnnouncementModal",
+import JDate from '@/components/jeecg/JDate'
+import JEditor from '@/components/jeecg/JEditor'
+import SelectUserListModal from './SelectUserListModal'
+import moment from 'moment'
+
+export default {
+    components: { JEditor, JDate, SelectUserListModal },
+    name: 'SysAnnouncementModal',
     data () {
-      return {
-        title:"操作",
-        visible: false,
-        disableSubmit:false,
-        model: {},
-        labelCol: {
-          xs: { span: 24 },
-          sm: { span: 6 },
+        return {
+            title: '操作',
+            visible: false,
+            disableSubmit: false,
+            model: {},
+            labelCol: {
+                xs: { span: 24 },
+                sm: { span: 6 }
+            },
+            wrapperCol: {
+                xs: { span: 24 },
+                sm: { span: 18 }
+            },
+            labelColX1: {
+                xs: { span: 24 },
+                sm: { span: 3 }
+            },
+            wrapperColX1: {
+                xs: { span: 24 },
+                sm: { span: 21 }
+            },
+
+            confirmLoading: false,
+            form: this.$form.createForm(this),
+            validatorRules: {
+                title: { rules: [{ required: true, message: '请输入标题!' }] },
+                msgCategory: { rules: [{ required: true, message: '请选择消息类型!' }] },
+                msgType: { rules: [{ required: true, message: '请选择通告对象类型!' }] },
+                endTime: { rules: [{ validator: this.endTimeValidate }] },
+                startTime: { rules: [{ validator: this.startTimeValidate }] }
+            },
+            url: {
+                queryByIds: '/sys/user/queryByIds',
+                add: '/sys/annountCement/add',
+                edit: '/sys/annountCement/edit'
+            },
+            userType: false,
+            userIds: [],
+            selectedUser: [],
+            disabled: false,
+            msgContent: ''
+        }
+    },
+    created () {
+    },
+    methods: {
+        add () {
+            this.edit({})
         },
-        wrapperCol: {
-          xs: { span: 24 },
-          sm: { span: 18 },
+        edit (record) {
+            this.form.resetFields()
+            this.model = {}
+            this.disable = false
+            this.visible = true
+            this.getUser(record)
         },
-        labelColX1: {
-          xs: { span: 24 },
-          sm: { span: 3 },
+        getUser (record) {
+            this.model = Object.assign({}, record)
+            // 指定用户
+            if (record && record.msgType === 'USER') {
+                this.userType = true
+                this.userIds = record.userIds
+                getAction(this.url.queryByIds, { userIds: this.userIds }).then((res) => {
+                    if (res.success) {
+                        for (var i = 0; i < res.result.length; i++) {
+                            this.selectedUser.push(res.result[i].realname)
+                        }
+                        this.$refs.UserListModal.edit(res.result, this.userIds)
+                    }
+                })
+            }
+            this.$nextTick(() => {
+                this.form.setFieldsValue(pick(this.model, 'endTime', 'startTime', 'titile', 'msgContent', 'sender', 'priority', 'msgCategory', 'msgType', 'sendStatus', 'delFlag'))
+            })
         },
-        wrapperColX1: {
-          xs: { span: 24 },
-          sm: { span: 21 },
+        close () {
+            this.$emit('close')
+            this.selectedUser = []
+            this.visible = false
         },
-
-        confirmLoading: false,
-        form: this.$form.createForm(this),
-        validatorRules:{
-          title:{rules: [{ required: true, message: '请输入标题!' }]},
-          msgCategory:{rules: [{ required: true, message: '请选择消息类型!' }]},
-          msgType:{rules: [{ required: true, message: '请选择通告对象类型!' }]},
-          endTime:{rules:[{validator: this.endTimeValidate}]},
-          startTime:{rules:[{validator: this.startTimeValidate}]}
+        handleOk () {
+            const that = this
+            // 触发表单验证
+            this.form.validateFields((err, values) => {
+                if (!err) {
+                    that.confirmLoading = true
+                    let httpurl = ''
+                    let method = ''
+                    if (!this.model.id) {
+                        httpurl += this.url.add
+                        method = 'post'
+                    } else {
+                        httpurl += this.url.edit
+                        method = 'put'
+                    }
+                    let formData = Object.assign(this.model, values)
+                    if (this.userType) {
+                        formData.userIds = this.userIds
+                    }
+                    console.log(formData)
+                    httpAction(httpurl, formData, method).then((res) => {
+                        if (res.success) {
+                            that.$message.success(res.message)
+                            that.$emit('ok')
+                        } else {
+                            that.$message.warning(res.message)
+                        }
+                    }).finally(() => {
+                        that.confirmLoading = false
+                        that.close()
+                    })
+                }
+            })
         },
-        url: {
-          queryByIds: "/sys/user/queryByIds",
-          add: "/sys/annountCement/add",
-          edit: "/sys/annountCement/edit",
+        handleCancel () {
+            this.visible = false
+            this.$emit('close')
+            this.resetUser()
         },
-        userType:false,
-        userIds:[],
-        selectedUser:[],
-        disabled:false,
-        msgContent:"",
-      }
-    },
-    created () {
-    },
-    methods: {
-      add () {
-        this.edit({});
-      },
-      edit (record) {
-        this.form.resetFields();
-        this.model = {}
-        this.disable = false;
-        this.visible = true;
-        this.getUser(record);
-      },
-      getUser(record){
-        this.model = Object.assign({}, record);
-        // 指定用户
-        if(record&&record.msgType === "USER"){
-          this.userType =  true;
-          this.userIds = record.userIds;
-          getAction(this.url.queryByIds,{userIds:this.userIds}).then((res)=>{
-            if(res.success){
-              for(var i=0;i<res.result.length;i++){
-                this.selectedUser.push(res.result[i].realname);
-              }
-              this.$refs.UserListModal.edit(res.result,this.userIds);
+        resetUser () {
+            this.userType = false
+            this.userIds = []
+            this.selectedUser = []
+            this.disabled = false
+            this.$refs.UserListModal.edit(null, null)
+        },
+        selectUserIds () {
+            this.$refs.UserListModal.add(this.selectedUser, this.userIds)
+        },
+        chooseMsgType (value) {
+            if (value == 'USER') {
+                this.userType = true
+            } else {
+                this.userType = false
+                this.selectedUser = []
+                this.userIds = []
             }
-          });
-        }
-        this.$nextTick(() => {
-          this.form.setFieldsValue(pick(this.model,'endTime','startTime','titile','msgContent','sender','priority','msgCategory','msgType','sendStatus','delFlag'))
-        });
-      },
-      close () {
-        this.$emit('close');
-        this.selectedUser = [];
-        this.visible = false;
-      },
-      handleOk () {
-        const that = this;
-        // 触发表单验证
-        this.form.validateFields((err, values) => {
-          if (!err) {
-            that.confirmLoading = true;
-            let httpurl = '';
-            let method = '';
-            if(!this.model.id){
-              httpurl+=this.url.add;
-              method = 'post';
-            }else{
-              httpurl+=this.url.edit;
-               method = 'put';
+        },
+        // 子modal回调
+        choseUser: function (userList) {
+            this.selectedUser = []
+            this.userIds = []
+            for (var i = 0; i < userList.length; i++) {
+                this.selectedUser.push(userList[i].realname)
+                this.userIds += userList[i].id + ','
             }
-            let formData = Object.assign(this.model, values);
-            if(this.userType){
-              formData.userIds =  this.userIds;
+        },
+        startTimeValidate (rule, value, callback) {
+            let endTime = this.form.getFieldValue('endTime')
+            if (!value || !endTime) {
+                callback()
+            } else if (moment(value).isBefore(endTime)) {
+                callback()
+            } else {
+                callback('开始时间需小于结束时间')
+            }
+        },
+        endTimeValidate (rule, value, callback) {
+            let startTime = this.form.getFieldValue('startTime')
+            if (!value || !startTime) {
+                callback()
+            } else if (moment(startTime).isBefore(value)) {
+                callback()
+            } else {
+                callback('结束时间需大于开始时间')
             }
-            console.log(formData)
-            httpAction(httpurl,formData,method).then((res)=>{
-              if(res.success){
-                that.$message.success(res.message);
-                that.$emit('ok');
-              }else{
-                that.$message.warning(res.message);
-              }
-            }).finally(() => {
-              that.confirmLoading = false;
-              that.close();
-            })
-
-
-
-          }
-        })
-      },
-      handleCancel () {
-        this.visible = false;
-        this.$emit('close');
-        this.resetUser();
-      },
-      resetUser (){
-        this.userType =  false;
-        this.userIds = [];
-        this.selectedUser = [];
-        this.disabled = false;
-        this.$refs.UserListModal.edit(null,null);
-      },
-      selectUserIds() {
-        this.$refs.UserListModal.add(this.selectedUser,this.userIds);
-      },
-      chooseMsgType(value) {
-        if("USER" == value) {
-          this.userType = true;
-        } else {
-          this.userType = false;
-          this.selectedUser = [];
-          this.userIds = [];
-        }
-      },
-      // 子modal回调
-      choseUser:function(userList){
-        this.selectedUser = [];
-        this.userIds = [];
-        for(var i=0;i<userList.length;i++){
-          this.selectedUser.push(userList[i].realname);
-          this.userIds += userList[i].id+","
-        }
-      },
-      startTimeValidate(rule,value,callback){
-        let endTime = this.form.getFieldValue("endTime")
-        if(!value || !endTime){
-          callback()
-        }else if(moment(value).isBefore(endTime)){
-          callback()
-        }else{
-          callback("开始时间需小于结束时间")
-        }
-      },
-      endTimeValidate(rule,value,callback){
-        let startTime = this.form.getFieldValue("startTime")
-        if(!value || !startTime){
-          callback()
-        }else if(moment(startTime).isBefore(value)){
-          callback()
-        }else{
-          callback("结束时间需大于开始时间")
         }
-      }
 
     }
-  }
+}
 </script>
 
 <style scoped>
 
-</style>
+</style>