3
2
yuedefeng 6 жил өмнө
parent
commit
f71813105d

+ 1 - 1
src/dashoo.cn/frontend_web/src/components/Headbar.vue

@@ -33,7 +33,7 @@
           </a>
           <ul class="list" style="text-align: center;background: #FFF;">
             <li class="item">
-              <router-link to="/usersetting" style="color: #1F2D3D; font-weight: bold">账户设置</router-link>
+              <router-link to="/system/usersetting" style="color: #1F2D3D; font-weight: bold">账户设置</router-link>
             </li>
             <li class="divider" style="color: ActiveBorder;"></li>
             <li class="item">

+ 11 - 3
src/dashoo.cn/frontend_web/src/components/workflow/wfhistory.vue

@@ -27,7 +27,7 @@
       </el-table-column>
     </el-table>
     <div style="margin-top:10px;">
-      <img :src="baseurl + 'limsdataentry/historyimg/' + entryinfo.instance " v-if="entryinfo.instance">
+      <img :src="baseurl + 'limsdataentry/historyimg/' + entryinfo.instance +'?t='+(new Date()).getTime() " v-if="entryinfo.instance">
     </div>
   </div>
 </template>
@@ -46,7 +46,7 @@
       },
       entryinfo: {}
     },
-    created() {
+    created () {
       this.getuserlist()
     },
     computed: {
@@ -54,8 +54,16 @@
         session: 'session'
       })
     },
+    watch: {
+      entryinfo: {
+        handler: function (newVal, oldVal) {
+          this.getuserlist()
+        },
+        deep: true
+      }
+    },
 
-    data() {
+    data () {
       return {
         baseurl: process.env.baseURL,
         process: '',