scorpio 2 年之前
父節點
當前提交
a040fb1ff1
共有 2 個文件被更改,包括 11 次插入6 次删除
  1. 8 3
      src/views/home/component/dash.vue
  2. 3 3
      src/views/home/component/params/params3.vue

+ 8 - 3
src/views/home/component/dash.vue

@@ -410,10 +410,15 @@ export default {
     },
     beforeOpen (done, type) {
       if (['edit'].includes(type)) {
-        this.$router.push({
-          path: '/home/details',
-          query: { id: this.form.id, type: '0', ownerId: this.form.createUser }
+        this.$confirm('暂未授权使用', {
+          confirmButtonText: '确定',
+          cancelButtonText: '取消',
+          type: 'warning'
         })
+        // this.$router.push({
+        //   path: '/home/details',
+        //   query: { id: this.form.id, type: '0', ownerId: this.form.createUser }
+        // })
       } else if (type === 'view') {
         this.$router.push({
           path: '/home/pro_detail',

+ 3 - 3
src/views/home/component/params/params3.vue

@@ -77,13 +77,13 @@
       </el-form>
     </div>
 
-    <el-dialog v-model='show' :title='current ? current.year + "年度投资情况" : ""' width='1260px'
+    <el-dialog v-if='current' v-model='show' :title='  current.editType === 1 ?  current.year + "年度投资情况" : current.year + "年度纳统情况"' width='1260px'
                @close='update(false)'>
       <div class='flex flex-center flex-align-start'>
         <div>
           <div class='padding-top'></div>
-          <div class='padding-top mt-20 mr-10 bold'>月计划投资:</div>
-          <div class='padding-top mt-10 mr-10 bold'>月完成投资:</div>
+          <div class='padding-top mt-20 mr-10 bold'>{{current.editType === 1 ? '月计划投资:':'月计划纳统投资:'}}</div>
+          <div class='padding-top mt-10 mr-10 bold'>{{current.editType === 1 ? '月完成投资:':'月完成纳统投资:'}}</div>
         </div>
         <div>
           <div class='mr-5  flex flex-center '>