|
@@ -73,6 +73,9 @@
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<u-modal ref="uModal" :show="show" :title="title" :content="content" @confirm="confirm"></u-modal>
|
|
<u-modal ref="uModal" :show="show" :title="title" :content="content" @confirm="confirm"></u-modal>
|
|
|
|
+
|
|
|
|
+ <!-- 巡检完成提示 -->
|
|
|
|
+ <oa-ttsAudio v-if="audioUrl" :audioUrl="audioUrl" :audioBool="true"></oa-ttsAudio>
|
|
</scroll-view>
|
|
</scroll-view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -80,12 +83,10 @@
|
|
import { onLoad, onShow } from "@dcloudio/uni-app";
|
|
import { onLoad, onShow } from "@dcloudio/uni-app";
|
|
import { ref, onMounted, reactive, computed, getCurrentInstance, toRefs, inject, shallowRef } from "vue";
|
|
import { ref, onMounted, reactive, computed, getCurrentInstance, toRefs, inject, shallowRef } from "vue";
|
|
import { useStores, commonStores, xunJianStores } from "@/store/modules/index";
|
|
import { useStores, commonStores, xunJianStores } from "@/store/modules/index";
|
|
-
|
|
|
|
import { updatePlan } from "@/api/business/mhxf/xunJian/plan.js";
|
|
import { updatePlan } from "@/api/business/mhxf/xunJian/plan.js";
|
|
|
|
|
|
const BASE_URL = inject("$BASE_URL");
|
|
const BASE_URL = inject("$BASE_URL");
|
|
const xunJianStore = xunJianStores(); //全局变量值Store
|
|
const xunJianStore = xunJianStores(); //全局变量值Store
|
|
-
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
const { proxy } = getCurrentInstance();
|
|
|
|
|
|
const contentList = ref([]);
|
|
const contentList = ref([]);
|
|
@@ -108,7 +109,9 @@ function remarksClick(index) {
|
|
const show = ref(false);
|
|
const show = ref(false);
|
|
const title = ref("");
|
|
const title = ref("");
|
|
const content = ref("");
|
|
const content = ref("");
|
|
|
|
+const audioUrl = ref("");
|
|
function confirm() {
|
|
function confirm() {
|
|
|
|
+ audioUrl.value = "/static/mp3/XJWC.mp3";
|
|
show.value = false;
|
|
show.value = false;
|
|
uni.$emit("planSelect"); //执行页面中的自定义方法
|
|
uni.$emit("planSelect"); //执行页面中的自定义方法
|
|
uni.navigateBack({
|
|
uni.navigateBack({
|