zhouwx
2025-11-27 7294da8875b4767fc8c21bd7a42bd884e8ce6cab
src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectFileNew/index.vue
@@ -81,7 +81,7 @@
                  <el-button v-if="scope.row.filePath" link type="primary"  @click="openFile(scope.row.filePath)" >查看模板</el-button>
                  <el-button v-if="scope.row.filePath" link type="primary"  @click="downloadFile(scope.row)" >下载模板</el-button>
                  <el-button v-if="scope.row.isFile == 1" link type="primary" v-hasPermi="['productFileNew:add']" @click="openDataDialog('add',{},scope.row)">新增</el-button>
                  <el-button v-if="scope.row.isFile == 1 && scope.row.projectDocuments && scope.row.projectDocuments.length>0" link type="primary" v-hasPermi="['productFileNew:add']" @click="openDataDialog('edit',scope.row,scope.row)">编辑</el-button>
                  <el-button v-if="scope.row.isFile == 1 && scope.row.projectDocuments && scope.row.projectDocuments.length>0" link type="primary" v-hasPermi="['productFileNew:edit']" @click="openDataDialog('edit',scope.row,scope.row)">编辑</el-button>
                </div>
                <div v-else>--</div>
              </template>