diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index dc1eb3f..cfd14e6 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -131,13 +131,24 @@ -
案卷图片:
+ -
+ -
+ + + --> + + + + + + + + + + +
案卷处理:
@@ -462,7 +473,9 @@ this.initProcess() } }, - // 每次清空案件处理相关数据 + /** + * 每次进入页面时,清空案件处理相关数据 + */ resetData() { // this.operationKey = '' this.processForm = { @@ -477,8 +490,11 @@ this.commonLanguage = '' this.processCompShow = '' this.processCompObj = {} + this.$refs['processForm'].resetFields() }, - // 初始化案件处理单选键组 + /** + * 初始化案件处理单选键组 + */ async initProcess() { const res = await nextNodes(this.caseDetail.caseState) this.processRadioList = res.data @@ -567,7 +583,11 @@ this.processCompObj.hours = hours this.processCompObj.minutes = minutes }, - setDefaultUserId(radioConfig) { // 注意caseDetail.verifyPersonId和userlist中的id类型要一致 + /** + * 设置默认人员id + * 注意caseDetail.verifyPersonId和userlist中的id类型要一致 + */ + setDefaultUserId(radioConfig) { switch (radioConfig.passBack) { case 'verifyPersonId': { // 原核实人员 this.$set(this.processCompObj, 'taskUserId', this.caseDetail.verifyPersonId) @@ -583,7 +603,9 @@ } } }, - // 选择案卷处理操作 + /** + * 选择案卷处理操作,初始化所需组件 + */ async selectNextOperation() { console.log(this.operationKey, radioMap[this.operationKey], this.processCompObj) const radioConfig = radioMap[this.operationKey] @@ -623,7 +645,7 @@ this.$set(this.processCompObj, 'eorcList', eorcListRes.data) this.$set(this.processCompObj, 'eorc', this.caseDetail.eorc) - // 初始化 + // 初始化大类、小类、立案标准、完成时限 this.$set(this.processCompObj, 'caseTypeList', []) this.$set(this.processCompObj, 'caseTypeDetailList', []) this.$set(this.processCompObj, 'caseTypeTimeList', []) @@ -684,7 +706,29 @@ break } }, - // 构建提交表单 + /** + * 检查输入小时 + */ + checkHour(hour) { + if (parseInt(hour) >= 0) { + return true + } else { + return false + } + }, + /** + * 检查输入分钟 + */ + checkMin(min) { + if (parseInt(min) >= 0 && parseInt(min) < 60) { + return true + } else { + return false + } + }, + /** + * 构建提交表单 + */ buildForm() { console.log('buildForm', this.operationKey) // 通用参数,processId已有 @@ -793,20 +837,9 @@ console.log(this.processForm) return true }, - checkHour(hour) { - if (parseInt(hour) >= 0) { - return true - } else { - return false - } - }, - checkMin(min) { - if (parseInt(min) >= 0 && parseInt(min) < 60) { - return true - } else { - return false - } - }, + /** + * 提交案卷处理 + */ submit() { console.log('submit') this.$confirm('确定提交案件处理吗?', '提示', { @@ -824,7 +857,7 @@ completeCaseTask(this.processForm).then(response => { if (response.code === 200) { this.$message.success('提交成功') - // this.$emit('submitProcess', this.caseDetail.caseid) + // 隐藏案卷处理,重新加载数据 this.showProcess = false this.$route.query.showProcess = false this.initData() @@ -888,7 +921,11 @@ margin-bottom: 30px; } .image-container { + // width: 80%; + // margin-top: 20px; margin-left: 40px; + margin-right: 20px; + margin-bottom: 20px; } .el-image.image { width: 150px; diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index dc1eb3f..cfd14e6 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -131,13 +131,24 @@
-
案卷图片:
+ -
+ -
+ + + --> + + + + + + + + + + +
案卷处理:
@@ -462,7 +473,9 @@ this.initProcess() } }, - // 每次清空案件处理相关数据 + /** + * 每次进入页面时,清空案件处理相关数据 + */ resetData() { // this.operationKey = '' this.processForm = { @@ -477,8 +490,11 @@ this.commonLanguage = '' this.processCompShow = '' this.processCompObj = {} + this.$refs['processForm'].resetFields() }, - // 初始化案件处理单选键组 + /** + * 初始化案件处理单选键组 + */ async initProcess() { const res = await nextNodes(this.caseDetail.caseState) this.processRadioList = res.data @@ -567,7 +583,11 @@ this.processCompObj.hours = hours this.processCompObj.minutes = minutes }, - setDefaultUserId(radioConfig) { // 注意caseDetail.verifyPersonId和userlist中的id类型要一致 + /** + * 设置默认人员id + * 注意caseDetail.verifyPersonId和userlist中的id类型要一致 + */ + setDefaultUserId(radioConfig) { switch (radioConfig.passBack) { case 'verifyPersonId': { // 原核实人员 this.$set(this.processCompObj, 'taskUserId', this.caseDetail.verifyPersonId) @@ -583,7 +603,9 @@ } } }, - // 选择案卷处理操作 + /** + * 选择案卷处理操作,初始化所需组件 + */ async selectNextOperation() { console.log(this.operationKey, radioMap[this.operationKey], this.processCompObj) const radioConfig = radioMap[this.operationKey] @@ -623,7 +645,7 @@ this.$set(this.processCompObj, 'eorcList', eorcListRes.data) this.$set(this.processCompObj, 'eorc', this.caseDetail.eorc) - // 初始化 + // 初始化大类、小类、立案标准、完成时限 this.$set(this.processCompObj, 'caseTypeList', []) this.$set(this.processCompObj, 'caseTypeDetailList', []) this.$set(this.processCompObj, 'caseTypeTimeList', []) @@ -684,7 +706,29 @@ break } }, - // 构建提交表单 + /** + * 检查输入小时 + */ + checkHour(hour) { + if (parseInt(hour) >= 0) { + return true + } else { + return false + } + }, + /** + * 检查输入分钟 + */ + checkMin(min) { + if (parseInt(min) >= 0 && parseInt(min) < 60) { + return true + } else { + return false + } + }, + /** + * 构建提交表单 + */ buildForm() { console.log('buildForm', this.operationKey) // 通用参数,processId已有 @@ -793,20 +837,9 @@ console.log(this.processForm) return true }, - checkHour(hour) { - if (parseInt(hour) >= 0) { - return true - } else { - return false - } - }, - checkMin(min) { - if (parseInt(min) >= 0 && parseInt(min) < 60) { - return true - } else { - return false - } - }, + /** + * 提交案卷处理 + */ submit() { console.log('submit') this.$confirm('确定提交案件处理吗?', '提示', { @@ -824,7 +857,7 @@ completeCaseTask(this.processForm).then(response => { if (response.code === 200) { this.$message.success('提交成功') - // this.$emit('submitProcess', this.caseDetail.caseid) + // 隐藏案卷处理,重新加载数据 this.showProcess = false this.$route.query.showProcess = false this.initData() @@ -888,7 +921,11 @@ margin-bottom: 30px; } .image-container { + // width: 80%; + // margin-top: 20px; margin-left: 40px; + margin-right: 20px; + margin-bottom: 20px; } .el-image.image { width: 150px; diff --git a/src/components/CaseCommon/caseDetailRead.vue b/src/components/CaseCommon/caseDetailRead.vue index 5306d11..8e33af7 100644 --- a/src/components/CaseCommon/caseDetailRead.vue +++ b/src/components/CaseCommon/caseDetailRead.vue @@ -127,14 +127,25 @@
-
案卷图片:
+ -
+ -
+ + --> + + + + + + + + + + +
数据流转记录:
@@ -297,6 +308,8 @@ } .image-container { margin-left: 40px; + margin-right: 20px; + margin-bottom: 20px; } .el-image.image { width: 150px; diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index dc1eb3f..cfd14e6 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -131,13 +131,24 @@
-
案卷图片:
+ -
+ -
+ + + --> + + + + + + + + + + +
案卷处理:
@@ -462,7 +473,9 @@ this.initProcess() } }, - // 每次清空案件处理相关数据 + /** + * 每次进入页面时,清空案件处理相关数据 + */ resetData() { // this.operationKey = '' this.processForm = { @@ -477,8 +490,11 @@ this.commonLanguage = '' this.processCompShow = '' this.processCompObj = {} + this.$refs['processForm'].resetFields() }, - // 初始化案件处理单选键组 + /** + * 初始化案件处理单选键组 + */ async initProcess() { const res = await nextNodes(this.caseDetail.caseState) this.processRadioList = res.data @@ -567,7 +583,11 @@ this.processCompObj.hours = hours this.processCompObj.minutes = minutes }, - setDefaultUserId(radioConfig) { // 注意caseDetail.verifyPersonId和userlist中的id类型要一致 + /** + * 设置默认人员id + * 注意caseDetail.verifyPersonId和userlist中的id类型要一致 + */ + setDefaultUserId(radioConfig) { switch (radioConfig.passBack) { case 'verifyPersonId': { // 原核实人员 this.$set(this.processCompObj, 'taskUserId', this.caseDetail.verifyPersonId) @@ -583,7 +603,9 @@ } } }, - // 选择案卷处理操作 + /** + * 选择案卷处理操作,初始化所需组件 + */ async selectNextOperation() { console.log(this.operationKey, radioMap[this.operationKey], this.processCompObj) const radioConfig = radioMap[this.operationKey] @@ -623,7 +645,7 @@ this.$set(this.processCompObj, 'eorcList', eorcListRes.data) this.$set(this.processCompObj, 'eorc', this.caseDetail.eorc) - // 初始化 + // 初始化大类、小类、立案标准、完成时限 this.$set(this.processCompObj, 'caseTypeList', []) this.$set(this.processCompObj, 'caseTypeDetailList', []) this.$set(this.processCompObj, 'caseTypeTimeList', []) @@ -684,7 +706,29 @@ break } }, - // 构建提交表单 + /** + * 检查输入小时 + */ + checkHour(hour) { + if (parseInt(hour) >= 0) { + return true + } else { + return false + } + }, + /** + * 检查输入分钟 + */ + checkMin(min) { + if (parseInt(min) >= 0 && parseInt(min) < 60) { + return true + } else { + return false + } + }, + /** + * 构建提交表单 + */ buildForm() { console.log('buildForm', this.operationKey) // 通用参数,processId已有 @@ -793,20 +837,9 @@ console.log(this.processForm) return true }, - checkHour(hour) { - if (parseInt(hour) >= 0) { - return true - } else { - return false - } - }, - checkMin(min) { - if (parseInt(min) >= 0 && parseInt(min) < 60) { - return true - } else { - return false - } - }, + /** + * 提交案卷处理 + */ submit() { console.log('submit') this.$confirm('确定提交案件处理吗?', '提示', { @@ -824,7 +857,7 @@ completeCaseTask(this.processForm).then(response => { if (response.code === 200) { this.$message.success('提交成功') - // this.$emit('submitProcess', this.caseDetail.caseid) + // 隐藏案卷处理,重新加载数据 this.showProcess = false this.$route.query.showProcess = false this.initData() @@ -888,7 +921,11 @@ margin-bottom: 30px; } .image-container { + // width: 80%; + // margin-top: 20px; margin-left: 40px; + margin-right: 20px; + margin-bottom: 20px; } .el-image.image { width: 150px; diff --git a/src/components/CaseCommon/caseDetailRead.vue b/src/components/CaseCommon/caseDetailRead.vue index 5306d11..8e33af7 100644 --- a/src/components/CaseCommon/caseDetailRead.vue +++ b/src/components/CaseCommon/caseDetailRead.vue @@ -127,14 +127,25 @@
-
案卷图片:
+ -
+ -
+ + --> + + + + + + + + + + +
数据流转记录:
@@ -297,6 +308,8 @@ } .image-container { margin-left: 40px; + margin-right: 20px; + margin-bottom: 20px; } .el-image.image { width: 150px; diff --git a/src/views/caseCommon/caseDetailRead.vue b/src/views/caseCommon/caseDetailRead.vue index 2f4001d..54cb279 100644 --- a/src/views/caseCommon/caseDetailRead.vue +++ b/src/views/caseCommon/caseDetailRead.vue @@ -127,14 +127,25 @@
-
案卷图片:
+ -
- - + + -
+ + + + + + + + + + + +
数据流转记录:
@@ -289,6 +300,8 @@ .image-container { margin-left: 40px; + margin-right: 20px; + margin-bottom: 40px; } .el-image.image { width: 150px; diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index dc1eb3f..cfd14e6 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -131,13 +131,24 @@
-
案卷图片:
+ -
+ -
+ + + --> + + + + + + + + + + +
案卷处理:
@@ -462,7 +473,9 @@ this.initProcess() } }, - // 每次清空案件处理相关数据 + /** + * 每次进入页面时,清空案件处理相关数据 + */ resetData() { // this.operationKey = '' this.processForm = { @@ -477,8 +490,11 @@ this.commonLanguage = '' this.processCompShow = '' this.processCompObj = {} + this.$refs['processForm'].resetFields() }, - // 初始化案件处理单选键组 + /** + * 初始化案件处理单选键组 + */ async initProcess() { const res = await nextNodes(this.caseDetail.caseState) this.processRadioList = res.data @@ -567,7 +583,11 @@ this.processCompObj.hours = hours this.processCompObj.minutes = minutes }, - setDefaultUserId(radioConfig) { // 注意caseDetail.verifyPersonId和userlist中的id类型要一致 + /** + * 设置默认人员id + * 注意caseDetail.verifyPersonId和userlist中的id类型要一致 + */ + setDefaultUserId(radioConfig) { switch (radioConfig.passBack) { case 'verifyPersonId': { // 原核实人员 this.$set(this.processCompObj, 'taskUserId', this.caseDetail.verifyPersonId) @@ -583,7 +603,9 @@ } } }, - // 选择案卷处理操作 + /** + * 选择案卷处理操作,初始化所需组件 + */ async selectNextOperation() { console.log(this.operationKey, radioMap[this.operationKey], this.processCompObj) const radioConfig = radioMap[this.operationKey] @@ -623,7 +645,7 @@ this.$set(this.processCompObj, 'eorcList', eorcListRes.data) this.$set(this.processCompObj, 'eorc', this.caseDetail.eorc) - // 初始化 + // 初始化大类、小类、立案标准、完成时限 this.$set(this.processCompObj, 'caseTypeList', []) this.$set(this.processCompObj, 'caseTypeDetailList', []) this.$set(this.processCompObj, 'caseTypeTimeList', []) @@ -684,7 +706,29 @@ break } }, - // 构建提交表单 + /** + * 检查输入小时 + */ + checkHour(hour) { + if (parseInt(hour) >= 0) { + return true + } else { + return false + } + }, + /** + * 检查输入分钟 + */ + checkMin(min) { + if (parseInt(min) >= 0 && parseInt(min) < 60) { + return true + } else { + return false + } + }, + /** + * 构建提交表单 + */ buildForm() { console.log('buildForm', this.operationKey) // 通用参数,processId已有 @@ -793,20 +837,9 @@ console.log(this.processForm) return true }, - checkHour(hour) { - if (parseInt(hour) >= 0) { - return true - } else { - return false - } - }, - checkMin(min) { - if (parseInt(min) >= 0 && parseInt(min) < 60) { - return true - } else { - return false - } - }, + /** + * 提交案卷处理 + */ submit() { console.log('submit') this.$confirm('确定提交案件处理吗?', '提示', { @@ -824,7 +857,7 @@ completeCaseTask(this.processForm).then(response => { if (response.code === 200) { this.$message.success('提交成功') - // this.$emit('submitProcess', this.caseDetail.caseid) + // 隐藏案卷处理,重新加载数据 this.showProcess = false this.$route.query.showProcess = false this.initData() @@ -888,7 +921,11 @@ margin-bottom: 30px; } .image-container { + // width: 80%; + // margin-top: 20px; margin-left: 40px; + margin-right: 20px; + margin-bottom: 20px; } .el-image.image { width: 150px; diff --git a/src/components/CaseCommon/caseDetailRead.vue b/src/components/CaseCommon/caseDetailRead.vue index 5306d11..8e33af7 100644 --- a/src/components/CaseCommon/caseDetailRead.vue +++ b/src/components/CaseCommon/caseDetailRead.vue @@ -127,14 +127,25 @@
-
案卷图片:
+ -
+ -
+ + --> + + + + + + + + + + +
数据流转记录:
@@ -297,6 +308,8 @@ } .image-container { margin-left: 40px; + margin-right: 20px; + margin-bottom: 20px; } .el-image.image { width: 150px; diff --git a/src/views/caseCommon/caseDetailRead.vue b/src/views/caseCommon/caseDetailRead.vue index 2f4001d..54cb279 100644 --- a/src/views/caseCommon/caseDetailRead.vue +++ b/src/views/caseCommon/caseDetailRead.vue @@ -127,14 +127,25 @@
-
案卷图片:
+ -
- - + + -
+ + + + + + + + + + + +
数据流转记录:
@@ -289,6 +300,8 @@ .image-container { margin-left: 40px; + margin-right: 20px; + margin-bottom: 40px; } .el-image.image { width: 150px; diff --git a/src/views/caseCommon/caseDetailSupervise.vue b/src/views/caseCommon/caseDetailSupervise.vue index 3e4d95a..879a58a 100644 --- a/src/views/caseCommon/caseDetailSupervise.vue +++ b/src/views/caseCommon/caseDetailSupervise.vue @@ -127,14 +127,25 @@
-
案卷图片:
+ -
- - + + -
+ + + + + + + + + + + +
@@ -354,7 +365,10 @@ margin-bottom: 30px; } .image-container { + // margin-left: 40px; margin-left: 40px; + margin-right: 20px; + margin-bottom: 40px; } .el-image.image { width: 150px; diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index dc1eb3f..cfd14e6 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -131,13 +131,24 @@ -
案卷图片:
+ -
+ -
+ + + --> + + + + + + + + + + +
案卷处理:
@@ -462,7 +473,9 @@ this.initProcess() } }, - // 每次清空案件处理相关数据 + /** + * 每次进入页面时,清空案件处理相关数据 + */ resetData() { // this.operationKey = '' this.processForm = { @@ -477,8 +490,11 @@ this.commonLanguage = '' this.processCompShow = '' this.processCompObj = {} + this.$refs['processForm'].resetFields() }, - // 初始化案件处理单选键组 + /** + * 初始化案件处理单选键组 + */ async initProcess() { const res = await nextNodes(this.caseDetail.caseState) this.processRadioList = res.data @@ -567,7 +583,11 @@ this.processCompObj.hours = hours this.processCompObj.minutes = minutes }, - setDefaultUserId(radioConfig) { // 注意caseDetail.verifyPersonId和userlist中的id类型要一致 + /** + * 设置默认人员id + * 注意caseDetail.verifyPersonId和userlist中的id类型要一致 + */ + setDefaultUserId(radioConfig) { switch (radioConfig.passBack) { case 'verifyPersonId': { // 原核实人员 this.$set(this.processCompObj, 'taskUserId', this.caseDetail.verifyPersonId) @@ -583,7 +603,9 @@ } } }, - // 选择案卷处理操作 + /** + * 选择案卷处理操作,初始化所需组件 + */ async selectNextOperation() { console.log(this.operationKey, radioMap[this.operationKey], this.processCompObj) const radioConfig = radioMap[this.operationKey] @@ -623,7 +645,7 @@ this.$set(this.processCompObj, 'eorcList', eorcListRes.data) this.$set(this.processCompObj, 'eorc', this.caseDetail.eorc) - // 初始化 + // 初始化大类、小类、立案标准、完成时限 this.$set(this.processCompObj, 'caseTypeList', []) this.$set(this.processCompObj, 'caseTypeDetailList', []) this.$set(this.processCompObj, 'caseTypeTimeList', []) @@ -684,7 +706,29 @@ break } }, - // 构建提交表单 + /** + * 检查输入小时 + */ + checkHour(hour) { + if (parseInt(hour) >= 0) { + return true + } else { + return false + } + }, + /** + * 检查输入分钟 + */ + checkMin(min) { + if (parseInt(min) >= 0 && parseInt(min) < 60) { + return true + } else { + return false + } + }, + /** + * 构建提交表单 + */ buildForm() { console.log('buildForm', this.operationKey) // 通用参数,processId已有 @@ -793,20 +837,9 @@ console.log(this.processForm) return true }, - checkHour(hour) { - if (parseInt(hour) >= 0) { - return true - } else { - return false - } - }, - checkMin(min) { - if (parseInt(min) >= 0 && parseInt(min) < 60) { - return true - } else { - return false - } - }, + /** + * 提交案卷处理 + */ submit() { console.log('submit') this.$confirm('确定提交案件处理吗?', '提示', { @@ -824,7 +857,7 @@ completeCaseTask(this.processForm).then(response => { if (response.code === 200) { this.$message.success('提交成功') - // this.$emit('submitProcess', this.caseDetail.caseid) + // 隐藏案卷处理,重新加载数据 this.showProcess = false this.$route.query.showProcess = false this.initData() @@ -888,7 +921,11 @@ margin-bottom: 30px; } .image-container { + // width: 80%; + // margin-top: 20px; margin-left: 40px; + margin-right: 20px; + margin-bottom: 20px; } .el-image.image { width: 150px; diff --git a/src/components/CaseCommon/caseDetailRead.vue b/src/components/CaseCommon/caseDetailRead.vue index 5306d11..8e33af7 100644 --- a/src/components/CaseCommon/caseDetailRead.vue +++ b/src/components/CaseCommon/caseDetailRead.vue @@ -127,14 +127,25 @@
-
案卷图片:
+ -
+ -
+ + --> + + + + + + + + + + +
数据流转记录:
@@ -297,6 +308,8 @@ } .image-container { margin-left: 40px; + margin-right: 20px; + margin-bottom: 20px; } .el-image.image { width: 150px; diff --git a/src/views/caseCommon/caseDetailRead.vue b/src/views/caseCommon/caseDetailRead.vue index 2f4001d..54cb279 100644 --- a/src/views/caseCommon/caseDetailRead.vue +++ b/src/views/caseCommon/caseDetailRead.vue @@ -127,14 +127,25 @@
-
案卷图片:
+ -
- - + + -
+ + + + + + + + + + + +
数据流转记录:
@@ -289,6 +300,8 @@ .image-container { margin-left: 40px; + margin-right: 20px; + margin-bottom: 40px; } .el-image.image { width: 150px; diff --git a/src/views/caseCommon/caseDetailSupervise.vue b/src/views/caseCommon/caseDetailSupervise.vue index 3e4d95a..879a58a 100644 --- a/src/views/caseCommon/caseDetailSupervise.vue +++ b/src/views/caseCommon/caseDetailSupervise.vue @@ -127,14 +127,25 @@
-
案卷图片:
+ -
- - + + -
+ + + + + + + + + + + +
@@ -354,7 +365,10 @@ margin-bottom: 30px; } .image-container { + // margin-left: 40px; margin-left: 40px; + margin-right: 20px; + margin-bottom: 40px; } .el-image.image { width: 150px; diff --git a/src/views/supervise/overtimeCase.vue b/src/views/supervise/overtimeCase.vue index 08576ff..f1bb982 100644 --- a/src/views/supervise/overtimeCase.vue +++ b/src/views/supervise/overtimeCase.vue @@ -103,15 +103,3 @@ } -