管道基础大数据平台系统开发-【前端】-新系統界面
xing
2023-02-26 ca1adeef650c8d07fa8024fcf16f231eb88704df
src/views/datamanage/styleManage.vue
@@ -33,26 +33,30 @@
            icon="el-icon-edit"
            type="success"
            size="small"
          >{{ $t('common.append') }}</el-button>
              >{{ $t('common.append') }}
              </el-button>
          <el-button
            v-if="btnStatus.delete"
            @click="delStyleData"
            icon="el-icon-delete"
            type="danger"
            size="small"
          >{{ $t('common.delete') }}</el-button>
              >{{ $t('common.delete') }}
              </el-button>
          <el-button
            @click="submitForm('ruleForm')"
            icon="el-icon-search"
            type="primary"
            size="small"
          >{{ $t('common.iquery') }}</el-button>
              >{{ $t('common.iquery') }}
              </el-button>
          <el-button
            @click="resetForm('ruleForm')"
            icon="el-icon-refresh"
            type="info"
            size="small"
          >{{ $t('common.empty') }}</el-button>
              >{{ $t('common.empty') }}
              </el-button>
        </el-form-item>
          </div>
       </div>
@@ -139,13 +143,15 @@
                  type="primary"
                  plain
                  size="small"
                >{{ $t('common.see') }}</el-button>
            >{{ $t('common.see') }}
            </el-button>
                <el-button
                  @click="handleEdit(scope.$index, scope.row)"
                  type="warning"
                  plain
                  size="small"
                >{{ $t('common.update') }}</el-button>
            >{{ $t('common.update') }}
            </el-button>
              </template>
            </el-table-column>
          </el-table>
@@ -463,13 +469,15 @@
                size="small"
                :underline="false"
                @click="geteditFile(0)"
              >选择</el-button>
                >选择
                </el-button>
              <el-button
                type="primary"
                size="small"
                :underline="false"
                @click="seteditFile(0)"
              >上传</el-button>
                >上传
                </el-button>
            </div>
          </div>
          <!--  -->
@@ -515,13 +523,15 @@
                size="small"
                :underline="false"
                @click="geteditFile(1)"
              >选择</el-button>
                >选择
                </el-button>
              <el-button
                type="primary"
                size="small"
                :underline="false"
                @click="seteditFile(1)"
              >上传</el-button>
                >上传
                </el-button>
            </div>
          </div>
          <!--
@@ -558,12 +568,14 @@
          type="info"
          size="small"
          @click="removeUpdate"
        >{{$t('common.close')}}</el-button>
        >{{ $t('common.close') }}
        </el-button>
        <el-button
          type="primary"
          @click="updateForm"
          size="small"
        >{{$t('common.confirm')}}</el-button>
        >{{ $t('common.confirm') }}
        </el-button>
      </div>
    </el-dialog>
    <el-dialog
@@ -760,13 +772,15 @@
                size="small"
                :underline="false"
                @click="getInsertFile(0)"
              >选择</el-button>
                >选择
                </el-button>
              <el-button
                type="primary"
                size="small"
                :underline="false"
                @click="setinsertFile(0)"
              >上传</el-button>
                >上传
                </el-button>
            </div>
          </div>
          <!-- 
@@ -811,13 +825,15 @@
                size="small"
                :underline="false"
                @click="getInsertFile(1)"
              >选择</el-button>
                >选择
                </el-button>
              <el-button
                type="primary"
                size="small"
                :underline="false"
                @click="setinsertFile(1)"
              >上传</el-button>
                >上传
                </el-button>
            </div>
          </div>
@@ -853,12 +869,14 @@
          type="info"
          size="small"
          @click="insertFromDataClose"
        >{{$t('common.close')}}</el-button>
        >{{ $t('common.close') }}
        </el-button>
        <el-button
          type="primary"
          size="small"
          @click="insertFromData"
        >{{$t('common.confirm')}}</el-button>
        >{{ $t('common.confirm') }}
        </el-button>
      </div>
    </el-dialog>
    <div
@@ -875,14 +893,16 @@
          @click="selectDirCataName"
        >{{
          $t('common.confirm')
        }}</el-button>
          }}
        </el-button>
        <el-button
          type="info"
          size="small"
          @click="showDirCata = false"
        >{{
          $t('common.close')
        }}</el-button>
          }}
        </el-button>
      </div>
    </div>
    <div
@@ -899,14 +919,16 @@
          @click="selectDepCataName"
        >{{
          $t('common.confirm')
        }}</el-button>
          }}
        </el-button>
        <el-button
          type="info"
          size="small"
          @click="showDepCata = false"
        >{{
          $t('common.close')
        }}</el-button>
          }}
        </el-button>
      </div>
    </div>
  </div>
@@ -928,6 +950,7 @@
  queryDepTree,
  selectdirTab,
} from "../../api/api";
export default {
  name: "styleManage",
  components: { MyBread, styleDirTree, styleDepTree },
@@ -1558,7 +1581,8 @@
          });
          this.startFromData();
        })
        .catch(() => {});
          .catch(() => {
          });
    },
    // 获取多选
@@ -1670,10 +1694,12 @@
    .el-form-item {
      margin: 5px;
    }
    // .el-input {
    //   width: 467px;
    // }
  }
  .leftTree {
    position: absolute;
    z-index: 10;
@@ -1687,6 +1713,7 @@
      height: 550px;
      overflow: auto;
    }
    .btnBox {
      width: 160px;
      margin: 10px auto 0;
@@ -1697,6 +1724,7 @@
    display: flex;
    justify-content: space-around;
    width: 85%;
    .BoxFlexinput {
      flex: 1;
    }