提交修改
This commit is contained in:
parent
87bd93edf9
commit
30c1d019f5
|
@ -355,19 +355,19 @@ import { datasyncqueryPage,
|
|||
this.form.validateFields((err, values) => {
|
||||
console.log('values',values)
|
||||
this.datamodel = values;
|
||||
if(this.datamodel.shipModel==null){
|
||||
if(this.datamodel.shipModel==null|| this.datamodel.shipModel==""){
|
||||
this.$message.warning("型号必须选择");
|
||||
return false;
|
||||
}
|
||||
if(this.datamodel.shipNum==null){
|
||||
if(this.datamodel.shipNum==null|| this.datamodel.shipNum==""){
|
||||
this.$message.warning("舷号必须选择");
|
||||
return false;
|
||||
}
|
||||
if(this.datamodel.dataType==null){
|
||||
if(this.datamodel.dataType==null|| this.datamodel.dataType==""){
|
||||
this.$message.warning("数据类型必须选择");
|
||||
return false;
|
||||
}
|
||||
if(this.datamodel.dbType==null){
|
||||
if(this.datamodel.dbType==null|| this.datamodel.dbType==""){
|
||||
this.$message.warning("数据类型必须选择");
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -51,8 +51,8 @@
|
|||
<span style="color:royalblue;" v-if="text === 4">等待中</span>
|
||||
</template>
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<a @click="processFile(record)" v-has="'cont:btn'" >解析</a>
|
||||
<a-divider type="vertical" v-has="'cont:btn'" />
|
||||
<a @click="processFile(record)" >解析</a>
|
||||
<a-divider type="vertical"/>
|
||||
<a @click="clearTableData(record.id)">卸载</a>
|
||||
<a-divider type="vertical" />
|
||||
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
||||
|
|
|
@ -74,10 +74,10 @@
|
|||
@change="handleTableChange">
|
||||
|
||||
<span slot="action" slot-scope="text, record" >
|
||||
<a @click="handleEdit(record)" v-has="'cont:btn'">编辑</a>
|
||||
<a @click="handleEdit(record)" >编辑</a>
|
||||
|
||||
<a-divider type="vertical" v-has="'cont:btn'"/>
|
||||
<a-dropdown v-has="'cont:btn'">
|
||||
<a-divider type="vertical" />
|
||||
<a-dropdown >
|
||||
<a class="ant-dropdown-link">更多 <a-icon type="down"/></a>
|
||||
<a-menu slot="overlay">
|
||||
<a-menu-item>
|
||||
|
@ -87,7 +87,7 @@
|
|||
</a-menu-item>
|
||||
</a-menu>
|
||||
</a-dropdown>
|
||||
<a-divider type="vertical" v-has="'cont:btn'" />
|
||||
<a-divider type="vertical" />
|
||||
<a @click="handleDetail(record)">详情</a>
|
||||
</span>
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ export default {
|
|||
}
|
||||
},
|
||||
{
|
||||
title: '系统模块',
|
||||
title: '操作接口',
|
||||
align: "left",
|
||||
dataIndex: 'logContent',
|
||||
scopedSlots: { customRender: 'logContent' },
|
||||
|
|
|
@ -36,14 +36,14 @@
|
|||
|
||||
<!-- 操作按钮区域 -->
|
||||
<div class="table-operator">
|
||||
<a-button @click="handleAdd" type="primary" v-has="'cont:btn'" icon="plus">新增</a-button>
|
||||
<a-button type="primary" v-has="'cont:btn'" icon="download" @click="handleExportXls('定时任务信息')">导出</a-button>
|
||||
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
|
||||
<a-button type="primary" icon="download" @click="handleExportXls('定时任务信息')">导出</a-button>
|
||||
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
|
||||
<a-button type="primary" v-has="'cont:btn'" icon="import">导入</a-button>
|
||||
<a-button type="primary" icon="import">导入</a-button>
|
||||
</a-upload>
|
||||
<a-button type="primary" v-has="'cont:btn'" @click="batchDel" icon="del">批量删除</a-button>
|
||||
<a-button type="primary" v-has="'cont:btn'" @click="batchStart" icon="start" style="margin-left: 8px">批量启动</a-button>
|
||||
<a-button type="primary" v-has="'cont:btn'" @click="pauseJobBatch" icon="pauseJob" style="margin-left: 8px">批量暂停</a-button>
|
||||
<a-button type="primary" @click="batchDel" icon="del">批量删除</a-button>
|
||||
<a-button type="primary" @click="batchStart" icon="start" style="margin-left: 8px">批量启动</a-button>
|
||||
<a-button type="primary" @click="pauseJobBatch" icon="pauseJob" style="margin-left: 8px">批量暂停</a-button>
|
||||
</div>
|
||||
|
||||
<!-- table区域-begin -->
|
||||
|
@ -84,11 +84,11 @@
|
|||
|
||||
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<a @click="resumeJob(record)" v-if="record.status==-1" v-has="'cont:btn'">启动</a>
|
||||
<a @click="pauseJob(record)" v-if="record.status==0" v-has="'cont:btn'">停止</a>
|
||||
<a @click="resumeJob(record)" v-if="record.status==-1" >启动</a>
|
||||
<a @click="pauseJob(record)" v-if="record.status==0" >停止</a>
|
||||
|
||||
<a-divider type="vertical" v-has="'cont:btn'" />
|
||||
<a-dropdown v-has="'cont:btn'">
|
||||
<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="executeImmediately(record)">立即执行</a></a-menu-item>
|
||||
|
@ -100,7 +100,7 @@
|
|||
</a-menu-item>
|
||||
</a-menu>
|
||||
</a-dropdown>
|
||||
<a-divider type="vertical" v-has="'cont:btn'" />
|
||||
<a-divider type="vertical" />
|
||||
<a @click="handleDetail(record)">详情</a>
|
||||
</span>
|
||||
|
||||
|
|
|
@ -30,14 +30,14 @@
|
|||
|
||||
<!-- 操作按钮区域 -->
|
||||
<div class="table-operator">
|
||||
<a-button @click="handleAdd" type="primary" v-has="'cont:btn'" icon="plus">新增</a-button>
|
||||
<a-button type="primary" v-has="'cont:btn'" icon="download" @click="handleExportXls('同步策略配置')">导出</a-button>
|
||||
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
|
||||
<a-button type="primary" icon="download" @click="handleExportXls('同步策略配置')">导出</a-button>
|
||||
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
|
||||
<a-button type="primary" v-has="'cont:btn'" icon="import">导入</a-button>
|
||||
<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" v-has="'cont:btn'">
|
||||
<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>
|
||||
|
@ -87,9 +87,9 @@
|
|||
</template>
|
||||
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<a @click="handleEdit(record)" v-has="'cont:btn'">编辑</a>
|
||||
<a @click="handleEdit(record)" >编辑</a>
|
||||
|
||||
<a-divider type="vertical" v-has="'cont:btn'" />
|
||||
<a-divider type="vertical" />
|
||||
<a-dropdown>
|
||||
<a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
|
||||
<a-menu slot="overlay">
|
||||
|
@ -99,7 +99,7 @@
|
|||
<a-menu-item>
|
||||
<a @click="fieldDetail(record)">字段详情</a>
|
||||
</a-menu-item>
|
||||
<a-menu-item v-has="'cont:btn'">
|
||||
<a-menu-item >
|
||||
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
||||
<a>删除</a>
|
||||
</a-popconfirm>
|
||||
|
|
|
@ -31,12 +31,12 @@
|
|||
|
||||
<!-- 操作按钮区域 -->
|
||||
<div class="table-operator">
|
||||
<a-button @click="handleAdd" type="primary" v-has="'cont:btn'" icon="plus">新增</a-button>
|
||||
<a-button type="primary" v-has="'cont:btn'" icon="download" @click="handleExportXls('本地数据库配置')">导出</a-button>
|
||||
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
|
||||
<a-button type="primary" icon="download" @click="handleExportXls('本地数据库配置')">导出</a-button>
|
||||
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
|
||||
<a-button type="primary" v-has="'cont:btn'" icon="import">导入</a-button>
|
||||
<a-button type="primary" icon="import">导入</a-button>
|
||||
</a-upload>
|
||||
<a-dropdown v-if="selectedRowKeys.length > 0" v-has="'cont:btn'">
|
||||
<a-dropdown v-if="selectedRowKeys.length > 0" >
|
||||
<a-menu slot="overlay">
|
||||
<a-menu-item key="1" @click="batchDel">
|
||||
<a-icon type="delete"/>
|
||||
|
@ -74,10 +74,10 @@
|
|||
@change="handleTableChange">
|
||||
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<a @click="handleEdit(record)" v-has="'cont:btn'">编辑</a>
|
||||
<a @click="handleEdit(record)" >编辑</a>
|
||||
|
||||
<a-divider type="vertical" v-has="'cont:btn'"/>
|
||||
<a-dropdown v-has="'cont:btn'">
|
||||
<a-divider type="vertical" />
|
||||
<a-dropdown >
|
||||
<a class="ant-dropdown-link">更多 <a-icon type="down"/></a>
|
||||
<a-menu slot="overlay">
|
||||
<a-menu-item>
|
||||
|
@ -87,7 +87,7 @@
|
|||
</a-menu-item>
|
||||
</a-menu>
|
||||
</a-dropdown>
|
||||
<a-divider type="vertical" v-has="'cont:btn'" />
|
||||
<a-divider type="vertical" />
|
||||
<a @click="handleDetail(record)">详情</a>
|
||||
</span>
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
</a-col>
|
||||
<a-col :md="6" :sm="10">
|
||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||
<a-button @click="loadData" type="primary" v-has="'cont:btn'" icon="search">查询</a-button>
|
||||
<a-button @click="loadData" type="primary" icon="search">查询</a-button>
|
||||
</span>
|
||||
</a-col>
|
||||
</a-row>
|
||||
|
|
Loading…
Reference in New Issue
Block a user