|
@@ -10,28 +10,28 @@
|
|
<!-- 查询区域-END -->
|
|
<!-- 查询区域-END -->
|
|
|
|
|
|
<!-- 操作按钮区域 -->
|
|
<!-- 操作按钮区域 -->
|
|
- <div class="table-operator">
|
|
|
|
|
|
+ <!-- <div class="table-operator">
|
|
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
|
|
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
|
|
<a-button type="primary" icon="download" @click="handleExportXls('合同信息存储表')">导出</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-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
|
|
<a-button type="primary" icon="import">导入</a-button>
|
|
<a-button type="primary" icon="import">导入</a-button>
|
|
- </a-upload>
|
|
|
|
|
|
+ </a-upload> -->
|
|
<!-- 高级查询区域 -->
|
|
<!-- 高级查询区域 -->
|
|
- <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>
|
|
|
|
|
|
+ <!-- <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>
|
|
<a-dropdown v-if="selectedRowKeys.length > 0">
|
|
<a-dropdown v-if="selectedRowKeys.length > 0">
|
|
<a-menu slot="overlay">
|
|
<a-menu slot="overlay">
|
|
<a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
|
|
<a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
|
|
</a-menu>
|
|
</a-menu>
|
|
<a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
|
|
<a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
|
|
</a-dropdown>
|
|
</a-dropdown>
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
|
|
|
|
<!-- table区域-begin -->
|
|
<!-- table区域-begin -->
|
|
<div>
|
|
<div>
|
|
- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
|
|
|
|
|
|
+ <!-- <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>项
|
|
<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>
|
|
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
|
|
|
|
<a-table
|
|
<a-table
|
|
ref="table"
|
|
ref="table"
|
|
@@ -67,7 +67,7 @@
|
|
</a-button>
|
|
</a-button>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
- <span slot="action" slot-scope="text, record">
|
|
|
|
|
|
+ <!-- <span slot="action" slot-scope="text, record">
|
|
<a @click="handleEdit(record)">编辑</a>
|
|
<a @click="handleEdit(record)">编辑</a>
|
|
|
|
|
|
<a-divider type="vertical" />
|
|
<a-divider type="vertical" />
|
|
@@ -84,7 +84,7 @@
|
|
</a-menu-item>
|
|
</a-menu-item>
|
|
</a-menu>
|
|
</a-menu>
|
|
</a-dropdown>
|
|
</a-dropdown>
|
|
- </span>
|
|
|
|
|
|
+ </span> -->
|
|
|
|
|
|
</a-table>
|
|
</a-table>
|
|
</div>
|
|
</div>
|
|
@@ -97,10 +97,17 @@
|
|
import '@/assets/less/TableExpand.less'
|
|
import '@/assets/less/TableExpand.less'
|
|
import { mixinDevice } from '@/utils/mixin'
|
|
import { mixinDevice } from '@/utils/mixin'
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
|
|
|
+ import { getAction } from '@/api/manage'
|
|
|
|
|
|
export default {
|
|
export default {
|
|
name: 'ContractDetailList',
|
|
name: 'ContractDetailList',
|
|
mixins:[JeecgListMixin, mixinDevice],
|
|
mixins:[JeecgListMixin, mixinDevice],
|
|
|
|
+ props: {
|
|
|
|
+ taskno: {
|
|
|
|
+ type: String,
|
|
|
|
+ default: ''
|
|
|
|
+ }
|
|
|
|
+ },
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
description: '合同信息存储表管理页面',
|
|
description: '合同信息存储表管理页面',
|
|
@@ -583,11 +590,11 @@
|
|
}
|
|
}
|
|
],
|
|
],
|
|
url: {
|
|
url: {
|
|
- list: "/xmcbDetail/comContractInfoExchange/list",
|
|
|
|
- delete: "/xmcbDetail/comContractInfoExchange/delete",
|
|
|
|
- deleteBatch: "/xmcbDetail/comContractInfoExchange/deleteBatch",
|
|
|
|
- exportXlsUrl: "/xmcbDetail/comContractInfoExchange/exportXls",
|
|
|
|
- importExcelUrl: "xmcbDetail/comContractInfoExchange/importExcel",
|
|
|
|
|
|
+ list: "/xmcbDetail/comContractInfoExchange/getCrmHteDetail",
|
|
|
|
+ // delete: "/xmcbDetail/comContractInfoExchange/delete",
|
|
|
|
+ // deleteBatch: "/xmcbDetail/comContractInfoExchange/deleteBatch",
|
|
|
|
+ // exportXlsUrl: "/xmcbDetail/comContractInfoExchange/exportXls",
|
|
|
|
+ // importExcelUrl: "xmcbDetail/comContractInfoExchange/importExcel",
|
|
|
|
|
|
},
|
|
},
|
|
dictOptions:{},
|
|
dictOptions:{},
|
|
@@ -595,14 +602,24 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
- this.getSuperFieldList();
|
|
|
|
|
|
+ this.getSuperFieldList();
|
|
|
|
+ this.loadData()
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
- importExcelUrl: function(){
|
|
|
|
- return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
|
|
|
|
- },
|
|
|
|
|
|
+ // importExcelUrl: function(){
|
|
|
|
+ // return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
|
|
|
|
+ // },
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ loadData() {
|
|
|
|
+ this.loading = true;
|
|
|
|
+ getAction(this.url.list, {taskno: this.taskno}).then((res) => {
|
|
|
|
+ console.log(res)
|
|
|
|
+ this.dataSource = res
|
|
|
|
+ }).finally(() => {
|
|
|
|
+ this.loading = false
|
|
|
|
+ })
|
|
|
|
+ },
|
|
initDictConfig(){
|
|
initDictConfig(){
|
|
},
|
|
},
|
|
getSuperFieldList(){
|
|
getSuperFieldList(){
|