feat: 提交创建服务工单组件封装
This commit is contained in:
33
unpackage/dist/dev/mp-weixin/components/create-service-order/index.js
vendored
Normal file
33
unpackage/dist/dev/mp-weixin/components/create-service-order/index.js
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
__name: "index",
|
||||
setup(__props) {
|
||||
const contactName = common_vendor.ref("");
|
||||
const contactPhone = common_vendor.ref("");
|
||||
const handleCall = () => {
|
||||
common_vendor.index.__f__("log", "at components/create-service-order/index.vue:59", "Calling with:", contactName.value, contactPhone.value);
|
||||
};
|
||||
const makePhoneCall = () => {
|
||||
common_vendor.index.makePhoneCall({
|
||||
phoneNumber: "15185111210"
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_assets._imports_0$6,
|
||||
b: contactName.value,
|
||||
c: common_vendor.o(($event) => contactName.value = $event.detail.value),
|
||||
d: contactPhone.value,
|
||||
e: common_vendor.o(($event) => contactPhone.value = $event.detail.value),
|
||||
f: common_vendor.o(handleCall),
|
||||
g: common_assets._imports_1$3,
|
||||
h: common_vendor.o(makePhoneCall)
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-a90069d4"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/create-service-order/index.js.map
|
||||
Reference in New Issue
Block a user