祖安之光
2025-12-03 9674af17d8e7ad8f85c9df3b89d99a71d7e39268
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>