aI问答支持流式输出,效果非常好
This commit is contained in:
@@ -103,26 +103,26 @@ if (!Math) {
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.o(($event) => $data.deviceBindForm.deviceCode = $event),
|
||||
a: common_vendor.o(($event) => $data.deviceBindForm.deviceCode = $event, "1b"),
|
||||
b: common_vendor.p({
|
||||
placeholder: "请输入设备编号",
|
||||
modelValue: $data.deviceBindForm.deviceCode
|
||||
}),
|
||||
c: common_vendor.o(($event) => $data.deviceBindForm.salesPhone = $event),
|
||||
c: common_vendor.o(($event) => $data.deviceBindForm.salesPhone = $event, "73"),
|
||||
d: common_vendor.p({
|
||||
placeholder: "请输入销售电话",
|
||||
type: "number",
|
||||
modelValue: $data.deviceBindForm.salesPhone
|
||||
}),
|
||||
e: common_vendor.o(($event) => $data.deviceBindForm.dealershipName = $event),
|
||||
e: common_vendor.o(($event) => $data.deviceBindForm.dealershipName = $event, "e7"),
|
||||
f: common_vendor.p({
|
||||
placeholder: "请输入所属门店",
|
||||
modelValue: $data.deviceBindForm.dealershipName
|
||||
}),
|
||||
g: common_vendor.o((...args) => $options.closeDeviceBindDialog && $options.closeDeviceBindDialog(...args)),
|
||||
g: common_vendor.o((...args) => $options.closeDeviceBindDialog && $options.closeDeviceBindDialog(...args), "f1"),
|
||||
h: common_vendor.t($data.deviceBindSubmitting ? "提交中..." : "提交"),
|
||||
i: $data.deviceBindSubmitting,
|
||||
j: common_vendor.o((...args) => $options.submitDeviceBind && $options.submitDeviceBind(...args)),
|
||||
j: common_vendor.o((...args) => $options.submitDeviceBind && $options.submitDeviceBind(...args), "03"),
|
||||
k: common_vendor.sr("deviceBindPopup", "e2e14e8e-0"),
|
||||
l: common_vendor.p({
|
||||
type: "dialog"
|
||||
|
||||
@@ -196,7 +196,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
size: "20",
|
||||
color: "#666"
|
||||
}),
|
||||
b: common_vendor.o((...args) => $options.close && $options.close(...args)),
|
||||
b: common_vendor.o((...args) => $options.close && $options.close(...args), "23"),
|
||||
c: common_vendor.t($options.filteredDeviceList.length),
|
||||
d: common_vendor.t($data.statusOptions[$data.statusIndex]),
|
||||
e: common_vendor.p({
|
||||
@@ -206,19 +206,19 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}),
|
||||
f: $data.statusOptions,
|
||||
g: $data.statusIndex,
|
||||
h: common_vendor.o((...args) => $options.onStatusChange && $options.onStatusChange(...args)),
|
||||
i: common_vendor.o((...args) => $options.onSearch && $options.onSearch(...args)),
|
||||
h: common_vendor.o((...args) => $options.onStatusChange && $options.onStatusChange(...args), "45"),
|
||||
i: common_vendor.o((...args) => $options.onSearch && $options.onSearch(...args), "f4"),
|
||||
j: $data.queryDeviceCode,
|
||||
k: common_vendor.o(($event) => $data.queryDeviceCode = $event.detail.value),
|
||||
l: common_vendor.o((...args) => $options.onSearch && $options.onSearch(...args)),
|
||||
k: common_vendor.o(($event) => $data.queryDeviceCode = $event.detail.value, "d5"),
|
||||
l: common_vendor.o((...args) => $options.onSearch && $options.onSearch(...args), "32"),
|
||||
m: $data.queryPhone,
|
||||
n: common_vendor.o(($event) => $data.queryPhone = $event.detail.value),
|
||||
n: common_vendor.o(($event) => $data.queryPhone = $event.detail.value, "80"),
|
||||
o: common_vendor.p({
|
||||
type: "refresh",
|
||||
size: "18",
|
||||
color: "#2A68FF"
|
||||
}),
|
||||
p: common_vendor.o((...args) => $options.onRefresh && $options.onRefresh(...args)),
|
||||
p: common_vendor.o((...args) => $options.onRefresh && $options.onRefresh(...args), "c1"),
|
||||
q: common_vendor.f($options.filteredDeviceList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.deviceCode || "未填写设备编号"),
|
||||
@@ -238,7 +238,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
}, $data.loading ? {} : $data.noMore ? {} : {}, {
|
||||
v: $data.noMore
|
||||
}) : {}, {
|
||||
w: common_vendor.o((...args) => $options.onScrollToLower && $options.onScrollToLower(...args)),
|
||||
w: common_vendor.o((...args) => $options.onScrollToLower && $options.onScrollToLower(...args), "36"),
|
||||
x: common_vendor.sr("deviceListPopup", "9bcf4750-0"),
|
||||
y: common_vendor.p({
|
||||
type: "bottom",
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_store = require("../../common/store.js");
|
||||
const common_request = require("../../common/request.js");
|
||||
const db = common_vendor.tr.database();
|
||||
common_vendor.tr.importObject("uni-id-co", {
|
||||
const db = common_vendor._r.database();
|
||||
common_vendor._r.importObject("uni-id-co", {
|
||||
customUI: true
|
||||
});
|
||||
const DeviceBindPopup = () => "./components/DeviceBindPopup.js";
|
||||
@@ -212,7 +212,7 @@ const _sfc_main = {
|
||||
if (!item.to && item.event) {
|
||||
this[item.event]();
|
||||
} else if (item.to) {
|
||||
const tabBarPages = ["/pages/furniture_reception/furniture_reception", "/pages/furniture_customer/furniture_customer", "/pages/furniture_top_sales/furniture_top_sales", "/pages/ucenter/ucenter"];
|
||||
const tabBarPages = ["/pages/furniture_reception/furniture_reception", "/pages/furniture_customer/furniture_customer", "/pages/ai_qa/ai_qa", "/pages/ai_analysis/ai_analysis", "/pages/ucenter/ucenter"];
|
||||
if (tabBarPages.includes(item.to)) {
|
||||
common_vendor.index.switchTab({
|
||||
url: item.to
|
||||
@@ -490,7 +490,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
} : {
|
||||
g: common_vendor.t(_ctx.$t("mine.notLogged"))
|
||||
}, {
|
||||
h: common_vendor.o((...args) => $options.toUserInfo && $options.toUserInfo(...args)),
|
||||
h: common_vendor.o((...args) => $options.toUserInfo && $options.toUserInfo(...args), "89"),
|
||||
i: $options.hasLogin
|
||||
}, $options.hasLogin ? common_vendor.e({
|
||||
j: common_vendor.t($data.tenantId || "未设置"),
|
||||
@@ -563,30 +563,30 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
};
|
||||
}),
|
||||
s: common_vendor.sr("deviceBindPopup", "b6546e32-8"),
|
||||
t: common_vendor.o($options.onDeviceBindSuccess),
|
||||
t: common_vendor.o($options.onDeviceBindSuccess, "a5"),
|
||||
v: common_vendor.sr("deviceListPopup", "b6546e32-9"),
|
||||
w: common_vendor.o(($event) => $data.changePwdForm.oldPassword = $event),
|
||||
w: common_vendor.o(($event) => $data.changePwdForm.oldPassword = $event, "5e"),
|
||||
x: common_vendor.p({
|
||||
type: "password",
|
||||
placeholder: "请输入原始密码",
|
||||
modelValue: $data.changePwdForm.oldPassword
|
||||
}),
|
||||
y: common_vendor.o(($event) => $data.changePwdForm.newPassword = $event),
|
||||
y: common_vendor.o(($event) => $data.changePwdForm.newPassword = $event, "a1"),
|
||||
z: common_vendor.p({
|
||||
type: "password",
|
||||
placeholder: "请输入新密码(6-20位)",
|
||||
modelValue: $data.changePwdForm.newPassword
|
||||
}),
|
||||
A: common_vendor.o(($event) => $data.changePwdForm.confirmPassword = $event),
|
||||
A: common_vendor.o(($event) => $data.changePwdForm.confirmPassword = $event, "06"),
|
||||
B: common_vendor.p({
|
||||
type: "password",
|
||||
placeholder: "请再次输入新密码",
|
||||
modelValue: $data.changePwdForm.confirmPassword
|
||||
}),
|
||||
C: common_vendor.o((...args) => $options.closeChangePasswordDialog && $options.closeChangePasswordDialog(...args)),
|
||||
C: common_vendor.o((...args) => $options.closeChangePasswordDialog && $options.closeChangePasswordDialog(...args), "b4"),
|
||||
D: common_vendor.t($data.changePwdSubmitting ? "提交中..." : "提交"),
|
||||
E: $data.changePwdSubmitting,
|
||||
F: common_vendor.o((...args) => $options.submitChangePassword && $options.submitChangePassword(...args)),
|
||||
F: common_vendor.o((...args) => $options.submitChangePassword && $options.submitChangePassword(...args), "16"),
|
||||
G: common_vendor.sr("changePwdPopup", "b6546e32-10"),
|
||||
H: common_vendor.p({
|
||||
type: "dialog"
|
||||
|
||||
Reference in New Issue
Block a user