Commit 172f19b0 authored by 14699's avatar 14699

'fix-上线调整'

parent aaadad10
......@@ -2,7 +2,7 @@ NODE_ENV='production'
VITE_LOCAL='false'
VITE_DEBUG='false'
VITE_HTTP_HEADER={}
VITE_HTTP_BASE_URL='http://139.196.201.22:8080/leaf_dev'
VITE_HTTP_BASE_URL='https://kflc.komatsu-fl.com.cn/xszl_prod'
VITE_HTTP_NOAUTH_BASE_URL=''
VITE_Alipay='https://api-mop.chinaums.com/v1/netpay/trade/h5-pay'
VITE_Wechat='https://api-mop.chinaums.com/v1/netpay/wxpay/h5-pay'
......
......@@ -72,7 +72,7 @@ npm run preview 本地预览打包完的文件
3. 模块包打包成 zip
4. [海马汇地址](http://handapptest.komatsu-fl.com.cn/submenu/banner) admin/Admin@123!
4. [海马汇测试地址](http://handapptest.komatsu-fl.com.cn:8080/oauth/login) admin/Admin@123!
- 这上方网址下搜索功能 "子应用管理",找到对应的模块,新建版本,提交 zip包 ,点击确认退出
......
......@@ -14,10 +14,10 @@
<meta name="viewport"
content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,viewport-fit=cover">
<title>Vite App</title>
<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
<!-- <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>-->
<script>
// VConsole will be exported to `window.VConsole` by default.
var vConsole = new window.VConsole();
// var vConsole = new window.VConsole();
</script>
</head>
......@@ -26,4 +26,4 @@
<script type="module" src="/src/main.js"></script>
</body>
</html>
\ No newline at end of file
</html>
......@@ -4,13 +4,13 @@ import App from './App.vue'
import router from './router'
import moment from 'moment'
import { Notify, Toast, Dialog } from 'vant';
// import VConsole from 'vconsole'
import VConsole from 'vconsole'
moment.locale('zh-cn')
// if (import.meta.env.VITE_DEBUG === "true") {
// const vConsole = new VConsole();
// }
if (import.meta.env.VITE_DEBUG === "true") {
const vConsole = new VConsole();
}
const app = createApp(App)
app.use(createPinia())
......
......@@ -178,11 +178,11 @@ const payMoney = () => {
payType: checked.value,
cashflowId: props.payInfoObj.cashflowId
}
// if(checked.value == 'WECHAT_PAY'){
// Toast.fail('微信支付当前暂不支持!')
// } else {
if(checked.value == 'WECHAT_PAY'){
Toast.fail('微信支付当前暂不支持!')
} else {
goPayApp(info)
// }
}
}
};
......
......@@ -72,8 +72,9 @@ const route = useRoute()
const router = useRouter();
const handleClick = (item) => {
showModal.value = true
payInfo = {cashflowId:item.cashflowId,payAmount:item.obligation,cfItem:item.cfItem}
Toast.fail('当前暂不支持进行APP支付!')
// showModal.value = true
// payInfo = {cashflowId:item.cashflowId,payAmount:item.obligation,cfItem:item.cfItem}
}
const handleColse = (param) => {
......
......@@ -21,7 +21,7 @@
const page = $ref(null)
const pdfRef = $ref('')
let pageCount = $ref(1)
let pdfSource = $ref('https://kflc.komatsu-fl.com.cn/appFile/agreement/kflc_payment_protocol.pdf')
let pdfSource = $ref('https://kflc.komatsu-fl.com.cn/appFile/agreement/kflc-payment-protocol.pdf')
watchEffect(() => {
if (isLoading) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment