Source/UBCS-WEB/src/components/Tree/attrCrud.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Source/UBCS-WEB/src/components/Tree/classifyTreeform.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Source/UBCS-WEB/src/components/Tree/classifyTrees.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Source/UBCS-WEB/vue.config.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Source/UBCS-WEB/src/components/Tree/attrCrud.vue
@@ -229,6 +229,11 @@ <el-button size="small" type="primary" @click="addVisible=false">取消</el-button> </div> </el-dialog> <!-- 参照配置--> <refer-config-form-dialog ref="referConfigFormDialog" @echoReferConfig="echoReferConfig" ></refer-config-form-dialog> </div> <el-table :data="ProData" style="width: 100%" @@ -340,6 +345,8 @@ }, data() { return { //参照 referVisible:false, crudArrayFlag:false, editingRows: null, editShows:"", @@ -1122,6 +1129,7 @@ prop: "prefixValue", sortable: true, edit: 'select', width: 110, editConfig: { extraParams: { code: 'codeclstempattr', @@ -1135,6 +1143,7 @@ prop: "suffixValue", sortable: true, edit: 'select', width: 110, editConfig: { extraParams: { code: 'codeclstempattr', @@ -1314,6 +1323,10 @@ formAttr(row, column) { console.log(row,column) }, //参照配置子组件 echoReferConfig(val){ console.log(val) }, //时间下拉格式 DataChangeHandler(editConfig,index){ listByFlag(editConfig.extraParams).then(res=>{ @@ -1467,8 +1480,8 @@ this.editShows = column.property; this.rowOid = row.oid; console.log(row,column) if(column.property == 'codeDateFormat' ){ if(column.property == 'referConfig' ){ this.$refs.referConfigFormDialog.isShowReferConfigForm = true; } }, saveRows() { Source/UBCS-WEB/src/components/Tree/classifyTreeform.vue
@@ -5,29 +5,100 @@ <avue-form v-model="loneTreeNewForm" :option="options" @submit="submits" v-else-if="flag == 'edit'"> </avue-form> <div> <!-- 存储业务类型--> <el-dialog :visible.sync="BtmdialogVisible" title="为【存储业务类型】选取值" append-to-body> <avue-crud :data="BtmData" :option="btmOption" @select="btmSelect"></avue-crud> <div style="padding-top: 10px;display: flex; justify-content: flex-end" > <el-button type="primary" size="small" @click="MasterHandlerClick">确定</el-button> <el-button size="small" @click="MasterdialogVisible=false">取消</el-button> <!-- 编码规则--> <el-dialog :visible.sync="MasterdialogVisible" title="为【编码规则】选取值" append-to-body> <template> <el-select v-model="SelectValue" placeholder="请选择" style="width: 135px"> <el-option v-for="item in SelectOption" :key="item.value" :label="item.label" :value="item.value" style="width: 150px"> </el-option> </el-select> <el-input style="width: 260px;margin-left: 15px" placeholder="输入值后进行模糊查询" v-model="SelectFInd"></el-input> <el-button size="small" type="primary" plain @click="SelectFindeHandler" style="margin-left: 20px">查询</el-button> </template> <avue-crud :data="masterData" :option="masterOption" @select="masterSelect"></avue-crud> <div style="height: 30px"> <div style="display: inline-block;float: left;border: 1px solid #eee;padding: 5px;margin-top: 5px;font-size: 14px " >已设置的值为:[{{this.loneTreeNewForm.coderuleoidName}}]</div> <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden" > <el-button type="primary" size="small" @click="MasterHandlerClick">确定</el-button> <el-button size="small" @click="MasterdialogVisible=false">取消</el-button> </div> </div> </el-dialog> <!-- 关键属性查询规则--> <el-dialog :visible.sync="KeydialogVisible" title="为【关键属性查询规则】选取值" append-to-body> <template> <el-select v-model="SelectValue" placeholder="请选择" style="width: 135px"> <el-option v-for="item in SelectOption" :key="item.value" :label="item.label" :value="item.value" style="width: 150px"> </el-option> </el-select> <el-input style="width: 260px;margin-left: 15px" placeholder="输入值后进行模糊查询" v-model="SelectFInd"></el-input> <el-button size="small" type="primary" plain @click="KeySelectFindeHandler" style="margin-left: 20px">查询</el-button> </template> <avue-crud :data="KeyData" :option="masterOption" @select="KeySelect"></avue-crud> <div style="padding-top: 10px;display: flex; justify-content: flex-end" > <el-button type="primary" size="small" @click="KeyHandlerClick">确定</el-button> <el-button size="small" @click="KeydialogVisible=false">取消</el-button> <div style="height: 30px"> <div style="display: inline-block;float: left;border: 1px solid #eee;padding: 5px;margin-top: 5px;font-size: 14px " >已设置的值为:[{{this.loneTreeNewForm.codekeyattrrepeatoidName}}]</div> <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden" > <el-button type="primary" size="small" @click="KeyHandlerClick">确定</el-button> <el-button size="small" @click="KeydialogVisible=false">取消</el-button> </div> </div> </el-dialog> <!-- 相似项查询规则--> <el-dialog :visible.sync="SimidialogVisible" title="为【相似项查询规则】选取值" append-to-body> <template> <el-select v-model="SelectValue" placeholder="请选择" style="width: 135px"> <el-option v-for="item in SelectOption" :key="item.value" :label="item.label" :value="item.value" style="width: 150px"> </el-option> </el-select> <el-input style="width: 260px;margin-left: 15px" placeholder="输入值后进行模糊查询" v-model="SelectFInd"></el-input> <el-button size="small" type="primary" plain @click="SimSelectFindeHandler" style="margin-left: 20px">查询</el-button> </template> <avue-crud :data="simData" :option="masterOption" @select="simSelect"></avue-crud> <div style="padding-top: 10px;display: flex; justify-content: flex-end" > <el-button type="primary" size="small" @click="simHandlerClick">确定</el-button> <el-button size="small" @click="SimidialogVisible=false">取消</el-button> <div style="height: 30px"> <div style="display: inline-block;float: left;border: 1px solid #eee;padding: 5px;margin-top: 5px;font-size: 14px " >已设置的值为:[{{this.loneTreeNewForm.codeResembleRuleOidName}}]</div> <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden" > <el-button type="primary" size="small" @click="simHandlerClick">确定</el-button> <el-button size="small" @click="SimidialogVisible=false">取消</el-button> </div> </div> </el-dialog> <!-- 存储的业务类型--> <el-dialog :visible.sync="BtmdialogVisible" title="为【相似项查询规则】选取值" append-to-body> <template> <el-select v-model="SelectValue" placeholder="请选择" style="width: 135px"> <el-option v-for="item in SelectOption" :key="item.value" :label="item.label" :value="item.value" style="width: 150px"> </el-option> </el-select> <el-input style="width: 260px;margin-left: 15px" placeholder="输入值后进行模糊查询" v-model="SelectFInd"></el-input> <el-button size="small" type="primary" plain @click="BtmSelectFindeHandler" style="margin-left: 20px">查询</el-button> </template> <avue-crud :data="BtmData" :option="masterOption" @select="btmSelect"></avue-crud> <div style="height: 30px"> <div style="display: inline-block;float: left;border: 1px solid #eee;padding: 5px;margin-top: 5px;font-size: 14px " >已设置的值为:[{{this.loneTreeNewForm.btmtypename}}]</div> <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden" > <el-button type="primary" size="small" @click="btmHandlerClick">确定</el-button> <el-button size="small" @click="BtmdialogVisible=false">取消</el-button> </div> </div> </el-dialog> </div> @@ -42,6 +113,7 @@ props: ['loneTreeNewForm','flag','Editclose'], data() { return { SelectFInd:"", masterName:"", masterOid:"", KeyName:"", @@ -56,6 +128,17 @@ KeyData:[], simData:[], BtmData:[], SelectOption:[ { value: 'name', label: '中文名称' }, { value: 'id', label: '英文名称' } ], SelectValue:"", btmOption:{ addBtn:false, index:true, @@ -252,6 +335,24 @@ this.$message.success('请查看控制台'); console.log(err) }, //编码规则查询 SelectFindeHandler(){ if(this.SelectValue == 'id'){ const masterParameter={ 'conditionMap[id]':this.SelectFInd } this.MasterdefaultRend(masterParameter); this.SelectValue="" this.SelectFInd="" }else if(this.SelectValue == 'name'){ const masterParameter={ 'conditionMap[name]':this.SelectFInd } this.MasterdefaultRend(masterParameter) this.SelectValue="" this.SelectFInd="" } }, //编码规则失焦 CodeFoucus(){ this.MasterdialogVisible=true; @@ -280,11 +381,12 @@ console.log('oid',this.oid) }, //编码接口 MasterdefaultRend(){ MasterdefaultRend(masterParameter){ defaultReferDataGrid({ referType:'coderule', isMuti:'false', 'conditionMap["lcstatus"]':'Released' 'conditionMap["lcstatus"]':'Released', ...masterParameter }).then(res=>{ this.masterData=res.data.records; }) @@ -306,6 +408,24 @@ this.$set(this.loneTreeNewForm,'codeResembleRuleOidName',this.simName) this.$set(this.loneTreeNewForm,'codeResembleRuleOid',this.simOid) this.$emit('MasterHandler',this.loneTreeNewForm) } }, //关键属性查询 KeySelectFindeHandler(){ if(this.SelectValue == 'id'){ const masterParameter={ 'conditionMap[id]':this.SelectFInd } this.KeydefaultRend(masterParameter); this.SelectValue="" this.SelectFInd="" }else if(this.SelectValue == 'name'){ const masterParameter={ 'conditionMap[name]':this.SelectFInd } this.KeydefaultRend(masterParameter) this.SelectValue="" this.SelectFInd="" } }, //关键属性接口 @@ -343,6 +463,24 @@ this.$emit('MasterHandler',this.loneTreeNewForm) } }, //相似项查询 SimSelectFindeHandler(){ if(this.SelectValue == 'id'){ const masterParameter={ 'conditionMap[id]':this.SelectFInd } this.simdefaultRend(masterParameter); this.SelectValue="" this.SelectFInd="" }else if(this.SelectValue == 'name'){ const masterParameter={ 'conditionMap[name]':this.SelectFInd } this.simdefaultRend(masterParameter) this.SelectValue="" this.SelectFInd="" } }, // 相似项多选 simSelect(row){ this.simSelectList=row; @@ -365,6 +503,38 @@ this.BtmdialogVisible=true; this.btmdefaultRend() }, // 业务类型确定 btmHandlerClick(){ if(this.btmSelectList.length>1){ this.$message.warning('只能选择一条数据') }else if(this.btmSelectList.length<=0){ this.$message.warning('请选择一条数据') }else { this.SimidialogVisible=false; this.simSelectList=[] this.$set(this.loneTreeNewForm,'btmtypename',this.btmName) this.$set(this.loneTreeNewForm,'btmtypeoid',this.btmOid) this.$emit('MasterHandler',this.loneTreeNewForm) } }, //业务类型查询 BtmSelectFindeHandler(){ if(this.SelectValue == 'id'){ const masterParameter={ 'conditionMap[id]':this.SelectFInd } this.btmdefaultRend(masterParameter); this.SelectValue="" this.SelectFInd="" }else if(this.SelectValue == 'name'){ const masterParameter={ 'conditionMap[name]':this.SelectFInd } this.btmdefaultRend(masterParameter) this.SelectValue="" this.SelectFInd="" } }, // 业务类型多选 btmSelect(row){ this.btmSelectList=row; @@ -372,8 +542,8 @@ this.btmOid=row[0].oid; }, //业务类型接口 btmdefaultRend(){ referDataGrid({valueField:'id',isMuti:'false'}).then(res=>{ btmdefaultRend(masterParameter){ referDataGrid({valueField:'id',isMuti:'false',...masterParameter}).then(res=>{ console.log(res) }) } Source/UBCS-WEB/src/components/Tree/classifyTrees.vue
@@ -19,25 +19,25 @@ <!-- 树节点添加对话框--> <el-dialog :title="this.TreeFlag ? '添加分类' :'添加主题库'" :visible.sync="TreeAddFormVisible" append-to-body style="width: 1700px;margin: auto"> <el-form :model="TreeAddform"> <el-form-item :label="this.TreeFlag ? '分类编号:' :'主题库编号:'" label-width="150px" style="display: inline-block"> <el-form :model="TreeAddform" :rules="rules"> <el-form-item :label="this.TreeFlag ? '分类编号:' :'主题库编号:'" label-width="150px" style="display: inline-block" prop="id"> <el-input v-model="TreeAddform.id" autocomplete="off" style="width: 170px"></el-input> </el-form-item> <el-form-item :label="this.TreeFlag ? '分类名称:' :'主题库名称:'" label-width="100px" style="display: inline-block"> <el-form-item :label="this.TreeFlag ? '分类名称:' :'主题库名称:'" label-width="110px" style="display: inline-block" prop="name"> <el-input v-model="TreeAddform.name" autocomplete="off" style="width: 170px"></el-input> </el-form-item> <el-form-item label="描述:" label-width="150px"> <el-input v-model="TreeAddform.description" autocomplete="off" style="width: 585px"></el-input> </el-form-item> <el-form-item label="编码规则:" label-width="150px"> <el-input v-model="TreeAddform.coderuleoidName" autocomplete="off" style="width: 585px"></el-input> <el-input v-model="TreeAddform.coderuleoidName" autocomplete="off" style="width: 585px" @focus="CodeFoucus"></el-input> </el-form-item> <el-form-item label="关键属性查询规则:" label-width="150px"> <el-input v-model="TreeAddform.codekeyattrrepeatoidName" autocomplete="off" <el-input v-model="TreeAddform.codekeyattrrepeatoidName" autocomplete="off" @focus="Keyfouce" style="width: 585px"></el-input> </el-form-item> <el-form-item label="相似查询规则:" label-width="150px"> <el-input v-model="TreeAddform.codeResembleRuleOidName" autocomplete="off" <el-input v-model="TreeAddform.codeResembleRuleOidName" autocomplete="off" @focus="simFouce" style="width: 585px"></el-input> </el-form-item> </el-form> @@ -165,6 +165,78 @@ </basic-container> <templatePro :ProData="this.ProData" :crudOid="this.crudOid" :crudArray="this.crudArray" :Formlist="this.Formlist" :codeClassifyOid="this.codeClassifyOid"></templatePro> </span> <!-- 编码规则--> <el-dialog :visible.sync="MasterdialogVisible" title="为【编码规则】选取值" append-to-body> <template> <el-select v-model="SelectValue" placeholder="请选择" style="width: 135px"> <el-option v-for="item in SelectOption" :key="item.value" :label="item.label" :value="item.value" style="width: 150px"> </el-option> </el-select> <el-input style="width: 260px;margin-left: 15px" placeholder="输入值后进行模糊查询" v-model="SelectFInd"></el-input> <el-button size="small" type="primary" plain @click="SelectFindeHandler" style="margin-left: 20px">查询</el-button> </template> <avue-crud :data="masterData" :option="masterOption" @select="masterSelect"></avue-crud> <div style="height: 30px"> <div style="display: inline-block;float: left;border: 1px solid #eee;padding: 5px;margin-top: 5px;font-size: 14px " >已设置的值为:[{{this.TreeAddform.coderuleoidName ==''?'未设置值':this.TreeAddform.coderuleoidName}}]</div> <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden" > <el-button type="primary" size="small" @click="MasterHandlerClick">确定</el-button> <el-button size="small" @click="MasterdialogVisible=false">取消</el-button> </div> </div> </el-dialog> <!-- 关键属性查询规则--> <el-dialog :visible.sync="KeydialogVisible" title="为【关键属性查询规则】选取值" append-to-body> <template> <el-select v-model="SelectValue" placeholder="请选择" style="width: 135px"> <el-option v-for="item in SelectOption" :key="item.value" :label="item.label" :value="item.value" style="width: 150px"> </el-option> </el-select> <el-input style="width: 260px;margin-left: 15px" placeholder="输入值后进行模糊查询" v-model="SelectFInd"></el-input> <el-button size="small" type="primary" plain @click="KeySelectFindeHandler" style="margin-left: 20px">查询</el-button> </template> <avue-crud :data="KeyData" :option="masterOption" @select="KeySelect"></avue-crud> <div style="height: 30px"> <div style="display: inline-block;float: left;border: 1px solid #eee;padding: 5px;margin-top: 5px;font-size: 14px " >已设置的值为:[{{this.TreeAddform.codekeyattrrepeatoidName ==''?'未设置值':this.TreeAddform.codekeyattrrepeatoidName}}]</div> <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden" > <el-button type="primary" size="small" @click="KeyHandlerClick">确定</el-button> <el-button size="small" @click="KeydialogVisible=false">取消</el-button> </div> </div> </el-dialog> <!-- 相似项查询规则--> <el-dialog :visible.sync="SimidialogVisible" title="为【相似项查询规则】选取值" append-to-body> <template> <el-select v-model="SelectValue" placeholder="请选择" style="width: 135px"> <el-option v-for="item in SelectOption" :key="item.value" :label="item.label" :value="item.value" style="width: 150px"> </el-option> </el-select> <el-input style="width: 260px;margin-left: 15px" placeholder="输入值后进行模糊查询" v-model="SelectFInd"></el-input> <el-button size="small" type="primary" plain @click="SimSelectFindeHandler" style="margin-left: 20px">查询</el-button> </template> <avue-crud :data="simData" :option="masterOption" @select="simSelect"></avue-crud> <div style="height: 30px"> <div style="display: inline-block;float: left;border: 1px solid #eee;padding: 5px;margin-top: 5px;font-size: 14px " >已设置的值为:[{{this.TreeAddform.codeResembleRuleOidName ==''?'未设置值':this.TreeAddform.codeResembleRuleOidName}}]</div> <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden" > <el-button type="primary" size="small" @click="simHandlerClick">确定</el-button> <el-button size="small" @click="SimidialogVisible=false">取消</el-button> </div> </div> </el-dialog> </basic-container> </el-main> </el-container> @@ -187,7 +259,7 @@ editSave, copy } from "@/api/template/templateAttr"; import {defaultReferDataGrid,referDataGrid} from '@/api/MasterData/master' export default { name: "classifyTrees.vue", //使用inject接收参数 @@ -196,6 +268,66 @@ inject: [, "crudTreeData"], data() { return { //编码规则 MasterdialogVisible:false, masterData:[], masterSelectList:[], masterName:"", masterOid:"", //关键属性 KeydialogVisible:false, KeyName:"", KeyOid:"", KeyData:[], KeySelectLIst:[], //相似项 simName:"", simOid:"", simData:[], SimidialogVisible:false, simSelectList:[], masterOption:{ addBtn:false, index:true, border:true, selection:true, menu:false, height:380, column:[ { label:'英文名称', prop:'id' }, { label:'中文名称', prop:'name' }, { label:'描述', prop:'description' } ] }, SelectOption:[ { value: 'name', label: '中文名称' }, { value: 'id', label: '英文名称' } ], SelectValue:"", SelectFInd:"", rules: { id: [ { required: true, message: '请输入名称', trigger: 'blur' }, ], name:[ { required: true, message: '请输入编号', trigger: 'blur' }, ] }, addFlag:false, // 表格当前行id crudOid:"", @@ -434,8 +566,170 @@ } }, methods: { //编码规则失焦 CodeFoucus(){ this.MasterdialogVisible=true; this.MasterdefaultRend() }, //编码多选 masterSelect(row){ if(row.length>0){ this.masterSelectList=row; this.masterName=row[0].name; this.masterOid=row[0].oid; } }, //编码规则查询 SelectFindeHandler(){ if(this.SelectValue == 'id'){ const masterParameter={ 'conditionMap[id]':this.SelectFInd } this.MasterdefaultRend(masterParameter); this.SelectValue="" this.SelectFInd="" }else if(this.SelectValue == 'name'){ const masterParameter={ 'conditionMap[name]':this.SelectFInd } this.MasterdefaultRend(masterParameter) this.SelectValue="" this.SelectFInd="" } }, //编码规则确定 MasterHandlerClick(){ if(this.masterSelectList.length>1){ this.$message.warning('只能选择一条数据') }else if(this.masterSelectList.length<=0){ this.$message.warning('请选择一条数据') }else { this.MasterdialogVisible=false; this.masterSelectList=[] this.$set(this.TreeAddform,'coderuleoidName',this.masterName) this.$set(this.TreeAddform,'coderuleOid',this.masterOid) this.$emit('MasterHandler',this.loneTreeNewForm) console.log(this.loneTreeNewForm) } }, //编码接口 MasterdefaultRend(){ defaultReferDataGrid({ referType:'coderule', isMuti:'false', 'conditionMap["lcstatus"]':'Released' }).then(res=>{ this.masterData=res.data.records; }) }, Keyfouce(){ this.KeydialogVisible=true; this.KeydefaultRend() }, //关键属性确定 KeyHandlerClick(){ if(this.KeySelectLIst.length>1){ this.$message.warning('只能选择一条数据') }else if(this.KeySelectLIst.length<=0){ this.$message.warning('请选择一条数据') }else { this.KeydialogVisible=false; this.KeySelectLIst=[] this.$set(this.TreeAddform,'codeResembleRuleOidName',this.simName) this.$set(this.TreeAddform,'codeResembleRuleOid',this.simOid) this.$emit('MasterHandler',this.loneTreeNewForm) } }, //关键属性查询 KeySelectFindeHandler(){ if(this.SelectValue == 'id'){ const masterParameter={ 'conditionMap[id]':this.SelectFInd } this.KeydefaultRend(masterParameter); this.SelectValue="" this.SelectFInd="" }else if(this.SelectValue == 'name'){ const masterParameter={ 'conditionMap[name]':this.SelectFInd } this.KeydefaultRend(masterParameter) this.SelectValue="" this.SelectFInd="" } }, //关键属性接口 KeydefaultRend(){ defaultReferDataGrid({ referType:'codekeyattrrepeat', isMuti:'false', 'conditionMap["lcstatus"]':'Enabled' }).then(res=>{ this.KeyData=res.data.records; }) }, // 关键多选 KeySelect(row){ this.KeySelectLIst=row; this.KeyName=row[0].name; this.KeyOid=row[0].oid; }, //关键失焦 simFouce(){ this.SimidialogVisible=true; this.simdefaultRend() }, //相似项确定 simHandlerClick(){ if(this.simSelectList.length>1){ this.$message.warning('只能选择一条数据') }else if(this.simSelectList.length<=0){ this.$message.warning('请选择一条数据') }else { this.SimidialogVisible=false; this.simSelectList=[] this.$set(this.TreeAddform,'codeResembleRuleOidName',this.simName) this.$set(this.TreeAddform,'codeResembleRuleOid',this.simOid) this.$emit('MasterHandler',this.loneTreeNewForm) } }, //相似项查询 SimSelectFindeHandler(){ if(this.SelectValue == 'id'){ const masterParameter={ 'conditionMap[id]':this.SelectFInd } this.simdefaultRend(masterParameter); this.SelectValue="" this.SelectFInd="" }else if(this.SelectValue == 'name'){ const masterParameter={ 'conditionMap[name]':this.SelectFInd } this.simdefaultRend(masterParameter) this.SelectValue="" this.SelectFInd="" } }, // 相似项多选 simSelect(row){ this.simSelectList=row; this.simName=row[0].name; this.simOid=row[0].oid; console.log('oid',this.oid) }, //相似项项接口 simdefaultRend(){ defaultReferDataGrid({ referType:'coderesemblerule', isMuti:'false', 'conditionMap["lcstatus"]':'Enabled' }).then(res=>{ this.simData=res.data.records; }) }, //子传父 MasterHandler(val){ console.log('父亲',val) this.TreeList=val }, //行单选事件 @@ -488,6 +782,7 @@ TreeAddHandler() { const data = this.TreeAddform this.$set(data, "parentCodeClassifyOid", this.nodeClickList.oid) console.log('data',data) TreeSave(data).then(() => { this.$message({ type: 'success', Source/UBCS-WEB/vue.config.js
@@ -26,9 +26,9 @@ proxy: { '/api': { //本地服务接口地址 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://192.168.1.104:37000',