This commit is contained in:
cwchen 2025-09-29 15:12:56 +08:00
parent 17f3b105cf
commit 7360bd5a81
12 changed files with 17 additions and 18 deletions

View File

@ -107,7 +107,7 @@ export default {
this.belongName = this.rowData.belongName;
this.detailStatus = this.rowData.detailStatus;
if ((this.isAdd === 'edit' || this.isAdd === 'detail') && this.rowData) {
console.log(this.rowData.classifyMarkId);
// console.log(this.rowData.classifyMarkId);
//
this.form = {
id: this.rowData.id,

View File

@ -142,7 +142,7 @@ export default {
watch: {
selectedNode: {
handler(newVal) {
console.log(newVal);
// console.log(newVal);
this.addBtnIsShow = !(newVal && Number(newVal.level) === 3)
// parentId
const parentId = newVal && newVal.id ? newVal.id : 0

View File

@ -81,7 +81,7 @@ export default {
/** 初始化表单数据 */
initFormData() {
if (this.isAdd === 'edit' && this.rowData) {
console.log(this.rowData);
// console.log(this.rowData);
//
this.form = {
id: this.rowData.id,

View File

@ -323,7 +323,7 @@ export default {
if (this.$refs.ruleForm) {
this.$refs.ruleForm.validateField('fileList')
}
console.log('文件列表更新:', fileList.length, '个文件')
// console.log(':', fileList.length, '')
},
/**验证 */
@ -359,7 +359,7 @@ export default {
}
if (this.isAdd === 'add') {
formData.append('params', JSON.stringify(params));
console.log(params);
// console.log(params);
addFileManageRightApi(formData).then(res => {
this.loading.close();
if (res.code === 200) {
@ -373,7 +373,7 @@ export default {
});
} else {
formData.append('params', JSON.stringify(params));
console.log(params);
// console.log(params);
updateFileManageRightApi(formData).then(res => {
this.loading.close();
if (res.code === 200) {

View File

@ -108,7 +108,7 @@ export default {
let params = _.cloneDeep(this.form);
const selected = this.fileSetList.find(item => item.id === this.form.id);
params.contentsName = selected.name;
console.log(params);
// console.log(params);
updateContentsNameAPI(params).then(res => {
this.loading.close();

View File

@ -80,7 +80,7 @@ export default {
methods: {
//
handleShare(row) {
console.log(row);
// console.log(row);
this.isflag = true;
row.selectedNodeName = this.selectedNodeName;

View File

@ -97,7 +97,7 @@ export default {
const transferApplyId = this.rowData.id;
const res = await getTransferReceiceFilesApi({ transferApplyId });
console.log(res);
// console.log(res);
if (Array.isArray(res.data) && res.data.length > 0) {

View File

@ -167,7 +167,7 @@ export default {
}
},
handleProChange(value) {
console.log(value);
// console.log(value);
this.checkTreeData = [];
},
//
@ -237,7 +237,7 @@ export default {
const obj = this.findNodeById(this.treeDataList, this.form.deptId);
params.deptName = obj?.label || '';
params.transferFileDtos = this.checkTreeData;
console.log(params);
// console.log(params);
if (this.isAdd === 'add') {
saveTransferApplyApi(params).then(res => {

View File

@ -193,7 +193,7 @@ export default {
this.fileList.push(newFile);
})
}
console.log(this.fileList);
// console.log(this.fileList);
},
//

View File

@ -49,7 +49,7 @@ export default {
/** 初始化表单数据 */
initFormData() {
if (this.rowData) {
console.log(this.rowData);
// console.log(this.rowData);
//
this.form = {
@ -100,7 +100,6 @@ export default {
target: this.$el.querySelector('.el-dialog') || document.body
})
let params = _.cloneDeep(this.form);
console.log(params);
updateTransferRecordFileApi(params).then(res => {
this.loading.close();

View File

@ -76,7 +76,7 @@ export default {
methods: {
//
viewFile(row) {
console.log(row);
// console.log(row);
this.viewTitle = "预览";
this.row = row;
@ -106,7 +106,7 @@ export default {
}
const transferApplyId = this.rowData.id;
const res = await getTransferRecordFilesApi({ transferApplyId });
console.log(res);
// console.log(res);
if (Array.isArray(res.data) && res.data.length > 0) {

View File

@ -165,7 +165,7 @@ export default {
archivedType:2,
}
const payload = [periodicPayload, nonPeriodicPayload]
console.log('保存归档配置: ', payload)
// console.log(': ', payload)
editAPI(payload).then(() => {
this.$message.success('保存成功')
this.query()
@ -176,7 +176,7 @@ export default {
//
query() {
queryAPI().then(res => {
console.log('查询归档配置: ', res)
// console.log(': ', res)
const list = Array.isArray(res.data) ? res.data : []
const periodic = list[0] || {}
const nonPeriodic = list[1] || {}