基本功能都已完成
This commit is contained in:
@@ -1,79 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_datetime_picker2 = common_vendor.resolveComponent("up-datetime-picker");
|
||||
const _easycom_up_input2 = common_vendor.resolveComponent("up-input");
|
||||
(_easycom_up_datetime_picker2 + _easycom_up_input2)();
|
||||
}
|
||||
const _easycom_up_datetime_picker = () => "../../uni_modules/uview-plus/components/u-datetime-picker/u-datetime-picker.js";
|
||||
const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_datetime_picker + _easycom_up_input)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "Inspectionwarning",
|
||||
setup(__props) {
|
||||
const activeIndex = common_vendor.ref(0);
|
||||
const warningList = common_vendor.ref([
|
||||
{
|
||||
id: 1,
|
||||
name: "全部状态80"
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: "逾期未检16"
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: "严重逾期50"
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
name: "期限内待检4"
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
name: "逾期已完成8"
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
name: "按期已完成2"
|
||||
}
|
||||
]);
|
||||
const switchTab = (index) => {
|
||||
activeIndex.value = index;
|
||||
};
|
||||
const value1 = common_vendor.ref(Date.now());
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.f(warningList.value, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.name),
|
||||
b: activeIndex.value === index ? 1 : "",
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => switchTab(index), index)
|
||||
};
|
||||
}),
|
||||
b: common_vendor.o(($event) => value1.value = $event),
|
||||
c: common_vendor.p({
|
||||
hasInput: true,
|
||||
show: _ctx.show,
|
||||
mode: "date",
|
||||
modelValue: value1.value
|
||||
}),
|
||||
d: common_vendor.o(($event) => value1.value = $event),
|
||||
e: common_vendor.p({
|
||||
hasInput: true,
|
||||
show: _ctx.show,
|
||||
mode: "date",
|
||||
modelValue: value1.value
|
||||
}),
|
||||
f: common_vendor.p({
|
||||
placeholder: "请输入公司名称"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-00b99536"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
Reference in New Issue
Block a user