duy 1 долоо хоног өмнө
parent
commit
71d700c66f

+ 3 - 2
src/views/data-fill/query.vue

@@ -121,7 +121,8 @@
                             </el-button>
                         </HcTooltip>
                         <HcTooltip keys="data-query-resign-title">
-                            <el-button
+                            <el-button 
+                                v-if="isTemplateType"
                                 :disabled="tableCheckedKeys.length <= 0"
                                 hc-btn
                                 color="#3F9EFF" style="color: white;" @click="resignTitleClick"
@@ -387,7 +388,7 @@ const projectInfo = ref(useAppState.getProjectInfo)
 const contractInfo = ref(useAppState.getContractInfo)
 const isCollapse = ref(useAppState.getCollapse)
 const isLayout = ref(useAppState.isLayout)
-
+const isTemplateType = ref(useAppState.contractInfo?.templateType === 2)
 //变量
 const wbstree = ref(null)
 const wbstreeKey = ref(Math.random())