bug修改

This commit is contained in:
zhaoxiao
2021-10-13 17:26:29 +08:00
parent 3e4de0af2e
commit dff5ae4de1
8 changed files with 34 additions and 30 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ const columns = [
{
title: '项目',
align: 'center',
dataIndex: 'chargeCompanyName'
dataIndex: 'projectName'
},
{
title: '邮寄人',
@@ -7,7 +7,6 @@
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
<a-col :xl="6" :lg="8" :md="8" :sm="24">
<a-form-item label="模板CODE">
<a-input placeholder="请输入模板CODE" v-model="queryParam.templateCode"></a-input>
@@ -37,7 +36,7 @@
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
<!-- <a-button @click="handleAdd" type="primary" icon="plus" v-has="'template:add'">新增</a-button>-->
</div>
<!-- table区域-begin -->
@@ -72,7 +71,7 @@
<span slot="action" class="action-span-cell" slot-scope="text, record">
<a @click="handleEdit(record)" v-has="'template:list'">编辑</a>
<a @click="handleDelete(record.id)">删除</a>
<!-- <a @click="handleDelete(record.id)" v-has="'template:delete'">删除</a>-->
</span>
</a-table>
@@ -204,7 +204,7 @@ export default {
dataIndex: 'startTime',
width: 160,
customRender: (text, record) => (
<j-ellipsis value={ record.startTime + record.endTime } length={ 20 }></j-ellipsis>)
<j-ellipsis value={ record.startTime + '~' + record.endTime } length={ 20 }></j-ellipsis>)
},
{
title: '召开地点',
@@ -171,7 +171,7 @@ export default {
align: 'center',
dataIndex: 'startTime',
width: 160,
customRender: (text, record) => (<j-ellipsis value={record.startTime + record.endTime} length={20}></j-ellipsis>)
customRender: (text, record) => (<j-ellipsis value={record.startTime + '~' + record.endTime} length={20}></j-ellipsis>)
},
{
title: '召开地点',
+1 -1
View File
@@ -168,7 +168,7 @@ name: 'OtherMeeting',
align: 'center',
dataIndex: 'startTime',
width: 160,
customRender: (text, record) => (<j-ellipsis value={record.startTime + record.endTime} length={20}></j-ellipsis>)
customRender: (text, record) => (<j-ellipsis value={record.startTime + '~' + record.endTime} length={20}></j-ellipsis>)
},
{
title: '召开地点',
@@ -164,7 +164,12 @@ export default {
this.confirmLoading = false
return
}
let str = this.checkedKeys.slice(1).join(',').toString()
let str = ''
if (this.checkedKeys[0] === '0-0') {
str = this.checkedKeys.slice(1).join(',').toString()
} else {
str = this.checkedKeys.join(',').toString()
}
this.form.setFieldsValue({ memberName: str })
this.form.validateFields((err) => {
if (!err) {
+21 -21
View File
@@ -39,28 +39,28 @@
<span slot="action" slot-scope="text, record" class="action-span-cell">
<a @click="handleEdit(record)">编辑</a>
<!-- <a-dropdown>-->
<!-- <a class="ant-dropdown-link">-->
<!-- 更多 <a-icon type="down"/>-->
<!-- </a>-->
<!-- <a-menu slot="overlay">-->
<!-- <a-menu-item>-->
<!-- <a href="javascript:;" @click="handleDetail(record)">详情</a>-->
<!-- </a-menu-item>-->
<!-- <a-menu-item>-->
<!-- <a href="javascript:;" @click="handleAddSub(record)">添加下级</a>-->
<!-- </a-menu-item>-->
<!-- <a-menu-item>-->
<!-- <a href="javascript:;" @click="handleDataRule(record)">数据规则</a>-->
<!-- </a-menu-item>-->
<a-dropdown>
<a class="ant-dropdown-link">
更多 <a-icon type="down"/>
</a>
<a-menu slot="overlay">
<a-menu-item>
<a href="javascript:;" @click="handleDetail(record)">详情</a>
</a-menu-item>
<a-menu-item>
<a href="javascript:;" @click="handleAddSub(record)">添加下级</a>
</a-menu-item>
<a-menu-item>
<a href="javascript:;" @click="handleDataRule(record)">数据规则</a>
</a-menu-item>
<!-- <a-menu-item>-->
<!--&lt;!&ndash; <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">&ndash;&gt;-->
<!-- &lt;!&ndash; </a-popconfirm>&ndash;&gt;-->
<!-- <a @click="handleDelete(record.id)">删除</a>-->
<!-- </a-menu-item>-->
<!-- </a-menu>-->
<!-- </a-dropdown>-->
<a-menu-item>
<!-- <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">-->
<!-- </a-popconfirm>-->
<a @click="handleDelete(record.id)">删除</a>
</a-menu-item>
</a-menu>
</a-dropdown>
</span>
<!-- 字符串超长截取省略号显示 -->
<span slot="url" slot-scope="text">
+1 -1
View File
@@ -51,7 +51,7 @@
</div>
</a-form-item>
<a-form-item class="btn-form">
<a-button type="primary" class="btn-form-save" @click="handleOk">保存</a-button>
<a-button type="primary" class="btn-form-save" @click="handleOk" v-has="'system:dept:save'">保存</a-button>
<a-button class="btn-form-cancel" @click="handleCancel">取消</a-button>
</a-form-item>
</a-form>