第一次提交
This commit is contained in:
@@ -96,10 +96,10 @@ var components
|
||||
try {
|
||||
components = {
|
||||
uniEasyinput: function() {
|
||||
return __webpack_require__.e(/*! import() | uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput */ "uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue */ 475))
|
||||
return __webpack_require__.e(/*! import() | uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput */ "uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue */ 528))
|
||||
},
|
||||
uniIcons: function() {
|
||||
return Promise.all(/*! import() | uni_modules/uni-icons/components/uni-icons/uni-icons */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-icons/components/uni-icons/uni-icons.vue */ 395))
|
||||
return Promise.all(/*! import() | uni_modules/uni-icons/components/uni-icons/uni-icons */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-icons/components/uni-icons/uni-icons.vue */ 448))
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
@@ -123,6 +123,14 @@ var render = function() {
|
||||
var _vm = this
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
var m0 = _vm.typeBackground(_vm.seledata.auditMark)
|
||||
var m1 = _vm.typeColor(_vm.seledata.auditMark)
|
||||
var m2 = _vm.typeColor(_vm.seledata.auditMark)
|
||||
|
||||
var f0 = _vm._f("typeText")(_vm.seledata.auditMark)
|
||||
|
||||
var g0 = Number(_vm.seledata.disAmount).toFixed(2)
|
||||
|
||||
if (!_vm._isMounted) {
|
||||
_vm.e0 = function($event) {
|
||||
_vm.ejectOpen = false
|
||||
@@ -140,6 +148,19 @@ var render = function() {
|
||||
_vm.seleindex = index
|
||||
}
|
||||
}
|
||||
|
||||
_vm.$mp.data = Object.assign(
|
||||
{},
|
||||
{
|
||||
$root: {
|
||||
m0: m0,
|
||||
m1: m1,
|
||||
m2: m2,
|
||||
f0: f0,
|
||||
g0: g0
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
var recyclableRender = false
|
||||
var staticRenderFns = []
|
||||
@@ -285,6 +306,45 @@ __webpack_require__.r(__webpack_exports__);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -438,7 +498,46 @@ var _oilDistribution = _interopRequireDefault(__webpack_require__(/*! @/api/oilD
|
||||
//
|
||||
//
|
||||
//
|
||||
var topBar = function topBar() {__webpack_require__.e(/*! require.ensure | components/topbar */ "components/topbar").then((function () {return resolve(__webpack_require__(/*! @/components/topbar */ 381));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var popup = function popup() {__webpack_require__.e(/*! require.ensure | components/customPopup */ "components/customPopup").then((function () {return resolve(__webpack_require__(/*! @/components/customPopup */ 388));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default = { components: { topBar: topBar, popup: popup }, data: function data() {return { animationData: null, seledata: {}, seachValue: '', butten: { colse: '不通过', confirm: '通过', coloseBg: '#EC4645', coloseColor: '#FFFFFF', confirmBg: '', confirmColor: '' }, iShow: { examine: false }, companyName: '', ejectOpen: false, letfText: '企业', candidate: ['企业', '个人'], getData: { pageSize: 15, currentPage: 1, params: { disType: '', companyName: '', nickName: '', auditMark: 2 }, sorted: { createTime: "desc" }, columns: [], totalCount: 1, totalPage: 1 }, styles: {}, seleindex: 0, navigation: [{ text: '全部', index: '' }, { text: '分油', index: 1 }, { text: '圈回', index: -1 }], listData: [] };}, onPullDownRefresh: function onPullDownRefresh() {//下拉的生命周期
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var topBar = function topBar() {__webpack_require__.e(/*! require.ensure | components/topbar */ "components/topbar").then((function () {return resolve(__webpack_require__(/*! @/components/topbar */ 434));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var popup = function popup() {__webpack_require__.e(/*! require.ensure | components/customPopup */ "components/customPopup").then((function () {return resolve(__webpack_require__(/*! @/components/customPopup */ 441));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default = { components: { topBar: topBar, popup: popup }, data: function data() {return { showPopup: { img: false, footer: false }, animationData: null, seledata: {}, seachValue: '', butten: { colse: '不通过', confirm: '通过', coloseBg: '#EC4645', coloseColor: '#FFFFFF', confirmBg: '', confirmColor: '' }, iShow: { examine: false }, companyName: '', ejectOpen: false, letfText: '企业', candidate: ['企业', '个人'], getData: { pageSize: 15, currentPage: 1, params: { disType: '', companyName: '', nickName: '', auditMark: 2 }, sorted: { createTime: "desc" }, columns: [], totalCount: 1, totalPage: 1 }, styles: {}, seleindex: 0, navigation: [{ text: '全部', index: '' }, { text: '分油', index: 1 }, { text: '圈回', index: -1 }], listData: [] };}, onPullDownRefresh: function onPullDownRefresh() {//下拉的生命周期
|
||||
this.getData.currentPage = 1;this.getList();console.log('下拉的生命周期');}, onLoad: function onLoad() {var that = this;this.styles = uni.getMenuButtonBoundingClientRect();uni.$on('company', function (e) {var routes = getCurrentPages();var routerIndex = routes[routes.length - 2].$page.fullPath.indexOf('?') != -1 ? routes[routes.length - 2].$page.fullPath.split('?')[0].split('/')[routes[routes.length - 2].$page.fullPath.split('?')[0].split('/').length - 1] : routes[routes.length - 2].$page.fullPath.split('/')[routes[routes.length - 2].$page.fullPath.split('/').length - 1];console.log(routes, routerIndex, '获取当前打开过的页面路由数组'); // if (routerIndex !== 'index') return
|
||||
// if (e) {
|
||||
// ({
|
||||
@@ -450,7 +549,11 @@ var topBar = function topBar() {__webpack_require__.e(/*! require.ensure | compo
|
||||
// that.getData.params.companyId = ''
|
||||
// that.companyName = ''
|
||||
// }
|
||||
});}, onShow: function onShow() {this.getList();}, methods: { animationFns: function animationFns() {console.log('恢复动画');var animation = uni.createAnimation({ duration: 0, timingFunction: 'ease' });this.animation = animation;this.animation.rotate(0).step();this.animationData = this.animation.export();}, rotateFn: function rotateFn() {var _this = this;var animation = uni.createAnimation({ duration: 1000, timingFunction: 'ease' });this.animation = animation;this.animation.rotate(360).step();this.animationData = this.animation.export();setTimeout(function () {_this.animationFns();}, 1000);}, confirmFn: function confirmFn() {var _this2 = this;var data = { id: this.seledata.id, auditMark: 1, auditSource: 'OMS-MINIAPP' };_oilDistribution.default.auditOms(data).then(function (res) {if (res.code !== 20000) return;uni.showToast({ title: '审核成功', icon: 'none' });_this2.iShow.examine = false;_this2.seledata.auditMark = 1;});console.log('确定回掉');}, closeFn: function closeFn() {var _this3 = this;var data = { id: this.seledata.id, auditMark: -1, auditSource: 'OMS-MINIAPP' };_oilDistribution.default.auditOms(data).then(function (res) {if (res.code !== 20000) return;uni.showToast({ title: '审核成功',
|
||||
});}, onShow: function onShow() {this.getList();}, filters: { typeText: function typeText(e) {switch (Number(e)) {case 0:return '等待审核';case 1:return '审核通过';case -1:return '审核失败';default:return '---';}} }, methods: { typeColor: function typeColor(e) {console.log(e, '-----');switch (Number(e)) {case 0:return '#E8CD30';case 1:return '#17A00E';case -1:return '#EC4545';default:return '';}}, typeBackground: function typeBackground(e) {switch (Number(e)) {case 0:return '#E8CD3026';case 1:return '#17A00E26';case -1:return '#EC454526';default:return '';}}, animationFns: function animationFns() {console.log('恢复动画');var animation = uni.createAnimation({ duration: 0, timingFunction: 'ease' });this.animation = animation;this.animation.rotate(0).step();this.animationData = this.animation.export();}, rotateFn: function rotateFn() {var _this = this;var animation = uni.createAnimation({ duration: 1000, timingFunction: 'ease' });this.animation = animation;this.animation.rotate(360).step();this.animationData = this.animation.export();setTimeout(function () {_this.animationFns();}, 1000);}, confirmFn: function confirmFn() {var _this2 = this;var data = { id: this.seledata.id, auditMark: 1, auditSource: 'OMS-MINIAPP' };_oilDistribution.default.auditOms(data).then(function (res) {if (res.code !== 20000) return;uni.showToast({ title: '审核成功', icon: 'none' });_this2.iShow.examine = false;_this2.seledata.auditMark = 1;});console.log('确定回掉');}, closeFn: function closeFn() {var _this3 = this;var data = { id: this.seledata.id, auditMark: -1, auditSource: 'OMS-MINIAPP' };
|
||||
_oilDistribution.default.auditOms(data).then(function (res) {
|
||||
if (res.code !== 20000) return;
|
||||
uni.showToast({
|
||||
title: '审核成功',
|
||||
icon: 'none' });
|
||||
|
||||
_this3.iShow.examine = false;
|
||||
@@ -505,9 +608,12 @@ var topBar = function topBar() {__webpack_require__.e(/*! require.ensure | compo
|
||||
|
||||
break;
|
||||
case 1:
|
||||
this.seledata = item;
|
||||
this.iShow.examine = true;
|
||||
if (item.auditMark == 0) {
|
||||
this.seledata = item;
|
||||
this.iShow.examine = true;
|
||||
this.showPopup.footer = true;
|
||||
} else {
|
||||
this.showPopup.footer = false;
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
|
||||
Reference in New Issue
Block a user