From a2610a420aa104c9c04790d88e8b8a608a5f49b4 Mon Sep 17 00:00:00 2001
From: zhangxp <zhangxp@chicecm.com>
Date: 星期五, 09 六月 2023 18:36:34 +0800
Subject: [PATCH] 模板流程

---
 Source/UBCS-WEB/src/api/integration/sysInfo.js       |    4 
 Source/UBCS-WEB/src/components/template/Business.vue |  206 ++++++++++++++++++
 Source/UBCS-WEB/src/components/template/FlowPath.vue |  229 ++++++++++++++++++++
 Source/UBCS-WEB/src/api/template/flowpath.js         |   26 ++
 Source/UBCS-WEB/src/views/flow/flowPath.vue          |  184 +---------------
 Source/UBCS-WEB/vue.config.js                        |    3 
 6 files changed, 477 insertions(+), 175 deletions(-)

diff --git a/Source/UBCS-WEB/src/api/integration/sysInfo.js b/Source/UBCS-WEB/src/api/integration/sysInfo.js
index 83449bc..562527d 100644
--- a/Source/UBCS-WEB/src/api/integration/sysInfo.js
+++ b/Source/UBCS-WEB/src/api/integration/sysInfo.js
@@ -16,7 +16,7 @@
     data: params
   })
 }
- // 闆嗘垚绯荤粺淇℃伅绠$悊鏂板
+ // 闆嗘垚绯荤粺淇℃伅绠$悊淇敼
  export const sysInfoEdit = (params) => {
     return request({
       url: '/api/ubcs-code/dockingManagement/editSave',
@@ -24,7 +24,7 @@
       data: params
     })
   }
-   // 闆嗘垚绯荤粺淇℃伅绠$悊鏂板
+   // 闆嗘垚绯荤粺淇℃伅绠$悊鍒犻櫎
 export const sysInfoDel = (params) => {
     return request({
       url: '/api/ubcs-code/dockingManagement/deleteDataById',
diff --git a/Source/UBCS-WEB/src/api/template/flowpath.js b/Source/UBCS-WEB/src/api/template/flowpath.js
new file mode 100644
index 0000000..dc276c5
--- /dev/null
+++ b/Source/UBCS-WEB/src/api/template/flowpath.js
@@ -0,0 +1,26 @@
+import request from '@/router/axios';
+
+// 妯℃澘娴佺▼鍒楄〃
+export const getFlowpathList = (params) => {
+    return request({
+      url: '/api/ubcs-flow/processTS/tlist',
+      method: 'get',
+      params: params
+    })
+  }
+  // 妯℃澘娴佺▼鑾峰彇閫夐」
+export const getStartList = () => {
+    return request({
+      url: '/api/ubcs-flow/work/start-list',
+      method: 'get',
+      params: {mode:'1',current:1,size:100}
+    })
+  }
+    // 妯℃澘娴佺▼鏂板
+export const flowpathSave = (params) => {
+    return request({
+      url: '/api/ubcs-flow/processTS/tsou',
+      method: 'post',
+      data: params
+    })
+  }
diff --git a/Source/UBCS-WEB/src/components/template/Business.vue b/Source/UBCS-WEB/src/components/template/Business.vue
new file mode 100644
index 0000000..10bdc9c
--- /dev/null
+++ b/Source/UBCS-WEB/src/components/template/Business.vue
@@ -0,0 +1,206 @@
+<template>
+    <el-dialog :title="`鎵ц${title}`" width="90%" append-to-body="true" :visible.sync="visible">
+        <div class="dialogwarp">
+            <div class="dialogwarp_tab">
+                <el-card class="dialogwarp_tab_card">
+                    <el-tabs v-model="activeName" @tab-click="handleClick">
+                        <el-tab-pane label="涓氬姟鏁版嵁淇℃伅" name="first">
+
+                        </el-tab-pane>
+                        <el-tab-pane label="娴佺▼璺熻釜" name="second">
+                            <avue-crud :data="data" :option="option" ref="crud">
+                            </avue-crud>
+                            <div style="padding: 10px 0; width: 100%; height: 100% ">
+                                <el-image :src="url" flt="fill"></el-image>
+                            </div>
+
+                        </el-tab-pane>
+                    </el-tabs>
+                </el-card>
+            </div>
+            <div class="dialogwarp_card">
+                <el-card class="box-card">
+                    <div slot="header" class="clearfix">
+                        <span>褰撳墠浠诲姟锛�</span>
+                        <span>{{ title }}</span>
+                    </div>
+                    <div style="width: 100%;">
+                        <p>璇峰湪涓嬫柟杈撳叆鎮ㄧ殑瀹℃壒鎰忚锛�</p>
+                        <el-input type="textarea" :rows="4" placeholder="璇疯緭鍏ュ唴瀹�" show-word-limit v-model="opinionVal">
+                        </el-input>
+                    </div>
+                    <div style="width: 100%;">
+                        <p>瀹℃壒鎰忚闄勪欢锛�</p>
+                        <el-upload drag action="https://jsonplaceholder.typicode.com/posts/" multiple style="width: 100%;">
+                            <i class="el-icon-upload"></i>
+                            <div class="el-upload__text">灏嗘枃浠舵嫋鍒版澶勶紝鎴�<em>鐐瑰嚮涓婁紶</em></div>
+                        </el-upload>
+                    </div>
+                    <div style="width: 100%;">
+                        <p>宸蹭笂浼犲鎵规枃浠讹細</p>
+                        <el-card class="box-card">
+                            <el-table :data="tableData" stripe style="width: 100%">
+                                <el-table-column prop="date" label="鏂囦欢鍚�">
+                                </el-table-column>
+                                <el-table-column prop="name" label="涓婁紶浜�  ">
+                                </el-table-column>
+                                <el-table-column prop="address" label="鎿嶄綔">
+                                </el-table-column>
+                            </el-table>
+                        </el-card>
+                    </div>
+                    <div style="margin-top: 20px;">
+                        <el-button v-if="!isRefuse" type="primary" size="mini" @click="handelAgree">鍚屾剰</el-button>
+                        <el-button v-if="!isAgree" type="primary" size="mini" @click="handelRefuse">涓嶅悓鎰�</el-button>
+                        <el-button v-if="isAgree && !isRefuse" type="primary" size="mini" @click="handelRevert"
+                            v-for="item in btnList" :key="item">{{ item }}</el-button>
+                        <el-button v-if="isRefuse" type="primary" size="mini" @click="handelExecute">鎵ц</el-button>
+                    </div>
+                </el-card>
+            </div>
+        </div>
+    </el-dialog>
+</template>
+<script>
+export default {
+    name:'FlowBusiness',
+    props: {
+        // 鏄惁鎵撳紑
+        visible: {
+            typeof: Boolean,
+            default: false
+        }
+    },
+    watch: {
+        visible(n) {
+            this.dialogVisible = n;
+        },
+        dialogVisible(n) {
+            this.$emit('update:visible', n)
+        },
+    },
+    data() {
+        return {
+            dialogVisible: this.visible,
+            destroyClose: true,
+            activeName: 'first',
+            fits: ['fill', 'contain', 'cover', 'none', 'scale-down'],
+            url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
+            title: '涓氬姟娴嬭瘯-鐢宠-鐗╁搧-瀹℃牳',
+            data: [
+                {
+                    name: '寮犱笁',
+                    sex: '鐢�'
+                }, {
+                    name: '鏉庡洓',
+                    sex: '濂�'
+                }, {
+                    name: '鏉庡洓',
+                    sex: '濂�'
+                }, {
+                    name: '鏉庡洓',
+                    sex: '濂�'
+                }
+            ],
+            btnList: ['杩斿洖1', '杩斿洖1', '杩斿洖1'],
+            isAgree: false,
+            isRefuse: false,
+            opinionVal: '',
+            option: {
+                menu: false,
+                addBtn: false,
+                refreshBtn: false,
+                columnBtn: false,
+                index: true,
+                header: false,
+                stripe: true,
+                indexLabelClassName: '搴忓彿',
+                column: [
+                    { label: '浠诲姟鍚嶇О', prop: 'name', minWidth: 120 },
+                    { label: '鎵ц鎿嶄綔', prop: 'sex', minWidth: 80 },
+                    { label: '浠诲姟寮�濮嬫椂闂�', prop: 'sex', minWidth: 140 },
+                    { label: '瀹℃壒鎰忚', prop: 'sex', minWidth: 220, overHidden: true },
+                    { label: '鎵ц浜�', prop: 'sex', minWidth: 80 },
+                    { label: '浠诲姟瀹屾垚鏃堕棿', prop: 'sex', minWidth: 140 },
+                    { label: '宸蹭笂浼犲鎵规枃浠�', prop: 'sex', minWidth: 220, overHidden: true },
+                ]
+            },
+        }
+    },
+    methods: {
+        closeDialog() {
+            this.destroyClose = true
+            this.outerVisible = false
+        },
+        handleClick(tab, event) {
+            console.log(event)
+        },
+        handelAgree() {
+            this.isAgree = !this.isAgree
+            this.outerVisible = false
+            console.log(this.isAgree)
+        },
+        handelRefuse() {
+            if (!this.opinionVal) {
+                this.$alert('褰撳鐞嗘柟寮忎负涓嶅悓鎰忔椂锛岄渶瑕佸~鍐欏鎵规剰瑙�', '鎻愮ず淇℃伅', {
+                    confirmButtonText: '纭畾',
+                }).then(() => {
+
+                });
+            } else {
+                this.isRefuse = true
+                this.isAgree = true
+                this.outerVisible = false
+                this.opinionVal = ''
+            }
+        },
+        handelExecute() {
+            this.outerVisible = false
+            this.isAgree = false
+            this.isRefuse = false
+        },
+        handelRevert() {
+            this.outerVisible = false
+            this.isAgree = false
+        }
+    }
+}
+</script>
+<style lang="scss" scoped>
+.dialogwarp {
+    display: -webkit-box;
+    display: -ms-flexbox;
+    display: flex;
+    justify-content: space-between;
+    height: 70vh;
+
+    &_tab {
+        width: 79%;
+
+
+        &_card {
+            width: 100%;
+            height: 100%;
+        }
+    }
+
+    &_card {
+        // margin-left: 20px;
+        width: 20%;
+    }
+}
+
+::v-deep(.el-upload) {
+    width: 100%;
+    height: 120px;
+}
+
+::v-deep(.el-upload-dragger) {
+    width: 100%;
+    height: 120px;
+}
+
+::v-deep(.el-upload-dragger .el-icon-upload) {
+    margin: 15px 0 16px;
+}
+</style>
\ No newline at end of file
diff --git a/Source/UBCS-WEB/src/components/template/FlowPath.vue b/Source/UBCS-WEB/src/components/template/FlowPath.vue
new file mode 100644
index 0000000..28885d6
--- /dev/null
+++ b/Source/UBCS-WEB/src/components/template/FlowPath.vue
@@ -0,0 +1,229 @@
+<template>
+    <el-dialog title="妯℃澘娴佺▼" width="90%" append-to-body="true" :visible.sync="dialogVisible">
+        <avue-crud ref="crud" :table-loading="loading" :data="data" v-model="form" :option="option" :page.sync="page"
+            :search.sync="search" @on-load="getDataList" @row-save="handleSave" @row-del="handleDelete"
+            @row-update="handleEdit" @refresh-change="handleRefresh" @size-change="handleSizePage"
+            @current-change="handleCurrentPage" @selection-change="selectionChange" @row-click="handleRowClick">
+            <template slot="menuLeft">
+                <el-button icon="el-icon-delete" size="small" type="danger" @click="handleDeleteByIds">鍒� 闄�
+                </el-button>
+            </template>
+            <template slot="search" slot-scope="{row,size}">
+                <el-input :placeholder="`璇疯緭鍏�${selectValue === 'id' ? '绯荤粺缂栧彿' : '绯荤粺鍚嶇О'}骞舵寜鍥炶溅鏌ヨ`" :size="size"
+                    style="width:300px;margin-left: 10px;" v-model="search[selectValue]" clearable
+                    @keyup.enter.native="handleEnter" @clear="handleClear"></el-input>
+            </template>
+        </avue-crud>
+    </el-dialog>
+</template>
+
+<script>
+import { getFlowpathList, getStartList, flowpathSave } from '@/api/template/flowpath.js'
+export default {
+    name: 'FlowPath',
+    props: {
+        // 鏄惁鎵撳紑
+        visible: {
+            typeof: Boolean,
+            default: false
+        },
+        code: {
+            typeof: String,
+            required: true,
+            default: ""
+        }
+    },
+    watch: {
+        visible(n) {
+            this.dialogVisible = n;
+        },
+        dialogVisible(n) {
+            this.$emit('update:visible', n)
+        },
+    },
+    data() {
+        return {
+            dialogVisible: this.visible,
+            loading: false,
+            page: {
+                currentPage: 1,
+                pageSize: 10,
+                total: 0
+            },
+            search: {},
+            delIds: [],
+            data: [],
+            startData: [],
+            form: {},
+            option: {
+                height: "auto",
+                border: true,
+                align: 'center',
+                menuAlign: 'center',
+                index: true,
+                searchMenuSpan: 8,
+                searchBtn: false,
+                emptyBtn: false,
+                columnBtn: false,
+                defaultSort: {
+                    prop: 'id,name,description,version',
+                    order: 'descending'
+                },
+                selection: true,
+                column: [
+                    {
+                        label: '妯℃澘key',
+                        prop: 'modelKey',
+                        sortable: true,
+                        type: 'tree',
+                        dicData: [],
+                        props: {
+                            label: "key",
+                            value: "key"
+                        },
+                        rules: [{
+                            required: true,
+                            message: '妯℃澘key涓嶈兘涓虹┖',
+                            trigger: 'blur'
+                        }],
+                        nodeClick: (data) => {
+                            console.log(data)
+                            // 鑺傜偣鐐瑰嚮鐨勬椂鍊欎細鑾峰彇鍒版暟鎹�
+                            this.form.modeName = data.name
+                        }
+                    }, {
+                        label: '妯℃澘鍚嶇О',
+                        prop: 'modelName',
+                        sortable: true,
+                        addDisabled: true,
+                        editDisabled: true,
+                    },
+                    {
+                        label: '娴佺▼妯℃澘鐢ㄩ��',
+                        prop: 'buttonTypeKey',
+                        type: 'tree',
+                        dicUrl: '/api/ubcs-flow/processTS/tt',
+                        dicMethod: 'post',
+                        props: {
+                            value: "codee",
+                            label: "namee",
+                        },
+                    },
+                ]
+            },
+        }
+    },
+    created() {
+        this.getStart()
+    },
+    methods: {
+        async getStart() {
+            const response = await getStartList()
+            if (response.status === 200) {
+                console.log(response.data.data.records)
+                const data = response.data.data.records
+                let newData = data.map(item => {
+                    const { key, name, version } = item
+                    return { key, name, version }
+                })
+                this.option.column[0].dicData = newData
+
+            }
+        },
+        // 鑾峰彇鍒楄〃
+        async getDataList() {
+            this.loading = false
+            console.log(this.search)
+            const { pageSize, currentPage } = this.page
+            let param = { size: pageSize, current: currentPage }
+            const response = await getFlowpathList({ ...param, ...this.search })
+            if (response.status === 200) {
+                console.log(response)
+                this.loading = false
+                const data = response.data.data
+                this.data = data.records
+                this.page.total = data.total
+            }else this.loading = false
+        },
+        // 鏂板
+        async handleSave(row, done, loading) {
+            console.log(row)
+            const response = await flowpathSave({...row,...{templateId:this.code}})
+            if(response.status ===200){
+                loading()
+                console.log(response)
+                this.$message({
+                    type: 'success',
+                    message: '鏂板鏁版嵁鎴愬姛锛�'
+                })
+                done()
+                this.getDataList()
+            }
+
+        },
+        // 缂栬緫
+        async handleEdit(row, index, done, loading) {
+            console.log(row)
+            const {modelName,modelKey,buttonTypeKey,id} = row
+            let param = {modelName,modelKey,buttonTypeKey,id}
+            const response = await flowpathSave({...param,...{templateId:this.code}})
+            if (response.status === 200) {
+                loading()
+                this.$message({
+                    type: 'success',
+                    message: '淇敼鏁版嵁鎴愬姛锛�'
+                })
+                done()
+                this.getDataList()
+            }
+
+        },
+        // 鍒犻櫎鍗曟潯
+        handleDelete(row) {
+            const { oid } = row
+        },
+        // 澶氭潯鏁版嵁鍒犻櫎
+        handleDeleteByIds() {
+
+        },
+        // 鍒犻櫎鎺ュ彛
+        deleteSysInfo(param) {
+            this.$confirm('鏄惁纭畾鍒犻櫎閫夋嫨鐨勯泦鎴愮郴缁�?', '鎻愮ず', {
+                confirmButtonText: '纭畾',
+                cancelButtonText: '鍙栨秷',
+                type: 'warning'
+            }).then(async () => {
+                // 鎺ュ彛
+            })
+        },
+        // enter鎼滅储
+        handleEnter() {
+            if (this.search[this.selectValue] === '') return
+            else this.getDataList()
+        },
+        // 杈撳叆妗嗘竻绌�
+        handleClear() {
+
+        },
+        // 鍒锋柊鎸夐挳
+        handleRefresh() {
+            this.getDataList()
+        },
+        handleSizePage(event) {
+            this.page.pageSize = event
+        },
+        handleCurrentPage(event) {
+            this.page.currentPage = event
+        },
+        // 鐐瑰嚮閫夋嫨
+        handleRowClick(row) {
+            this.$refs.crud.toggleRowSelection(row, true)
+        },
+        // 澶氶��
+        selectionChange(list) {
+            console.log(list)
+
+        },
+    }
+}
+</script>
\ No newline at end of file
diff --git a/Source/UBCS-WEB/src/views/flow/flowPath.vue b/Source/UBCS-WEB/src/views/flow/flowPath.vue
index 81b8442..ef76289 100644
--- a/Source/UBCS-WEB/src/views/flow/flowPath.vue
+++ b/Source/UBCS-WEB/src/views/flow/flowPath.vue
@@ -1,192 +1,32 @@
 <template>
     <div>
         <el-button @click="outerVisible = true">娴佺▼娴嬭瘯</el-button>
-        <el-dialog :title="`鎵ц${title}`" width="90%" append-to-body="true" :visible.sync="outerVisible">
-            <div class="dialogwarp">
-                <div class="dialogwarp_tab">
-                    <el-card class="dialogwarp_tab_card">
-                        <el-tabs v-model="activeName" @tab-click="handleClick">
-                            <el-tab-pane label="涓氬姟鏁版嵁淇℃伅" name="first">
-
-                            </el-tab-pane>
-                            <el-tab-pane label="娴佺▼璺熻釜" name="second">
-                                <avue-crud :data="data" :option="option" ref="crud">
-                                </avue-crud>
-                                <div style="padding: 10px 0; width: 100%; height: 100% ">
-                                    <el-image :src="url" flt="fill"></el-image>
-                                </div>
-                                
-                            </el-tab-pane>
-                        </el-tabs>
-                    </el-card>
-                </div>
-                <div class="dialogwarp_card">
-                    <el-card class="box-card">
-                        <div slot="header" class="clearfix">
-                            <span>褰撳墠浠诲姟锛�</span>
-                            <span>{{ title }}</span>
-                        </div>
-                        <div style="width: 100%;">
-                            <p>璇峰湪涓嬫柟杈撳叆鎮ㄧ殑瀹℃壒鎰忚锛�</p>
-                            <el-input type="textarea" :rows="4" placeholder="璇疯緭鍏ュ唴瀹�" show-word-limit v-model="opinionVal">
-                            </el-input>
-                        </div>
-                        <div style="width: 100%;">
-                            <p>瀹℃壒鎰忚闄勪欢锛�</p>
-                            <el-upload drag action="https://jsonplaceholder.typicode.com/posts/" multiple
-                                style="width: 100%;">
-                                <i class="el-icon-upload"></i>
-                                <div class="el-upload__text">灏嗘枃浠舵嫋鍒版澶勶紝鎴�<em>鐐瑰嚮涓婁紶</em></div>
-                            </el-upload>
-                        </div>
-                        <div style="width: 100%;">
-                            <p>宸蹭笂浼犲鎵规枃浠讹細</p>
-                            <el-card class="box-card">
-                                <el-table :data="tableData" stripe style="width: 100%">
-                                    <el-table-column prop="date" label="鏂囦欢鍚�">
-                                    </el-table-column>
-                                    <el-table-column prop="name" label="涓婁紶浜�  ">
-                                    </el-table-column>
-                                    <el-table-column prop="address" label="鎿嶄綔">
-                                    </el-table-column>
-                                </el-table>
-                            </el-card>
-                        </div>
-                        <div style="margin-top: 20px;">
-                            <el-button v-if="!isRefuse" type="primary" size="mini" @click="handelAgree">鍚屾剰</el-button>
-                            <el-button v-if="!isAgree" type="primary" size="mini" @click="handelRefuse">涓嶅悓鎰�</el-button>
-                            <el-button v-if="isAgree && !isRefuse" type="primary" size="mini" @click="handelRevert"
-                                v-for="item in btnList" :key="item">{{ item }}</el-button>
-                            <el-button v-if="isRefuse" type="primary" size="mini" @click="handelExecute">鎵ц</el-button>
-                        </div>
-                    </el-card>
-                </div>
-            </div>
-        </el-dialog>
+        <el-button @click="visibleFlow = true">妯℃澘娴佺▼</el-button>
+        <flow-business :visible.sync="outerVisible"></flow-business>
+        <flow-path :visible.sync="visibleFlow" code="A12826E4-2B66-6D56-DE30-92BB1D7F607F"></flow-path>
     </div>
 </template>
 
 <script>
+import FlowBusiness from '@/components/template/Business'
+import FlowPath from '@/components/template/FlowPath'
 export default {
+    components:{
+        FlowBusiness,
+        FlowPath
+    },
     data() {
         return {
             outerVisible: false,
-            destroyClose: true,
-            activeName: 'first',
-            fits: ['fill', 'contain', 'cover', 'none', 'scale-down'],
-            url: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
-            title: '涓氬姟娴嬭瘯-鐢宠-鐗╁搧-瀹℃牳',
-            data: [
-                {
-                    name: '寮犱笁',
-                    sex: '鐢�'
-                }, {
-                    name: '鏉庡洓',
-                    sex: '濂�'
-                }, {
-                    name: '鏉庡洓',
-                    sex: '濂�'
-                }, {
-                    name: '鏉庡洓',
-                    sex: '濂�'
-                }
-            ],
-            btnList: ['杩斿洖1', '杩斿洖1', '杩斿洖1'],
-            isAgree: false,
-            isRefuse: false,
-            opinionVal: '',
-            option: {
-                menu: false,
-                addBtn: false,
-                refreshBtn: false,
-                columnBtn: false,
-                index: true,
-                header: false,
-                stripe: true,
-                indexLabelClassName: '搴忓彿',
-                column: [
-                    { label: '浠诲姟鍚嶇О', prop: 'name', minWidth: 120 },
-                    { label: '鎵ц鎿嶄綔', prop: 'sex', minWidth: 80 },
-                    { label: '浠诲姟寮�濮嬫椂闂�', prop: 'sex', minWidth: 140 },
-                    { label: '瀹℃壒鎰忚', prop: 'sex', minWidth: 220, overHidden: true },
-                    { label: '鎵ц浜�', prop: 'sex', minWidth: 80 },
-                    { label: '浠诲姟瀹屾垚鏃堕棿', prop: 'sex', minWidth: 140 },
-                    { label: '宸蹭笂浼犲鎵规枃浠�', prop: 'sex', minWidth: 220, overHidden: true },
-                ]
-            },
+            visibleFlow: false,
+           
         }
     },
     methods: {
-        closeDialog() {
-            this.destroyClose = true
-            this.outerVisible = false
-        },
-        handleClick(tab, event) {
-            console.log(event)
-        },
-        handelAgree() {
-            this.isAgree = !this.isAgree
-            this.outerVisible = false
-            console.log(this.isAgree)
-        },
-        handelRefuse() {
-            if (!this.opinionVal) {
-                this.$alert('褰撳鐞嗘柟寮忎负涓嶅悓鎰忔椂锛岄渶瑕佸~鍐欏鎵规剰瑙�', '鎻愮ず淇℃伅', {
-                    confirmButtonText: '纭畾',
-                }).then(() => {
-
-                });
-            } else {
-                this.isRefuse = true
-                this.isAgree = true
-                this.outerVisible = false
-                this.opinionVal = ''
-            }
-        },
-        handelExecute() {
-            this.outerVisible = false
-            this.isAgree = false
-            this.isRefuse = false
-        },
-        handelRevert() {
-            this.outerVisible = false
-            this.isAgree = false
-        }
+        
     }
 }
 </script>
 <style lang="scss" scoped>
-.dialogwarp {
-    display: -webkit-box;
-    display: -ms-flexbox;
-    display: flex;
-    justify-content: space-between;
-    height: 70vh;
 
-    &_tab {
-        width: 79%;
-
-
-        &_card {
-            width: 100%;
-            height: 100%;
-        }
-    }
-
-    &_card {
-        // margin-left: 20px;
-        width: 20%;
-    }
-}
-::v-deep(.el-upload){
-    width: 100%;
-    height: 120px;
-}
-::v-deep(.el-upload-dragger){
-    width: 100%;
-    height: 120px;
-}
-::v-deep(.el-upload-dragger .el-icon-upload) {
-    margin: 15px 0 16px;
-}
 </style>
\ No newline at end of file
diff --git a/Source/UBCS-WEB/vue.config.js b/Source/UBCS-WEB/vue.config.js
index d206271..090a55e 100644
--- a/Source/UBCS-WEB/vue.config.js
+++ b/Source/UBCS-WEB/vue.config.js
@@ -26,10 +26,11 @@
     proxy: {
       '/api': {
         //鏈湴鏈嶅姟鎺ュ彛鍦板潃
+         target: 'http://192.168.1.104:37000',
         //  target: 'http://localhost:37000',
         //  target: 'http://localhost:37000',
         // target: 'http://192.168.1.51:37000',
-        target: 'http://192.168.1.46:37000',
+        // target: 'http://192.168.1.46:37000',
         // target: 'http://dev.vci-tech.com:37000',
         // target: 'http://192.168.1.51:37000/',
         //   target: 'http://localhost:37000',

--
Gitblit v1.9.3