Commit 9332def4 by xiexiaoqin

Merge branch 'release/2.0.0' of…

Merge branch 'release/2.0.0' of ssh://gitlab.roboming.com:2018/fengzhaoyu/schedule into release/2.0.0

# Conflicts:
#	pages/meetingDetail/meetingDetail.js
parents 1b7bab11 c6f22e19
// export const comShareData = {
// shareTitle: '分享到',
// isShow: false,
// shareDataList: [
// { id: 0, text: '钉钉', imageUrl: '../../assests/dingContact.png' },
// { id: 1, text: '微信', imageUrl: '../../assests/weiXin.png' }
// ]
// }
<!--<block a:if="{{getData}}"> --> <!--<block a:if="{{getData}}"> -->
<import src="../../template/loading/loading.axml"/> <import src="../../template/loading/loading.axml"/>
<block> <block>
<view class=" {{(popupShow || show || centerPopup.showCenterPopup || conToastData.showToast || conSelectPopupData.showSelectPopup || comShareData.isShow )? 'metingDetail' : ''}}"> <view class=" {{(popupShow || show || centerPopup.showCenterPopup || conToastData.showToast || conSelectPopupData.showSelectPopup )? 'metingDetail' : ''}}">
<import src="../../template/deleteBtn/index.axml"/> <import src="../../template/deleteBtn/index.axml"/>
<view class="hideDetail" a:if="{{isExpand}}"> <view class="hideDetail" a:if="{{isExpand}}">
<view class="hideTitle"> <view class="hideTitle">
...@@ -235,4 +235,6 @@ ...@@ -235,4 +235,6 @@
</view> </view>
</view> </view>
</block> </block>
<!--<view class="loading" a:if="{{loading || !getData}}"><view class="image"></view></view> --> <view class="loading" a:if="{{!loading.details}}">
\ No newline at end of file <view class="image"></view>
</view>
\ No newline at end of file
...@@ -20,7 +20,11 @@ create.Page({ ...@@ -20,7 +20,11 @@ create.Page({
$data: null, $data: null,
affairLoading: true, affairLoading: true,
affairList: null, //store,页面用到的变量需要在这里声明 affairList: null, //store,页面用到的变量需要在这里声明
loading: false,
loading: {
details: false,
dynamic: true
},
conToastData: { conToastData: {
showToast: false, showToast: false,
title: '保存成功' title: '保存成功'
...@@ -67,23 +71,18 @@ create.Page({ ...@@ -67,23 +71,18 @@ create.Page({
placeholder: '', placeholder: '',
week: '', week: '',
lock: false, lock: false,
// aheadTimes: [15],
// editType: '',
mrReserveStatus: '', mrReserveStatus: '',
id: '' id: ''
}, },
onShow() { onShow() {
this.update() this.update()
// if (this.store.data.isNeedReloadList) { if (this.store.data.isNeedReloadList) {
// this.loadAffairList(); this.store.data.isNeedReloadList = false
// this.setData({ this.loadAffairList();
// 'conToastData.showToast': true, this.$store.data.isIndexAffairListNeedUpdate = true;
// 'conToastData.title': '保存成功', this.update();
// }); }
// this.$store.data.isIndexAffairListNeedUpdate = true;
// this.update();
// }
if (this.$store.data.updateInfo.isUpate) { if (this.$store.data.updateInfo.isUpate) {
if (this.$store.data.updateInfo.updateType === "modify_location") { if (this.$store.data.updateInfo.updateType === "modify_location") {
...@@ -171,7 +170,8 @@ create.Page({ ...@@ -171,7 +170,8 @@ create.Page({
aheadTimes: !!res.data.data.aheadTimes ? res.data.data.aheadTimes : [], aheadTimes: !!res.data.data.aheadTimes ? res.data.data.aheadTimes : [],
iconType: 'icon', iconType: 'icon',
aheadTimesListId: !!res.data.data.aheadTimes ? res.data.data.aheadTimes : [-1], aheadTimesListId: !!res.data.data.aheadTimes ? res.data.data.aheadTimes : [-1],
} },
"loading.details": true
}) })
this.$store.data.originalData = res.data.data; this.$store.data.originalData = res.data.data;
......
...@@ -8,10 +8,7 @@ ...@@ -8,10 +8,7 @@
"comment": "../../components/comment/comment", "comment": "../../components/comment/comment",
"remark": "../../components/remark/remark", "remark": "../../components/remark/remark",
"file-list": "../../components/fileList/fileList", "file-list": "../../components/fileList/fileList",
"task-panel": "../../components/taskPanel/taskPanel",
"list": "../../components/list/list", "list": "../../components/list/list",
"hlist": "../../components/hList/hList",
"sharelist": "../../components/shareList/shareList",
"toast": "../../components/toast/toast", "toast": "../../components/toast/toast",
"selectpopup": "../../components/selectPopup/selectPopup", "selectpopup": "../../components/selectPopup/selectPopup",
"centerpopup": "../../components/centerPopup/centerPopup", "centerpopup": "../../components/centerPopup/centerPopup",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment