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.belongName = this.rowData.belongName;
this.detailStatus = this.rowData.detailStatus; this.detailStatus = this.rowData.detailStatus;
if ((this.isAdd === 'edit' || this.isAdd === 'detail') && this.rowData) { if ((this.isAdd === 'edit' || this.isAdd === 'detail') && this.rowData) {
console.log(this.rowData.classifyMarkId); // console.log(this.rowData.classifyMarkId);
// //
this.form = { this.form = {
id: this.rowData.id, id: this.rowData.id,

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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