From e0754a4e7ae458c6b8fe03fa073f063a657da240 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 15 七月 2025 16:51:56 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
admin/src/views/business/orderSet.vue | 186 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 186 insertions(+), 0 deletions(-)
diff --git a/admin/src/views/business/orderSet.vue b/admin/src/views/business/orderSet.vue
new file mode 100644
index 0000000..7f04bf9
--- /dev/null
+++ b/admin/src/views/business/orderSet.vue
@@ -0,0 +1,186 @@
+<template>
+ <div class="box" style="max-height:calc(100% - 60px);margin-bottom:50px;overflow-y: auto" >
+ <el-form :model="form" ref="form" label-width="140px">
+ <div style="margin: 0px 0 50px 0">
+ <span style="font-size: 15px; font-weight: bold">銆�1銆戝彂鍗曟柟鍙栨秷璁㈠崟閰嶇疆</span>
+ </div>
+ <el-form-item label="" label-width="10px" prop="address">
+ 鎺ュ崟鍚庯紝璺濈浠诲姟寮�濮嬪墠
+ <el-input
+ style="width: 100px;margin: 0px 20px"
+ type="number"
+ v-model="form.address"
+ placeholder="璇疯緭鍏�"
+ v-trim
+ />灏忔椂锛屼笉鍙彇娑�
+ </el-form-item>
+ <el-form-item label="" label-width="10px" prop="address">
+ 姣忔棩鍙富鍔ㄥ彇娑�
+ <el-input
+ style="width: 100px;margin: 0px 20px"
+ type="number"
+ v-model="form.address"
+ placeholder="璇疯緭鍏�"
+ v-trim
+ />娆�<span style="font-size: 12px;color: #8c939d">锛堟敞锛氳鍗曟帴鍗曞悗鍙彇娑堟椂闂磋寖鍥村唴锛�</span>
+ </el-form-item>
+ <div style="margin:20px 0 50px 0">
+ <span style="font-size: 15px; font-weight: bold">銆�2銆戞帴鍗曟柟鍙栨秷璁㈠崟閰嶇疆锛�</span>
+ </div>
+ <el-form-item label="" label-width="10px" prop="address">
+ 鎺ュ崟鍚庯紝璺濈浠诲姟寮�濮嬪墠
+ <el-input
+ style="width: 100px;margin: 0px 20px"
+ type="number"
+ v-model="form.address"
+ placeholder="璇疯緭鍏�"
+ v-trim
+ />灏忔椂锛屼笉鍙彇娑�
+ </el-form-item>
+ <el-form-item label="" label-width="10px" prop="address">
+ 姣忔棩鍙富鍔ㄥ彇娑�
+ <el-input
+ style="width: 100px;margin: 0px 20px"
+ type="number"
+ v-model="form.address"
+ placeholder="璇疯緭鍏�"
+ v-trim
+ />娆�<span style="font-size: 12px;color: #8c939d">锛堟敞锛氳鍗曟帴鍗曞悗鍙彇娑堟椂闂磋寖鍥村唴锛�</span>
+ <div style="margin:20px 0 50px 0">
+ <span style="font-size: 15px; font-weight: bold">銆�3銆戣嚜鍔ㄦ淳鍗曪細</span>
+ </div>
+ <el-form-item label="" label-width="10px" prop="address">
+ <el-input
+ style="width: 100px;margin: 0px 20px"
+ type="number"
+ v-model="form.address"
+ placeholder="璇疯緭鍏�"
+ v-trim
+ />鍒嗛挓鏃犱汉鎺ュ崟锛岀郴缁熻嚜鍔ㄦ淳鍗�
+ </el-form-item>
+ <div style="margin:20px 0 50px 0">
+ <span style="font-size: 15px; font-weight: bold">銆�4銆戞淳鍗曡寖鍥达細</span>
+ </div>
+ <el-form-item label="" label-width="10px" prop="address">
+ 璺濈鐢ㄥ伐鍦扮偣<el-input
+ style="width: 100px;margin: 0px 20px"
+ type="number"
+ v-model="form.address"
+ placeholder="璇疯緭鍏�"
+ v-trim
+ />km鑼冨洿鍐咃紝杩涜娲惧崟
+ </el-form-item>
+ <div style="margin:20px 0 50px 0">
+ <span style="font-size: 15px; font-weight: bold">銆�5銆戣鍗曚慨锛�</span>
+ </div>
+ <el-form-item label="" label-width="10px" prop="address">
+ 璁㈠崟淇敼鍚庯紝鎺ュ崟鏂�<el-input
+ style="width: 100px;margin: 0px 20px"
+ type="number"
+ v-model="form.address"
+ placeholder="璇疯緭鍏�"
+ v-trim
+ />鍒嗛挓鍚庢湭纭锛岀郴缁熻嚜鍔ㄥ悓鎰�
+ </el-form-item>
+ <el-form-item style="margin-top: 100px;width: 100%;text-align: center">
+ <el-button type="primary" style="width: 300px" :loading="working" @click="submit">淇濆瓨閰嶇疆椤�</el-button>
+ </el-form-item>
+ </el-form>
+ </div>
+</template>
+
+<script>
+import { getPlatformConfig, updPlatformConfig } from '@/api/system/dictData'
+export default {
+ name: '',
+ components: { },
+ data () {
+ return {
+ uploadData: {
+ folder: ''
+ },
+ isUploading: false,
+ working: false,
+ form: {
+ address: null,
+ footImgUrl: 0,
+ footFullImgUrl: 0,
+ footImgUrl2: 0,
+ footFullImgUrl2: 0,
+ footWords: 0,
+ linkMobile: 0,
+ linkPhone: 0,
+ serverTime: '',
+ qyemail: ''
+ }
+ }
+ },
+
+ created () {
+ this.getData()
+ },
+
+ methods: {
+ getData () {
+ getPlatformConfig({})
+ .then(res => {
+ if (res) {
+ this.form.address = res.address
+ this.form.footImgUrl = res.footImgUrl
+ this.form.footFullImgUrl = res.footFullImgUrl
+ this.form.footImgUrl2 = res.footImgUrl2
+ this.form.footFullImgUrl2 = res.footFullImgUrl2
+ this.form.footWords = res.footWords
+ this.form.linkMobile = res.linkMobile
+ this.form.linkPhone = res.linkPhone
+ this.form.qyemail = res.qyemail
+ this.form.serverTime = res.serverTime
+ this.form.solveScheme = res.solveScheme || [{ name: '', address: '' }]
+ this.form.wisdomSystem = res.wisdomSystem || [{ name: '', address: '' }]
+ this.form.honors = res.honors || [{ name: '', address: '' }]
+ this.form.yqlinks = res.yqlinks || [{ name: '', address: '' }]
+ }
+ })
+ },
+ submit () {
+ console.log(this.form)
+ this.$refs.form.validate((valid) => {
+ if (!valid) {
+ return
+ }
+ // 璋冪敤鏂板缓鎺ュ彛
+ this.isWorking = true
+ updPlatformConfig(this.form).then(res => {
+ this.$message.success('淇濆瓨鎴愬姛')
+ this.getData()
+ })
+ .catch(e => {
+ this.$tip.apiFailed(e)
+ })
+ .finally(() => {
+ this.isWorking = false
+ })
+ })
+ }
+ }
+}
+</script>
+<style lang="scss" scoped>
+.el-container /deep/ .el-main{
+ width: 100%;
+ overflow-y: auto !important ;
+ height: calc(100% - 94px);
+}
+/deep/ .el-main{
+ width: 100%;
+ //height: 100%;
+ overflow-y: auto !important ;
+ height: calc(100% - 94px);
+}
+.box {
+ width: 100%;
+ padding: 30px;
+ box-sizing: border-box;
+ background: #ffffff;
+}
+</style>
--
Gitblit v1.9.3