提交 f7f963ce authored 作者: 宋雄's avatar 宋雄

修改二期bug

上级 687549aa
NODE_ENV=development
VUE_APP_API_BASE_URL='http://220.203.25.212:9998'
# VUE_APP_API_BASE_URL='http://192.168.0.106:9999'
# VUE_APP_API_BASE_URL='http://220.203.25.212:9998'
VUE_APP_API_BASE_URL='http://192.168.0.100:9999'
# VUE_APP_API_BASE_URL='http://220.203.25.212:9999'
VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
......
......@@ -67,8 +67,11 @@
<span v-if="record.rangeType === 'all'">所有小区</span>
<span v-else>{{record.shareRuleRefList.map(item=>item.communityName).join(',')}}</span>
</span>
<span slot="rangNumber" slot-scope="text, record">
<span>{{record.rangeType === 'all' ? '' : record.shareRuleRefList.length}}</span>
</span>
<span slot="status" slot-scope="text, record">
<a-switch :disabled="!record.shopNum" checked-children="启用" un-checked-children="冻结" v-model="record.statusBoolean" @change="flag=>onStatusChange(flag, record)" />
<a-switch :disabled="record.rangeType === 'all'" checked-children="启用" un-checked-children="冻结" v-model="record.statusBoolean" @change="flag=>onStatusChange(flag, record)" />
</span>
<span slot="action" slot-scope="text, record">
<a href="javascript:;" @click="propertyDetails(2, record)">编辑</a>
......@@ -128,9 +131,10 @@ const columns = [
},
{
title: '已添加数量',
dataIndex: 'propertyName',
key: 'propertyName',
dataIndex: 'rangNumber',
key: 'rangNumber',
align: 'center',
scopedSlots: { customRender: 'rangNumber' }
},
{
title: '添加时间',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论