Shannon_mu 2 years ago
parent
commit
9a44a044a5

+ 2 - 2
operationSupport/src/views/businessManagement/contractManagement/index.vue

@@ -9,7 +9,7 @@
             </el-select>
             <el-date-picker
                 v-model="times"
-                value-format="yyyyMMdd"
+                value-format="yyyy-MM-dd"
                 type="daterange"
                 range-separator="至"
                 start-placeholder="开始日期"
@@ -153,7 +153,7 @@ export default {
                 },
                 {
                     label: '合同到期天数',
-                    prop: 'endTime'
+                    prop: 'expiryDays'
                 },
                 {
                     label: '操作',

+ 4 - 6
operationSupport/src/views/messages/index.vue

@@ -157,7 +157,10 @@ export default {
             this.mixins_search();
         },
         toUrl(id, type, sceneType, urllink) {
-            debugger;
+            if (urllink == '' || urllink == null) {
+                this.$message.error('您没有该系统权限');
+                return;
+            }
             this.$http.post('/sc-message/message/updateMultiple', { ids: [id], messageStatus: 1 }).then(({ status, data, msg }) => {});
             let url, appId;
             url = urllink;
@@ -178,11 +181,6 @@ export default {
                 .then(({ status, data, msg }) => {
                     url = url + '&access_token=' + localStorage.getItem('SC_token');
                     window.open(url);
-                    // if(status==0&&data==0){
-                    //     window.open(url);
-                    // }else{
-                    //     this.$message.error("您没有该系统权限")
-                    // }
                 });
         },
         selectionChange(val) {