From ba65926011f36ae9e98d373d33b33f9ad024d6c8 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 28 八月 2023 10:24:30 +0800
Subject: [PATCH] 整合代码
---
Source/UBCS-WEB/src/components/template/Business.vue | 3 +--
Source/UBCS-WEB/src/components/template/FlowPath.vue | 7 -------
Source/UBCS-WEB/src/components/template/Stage.vue | 10 ----------
Source/UBCS-WEB/src/components/Theme/ThemeImport.vue | 2 --
Source/UBCS-WEB/src/components/transfer/index.vue | 4 +---
Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue | 2 --
Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue | 7 -------
Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue | 5 -----
Source/UBCS-WEB/src/components/template/SetPersonnel.vue | 4 ----
Source/UBCS-WEB/src/components/code-dialog-page/maxSerialnumDialog.vue | 2 --
Source/UBCS-WEB/src/components/BatchImport/index.vue | 2 --
Source/UBCS-WEB/src/components/template/TableTransfer.vue | 2 --
12 files changed, 2 insertions(+), 48 deletions(-)
diff --git a/Source/UBCS-WEB/src/components/BatchImport/index.vue b/Source/UBCS-WEB/src/components/BatchImport/index.vue
index d691ea9..cc9654d 100644
--- a/Source/UBCS-WEB/src/components/BatchImport/index.vue
+++ b/Source/UBCS-WEB/src/components/BatchImport/index.vue
@@ -140,7 +140,6 @@
return this.currentTypeObj[this.type]["tipList"];
},
downloadTemplateApi() {
- console.log(this.currentTypeObj[this.type], "this.type");
return this.currentTypeObj[this.type]["downloadTemplateFun"];
},
action() {
@@ -290,7 +289,6 @@
}
},
onError(err) {
- console.log(err, "err");
this.pageLoading.close();
},
uploadChange(file) {
diff --git a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
index 465f489..33b81c4 100644
--- a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
+++ b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
@@ -373,7 +373,6 @@
limit: this.page.pageSize,
'conditionMap[lcstatus]': lcstatus
}).then(res => {
- console.log(res)
this.tableData = res.data.data
})
},
@@ -467,9 +466,6 @@
const data = response.data.data;
this.transferData = data;
}
- },
- handelTransferSave(val) {
- console.log('鍙戝竷', val)
},
rend() {
this.tableData = this.tableHeadData;
@@ -637,7 +633,6 @@
list.push(item.oid)
})
deleteCode({codeClassifyOid: this.codeClassifyOid, oidList: list}).then(res => {
- console.log(res)
if (res.data.code === 200) {
this.$message({
type: 'success',
@@ -828,9 +823,7 @@
this.DataVisible = false;
val.copyFromVersion = this.rowOid;
val.oid = '';
- console.log(val)
upSaveCode(val).then(res => {
- console.log(res)
this.$nextTick(() => {
this.$message.warning("淇濆瓨鎴愬姛");
this.onLoad()
diff --git a/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue b/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue
index 5be48b7..7f41850 100644
--- a/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue
+++ b/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue
@@ -1754,7 +1754,6 @@
addsHandler(event) {
this.$refs.referAttrCrud.sort("orderNum");
var ischeck = true;
- console.log('ProData',this.ProData)
this.ProData.forEach((item, index) => {
if ((item.requireFlag && item.requireFlag.toString() == 'true') && (item.readOnlyFlag && item.readOnlyFlag.toString() == 'true')) {
this.$message.warning(item.name + "(" + item.id + ")蹇呰緭鐨勫睘鎬т笉鑳芥槸鍙");
@@ -1813,7 +1812,6 @@
},
//琛ㄦ牸琛岀紪杈�
handleCellClicks(row, column) {
- console.log(row,column)
if (this.editOpenFlag) {
this.editingRows = row;
this.editShows = column.property;
diff --git a/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue b/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue
index afdf3a2..5b22a87 100644
--- a/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue
+++ b/Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue
@@ -1072,7 +1072,6 @@
})
//璋冪敤淇敼灞炴�у悕鏂规硶
this.ModifyProperties(this.CloneTreedata, 'name', 'label');
- console.log(this.CloneTreedata)
this.CloneTreedata = this.CloneTreedata.map(item => {
if (item.attributes.lcStatus === "Disabled") {
item.label += '銆愬仠鐢ㄣ��';
@@ -1297,7 +1296,6 @@
},
//鏍戠偣鍑讳簨浠�
async nodeClick(data) {
- console.log(data);
//鎿嶄綔鏂板鍜屼慨鏀圭殑涓氬姟绫诲瀷闅愯棌
this.TreeFlagCode = !data;
this.editTreeFLagCode = !data.parentId;
@@ -1519,9 +1517,6 @@
const {id, name} = row[0];
this.CloneModel = {id, name};
this.CloneSelect[0].codeclassifyoid = this.nodeClickList.oid;
- console.log('row', row)
- console.log('CloneSelect', this.CloneSelect)
- console.log('CloneModel', this.CloneModel)
},
//鍏嬮殕琛ㄥ崟鎻愪氦
Clonesubmit(row, done) {
diff --git a/Source/UBCS-WEB/src/components/Theme/ThemeImport.vue b/Source/UBCS-WEB/src/components/Theme/ThemeImport.vue
index f2d533d..5ea996a 100644
--- a/Source/UBCS-WEB/src/components/Theme/ThemeImport.vue
+++ b/Source/UBCS-WEB/src/components/Theme/ThemeImport.vue
@@ -123,7 +123,6 @@
downloadTemplateFun(){
this.downloadLoading = true;
downloadBatchImportApplyTemplate({codeClassifyOid: this.codeClassifyOid}).then(res=>{
- console.log(res)
this.$utilFunc.downloadFileByBlob(res.data, "涓婚搴撳垎绫绘ā鏉�.xls");
this.downloadLoading = false;
}).catch((res)=>{
@@ -133,7 +132,6 @@
},
//鏂囦欢涓婁紶澶辫触
onError(res){
- console.log(res)
this.pageLoading.close();
},
//鏂囦欢鐘舵�佹敼鍙�
diff --git a/Source/UBCS-WEB/src/components/code-dialog-page/maxSerialnumDialog.vue b/Source/UBCS-WEB/src/components/code-dialog-page/maxSerialnumDialog.vue
index d06d536..dc5182c 100644
--- a/Source/UBCS-WEB/src/components/code-dialog-page/maxSerialnumDialog.vue
+++ b/Source/UBCS-WEB/src/components/code-dialog-page/maxSerialnumDialog.vue
@@ -154,9 +154,7 @@
},
// 纭
async comfirm() {
- console.log(this.codeApplyForm)
const objcodekey = Object.keys(this.codeApplyForm)
- console.log(objcodekey)
const filteredObj = objcodekey.reduce((acc, key) => {
const pattern = /[\u4e00-\u9fa5]/; // 鍖归厤涓枃瀛楃鐨勬鍒欒〃杈惧紡
const patterns = /\$/;
diff --git a/Source/UBCS-WEB/src/components/template/Business.vue b/Source/UBCS-WEB/src/components/template/Business.vue
index 10bdc9c..0d3b098 100644
--- a/Source/UBCS-WEB/src/components/template/Business.vue
+++ b/Source/UBCS-WEB/src/components/template/Business.vue
@@ -138,7 +138,6 @@
handelAgree() {
this.isAgree = !this.isAgree
this.outerVisible = false
- console.log(this.isAgree)
},
handelRefuse() {
if (!this.opinionVal) {
@@ -203,4 +202,4 @@
::v-deep(.el-upload-dragger .el-icon-upload) {
margin: 15px 0 16px;
}
-</style>
\ No newline at end of file
+</style>
diff --git a/Source/UBCS-WEB/src/components/template/FlowPath.vue b/Source/UBCS-WEB/src/components/template/FlowPath.vue
index 5b24017..4831a6e 100644
--- a/Source/UBCS-WEB/src/components/template/FlowPath.vue
+++ b/Source/UBCS-WEB/src/components/template/FlowPath.vue
@@ -80,7 +80,6 @@
trigger: 'blur'
}],
nodeClick: (data) => {
- console.log(data)
// 鑺傜偣鐐瑰嚮鐨勬椂鍊欎細鑾峰彇鍒版暟鎹�
this.form.modelName = data.name
}
@@ -141,7 +140,6 @@
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
@@ -171,10 +169,8 @@
},
// 鏂板
async handleSave(row, done, loading) {
- console.log(row)
await flowpathSave({...row, ...{templateId: this.code}}).then(response => {
if (response.status === 200) {
- console.log(response)
this.$message({
type: 'success',
message: '鏂板鏁版嵁鎴愬姛锛�'
@@ -189,7 +185,6 @@
},
// 缂栬緫
async handleEdit(row, index, done, loading) {
- console.log(row)
const {modelName, modelKey, buttonTypeKey, id, description} = row
let param = {modelName, modelKey, buttonTypeKey, id, description}
await flowpathSave({...param, ...{templateId: this.code}}).then(response => {
@@ -209,7 +204,6 @@
},
// 鍒犻櫎鍗曟潯
handleDelete(row) {
- console.log(row)
const {id} = row
this.deleteSysInfo({id: id})
},
@@ -223,7 +217,6 @@
// 鎺ュ彛
const response = await flowpathDelete(param)
if (response.status === 200) {
- console.log(response)
this.$message({
type: 'success',
message: '鍒犻櫎鎴愬姛!'
diff --git a/Source/UBCS-WEB/src/components/template/SetPersonnel.vue b/Source/UBCS-WEB/src/components/template/SetPersonnel.vue
index f3a8041..be36a62 100644
--- a/Source/UBCS-WEB/src/components/template/SetPersonnel.vue
+++ b/Source/UBCS-WEB/src/components/template/SetPersonnel.vue
@@ -142,9 +142,7 @@
},
async apiDict() {
const response = await personnelDict()
- console.log(response)
if (response.status === 200) {
- console.log(response)
const data = response.data.data
this.typeName = data.map(item => {
const { account, deptName, id, realName } = item
@@ -174,7 +172,6 @@
async canCollect(name) {
const response = await cancelCollect({ name: name })
if (response.status === 200) {
- console.log(response)
this.apiInit()
this.isCollent = true
this.$message({
@@ -253,7 +250,6 @@
this.done()
},
handleConfirm() {
- console.log(this.saveParam)
this.apiSave()
}
}
diff --git a/Source/UBCS-WEB/src/components/template/Stage.vue b/Source/UBCS-WEB/src/components/template/Stage.vue
index de40033..f2e0671 100644
--- a/Source/UBCS-WEB/src/components/template/Stage.vue
+++ b/Source/UBCS-WEB/src/components/template/Stage.vue
@@ -145,7 +145,6 @@
let param = {size: pageSize, current: currentPage}
const response = await getFlowpathList({...param, ...{templateId: this.code}})
if (response.status === 200) {
- console.log(response)
this.loading = false
const data = response.data.data
this.data = data.records
@@ -158,11 +157,9 @@
// 鑾峰彇闃舵鍒楄〃
async getStagelist() {
this.loading = false
- console.log(this.modelKey)
const response = await stagelist({modelKey: this.modelKey})
if (response.status === 200) {
this.loading = false
- console.log(response.data)
this.stageData = response.data.data
} else this.loading = false
},
@@ -187,7 +184,6 @@
}
return item
})
- console.log(datas)
let dataValue = datas.map(item => item.checked ? item.oid : undefined)
this.attributeValue = dataValue.filter(item => item)
this.attributeData = datas
@@ -212,7 +208,6 @@
},
// 缁存姢
handleMaintenance(row) {
- console.log(row)
this.dialogNode = true
this.modelKey = row.modelKey
this.saveParam.modelKey = row.modelKey
@@ -228,7 +223,6 @@
})
},
handleRowClick(row) {
- console.log(row)
this.modelKey = row.modelKey
this.saveParam.modelKey = row.modelKey
this.dialogNode = true
@@ -242,7 +236,6 @@
})
},
async handleSave(event) {
- console.log(event)
const data = event.map(item => {
const {id, name, attributeGroup} = item
return {attrId: id, attrName: name, attrGroup: attributeGroup}
@@ -252,12 +245,9 @@
processStageAttr: data,
...this.saveParam
}
- console.log(this.saveParam)
- console.log(data)
const response = await attributeSave(param)
if (response.status === 200) {
// loading()
- console.log(response)
this.$message({
type: 'success',
message: '鏂板鏁版嵁鎴愬姛锛�'
diff --git a/Source/UBCS-WEB/src/components/template/TableTransfer.vue b/Source/UBCS-WEB/src/components/template/TableTransfer.vue
index abedd0d..83871ff 100644
--- a/Source/UBCS-WEB/src/components/template/TableTransfer.vue
+++ b/Source/UBCS-WEB/src/components/template/TableTransfer.vue
@@ -136,7 +136,6 @@
},
mounted() {
this.init();
- console.log(this.$refs.transferTable)
},
methods: {
init() {
@@ -212,7 +211,6 @@
i--;
}
}
- console.log(this.rightDataList)
this.leftData = this.setData(this.leftDataList, this.searchLeft);
this.rightData = this.setData(this.rightDataList, this.searchRight);
this.$emit(
diff --git a/Source/UBCS-WEB/src/components/transfer/index.vue b/Source/UBCS-WEB/src/components/transfer/index.vue
index cb2c5cc..c0d3c05 100644
--- a/Source/UBCS-WEB/src/components/transfer/index.vue
+++ b/Source/UBCS-WEB/src/components/transfer/index.vue
@@ -24,7 +24,7 @@
</transfer-panel>
</div>
</template>
-
+
<script>
import ElButton from 'element-ui/packages/button';
import Emitter from 'element-ui/src/mixins/emitter';
@@ -201,7 +201,6 @@
) {
// itemsToBeMoved = [itemKey]
itemsToBeMoved = [item]
- console.log(itemsToBeMoved)
}
});
// currentValue = itemsToBeMoved
@@ -220,4 +219,3 @@
}
};
</script>
-
\ No newline at end of file
--
Gitblit v1.9.3