Browse Source

意见反馈

wd 4 năm trước cách đây
mục cha
commit
c5e83646b1

+ 4 - 0
src/dashoo.cn/frontend_web/src/components/sidebar.vue

@@ -69,6 +69,7 @@ active-text-color="#1890FF"
     <footer class="footer">
       <el-button size="mini" type="text" icon="icon-before icon-circle-right" circle v-if="isCollapse == true" @click="floderMenu"></el-button>
       <el-button size="mini" type="text" icon="icon-before icon-circle-left" circle v-if="isCollapse == false" @click="floderMenu"></el-button>
+      <el-button size="mini" type="text" circle v-if="isCollapse == false" @click="jump">意见反馈</el-button>
       <!-- <div v-if="!isCollapse" class="copyright">©信息中心</div> -->
     </footer>
   </aside>
@@ -155,6 +156,9 @@ const MenuGetter = namespace('menu', Getter)
       this.isCollapse = !this.isCollapse
       this.toggleMenu()
     },
+    jump () {
+      window.open('http://webanalysis.scp.dgyt.petrochina/Main/FeedBackNote?code=2111200307044170', '_blank')
+    },
     // open事件,用于判断是否需要通过点击导航栏就显示页面而不只是展开列表
     handleOpen (index, indexPath) {
       this.updateMenuSession(index)

+ 3 - 2
src/dashoo.cn/frontend_web/src/pages/oilcontract/contract-import/_opera/operation.vue

@@ -1028,8 +1028,9 @@ export default {
         api.getEntity(this.formData.Id, this.$axios).then(res => {
           console.log('返给我的数据', res.data)
           this.formData = res.data
-          let myDate = new Date()
-          this.formData.Year = (myDate.getFullYear() - 1) + ''
+          this.statusChange()
+          // let myDate = new Date()
+          // this.formData.Year = (myDate.getFullYear() - 1) + ''
           if (this.formData.SupplierId == 0) {
             this.formData.SupplierId = ''
           }