You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
190 lines
17 KiB
190 lines
17 KiB
"use strict";
|
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
});
|
|
};
|
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
function step(op) {
|
|
if (f) throw new TypeError("Generator is already executing.");
|
|
while (_) try {
|
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
switch (op[0]) {
|
|
case 0: case 1: t = op; break;
|
|
case 4: _.label++; return { value: op[1], done: false };
|
|
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
default:
|
|
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
if (t[2]) _.ops.pop();
|
|
_.trys.pop(); continue;
|
|
}
|
|
op = body.call(thisArg, _);
|
|
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
}
|
|
};
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
var clerkOnline_1 = require("../../../../api/clerkOnline");
|
|
Page({
|
|
data: {
|
|
noticeDetail: {},
|
|
imgList: [],
|
|
noticeId: '',
|
|
},
|
|
onLoad: function (options) {
|
|
this.setData({
|
|
noticeId: options.id
|
|
});
|
|
this.getNoticeDetail();
|
|
},
|
|
getNoticeDetail: function () {
|
|
return __awaiter(this, void 0, void 0, function () {
|
|
var noticeId, res, err_1;
|
|
return __generator(this, function (_a) {
|
|
switch (_a.label) {
|
|
case 0:
|
|
wx.showLoading({
|
|
title: '加载中',
|
|
});
|
|
noticeId = this.data.noticeId;
|
|
_a.label = 1;
|
|
case 1:
|
|
_a.trys.push([1, 3, , 4]);
|
|
return [4, clerkOnline_1.getNoticeDetail(noticeId)];
|
|
case 2:
|
|
res = _a.sent();
|
|
console.log('列表', res);
|
|
this.setData({
|
|
noticeDetail: res.data,
|
|
imgList: res.data.images
|
|
});
|
|
wx.hideLoading();
|
|
return [3, 4];
|
|
case 3:
|
|
err_1 = _a.sent();
|
|
console.log(err_1);
|
|
return [3, 4];
|
|
case 4: return [2];
|
|
}
|
|
});
|
|
});
|
|
},
|
|
onTabqxzd: function (e) {
|
|
var topType = '1';
|
|
var title = "";
|
|
var content = "";
|
|
var that = this;
|
|
if (e.currentTarget.dataset.flag == '0') {
|
|
topType = '1';
|
|
title = '确认要将本条内容置顶吗?';
|
|
content = '置顶后,话题会被群成员优先看到 查看内容';
|
|
wx.setStorageSync("isBackOpen", false);
|
|
}
|
|
else {
|
|
topType = '2';
|
|
title = '确认要将本条通知取消置顶吗?';
|
|
content = '取消置顶后,通知会按照发布时间排序需要滑动查找通知';
|
|
wx.setStorageSync("isBackOpen", false);
|
|
}
|
|
var params = {
|
|
noticeId: this.data.noticeId,
|
|
topType: topType
|
|
};
|
|
wx.showModal({
|
|
title: title,
|
|
content: content,
|
|
cancelColor: '#999999',
|
|
confirmColor: '#04BCA0',
|
|
success: function (res) {
|
|
return __awaiter(this, void 0, void 0, function () {
|
|
var res_1, err_2;
|
|
return __generator(this, function (_a) {
|
|
switch (_a.label) {
|
|
case 0:
|
|
if (!res.confirm) return [3, 5];
|
|
_a.label = 1;
|
|
case 1:
|
|
_a.trys.push([1, 3, , 4]);
|
|
return [4, clerkOnline_1.setTopNotice(params)];
|
|
case 2:
|
|
res_1 = _a.sent();
|
|
if (res_1.code == 0) {
|
|
that.getNoticeDetail();
|
|
}
|
|
return [3, 4];
|
|
case 3:
|
|
err_2 = _a.sent();
|
|
console.log(err_2);
|
|
return [3, 4];
|
|
case 4: return [3, 6];
|
|
case 5:
|
|
if (res.cancel) {
|
|
console.log('用户点击取消');
|
|
}
|
|
_a.label = 6;
|
|
case 6: return [2];
|
|
}
|
|
});
|
|
});
|
|
}
|
|
});
|
|
},
|
|
onTabgb: function () {
|
|
var that = this;
|
|
wx.showModal({
|
|
title: '确认要将本条通知关闭吗?',
|
|
content: '关闭后,在群内不显示通知信息管理后台保留数据,可以查看',
|
|
cancelColor: '#999999',
|
|
confirmColor: '#04BCA0',
|
|
success: function (res) {
|
|
return __awaiter(this, void 0, void 0, function () {
|
|
var res_2, err_3;
|
|
return __generator(this, function (_a) {
|
|
switch (_a.label) {
|
|
case 0:
|
|
if (!res.confirm) return [3, 5];
|
|
_a.label = 1;
|
|
case 1:
|
|
_a.trys.push([1, 3, , 4]);
|
|
wx.setStorageSync("isBackOpen", false);
|
|
return [4, clerkOnline_1.closeNotice(that.data.noticeId)];
|
|
case 2:
|
|
res_2 = _a.sent();
|
|
wx.navigateBack({
|
|
delta: 1
|
|
});
|
|
return [3, 4];
|
|
case 3:
|
|
err_3 = _a.sent();
|
|
console.log(err_3);
|
|
return [3, 4];
|
|
case 4: return [3, 6];
|
|
case 5:
|
|
if (res.cancel) {
|
|
console.log('用户点击取消');
|
|
}
|
|
_a.label = 6;
|
|
case 6: return [2];
|
|
}
|
|
});
|
|
});
|
|
}
|
|
});
|
|
},
|
|
toreadlist: function (e) {
|
|
wx.navigateTo({ url: "/subpages/clerkOnline/pages/readlist/readlist?id=" + e.currentTarget.dataset.id + "&type=" + e.currentTarget.dataset.type });
|
|
},
|
|
});
|
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWNlRGV0YWlsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsibm90aWNlRGV0YWlsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQ0EsMkRBQXVGO0FBQ3ZGLElBQUksQ0FBQztJQUtILElBQUksRUFBRTtRQUNKLFlBQVksRUFBQyxFQUFFO1FBQ2YsT0FBTyxFQUFDLEVBQUU7UUFDVixRQUFRLEVBQUMsRUFBRTtLQUNaO0lBSUQsTUFBTSxFQUFFLFVBQVUsT0FBTztRQUN2QixJQUFJLENBQUMsT0FBTyxDQUFDO1lBQ1gsUUFBUSxFQUFFLE9BQU8sQ0FBQyxFQUFFO1NBQ3JCLENBQUMsQ0FBQTtRQUNGLElBQUksQ0FBQyxlQUFlLEVBQUUsQ0FBQTtJQUN4QixDQUFDO0lBS0ssZUFBZSxFQUFyQjs7Ozs7O3dCQUNFLEVBQUUsQ0FBQyxXQUFXLENBQUM7NEJBQ2IsS0FBSyxFQUFFLEtBQUs7eUJBQ2IsQ0FBQyxDQUFBO3dCQUNFLFFBQVEsR0FBRyxJQUFJLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQzs7Ozt3QkFFZixXQUFNLDZCQUFlLENBQU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G4gIGRhdGE6IHtcclxuICAgIG5vdGljZURldGFpbDp7fSxcclxuICAgIGltZ0xpc3Q6W10sXHJcbiAgICBub3RpY2VJZDonJyxcclxuICB9LFxyXG4gIC8qKlxyXG4gICAqIOeUn+WRveWRqOacn+WHveaVsC0t55uR5ZCs6aG16Z2i5Yqg6L29XHJcbiAgICovXHJcbiAgb25Mb2FkOiBmdW5jdGlvbiAob3B0aW9ucykge1xyXG4gICAgdGhpcy5zZXREYXRhKHtcclxuICAgICAgbm90aWNlSWQ6IG9wdGlvbnMuaWRcclxuICAgIH0pXHJcbiAgICB0aGlzLmdldE5vdGljZURldGFpbCgpLy/pgJrnn6Xor6bmg4VcclxuICB9LFxyXG5cclxuICAvKipcclxuICAqIOafpeeci+e+pOaIkOWRmOWIl+ihqFxyXG4gICovXHJcbiAgYXN5bmMgZ2V0Tm90aWNlRGV0YWlsKCkge1xyXG4gICAgd3guc2hvd0xvYWRpbmcoe1xyXG4gICAgICB0aXRsZTogJ+WKoOi9veS4rScsXHJcbiAgICB9KVxyXG4gICAgbGV0IG5vdGljZUlkID0gdGhpcy5kYXRhLm5vdGljZUlkO1xyXG4gICAgdHJ5IHtcclxuICAgICAgY29uc3QgcmVzOiBhbnkgPSBhd2FpdCBnZXROb3RpY2VEZXRhaWwobm90aWNlSWQpXHJcbiAgICAgIGNvbnNvbGUubG9nKCfliJfooagnLCByZXMpXHJcbiAgICAgIHRoaXMuc2V0RGF0YSh7XHJcbiAgICAgICAgbm90aWNlRGV0YWlsOiByZXMuZGF0YSxcclxuICAgICAgICBpbWdMaXN0OiByZXMuZGF0YS5pbWFnZXNcclxuICAgICAgfSlcclxuICAgICAgd3guaGlkZUxvYWRpbmcoKVxyXG4gICAgfSBjYXRjaCAoZXJyKSB7XHJcbiAgICAgIGNvbnNvbGUubG9nKGVycilcclxuICAgIH1cclxuICB9LFxyXG4gICAvKipcclxuICAqIOaYr+WQpue9rumhtueCueWHu+S6i+S7tlxyXG4gICovXHJcbiAgb25UYWJxeHpkKGU6IGFueSkge1xyXG4gICAgbGV0IHRvcFR5cGUgPSAnMSc7Ly/mk43kvZznsbvlnovvvJox77yM572u6aG277yMMuWPlua2iFxyXG4gICAgbGV0IHRpdGxlID0gXCJcIjtcclxuICAgIGxldCBjb250ZW50ID0gXCJcIjtcclxuICAgIGxldCB0aGF0ID0gdGhpcztcclxuICAgIGlmKGUuY3VycmVudFRhcmdldC5kYXRhc2V0LmZsYWc9PScwJyl7Ly/nva7pobbmoIfor4bvvJow5ZCm77yMMeaYr1xyXG4gICAgICB0b3BUeXBlID0gJzEnO1xyXG4gICAgICB0aXRsZSA9J+ehruiupOimgeWwhuacrOadoeWGheWuuee9rumhtuWQl++8nyc7XHJcbiAgICAgIGNvbnRlbnQgPSfnva7pobblkI7vvIzor53popjkvJrooqvnvqTmiJDlkZjkvJjlhYjnnIvliLAg5p+l55yL5YaF5a65JztcclxuICAgICAgd3guc2V0U3RvcmFnZVN5bmMoXCJpc0JhY2tPcGVuXCIsIGZhbHNlKVxyXG4gICAgfWVsc2V7XHJcbiAgICAgIHRvcFR5cGUgPSAnMic7XHJcbiAgICAgIHRpdGxlID0gJ+ehruiupOimgeWwhuacrOadoemAmuefpeWPlua2iOe9rumhtuWQl++8nyc7XHJcbiAgICAgIGNvbnRlbnQgPSAn5Y+W5raI572u6aG25ZCO77yM6YCa55+l5Lya5oyJ54Wn5Y+R5biD5pe26Ze05o6S5bqP6ZyA6KaB5ruR5Yqo5p+l5om+6YCa55+lJztcclxuICAgICAgd3guc2V0U3RvcmFnZVN5bmMoXCJpc0JhY2tPcGVuXCIsIGZhbHNlKVxyXG4gICAgfVxyXG4gICAgbGV0IHBhcmFtcyA9IHtcclxuICAgICAgbm90aWNlSWQ6IHRoaXMuZGF0YS5ub3RpY2VJZCxcclxuICAgICAgdG9wVHlwZTogdG9wVHlwZVxyXG4gICAgfVxyXG4gICAgd3guc2hvd01vZGFsKHtcclxuICAgICAgdGl0bGU6IHRpdGxlLFxyXG4gICAgICBjb250ZW50OiBjb250ZW50LFxyXG4gICAgICBjYW5jZWxDb2xvcjogJyM5OTk5OTknLCAvL+WPlua2iOaWh+Wtl+eahOminOiJslxyXG4gICAgICBjb25maXJtQ29sb3I6ICcjMDRCQ0EwJywgLy/noa7lrprmloflrZfnmoTpopzoibJcclxuICAgICAgYXN5bmMgc3VjY2VzcyhyZXMpIHtcclxuICAgICAgICBpZiAocmVzLmNvbmZpcm0pIHtcclxuICAgICAgICAgIHRyeSB7XHJcbiAgICAgICAgICAgIGNvbnN0IHJlczogYW55ID0gYXdhaXQgc2V0VG9wTm90aWNlKHBhcmFtcylcclxuICAgICAgICAgICAgaWYgKHJlcy5jb2RlID09IDApIHsvL+e9rumhtuivnemimO+8iOe9rumhti/lj5bmtojvvInmiJDlip9cclxuICAgICAgICAgICAgICB0aGF0LmdldE5vdGljZURldGFpbCgpLy/pgJrnn6Xor6bmg4UvL+mAmuefpeivpuaDhVxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICB9IGNhdGNoIChlcnIpIHtcclxuICAgICAgICAgICAgY29uc29sZS5sb2coZXJyKVxyXG4gICAgICAgICAgfVxyXG4gICAgICAgIH0gZWxzZSBpZiAocmVzLmNhbmNlbCkge1xyXG4gICAgICAgICAgY29uc29sZS5sb2coJ+eUqOaIt+eCueWHu+WPlua2iCcpXHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9KVxyXG4gIH0sXHJcbiAgLyoqXHJcbiAgKiDlhbPpl63pgJrnn6VcclxuICAqL1xyXG4gIG9uVGFiZ2IoKXtcclxuICAgIGxldCB0aGF0ID0gdGhpcztcclxuICAgIHd4LnNob3dNb2RhbCh7XHJcbiAgICAgIHRpdGxlOiAn56Gu6K6k6KaB5bCG5pys5p2h6YCa55+l5YWz6Zet5ZCX77yfJyxcclxuICAgICAgY29udGVudDogJ+WFs+mXreWQju+8jOWcqOe+pOWGheS4jeaYvuekuumAmuefpeS/oeaBr+euoeeQhuWQjuWPsOS/neeVmeaVsOaNru+8jOWPr+S7peafpeeciycsXHJcbiAgICAgIGNhbmNlbENvbG9yOiAnIzk5OTk5OScsIC8v5Y+W5raI5paH5a2X55qE6aKc6ImyXHJcbiAgICAgIGNvbmZpcm1Db2xvcjogJyMwNEJDQTAnLCAvL+ehruWumuaWh+Wtl+eahOminOiJslxyXG4gICAgICBhc3luYyBzdWNjZXNzKHJlcykge1xyXG4gICAgICAgIGlmIChyZXMuY29uZmlybSkge1xyXG4gICAgICAgICAgdHJ5IHtcclxuICAgICAgICAgICAgd3guc2V0U3RvcmFnZVN5bmMoXCJpc0JhY2tPcGVuXCIsIGZhbHNlKVxyXG4gICAgICAgICAgICBjb25zdCByZXM6IGFueSA9IGF3YWl0IGNsb3NlTm90aWNlKHRoYXQuZGF0YS5ub3RpY2VJZClcclxuICAgICAgICAgICAgd3gubmF2aWdhdGVCYWNrKHtcclxuICAgICAgICAgICAgICBkZWx0YTogMVxyXG4gICAgICAgICAgICB9KVxyXG4gICAgICAgICAgfSBjYXRjaCAoZXJyKSB7XHJcbiAgICAgICAgICAgIGNvbnNvbGUubG9nKGVycilcclxuICAgICAgICAgIH1cclxuICAgICAgICB9IGVsc2UgaWYgKHJlcy5jYW5jZWwpIHtcclxuICAgICAgICAgIGNvbnNvbGUubG9nKCfnlKjmiLfngrnlh7vlj5bmtognKVxyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfSlcclxuICB9LFxyXG4gIC8qKlxyXG4gICog6Lez6L2s5bey6K+75pyq6K+75YiX6KGoXHJcbiAgKi9cclxuICB0b3JlYWRsaXN0KGU6IGFueSkge1xyXG4gICAgd3gubmF2aWdhdGVUbyh7IHVybDogYC9zdWJwYWdlcy9jbGVya09ubGluZS9wYWdlcy9yZWFkbGlzdC9yZWFkbGlzdD9pZD0ke2UuY3VycmVudFRhcmdldC5kYXRhc2V0LmlkfSZ0eXBlPSR7ZS5jdXJyZW50VGFyZ2V0LmRhdGFzZXQudHlwZX1gIH0pO1xyXG4gIH0sXHJcbn0pIl19
|