yangys
2025-11-20 fe25b9d9dc98187a0b885631bc39dfd5daa15163
src/views/console/workstation/Dialog.vue
@@ -129,7 +129,7 @@
                        </el-select>
                    </el-form-item>
                </el-col> -->
                <el-col :span="12" v-if="form.ftpDirectoryType == 1">
                 <!-- <el-col :span="12" v-if="form.ftpDirectoryType == 1">
                    <el-form-item label="关联目录" prop="directoryId">
                        <el-select v-model="form.directoryId" style="width: 240px">
                            <el-option v-for="item in options.directorys" :key="item.id" :label="item.name"
@@ -137,7 +137,7 @@
                        </el-select>
                    </el-form-item>
                </el-col>
                <!-- <el-col :span="4">
               <el-col :span="4">
                    <span>工作台</span>
                </el-col>
@@ -151,7 +151,7 @@
                    <el-button style="margin-left: 50px;margin-top: 8px" @click="addWork">添加工作台</el-button>
                </el-col> -->
                <el-col :span="12">
                    <el-form-item label="数据权限" prop="createDept">
                    <el-form-item label="所属部门" prop="createDept">
                        <el-tree-select :props="{
                            label: 'title',
                            id: 'id',
@@ -327,9 +327,9 @@
                this.$HTTP.get(`/api/smis/workstation/get?workstationId=${params.id}`).then(res => {
                    this.form = res?.data
                    if (this.form.calendarCode && !this.form.calendarCodeWaiting) this.form.calendarCodeWaiting = this.form.calendarCode
                    this.$HTTP.get(`/api/smis/workstation-workbench/listWorkbench?workstationId=${params.id}`).then(res => {
                        this.form.workbenchVOList = res?.data?.workstationList || []
                    })
                    //this.$HTTP.get(`/api/smis/workstation-workbench/listWorkbench?workstationId=${params.id}`).then(res => {
                     //   this.form.workbenchVOList = res?.data?.workstationList || []
                    //})
                })
            } else {
                this.form.id = ''
@@ -394,10 +394,10 @@
                this.form.machineId = row.id
                this.form.machineName = row.machineName
            }
            this.$HTTP.get(`/api/blade-dnc/ftp-director/get-machine-of-workstation-ftp?id=${this.form.machineId}`).then(res => {
                this.directorys = res.data
            })
            console.log(row)
            // this.$HTTP.get(`/api/blade-dnc/ftp-director/get-machine-of-workstation-ftp?id=${this.form.machineId}`).then(res => {
            //     this.directorys = res.data
            // })
            // console.log(row)
        },
        nodeClick(node) {
            console.log(node)