管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2022-12-22 54837b203b8d23c01e0e6cf716cb6a3829ae60f6
src/views/Archive/index.vue
@@ -2,12 +2,14 @@
  <div class="archive">
    <div class="top_header">
      <div class="top_left">
        <My-bread
          :list="[`${$t('synthesis.synthesis')}`, `${$t('synthesis.archive')}`]"
        ></My-bread>
        <My-bread :list="[`${$t('synthesis.synthesis')}`, `${$t('synthesis.archive')}`]"></My-bread>
      </div>
      <div class="top_right">
        <el-form :inline="true" :model="formInline" class="demo-form-inline">
        <el-form
          :inline="true"
          :model="formInline"
          class="demo-form-inline"
        >
          <el-form-item>
            <el-input
              v-model="formInline.tab"
@@ -16,15 +18,26 @@
            ></el-input>
          </el-form-item>
          <el-form-item>
            <el-button icon="el-icon-search" @click="searchDataLibSelectTabs" class="primaries">{{
            <el-button
              icon="el-icon-search"
              @click="searchDataLibSelectTabs"
              class="primaries"
            >{{
              $t('common.iquery')
            }}</el-button>
               <el-button icon="el-icon-refresh" @click="restDataLibSelectTabs" type="info">{{
            <el-button
              icon="el-icon-refresh"
              @click="restDataLibSelectTabs"
              type="info"
            >{{
              $t('common.reset')
            }}</el-button>
          </el-form-item>
          <el-form-item>
            <el-button @click="getSpaceMapVisibale" class="primaries">{{
            <el-button
              @click="getSpaceMapVisibale"
              class="primaries"
            >{{
              $t('synthesis.rangequery')
            }}</el-button>
          </el-form-item>
@@ -80,7 +93,10 @@
        <div>
          <ul>
            <li>搜索类型</li>
            <li @click="getMenuChange(1)" :class="{ menuActive: isMenuActive }">
            <li
              @click="getMenuChange(1)"
              :class="{ menuActive: isMenuActive }"
            >
              数据库
            </li>
            <li
@@ -93,23 +109,54 @@
          </ul>
        </div>
      </div>
      <div v-if="isMenuActive" class="bottom_right">
      <div
        v-if="isMenuActive"
        class="bottom_right"
      >
        <ul>
          <li v-for="(item, index) in dataType" :key="index">
            <div class="box_div" @click="getShowTable(item)">
          <li
            v-for="(item, index) in dataType"
            :key="index"
          >
            <div
              class="box_div"
              @click="getShowTable(item)"
            >
              {{ item.tabDesc }} ({{ item.tab }})
            </div>
          </li>
        </ul>
      </div>
      <div v-if="!isMenuActive" class="bottom_right">
       <el-form :inline="true" :model="queryForm" class="demo-form-inline">
      <div
        v-if="!isMenuActive"
        class="bottom_right"
      >
        <el-form
          :inline="true"
          :model="queryForm"
          class="demo-form-inline"
        >
  <el-form-item  >
<el-cascader
    v-model="queryForm.dirid"
    :show-all-levels="false"
    :options="companyOption"
      @change="handleChange"
              :props="{
              label: 'name',
              value: 'id',
              children: 'children',
              checkStrictly: true,
              emitPath: false,
            }"
            ></el-cascader>
          </el-form-item>
          <el-form-item>
            <el-cascader
              v-model="queryForm.dirid"
              :show-all-levels="false"
              :options="companyOption1"
              @change="handleChange1"
       :props="{
              label: 'name',
              value: 'id',
@@ -146,8 +193,7 @@
            size="small"
            @click="deleteMetaInfo"
            icon="el-icon-delete"
            >{{ $t('common.delete') }}</el-button
          >
            >{{ $t('common.delete') }}</el-button>
        </el-form-item>
        <el-form-item >
          <el-button
@@ -155,8 +201,7 @@
            icon="el-icon-download"
            type="success"
            size="small"
            >{{ $t('common.download') }}</el-button
          >
            >{{ $t('common.download') }}</el-button>
        </el-form-item>
</el-form>
 <el-table
@@ -165,8 +210,14 @@
            @selection-change="handleSelectionChange1"
            height="500px"
          >
            <el-table-column type="selection" width="55" />
            <el-table-column prop="name" :label="$t('dataManage.vmobj.name')" />
          <el-table-column
            type="selection"
            width="55"
          />
          <el-table-column
            prop="name"
            :label="$t('dataManage.vmobj.name')"
          />
            <el-table-column
              prop="type"
              :label="$t('dataManage.vmobj.format')"
@@ -185,11 +236,9 @@
              :label="$t('dataManage.vmobj.dirName')"
            />
            <el-table-column
          :label="$t('dataManage.dataUpObj.tableName')">
          <el-table-column :label="$t('dataManage.dataUpObj.tableName')">
 <template slot-scope="scope">
      <a   @click="detail(scope.row)" >{{
              <a @click="showDetail2(scope.row)">{{
          scope.row.tab
        }}</a>
    </template>
@@ -213,9 +262,15 @@
              :label="$t('dataManage.vmobj.createontime')"
              :formatter="formatData"
            />
            <el-table-column min-width="100" :label="$t('common.operate')">
          <el-table-column
            min-width="100"
            :label="$t('common.operate')"
          >
              <template slot-scope="scope">
                <el-link style="color: white" @click="showDetail1(scope.row)">{{
              <el-link
                style="color: white"
                @click="showDetail1(scope.row)"
              >{{
                  $t('common.details')
                }}</el-link>
                <!-- <el-link
@@ -249,7 +304,74 @@
      top="10vh"
      :before-close="handleClose"
    >
      <el-dialog width="30%" :visible.sync="innerVisible" append-to-body>
      <!-- 条件-->
      <el-dialog
        width="37%"
        :visible.sync="conditionVisible"
        append-to-body
        title="查询条件"
        :before-close="handleconditionClose"
      >
        <el-form
          :inline="true"
          :model="formSql"
          class="demo-form-inline"
        >
          <el-form-item>
            <el-select
              @change="fieldChange($event)"
              v-model="formSql.field"
            >
              <el-option
                v-for="item in filedsOption"
                :key="item.field"
                :label="item.alias"
                :value="item.field"
              >
              </el-option>
            </el-select>
          </el-form-item>
          <el-form-item>
            <el-select v-model="formSql.condition">
              <el-option
                v-for="item in condOption"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </el-select>
          </el-form-item>
          <el-form-item v-show="!fromSqlflag">
            <el-input v-model="formSql.value"></el-input>
          </el-form-item>
          <el-form-item v-show="fromSqlflag">
            <el-date-picker
              v-model="formSql.date"
              type="date"
              placeholder="选择日期"
              value-format="yyyy-MM-dd"
            >
            </el-date-picker>
          </el-form-item>
        </el-form>
        <span
          slot="footer"
          class="dialog-footer"
        >
          <el-button @click="startFiledAndcondition">取 消</el-button>
          <el-button
            class="primaries"
            @click="appendQueryFilter"
          >确 定</el-button>
        </span>
      </el-dialog>
      <!-- 附件-->
      <el-dialog
        width="30%"
        :visible.sync="innerVisible"
        append-to-body
      >
        <div class="contentBox">
          <ul>
            <li v-for="(item, index) in itemdetail">
@@ -262,8 +384,16 @@
          </ul>
        </div>
      </el-dialog>
      <el-dialog width="30%" :visible.sync="outerVisible" append-to-body>
              <el-form :model="fromfile" class="demo-form-inline">
      <!-- 詳情-->
      <el-dialog
        width="30%"
        :visible.sync="outerVisible"
        append-to-body
      >
        <el-form
          :model="fromfile"
          class="demo-form-inline"
        >
        <el-form-item >
          <el-input
            v-model="fromfile.file"
@@ -279,14 +409,27 @@
            style="display: none"
              @change="insertFile( )"
          />
          <el-link  @click="getInsertFile( )" :underline="false"
            ><i class="el-icon-folder-opened"></i
          ></el-link>
            <el-link
              @click="getInsertFile( )"
              :underline="false"
            ><i class="el-icon-folder-opened"></i></el-link>
        </el-form-item>
        <el-form-item>
          <el-row  >
            <el-col :span="3"> <el-link  class="elLink" :underline="false" @click="setAttachInsert" >{{$t('common.append')}}</i></el-link></el-col>
            <el-col :span="3">   <el-link  class="elLink" :underline="false" @click="setAttachDel" >{{$t('common.delete')}}</i></el-link></el-col>
              <el-col :span="3">
                <el-link
                  class="elLink"
                  :underline="false"
                  @click="setAttachInsert"
                >{{$t('common.append')}}</i></el-link>
              </el-col>
              <el-col :span="3">
                <el-link
                  class="elLink"
                  :underline="false"
                  @click="setAttachDel"
                >{{$t('common.delete')}}</i></el-link>
              </el-col>
            <!-- <el-col :span="3">  <el-link  class="elLink" :underline="false" >{{$t('common.reset')}}</i></el-link></el-col> -->
          </el-row>
        </el-form-item>
@@ -299,9 +442,17 @@
            style="width: 100%"
            @selection-change="handleAttatchChange"
          >
                  <el-table-column type="selection" width="55" />
          <el-table-column width="60" type="index" :label="$t('common.index')" />
              <el-table-column  prop="date"
              <el-table-column
                type="selection"
                width="55"
              />
              <el-table-column
                width="60"
                type="index"
                :label="$t('common.index')"
              />
              <el-table-column
                prop="date"
         :label="$t('common.fileNme')"
         />
@@ -315,43 +466,84 @@
        <el-form-item>
<el-row :gutter="20">
  <el-col :span="12" :offset="8">  <el-button  class="primary" @click="outerVisible = false">确认</el-button>  <el-button type="info"   @click="outerVisible = false">取消</el-button></el-col>
              <el-col
                :span="12"
                :offset="8"
              >
                <el-button
                  class="primary"
                  @click="outerVisible = false"
                >确认</el-button>
                <el-button
                  type="info"
                  @click="outerVisible = false"
                >取消</el-button>
              </el-col>
</el-row>
        </el-form-item>
      </el-form>
      </el-dialog>
      <div style="height: 700px">
        <el-form ref="ruleForm" :model="ruleForm" :inline="true">
          <el-form-item :label="$t('dataManage.vmobj.keyword')" prop="name">
        <el-form
          v-if="isMenuActive"
          ref="ruleForm"
          :model="ruleForm"
          :inline="true"
        >
          <el-form-item>
            <el-input
              v-model="ruleForm.name"
              :placeholder="$t('common.choose')"
            />
              type="textarea"
              v-model="formInline.fileName"
              class="nm-skin-pretty"
              show-word-limit
              :rows="2"
              resize='none'
              disabled
              style="width: 650px;"
            ></el-input>
          </el-form-item>
          <el-form-item>
            <el-button icon="el-icon-search"     @click="submitForm('ruleForm')" class="primary" size="small">{{
              $t('common.iquery')
            }}</el-button>
            <el-button icon="el-icon-refresh" @click="resetForm('ruleForm')" type="info" size="small">{{
              $t('common.reset')
            }}</el-button>
            <el-button
              @click="conditionVisible = true"
              type="info"
              icon="el-icon-plus"
            >{{$t('common.append')}}</el-button>
          </el-form-item>
          <el-form-item>
            <el-button
              @click="submitForm()"
              type="info"
              icon="el-icon-search"
            >{{$t('common.iquery')}}</el-button>
          </el-form-item>
          <el-form-item>
            <el-button
              type="info"
              @click="resetForm()"
              icon="el-icon-search"
            >{{$t('common.reset')}}</el-button>
          </el-form-item>
        </el-form>
        <el-divider class="eldivider" />
        <el-table
          ref="filterTable"
          :data="tableData"
          height="78%"
          height="76%"
          border
          style="width: 100%"
          @selection-change="handleSelectionChange"
        >
          <el-table-column type="selection" align="center" width="55" />
          <el-table-column
            type="selection"
            align="center"
            width="55"
          />
          <el-table-column
            width="60"
            type="index"
            align="center"
            :label="$t('common.index')"
            :index="indexAdd"
          />
          <el-table-column
            v-for="(item, index) in attributeData"
@@ -362,6 +554,7 @@
            align="center"
          ></el-table-column>
          <el-table-column
            v-if="isMenuActive"
            min-width="80"
            align="center"
            :label="$t('common.operate')"
@@ -370,14 +563,12 @@
              <el-link
                class="elLink"
                @click="showDetail(scope.$index, scope.row)"
                >{{ $t('common.details') }}</el-link
              >
              >{{ $t('common.details') }}</el-link>
              <el-link
                class="elLink"
                @click="getAttachTable(scope.$index, scope.row)"
                style="margin-left: 20px"
                >{{ $t('common.enclosure') }}</el-link
              >
              >{{ $t('common.enclosure') }}</el-link>
            </template>
          </el-table-column>
        </el-table>
@@ -397,7 +588,10 @@
        </div>
      </div>
    </el-dialog>
     <div class="downloadBox" v-if="showCodeBox">
    <div
      class="downloadBox"
      v-if="showCodeBox"
    >
      <h4 style="padding: 20px">{{$t('common.passworld')}}</h4>
      <el-form
        :model="codeForm"
@@ -406,27 +600,54 @@
        label-width="100px"
        class="codeForm"
      >
        <el-form-item :label="$t('common.passworld')" prop="password">
          <el-input type="password" v-model="codeForm.password" show-password></el-input>
        <el-form-item
          :label="$t('common.passworld')"
          prop="password"
        >
          <el-input
            type="password"
            v-model="codeForm.password"
            show-password
          ></el-input>
        </el-form-item>
        <el-form-item :label="$t('common.SPassword')" prop="repassword">
          <el-input type="password" v-model="codeForm.repassword" show-password></el-input>
        <el-form-item
          :label="$t('common.SPassword')"
          prop="repassword"
        >
          <el-input
            type="password"
            v-model="codeForm.repassword"
            show-password
          ></el-input>
        </el-form-item>
        <el-form-item>
          <el-button class="primary" size="small" @click="download('codeForm')"
            >{{$t('common.confirm')}}</el-button
          >
          <el-button type="info" size="small" @click="closeDown('codeForm')"
            >{{$t('common.cancel')}}</el-button
          >
          <el-button
            class="primary"
            size="small"
            @click="download('codeForm')"
          >{{$t('common.confirm')}}</el-button>
          <el-button
            type="info"
            size="small"
            @click="closeDown('codeForm')"
          >{{$t('common.cancel')}}</el-button>
        </el-form-item>
      </el-form>
    </div>
    <div class="infoBox" v-show="showinfoBox1">
    <div
      class="infoBox"
      v-show="showinfoBox1"
    >
      <el-card class="box-card">
        <div slot="header" class="clearfix">
        <div
          slot="header"
          class="clearfix"
        >
          <span>{{ $t('common.details') }}</span>
          <div style="float: right; cursor: pointer" @click="closeDetial">
          <div
            style="float: right; cursor: pointer"
            @click="closeDetial"
          >
            <i class="el-icon-close"></i>
          </div>
        </div>
@@ -477,17 +698,23 @@
  :title=" $t('synthesis.rangequery')"
  :visible.sync="dialogMapVisible"
  width="90%"
  :before-close="handleMapClose">
      :before-close="handleMapClose"
    >
<div style="height:700px">
  <map-sdk v-if='showMapVisible'></map-sdk>
</div>
</el-dialog>
     <iframe id="downFrame" src="" style="display: none; border: 0; padding: 0; height: 0; width: 0"></iframe>
    <iframe
      id="downFrame"
      src=""
      style="display: none; border: 0; padding: 0; height: 0; width: 0"
    ></iframe>
  </div>
</template>
<script>
import { flatten } from '@turf/turf';
import { conditions } from './Archive.js'
import {
  dataLib_selectTabs,
  dataLib_selectFields,
@@ -498,8 +725,11 @@
  dataLib_selectByPageForMeta,
  dataLib_selectDownloadFile,
  dataLib_downloadReq,
  dataLib_selectTabFields,
  sign_getPublicKey,
  dataLib_selectDbData,
  selectdirTab,
  selectdepTab,
  deleteMeta,
} from '../../api/api';
import $ from 'jquery'
@@ -534,10 +764,23 @@
      }
    };
    return {
      conditionVisible: false,
      formSql: {
        field: '',
        condition: '',
        value: '',
        type: '',
        date: '',
      },
        fromSqlflag: false,
      filedsOption: [],
      condOption: [],
      queryForm:{
        dirid:null,
        depid: null,
      },
      formInline: {tab:''},
      formInline: { tab: '', fileName: '' },
      codeForm: {
        password: '',
        repassword: '',
@@ -546,6 +789,7 @@
      listType: [], // 1mi
      listProject: [],
      companyOption:[],
      companyOption1: [],
      showinfoBox1:false,
      dialogMapVisible:false,
      showMapVisible:false,
@@ -572,6 +816,7 @@
      listTypeData: {
        pageIndex: 1,
        pageSize: 10,
        id: null,
        name: null,
        filter: null,
        wkt: null,
@@ -585,7 +830,7 @@
      count1: 0,
      dialogtitle: null,
      ruleForm: {
        name: null,
        textarea: '',
      },
        rules: {
        password: [{ required: true, message: '请输入密码', trigger: 'blur' }, { validator: passwordValidator, trigger: 'blur' }],
@@ -601,6 +846,7 @@
    };
  },
  computed: {
    newList() {
      this.listType.forEach((item) => {
        this.$set(item, 'isCheckedFlag', false);
@@ -647,6 +893,8 @@
    },
  },
  methods: {
    getSpaceMapVisibale(){
      this.dialogMapVisible =true;
      this.showMapVisible =true;
@@ -705,13 +953,14 @@
          break;
        case 2:
          this.getQueryDepTree();
          this.getQueryDirTree();
          this.isMenuActive = false;
          break;
      }
    },
     //单位列表获取
    async getQueryDepTree() {
    async getQueryDirTree() {
      const res = await selectdirTab();
      if (res.code != 200) {
        this.$message.error('单位列表获取失败');
@@ -719,12 +968,22 @@
      }
      this.queryForm.dirid = 1;
      this.companyOption = this.treeData(res.result);
      this.getQueryDepTree();
    },
     async getQueryDepTree(){
   const res = await selectdepTab();
      if (res.code != 200) {
        this.$message.error('单位列表获取失败');
        return;
      }
      this.queryForm.depid = 1;
      this.companyOption1 = this.treeData(res.result);
      this.getMetaData();
    },
        // 查询
    queryInfo() {
      this.listData.name = this.formInline.tab;
      this.getMetaData();
    },
     // 重置查询
@@ -812,6 +1071,7 @@
    },
 getMetaData() {
    this.listData.dirid = this.queryForm.dirid
      this.listData.depid = this.queryForm.dirid;
      dataLib_selectByPageForMeta(this.listData).then((res) => {
        this.tableData1 = res.result;
        this.count = res.count;
@@ -821,6 +1081,12 @@
   this.listData.pageSize = 10;
      this.listData.pageIndex = 1;
      this.queryForm.dirid = value;
      this.getMetaData();
    },
    handleChange1(value) {
      this.listData.pageSize = 10;
      this.listData.pageIndex = 1;
      this.queryForm.depid = value;
       this.getMetaData();
    },
 //树列表生成
@@ -875,16 +1141,58 @@
      //获取table信息
      this.getCollapseTable(this.filedsLayer);
    },
    indexAdd(index) {
      const page = this.listTypeData.pageIndex // 当前页码
      const pagesize = this.listTypeData.pageSize  // 每页条数
      return index + 1 + (page - 1) * pagesize
    },
     // 重置查询
    resetForm(formName) {
      this.searchName = '';
      this.$refs[formName].resetFields();
      this.formInline.fileName = ""
      //获取table信息
        this.listTypeData.pageIndex = 1;
      this.listTypeData.pageSize = 10;
      this.getCollapseTable(this.filedsLayer);
    },
    },
    async showDetail2(res) {
      var val = res.tab.split(".");
      const data = await dataLib_selectTabFields({
        ns: val[0],
        tab: val[1]
      })
      if (data.code != 200) {
        this.$message.error('字段列表调用失败');
        return
      }
      this.listTypeData.pageIndex = 1;
      this.listTypeData.pageSize = 10;
      this.attributeData = data.result;
      this.dialogtitle = res.name + '(' + res.tab + ')';
      this.listTypeData.id = res.id;
      const data1 = await dataLib_selectDbData(this.listTypeData)
      var option = data1.result;
      for (var i in option) {
        option[i].dirid = option[i].dirName;
        option[i].depid = option[i].depName;
        option[i].createuser = option[i].createName;
        option[i].updateuser = option[i].updateName;
        option[i].verid = option[i].verName;
        if (option[i].createtime != null) {
          option[i].createtime = this.setInfoBoxTime(option[i].createtime)
        }
        if (option[i].updatetime != null) {
          option[i].updatetime = this.setInfoBoxTime(option[i].updatetime)
        }
      }
      this.count1 = data1.count;
      this.tableData = data1.result;
      this.dialogVisible = true;
    },
    async getShowTable(res) {
      this.listTypeData.name = res.entity;
      this.listTypeData.pageIndex = 1;
@@ -1006,8 +1314,8 @@
      res.then((val) => {
        this.attributeData = val;
      });
      if (this.ruleForm.name != null) {
        this.listTypeData.filter = 'name like ' + this.ruleForm.name;
      if (this.formInline.fileName != "") {
        this.listTypeData.filter = this.formInline.fileName;
      } else {
        this.listTypeData.filter = null;
      }
@@ -1019,7 +1327,6 @@
      }
      var res_val = this.attributeData;
      this.count1 = data.count;
      for (var i in data.result) {
        let val_Data = data.result[i];
@@ -1030,6 +1337,16 @@
          }
        }
      }
      for (var i in data.result) {
        if (data.result[i].createtime != null) {
          data.result[i].createtime = this.format(data.result[i].createtime)
        }
        if (data.result[i].updatetime != null) {
          data.result[i].updatetime = this.format(data.result[i].updatetime)
        }
      }
      this.count1 = data.count;
      this.tableData = data.result;
      this.dialogVisible = true;
@@ -1065,8 +1382,14 @@
      }
      var data1 = fileds.result;
      var data2 = domains.result;
      this.formInline.fileName = ""
      var std = [];
      for (var i in data1) {
        if (data1[i].type != 'geomtry' && data1[i].type != 'null') {
          this.filedsOption.push(data1[i])
        }
        if (data1[i].showtype == 1) {
          if (data1[i].domainNa != null) {
            data1[i].domainNa = this.getDomainNaFild(data1[i].domainNa, data2);
@@ -1074,8 +1397,105 @@
          std.push(data1[i]);
        }
      }
      this.startFiledAndcondition();
      return std;
    },
    fieldChange(value) {
      var obj = {}
      obj = this.filedsOption.find(function (item) {
        return item.field === value;
      })
      this.conditionChange(obj)
    },
    conditionChange(res) {
      this.formSql.field = res.field;
      this.formSql.type = res.type;
      if (res.type == "date" || res.type == "datetime") {
        this.fromSqlflag = true
      } else {
        this.fromSqlflag = false
      }
      var std = [];
      this.condOption = [];
      if (res.type == 'text' || res.type == 'blob') {
        std = conditions[0]
      } else if (res.type == 'date' || res.type == 'datetime') {
        std = conditions[2]
      } else {
        std = conditions[1]
      }
      for (var i in std) {
        this.condOption.push({
          label: std[i],
          value: std[i],
        })
      }
      this.formSql.condition = this.condOption[0].value
    },
    appendQueryFilter() {
      if (this.formSql.type == "date" || this.formSql.type == "datetime") {
        if (this.formSql.date == null) {
          this.$message.error('请输入要查询的信息!');
          return;
        }
      } else {
        if (this.formSql.value == "") {
          this.$message.error('请输入要查询的信息!');
          return;
        }
      }
      if (this.formInline.fileName != "") {
        this.formInline.fileName += " and ";
      }
      var val;
      if (this.formSql.type == "long" || this.formSql.type == "integer") {
        val = parseInt(this.formSql.value);
      } else if (this.formSql.type == 'double') {
        if (this.formSql.value.indexOf(".") != -1) {
          val = this.formSql.value;
        } else {
          val = parseFloat(this.formSql.value).toFixed(1)
        }
      } else if (this.formSql.type == "date" || this.formSql.type == "datetime") {
        var time = new Date(this.formSql.date);
        var m = time.getMonth() + 1;
        var d = time.getDate();
        var y = time.getFullYear();
        val = "'" + y +
          '-' +
          this.add0(m) +
          '-' +
          this.add0(d) + "'";
      } else {
        val = "'" + this.formSql.value + "'";
      }
      this.formInline.fileName += this.formSql.field + " " + this.formSql.condition + " " + val;
      this.startFiledAndcondition();
    },
    startFiledAndcondition() {
      this.conditionVisible = false;
      this.conditionChange(this.filedsOption[0]);
      this.formSql.value = "";
      this.formSql.date = new Date();
    },
    handleconditionClose() {
      this.$confirm('确认关闭?')
        .then(_ => {
          this.startFiledAndcondition();
        })
        .catch(_ => { });
    },
  //值域字段匹配
    getDomainNaFild(res, result) {
      for (var i in result) {
@@ -1398,8 +1818,6 @@
  /deep/ .el-select .el-input__inner {
    border-color: #fff !important;
  }
}
  .elLink {
@@ -1498,4 +1916,19 @@
  /deep/.el-dialog__wrapper{
    overflow: hidden;
  }
/deep/.el-textarea__inner {
  background: transparent;
  border-color: #fff !important;
  color: white;
  height: 70px !important;
}
/deep/.el-form-item {
  margin-bottom: 0px;
}
/deep/.el-form-item__content {
  line-height: 70px;
}
/deep/.el-textarea.is-disabled .el-textarea__inner {
  background: transparent;
}
</style>