Fixiaobai
2023-10-27 25fe8aee615600838eb97f4c9104ee6a34bc4412
src/views/technology/document/document-form.vue
@@ -633,7 +633,7 @@
                <img width="100%" :src="dialogStructureImageUrl" alt="" />
              </el-dialog>
            </el-card>
            <el-card class="document-flow">
            <!-- <el-card class="document-flow">
              <div slot="header">
                <span>流程图</span>
              </div>
@@ -666,7 +666,7 @@
                </el-select>
                <div id="demo" style="margin:5px auto;"></div>
              </div>
              <!--<el-upload
              <el-upload
                              class="upload-demo"
                              action="/mes/document/uploadLct"
                              :headers="headers"
@@ -686,11 +686,11 @@
                              <div slot="tip" class="el-upload__tip">
                                只能上传jpg图片,且不超过2MB
                              </div>
                            </el-upload>-->
                            </el-upload>
              <el-dialog :visible.sync="dialogFlowVisible">
                <img width="100%" :src="dialogFlowImageUrl" alt="" />
              </el-dialog>
            </el-card>
            </el-card> -->
          </el-tab-pane>
        </el-tabs>
      </div>
@@ -1383,7 +1383,7 @@
            var aa = {
              id: resData.jgtList[i].id,
              name: '预览大图',
              url: '/mes/document/file/' + resData.jgtList[i].fileName
              url: 'http://127.0.0.1:6061/Image/' + resData.jgtList[i].fileName.replace("D:/file","")
            }
            this.fileStructureList.push(aa)
          }
@@ -1393,7 +1393,7 @@
        if (resData.lct != null) {
          this.fileFlowList.push({
            name: '预览大图',
            url: '/mes/document/file/' + resData.lct
            url: 'http://127.0.0.1:6061/Image/img' + resData.lct
          })
        }
        // 挂流程图
@@ -2053,6 +2053,9 @@
  padding: 10px 20px;
  box-sizing: border-box;
}
.el-card.is-always-shadow{
    width: 100%;
  }
.document-flow {
  background-color: #fff;