From 8669e577c434b4ef5653a40ab5f8456064785bb6 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期二, 20 六月 2023 11:31:58 +0800
Subject: [PATCH] 同步代码
---
Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue | 30 ++++++++++++++++++++----------
Source/UBCS-WEB/src/views/MasterData/items.vue | 2 --
Source/UBCS-WEB/vue.config.js | 7 ++++---
3 files changed, 24 insertions(+), 15 deletions(-)
diff --git a/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
index b17dbae..f895fb8 100644
--- a/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
+++ b/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
@@ -34,7 +34,7 @@
<el-button plain size="small" type="primary">鏌ョ湅娴佺▼鍘嗗彶</el-button>
<el-button plain size="small" type="primary">鍒犻櫎</el-button>
<el-button plain size="small" type="primary" @click="setHandler">鍙戝竷</el-button>
- <set-personnel :visible.sync="visibleFlow" :parameter="parameter"
+ <set-personnel :visible.sync="visibleFlow" :parameter="this.parameter"
></set-personnel>
<el-button plain size="small" type="primary" @click="DataChange">鏁版嵁鏇存敼</el-button>
<FormTemplateDialog
@@ -150,6 +150,7 @@
},
templateOid: {
type: String,
+ default:''
},
tableHeadDataFateher: {
type: Array,
@@ -168,8 +169,8 @@
similarVisible:false,
//鍙戝竷
parameter:{
- ids:['0000','22222222'],
- code:this.templateOid,
+ ids:[],
+ code:'',
type:'PUBLIC',
template:'妯℃澘template'
},
@@ -180,7 +181,6 @@
label: 'name'
},
tableHeadFindDatas:[],
- templateOid: "",
addvisible: false,
editvisible: false,
findvisible: false,
@@ -213,11 +213,9 @@
},
computed: {},
created() {
- // this.CrudHeaderRend();
- // this.tableHeadHandle()
+
},
mounted() {
-
},
activated() {
this.doLayout()
@@ -245,13 +243,21 @@
this.page.total = newval;
}
},
+ templateOid:{
+ handler(newval,oldval) {
+ this.parameter.code=newval;
+ },
+ deep:true
+ }
},
methods: {
setHandler() {
- this.visibleFlow = true;
- },
- huishouHandler() {
+ if (this.selectRow.length <= 0) {
+ this.$message.warning('璇烽�夋嫨涓�鏉℃暟鎹�')
+ } else {
+ this.visibleFlow = true;
+ }
},
openD() {
this.dialogPush = true;
@@ -386,6 +392,10 @@
}
this.selectRow = row;
console.log(row)
+ row.forEach(item=>{
+ this.parameter.ids.push(item.oid)
+ console.log( this.parameter.ids)
+ })
},
//缂栬緫
editHandler() {
diff --git a/Source/UBCS-WEB/src/views/MasterData/items.vue b/Source/UBCS-WEB/src/views/MasterData/items.vue
index e6b5d52..0ca87ed 100644
--- a/Source/UBCS-WEB/src/views/MasterData/items.vue
+++ b/Source/UBCS-WEB/src/views/MasterData/items.vue
@@ -62,7 +62,6 @@
methods:{
codeClassifyOidList(val){
this.codeClassifyOid=val;
- console.log(val)
},
coderuleoidList(val){
this.coderuleoid=val;
@@ -87,7 +86,6 @@
},
nodeClick(val){
this.templateOid=val;
- console.log('val',val)
this.isLoading=true;
setTimeout(() => {
this.isLoading = false;
diff --git a/Source/UBCS-WEB/vue.config.js b/Source/UBCS-WEB/vue.config.js
index 1a031f6..22b7880 100644
--- a/Source/UBCS-WEB/vue.config.js
+++ b/Source/UBCS-WEB/vue.config.js
@@ -26,12 +26,13 @@
proxy: {
'/api': {
//鏈湴鏈嶅姟鎺ュ彛鍦板潃
- target: 'http://localhost: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://192.168.1.104:37000',
+ // target: 'http://192.168.1.104:37000',
// target: 'http://192.168.1.63:37000',
//target: 'http://192.168.3.7:37000',
// target: 'http://dev.vci-tech.com:37000',
--
Gitblit v1.9.3