<template>
  <a-card :bordered="false">
    <!-- 查询区域 -->
    <div class="table-page-search-wrapper">
      <a-form layout="inline" @keyup.enter.native="searchQuery">
        <a-row :gutter="24">
        </a-row>
      </a-form>
    </div>
    <!-- 查询区域-END -->

    <!-- 操作按钮区域 -->
    <div class="table-operator">
      <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
      <a-button type="primary" icon="download" @click="handleExportXls('ky_task_info')">导出</a-button>
      <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
        <a-button type="primary" icon="import">导入</a-button>
      </a-upload>
      <!-- 高级查询区域 -->
      <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>
      <a-dropdown v-if="selectedRowKeys.length > 0">
        <a-menu slot="overlay">
          <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
        </a-menu>
        <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
      </a-dropdown>
    </div>

    <!-- table区域-begin -->
    <div>
      <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
        <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项
        <a style="margin-left: 24px" @click="onClearSelected">清空</a>
      </div>

      <a-table
        ref="table"
        size="middle"
        :scroll="{x:true}"
        bordered
        rowKey="id"
        :columns="columns"
        :dataSource="dataSource"
        :pagination="ipagination"
        :loading="loading"
        :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
        class="j-table-force-nowrap"
        @change="handleTableChange">

        <template slot="htmlSlot" slot-scope="text">
          <div v-html="text"></div>
        </template>
        <template slot="imgSlot" slot-scope="text,record">
          <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
          <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
        </template>
        <template slot="fileSlot" slot-scope="text">
          <span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
          <a-button
            v-else
            :ghost="true"
            type="primary"
            icon="download"
            size="small"
            @click="downloadFile(text)">
            下载
          </a-button>
        </template>

        <span slot="action" slot-scope="text, record">
          <a @click="handleEdit(record)">编辑</a>

          <a-divider type="vertical" />
          <a-dropdown>
            <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
            <a-menu slot="overlay">
              <a-menu-item>
                <a @click="handleDetail(record)">详情</a>
              </a-menu-item>
              <a-menu-item>
                <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
                  <a>删除</a>
                </a-popconfirm>
              </a-menu-item>
            </a-menu>
          </a-dropdown>
        </span>

      </a-table>
    </div>

    <ky-task-info-modal ref="modalForm" @ok="modalFormOk"></ky-task-info-modal>
  </a-card>
</template>

<script>

  import '@/assets/less/TableExpand.less'
  import { mixinDevice } from '@/utils/mixin'
  import { JeecgListMixin } from '@/mixins/JeecgListMixin'
  import KyTaskInfoModal from './modules/KyTaskInfoModal'

  export default {
    name: 'KyTaskInfoList',
    mixins:[JeecgListMixin, mixinDevice],
    components: {
      KyTaskInfoModal
    },
    data () {
      return {
        description: 'ky_task_info管理页面',
        // 表头
        columns: [
          {
            title: '#',
            dataIndex: '',
            key:'rowIndex',
            width:60,
            align:"center",
            customRender:function (t,r,index) {
              return parseInt(index)+1;
            }
          },
          {
            title:'key',
            align:"center",
            dataIndex: 'key'
          },
          {
            title:'任务号',
            align:"center",
            dataIndex: 'taskno'
          },
          {
            title:'任务名称',
            align:"center",
            dataIndex: 'taskname'
          },
          {
            title:'modelid',
            align:"center",
            dataIndex: 'modelid'
          },
          {
            title:'ywbkid',
            align:"center",
            dataIndex: 'ywbkid'
          },
          {
            title:'ywbkname',
            align:"center",
            dataIndex: 'ywbkname'
          },
          {
            title:'型号id',
            align:"center",
            dataIndex: 'xhid'
          },
          {
            title:'型号名称',
            align:"center",
            dataIndex: 'xhname'
          },
          {
            title:'责任部门',
            align:"center",
            dataIndex: 'zrbm'
          },
          {
            title:'研制数量',
            align:"center",
            dataIndex: 'yzsl'
          },
          {
            title:'mjid',
            align:"center",
            dataIndex: 'mjid'
          },
          {
            title:'mjname',
            align:"center",
            dataIndex: 'mjname'
          },
          {
            title:'fxtid',
            align:"center",
            dataIndex: 'fxtid'
          },
          {
            title:'fxtname',
            align:"center",
            dataIndex: 'fxtname'
          },
          {
            title:'研制阶段id',
            align:"center",
            dataIndex: 'yzjdid'
          },
          {
            title:'研制阶段',
            align:"center",
            dataIndex: 'yzjdname'
          },
          {
            title:'任务来源',
            align:"center",
            dataIndex: 'tcdw'
          },
          {
            title:'任务来源简称',
            align:"center",
            dataIndex: 'brief'
          },
          {
            title:'rwnr',
            align:"center",
            dataIndex: 'rwnr'
          },
          {
            title:'wcxs',
            align:"center",
            dataIndex: 'wcxs'
          },
          {
            title:'jylbid',
            align:"center",
            dataIndex: 'jylbid'
          },
          {
            title:'jylbname',
            align:"center",
            dataIndex: 'jylbname'
          },
          {
            title:'1：横向 2：纵向',
            align:"center",
            dataIndex: 'hxzxid'
          },
          {
            title:'横向纵向',
            align:"center",
            dataIndex: 'hxzxname'
          },
          {
            title:'jjid',
            align:"center",
            dataIndex: 'jjid'
          },
          {
            title:'jjname',
            align:"center",
            dataIndex: 'jjname'
          },
          {
            title:'wzktid',
            align:"center",
            dataIndex: 'wzktid'
          },
          {
            title:'wzktname',
            align:"center",
            dataIndex: 'wzktname'
          },
          {
            title:'bz',
            align:"center",
            dataIndex: 'bz'
          },
          {
            title:'status',
            align:"center",
            dataIndex: 'status'
          },
          {
            title:'计划开始时间',
            align:"center",
            dataIndex: 'jhkssj',
            customRender:function (text) {
              return !text?"":(text.length>10?text.substr(0,10):text)
            }
          },
          {
            title:'计划完成时间（进度要求）',
            align:"center",
            dataIndex: 'jhwcsj',
            customRender:function (text) {
              return !text?"":(text.length>10?text.substr(0,10):text)
            }
          },
          {
            title:'下达部门id',
            align:"center",
            dataIndex: 'jycsid'
          },
          {
            title:'下达部门',
            align:"center",
            dataIndex: 'jycs'
          },
          {
            title:'jyfzrid',
            align:"center",
            dataIndex: 'jyfzrid'
          },
          {
            title:'jyfzrname',
            align:"center",
            dataIndex: 'jyfzrname'
          },
          {
            title:'计划开始时间',
            align:"center",
            dataIndex: 'ztdd'
          },
          {
            title:'计划完成时间',
            align:"center",
            dataIndex: 'ztddname'
          },
          {
            title:'sybdd',
            align:"center",
            dataIndex: 'sybdd'
          },
          {
            title:'sybddname',
            align:"center",
            dataIndex: 'sybddname'
          },
          {
            title:'ywfzr',
            align:"center",
            dataIndex: 'ywfzr'
          },
          {
            title:'ywfzrname',
            align:"center",
            dataIndex: 'ywfzrname'
          },
          {
            title:'zlgcs',
            align:"center",
            dataIndex: 'zlgcs'
          },
          {
            title:'zlgcsname',
            align:"center",
            dataIndex: 'zlgcsname'
          },
          {
            title:'cpbzr',
            align:"center",
            dataIndex: 'cpbzr'
          },
          {
            title:'cpbzrname',
            align:"center",
            dataIndex: 'cpbzrname'
          },
          {
            title:'实际开始时间',
            align:"center",
            dataIndex: 'sjkssj',
            customRender:function (text) {
              return !text?"":(text.length>10?text.substr(0,10):text)
            }
          },
          {
            title:'实际完成时间',
            align:"center",
            dataIndex: 'sjwcsj',
            customRender:function (text) {
              return !text?"":(text.length>10?text.substr(0,10):text)
            }
          },
          {
            title:'avidm',
            align:"center",
            dataIndex: 'avidm'
          },
          {
            title:'任务下达时间',
            align:"center",
            dataIndex: 'lrsj',
            customRender:function (text) {
              return !text?"":(text.length>10?text.substr(0,10):text)
            }
          },
          {
            title:'xhzzr',
            align:"center",
            dataIndex: 'xhzzr'
          },
          {
            title:'xhzzrname',
            align:"center",
            dataIndex: 'xhzzrname'
          },
          {
            title:'csbh',
            align:"center",
            dataIndex: 'csbh'
          },
          {
            title:'ywcs',
            align:"center",
            dataIndex: 'ywcs'
          },
          {
            title:'pncode',
            align:"center",
            dataIndex: 'pncode'
          },
          {
            title:'emergent',
            align:"center",
            dataIndex: 'emergent'
          },
          {
            title:'zrbmGuid',
            align:"center",
            dataIndex: 'zrbmGuid'
          },
          {
            title:'业务员',
            align:"center",
            dataIndex: 'businessman'
          },
          {
            title:'审计审价',
            align:"center",
            dataIndex: 'auditprice'
          },
          {
            title:'任务类型',
            align:"center",
            dataIndex: 'tasktype'
          },
          {
            title:'tasktypes',
            align:"center",
            dataIndex: 'tasktypes'
          },
          {
            title:'项目进度',
            align:"center",
            dataIndex: 'processpercent'
          },
          {
            title:'预估价',
            align:"center",
            dataIndex: 'estimationcoat'
          },
          {
            title:'任务状态',
            align:"center",
            dataIndex: 'iflag'
          },
          {
            title:'processdate',
            align:"center",
            dataIndex: 'processdate',
            customRender:function (text) {
              return !text?"":(text.length>10?text.substr(0,10):text)
            }
          },
          {
            title:'processuser',
            align:"center",
            dataIndex: 'processuser'
          },
          {
            title:'父级任务',
            align:"center",
            dataIndex: 'reftaskno'
          },
          {
            title:'是否需要质保',
            align:"center",
            dataIndex: 'warranty'
          },
          {
            title:'质保单位',
            align:"center",
            dataIndex: 'warrantyunit'
          },
          {
            title:'合同额',
            align:"center",
            dataIndex: 'contractlimit'
          },
          {
            title:'businessmanname',
            align:"center",
            dataIndex: 'businessmanname'
          },
          {
            title:'批产任务号',
            align:"center",
            dataIndex: 'pccode'
          },
          {
            title:'备产任务号',
            align:"center",
            dataIndex: 'bccode'
          },
          {
            title:'备料任务号',
            align:"center",
            dataIndex: 'blcode'
          },
          {
            title:'gdtext',
            align:"center",
            dataIndex: 'gdtext'
          },
          {
            title:'contractsign',
            align:"center",
            dataIndex: 'contractsign'
          },
          {
            title:'thirdparty',
            align:"center",
            dataIndex: 'thirdparty'
          },
          {
            title:'考核扣款',
            align:"center",
            dataIndex: 'khkk'
          },
          {
            title:'currenttask',
            align:"center",
            dataIndex: 'currenttask'
          },
          {
            title:'isunittestproject',
            align:"center",
            dataIndex: 'isunittestproject'
          },
          {
            title:'管控等级',
            align:"center",
            dataIndex: 'gkdj'
          },
          {
            title:'zjname',
            align:"center",
            dataIndex: 'zjname'
          },
          {
            title:'zhuazhorgidname',
            align:"center",
            dataIndex: 'zhuazhorgidname'
          },
          {
            title:'任务分类',
            align:"center",
            dataIndex: 'specialtask'
          },
          {
            title:'主任务编号',
            align:"center",
            dataIndex: 'mainprojectno'
          },
          {
            title:'合同乙方',
            align:"center",
            dataIndex: 'htyf'
          },
          {
            title:'是否决算',
            align:"center",
            dataIndex: 'isjues'
          },
          {
            title:'projectaccountno',
            align:"center",
            dataIndex: 'projectaccountno'
          },
          {
            title:'projectgatherno',
            align:"center",
            dataIndex: 'projectgatherno'
          },
          {
            title:'基线编号',
            align:"center",
            dataIndex: 'jxno'
          },
          {
            title:'issendtogongchzhx',
            align:"center",
            dataIndex: 'issendtogongchzhx'
          },
          {
            title:'应用部位',
            align:"center",
            dataIndex: 'application'
          },
          {
            title:'pay',
            align:"center",
            dataIndex: 'pay'
          },
          {
            title:'评测方',
            align:"center",
            dataIndex: 'reviewer'
          },
          {
            title:'softwaretype1',
            align:"center",
            dataIndex: 'softwaretype1'
          },
          {
            title:'software',
            align:"center",
            dataIndex: 'software'
          },
          {
            title:'foreigntrade',
            align:"center",
            dataIndex: 'foreigntrade'
          },
          {
            title:'jfqk',
            align:"center",
            dataIndex: 'jfqk'
          },
          {
            title:'wzsbno',
            align:"center",
            dataIndex: 'wzsbno'
          },
          {
            title:'产品规格',
            align:"center",
            dataIndex: 'productspec'
          },
          {
            title:'name',
            align:"center",
            dataIndex: 'name'
          },
          {
            title:'briefname',
            align:"center",
            dataIndex: 'briefname'
          },
          {
            title:'processpercent1',
            align:"center",
            dataIndex: 'processpercent1'
          },
          {
            title:'estimationcoat1',
            align:"center",
            dataIndex: 'estimationcoat1'
          },
          {
            title:'物资计划员',
            align:"center",
            dataIndex: 'wzjhyname'
          },
          {
            title:'warrantybasis',
            align:"center",
            dataIndex: 'warrantybasis'
          },
          {
            title:'costprice',
            align:"center",
            dataIndex: 'costprice'
          },
          {
            title:'isbaox',
            align:"center",
            dataIndex: 'isbaox'
          },
          {
            title:'软件类型',
            align:"center",
            dataIndex: 'softwaretype'
          },
          {
            title:'有无软件',
            align:"center",
            dataIndex: 'ishavesoftware'
          },
          {
            title:'completeremark',
            align:"center",
            dataIndex: 'completeremark'
          },
          {
            title:'zj',
            align:"center",
            dataIndex: 'zj'
          },
          {
            title:'exampletest',
            align:"center",
            dataIndex: 'exampletest'
          },
          {
            title:'taskarea',
            align:"center",
            dataIndex: 'taskarea'
          },
          {
            title:'fundsfrom',
            align:"center",
            dataIndex: 'fundsfrom'
          },
          {
            title:'examplequantity',
            align:"center",
            dataIndex: 'examplequantity'
          },
          {
            title:'invoicetype',
            align:"center",
            dataIndex: 'invoicetype'
          },
          {
            title:'cbgcsname',
            align:"center",
            dataIndex: 'cbgcsname'
          },
          {
            title:'producttype',
            align:"center",
            dataIndex: 'producttype'
          },
          {
            title:'completeremarkdatetime',
            align:"center",
            dataIndex: 'completeremarkdatetime',
            customRender:function (text) {
              return !text?"":(text.length>10?text.substr(0,10):text)
            }
          },
          {
            title: '操作',
            dataIndex: 'action',
            align:"center",
            fixed:"right",
            width:147,
            scopedSlots: { customRender: 'action' }
          }
        ],
        url: {
          list: "/kyTaskInfo/kyTaskInfo/list",
          delete: "/kyTaskInfo/kyTaskInfo/delete",
          deleteBatch: "/kyTaskInfo/kyTaskInfo/deleteBatch",
          exportXlsUrl: "/kyTaskInfo/kyTaskInfo/exportXls",
          importExcelUrl: "kyTaskInfo/kyTaskInfo/importExcel",
          
        },
        dictOptions:{},
        superFieldList:[],
      }
    },
    created() {
    this.getSuperFieldList();
    },
    computed: {
      importExcelUrl: function(){
        return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
      },
    },
    methods: {
      initDictConfig(){
      },
      getSuperFieldList(){
        let fieldList=[];
        fieldList.push({type:'int',value:'key',text:'key'})
        fieldList.push({type:'string',value:'taskno',text:'任务号'})
        fieldList.push({type:'string',value:'taskname',text:'任务名称'})
        fieldList.push({type:'int',value:'modelid',text:'modelid'})
        fieldList.push({type:'int',value:'ywbkid',text:'ywbkid'})
        fieldList.push({type:'string',value:'ywbkname',text:'ywbkname'})
        fieldList.push({type:'string',value:'xhid',text:'型号id'})
        fieldList.push({type:'string',value:'xhname',text:'型号名称'})
        fieldList.push({type:'string',value:'zrbm',text:'责任部门'})
        fieldList.push({type:'int',value:'yzsl',text:'研制数量'})
        fieldList.push({type:'int',value:'mjid',text:'mjid'})
        fieldList.push({type:'string',value:'mjname',text:'mjname'})
        fieldList.push({type:'int',value:'fxtid',text:'fxtid'})
        fieldList.push({type:'string',value:'fxtname',text:'fxtname'})
        fieldList.push({type:'int',value:'yzjdid',text:'研制阶段id'})
        fieldList.push({type:'string',value:'yzjdname',text:'研制阶段'})
        fieldList.push({type:'string',value:'tcdw',text:'任务来源'})
        fieldList.push({type:'string',value:'brief',text:'任务来源简称'})
        fieldList.push({type:'string',value:'rwnr',text:'rwnr'})
        fieldList.push({type:'string',value:'wcxs',text:'wcxs'})
        fieldList.push({type:'string',value:'jylbid',text:'jylbid'})
        fieldList.push({type:'string',value:'jylbname',text:'jylbname'})
        fieldList.push({type:'int',value:'hxzxid',text:'1：横向 2：纵向'})
        fieldList.push({type:'string',value:'hxzxname',text:'横向纵向'})
        fieldList.push({type:'string',value:'jjid',text:'jjid'})
        fieldList.push({type:'string',value:'jjname',text:'jjname'})
        fieldList.push({type:'string',value:'wzktid',text:'wzktid'})
        fieldList.push({type:'string',value:'wzktname',text:'wzktname'})
        fieldList.push({type:'string',value:'bz',text:'bz'})
        fieldList.push({type:'string',value:'status',text:'status'})
        fieldList.push({type:'date',value:'jhkssj',text:'计划开始时间'})
        fieldList.push({type:'date',value:'jhwcsj',text:'计划完成时间（进度要求）'})
        fieldList.push({type:'string',value:'jycsid',text:'下达部门id'})
        fieldList.push({type:'string',value:'jycs',text:'下达部门'})
        fieldList.push({type:'string',value:'jyfzrid',text:'jyfzrid'})
        fieldList.push({type:'string',value:'jyfzrname',text:'jyfzrname'})
        fieldList.push({type:'string',value:'ztdd',text:'计划开始时间'})
        fieldList.push({type:'string',value:'ztddname',text:'计划完成时间'})
        fieldList.push({type:'string',value:'sybdd',text:'sybdd'})
        fieldList.push({type:'string',value:'sybddname',text:'sybddname'})
        fieldList.push({type:'string',value:'ywfzr',text:'ywfzr'})
        fieldList.push({type:'string',value:'ywfzrname',text:'ywfzrname'})
        fieldList.push({type:'string',value:'zlgcs',text:'zlgcs'})
        fieldList.push({type:'string',value:'zlgcsname',text:'zlgcsname'})
        fieldList.push({type:'string',value:'cpbzr',text:'cpbzr'})
        fieldList.push({type:'string',value:'cpbzrname',text:'cpbzrname'})
        fieldList.push({type:'date',value:'sjkssj',text:'实际开始时间'})
        fieldList.push({type:'date',value:'sjwcsj',text:'实际完成时间'})
        fieldList.push({type:'string',value:'avidm',text:'avidm'})
        fieldList.push({type:'date',value:'lrsj',text:'任务下达时间'})
        fieldList.push({type:'string',value:'xhzzr',text:'xhzzr'})
        fieldList.push({type:'string',value:'xhzzrname',text:'xhzzrname'})
        fieldList.push({type:'string',value:'csbh',text:'csbh'})
        fieldList.push({type:'string',value:'ywcs',text:'ywcs'})
        fieldList.push({type:'string',value:'pncode',text:'pncode'})
        fieldList.push({type:'string',value:'emergent',text:'emergent'})
        fieldList.push({type:'string',value:'zrbmGuid',text:'zrbmGuid'})
        fieldList.push({type:'string',value:'businessman',text:'业务员'})
        fieldList.push({type:'string',value:'auditprice',text:'审计审价'})
        fieldList.push({type:'string',value:'tasktype',text:'任务类型'})
        fieldList.push({type:'string',value:'tasktypes',text:'tasktypes'})
        fieldList.push({type:'string',value:'processpercent',text:'项目进度'})
        fieldList.push({type:'string',value:'estimationcoat',text:'预估价'})
        fieldList.push({type:'string',value:'iflag',text:'任务状态'})
        fieldList.push({type:'date',value:'processdate',text:'processdate'})
        fieldList.push({type:'string',value:'processuser',text:'processuser'})
        fieldList.push({type:'string',value:'reftaskno',text:'父级任务'})
        fieldList.push({type:'string',value:'warranty',text:'是否需要质保'})
        fieldList.push({type:'string',value:'warrantyunit',text:'质保单位'})
        fieldList.push({type:'string',value:'contractlimit',text:'合同额'})
        fieldList.push({type:'string',value:'businessmanname',text:'businessmanname'})
        fieldList.push({type:'string',value:'pccode',text:'批产任务号'})
        fieldList.push({type:'string',value:'bccode',text:'备产任务号'})
        fieldList.push({type:'string',value:'blcode',text:'备料任务号'})
        fieldList.push({type:'string',value:'gdtext',text:'gdtext'})
        fieldList.push({type:'string',value:'contractsign',text:'contractsign'})
        fieldList.push({type:'string',value:'thirdparty',text:'thirdparty'})
        fieldList.push({type:'string',value:'khkk',text:'考核扣款'})
        fieldList.push({type:'string',value:'currenttask',text:'currenttask'})
        fieldList.push({type:'string',value:'isunittestproject',text:'isunittestproject'})
        fieldList.push({type:'string',value:'gkdj',text:'管控等级'})
        fieldList.push({type:'string',value:'zjname',text:'zjname'})
        fieldList.push({type:'string',value:'zhuazhorgidname',text:'zhuazhorgidname'})
        fieldList.push({type:'string',value:'specialtask',text:'任务分类'})
        fieldList.push({type:'string',value:'mainprojectno',text:'主任务编号'})
        fieldList.push({type:'string',value:'htyf',text:'合同乙方'})
        fieldList.push({type:'string',value:'isjues',text:'是否决算'})
        fieldList.push({type:'string',value:'projectaccountno',text:'projectaccountno'})
        fieldList.push({type:'string',value:'projectgatherno',text:'projectgatherno'})
        fieldList.push({type:'string',value:'jxno',text:'基线编号'})
        fieldList.push({type:'string',value:'issendtogongchzhx',text:'issendtogongchzhx'})
        fieldList.push({type:'string',value:'application',text:'应用部位'})
        fieldList.push({type:'string',value:'pay',text:'pay'})
        fieldList.push({type:'string',value:'reviewer',text:'评测方'})
        fieldList.push({type:'string',value:'softwaretype1',text:'softwaretype1'})
        fieldList.push({type:'string',value:'software',text:'software'})
        fieldList.push({type:'string',value:'foreigntrade',text:'foreigntrade'})
        fieldList.push({type:'string',value:'jfqk',text:'jfqk'})
        fieldList.push({type:'string',value:'wzsbno',text:'wzsbno'})
        fieldList.push({type:'string',value:'productspec',text:'产品规格'})
        fieldList.push({type:'string',value:'name',text:'name'})
        fieldList.push({type:'string',value:'briefname',text:'briefname'})
        fieldList.push({type:'string',value:'processpercent1',text:'processpercent1'})
        fieldList.push({type:'string',value:'estimationcoat1',text:'estimationcoat1'})
        fieldList.push({type:'string',value:'wzjhyname',text:'物资计划员'})
        fieldList.push({type:'string',value:'warrantybasis',text:'warrantybasis'})
        fieldList.push({type:'string',value:'costprice',text:'costprice'})
        fieldList.push({type:'string',value:'isbaox',text:'isbaox'})
        fieldList.push({type:'string',value:'softwaretype',text:'软件类型'})
        fieldList.push({type:'string',value:'ishavesoftware',text:'有无软件'})
        fieldList.push({type:'string',value:'completeremark',text:'completeremark'})
        fieldList.push({type:'string',value:'zj',text:'zj'})
        fieldList.push({type:'string',value:'exampletest',text:'exampletest'})
        fieldList.push({type:'string',value:'taskarea',text:'taskarea'})
        fieldList.push({type:'string',value:'fundsfrom',text:'fundsfrom'})
        fieldList.push({type:'string',value:'examplequantity',text:'examplequantity'})
        fieldList.push({type:'string',value:'invoicetype',text:'invoicetype'})
        fieldList.push({type:'string',value:'cbgcsname',text:'cbgcsname'})
        fieldList.push({type:'string',value:'producttype',text:'producttype'})
        fieldList.push({type:'date',value:'completeremarkdatetime',text:'completeremarkdatetime'})
        this.superFieldList = fieldList
      }
    }
  }
</script>
<style scoped>
  @import '~@assets/less/common.less';
</style>