看板
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_u_search2 = common_vendor.resolveComponent("u-search");
|
||||
const _easycom_u_sticky2 = common_vendor.resolveComponent("u-sticky");
|
||||
(_easycom_u_search2 + _easycom_u_sticky2)();
|
||||
}
|
||||
const _easycom_u_search = () => "../../uni_modules/uview-pro/components/u-search/u-search.js";
|
||||
const _easycom_u_sticky = () => "../../uni_modules/uview-pro/components/u-sticky/u-sticky.js";
|
||||
if (!Math) {
|
||||
(_easycom_u_search + _easycom_u_sticky + ListCol)();
|
||||
}
|
||||
const ListCol = () => "../../components/ListCol.js";
|
||||
const _sfc_main = {
|
||||
__name: "project",
|
||||
setup(__props) {
|
||||
const keyword = common_vendor.ref("");
|
||||
const column = common_vendor.ref([{
|
||||
name: "单位名称",
|
||||
value: "unitName",
|
||||
type: "string"
|
||||
}, {
|
||||
name: "在建项目数",
|
||||
value: "inProject",
|
||||
type: "string"
|
||||
}, {
|
||||
name: "停工项目数",
|
||||
value: "stopProject",
|
||||
type: "string"
|
||||
}]);
|
||||
const list = common_vendor.ref([{
|
||||
unitName: "天辰",
|
||||
inProject: 20,
|
||||
stopProject: 5
|
||||
}, {
|
||||
unitName: "赛鼎",
|
||||
inProject: 20,
|
||||
stopProject: 5
|
||||
}]);
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(($event) => keyword.value = $event, "ca"),
|
||||
b: common_vendor.p({
|
||||
placeholder: "请输入单位名称",
|
||||
["show-action"]: false,
|
||||
modelValue: keyword.value
|
||||
}),
|
||||
c: common_vendor.f(list.value, (item, idx, i0) => {
|
||||
return {
|
||||
a: "5018c5aa-2-" + i0,
|
||||
b: common_vendor.p({
|
||||
data: item,
|
||||
column: column.value,
|
||||
["label-width"]: "160"
|
||||
})
|
||||
};
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
wx.createPage(_sfc_main);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/penetrate/project.js.map
|
||||
Reference in New Issue
Block a user