This commit is contained in:
BianLzhaoMin 2025-09-24 16:36:23 +08:00
parent c8b21a3816
commit dcb66fd973
1 changed files with 7 additions and 8 deletions

View File

@ -80,9 +80,9 @@
icon="el-icon-edit" icon="el-icon-edit"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="['basic:survey:edit']" v-hasPermi="['basic:survey:edit']"
> >
详情 详情
</el-button> </el-button>
<!-- <el-button <!-- <el-button
size="mini" size="mini"
type="danger" type="danger"
@ -90,8 +90,8 @@
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"
v-hasPermi="['basic:survey:remove']" v-hasPermi="['basic:survey:remove']"
> >
删除 --> 删除
</el-button> </el-button> -->
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -170,7 +170,6 @@
:on-success="handleSuccess" :on-success="handleSuccess"
:file-list="form.fileList" :file-list="form.fileList"
:headers="headers" :headers="headers"
action="/dev-api/common/uploadFile"
> >
<!-- <el-button size="small">上传附件</el-button> --> <!-- <el-button size="small">上传附件</el-button> -->
</el-upload> </el-upload>
@ -333,13 +332,13 @@ export default {
const fileList = response.data.surveyAttach.split(',') const fileList = response.data.surveyAttach.split(',')
this.form.fileList = fileList.map((item, index) => ({ this.form.fileList = fileList.map((item, index) => ({
name: '附件' + (index + 1), name: '附件' + (index + 1),
url: item, url: process.env.VUE_APP_BASE_API + item + '?token=' + getToken(),
})) }))
const { rows: res } = await getModelListApi({ page: 1, pageSize: 999, projectId: this.form.proId }) const { rows: res } = await getModelListApi({ page: 1, pageSize: 999, projectId: this.form.proId })
this.modelOptions = res.filter((item) => item.nodelevel == item.nodeCount) this.modelOptions = res.filter((item) => item.nodelevel == item.nodeCount)
this.open = true this.open = true
this.title = '修改勘查日志' this.title = '查询勘查日志'
}) })
}, },
/** 提交按钮 */ /** 提交按钮 */
@ -403,7 +402,7 @@ export default {
}, },
handlePreviewFile(item) { handlePreviewFile(item) {
window.open(item, '_blank') window.open(process.env.VUE_APP_BASE_API + item + '?token=' + getToken(), '_blank')
}, },
handlePreview(file) { handlePreview(file) {