浏览代码

被无效历史以及作为无效证据使用历史

zhuliu 1 年之前
父节点
当前提交
eb2ffed8f2

+ 1 - 1
src/views/project/patentDetails/components/patentMessage/history/HistoryOfInvalidEvidence.vue

@@ -51,7 +51,7 @@
                     </template>
                 </el-table-column>
                 <el-table-column label="操作" width="160" align="center">
-                    <template slot-scope="scope">
+                    <template slot-scope="scope" v-if="scope.row.ifAdd">
                         <div class="special">
                             <el-button type="text" size="small" @click="edit(scope.row)">编辑</el-button>
                             <el-button type="text" size="small" @click="del(scope.row)">删除</el-button>

+ 4 - 4
src/views/project/patentDetails/components/patentMessage/history/InvalidHistory.vue

@@ -24,9 +24,9 @@
                         <span>{{scope.row.invalidTime}}</span>
                     </template>
                 </el-table-column>
-                <el-table-column label="判决时间" prop="judgmentTime" align="center">
+                <el-table-column label="判决时间" prop="judgementTime" align="center">
                     <template slot-scope="scope">
-                        <span>{{scope.row.judgmentTime}}</span>
+                        <span>{{scope.row.judgementTime}}</span>
                     </template>
                 </el-table-column>
                 <el-table-column label="结果" prop="result" align="center">
@@ -50,7 +50,7 @@
                     </template>
                 </el-table-column>
                 <el-table-column label="操作" width="160" align="center">
-                    <template slot-scope="scope">
+                    <template slot-scope="scope" v-if="scope.row.ifAdd">
                         <div class="special">
                             <el-button type="text" size="small" @click="edit(scope.row)">编辑</el-button>
                             <el-button type="text" size="small" @click="del(scope.row)">删除</el-button>
@@ -95,7 +95,7 @@ export default {
                     type:'date'
                 },
                 {
-                    field:'judgmentTime',
+                    field:'judgementTime',
                     label:'判决时间',
                     components:'el-date-picker',
                     type:'date'