|
@@ -471,6 +471,13 @@ export default {
|
|
|
this.version = data.version
|
|
this.version = data.version
|
|
|
// 流程实例当前审批节点
|
|
// 流程实例当前审批节点
|
|
|
this.endProcessTaskId = data.endProcessTaskId
|
|
this.endProcessTaskId = data.endProcessTaskId
|
|
|
|
|
+ // 备份对比
|
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
|
+ this.formDataBF = this.getFormData()
|
|
|
|
|
+ }, 500)
|
|
|
|
|
+ this.opinionListBF = JSON.parse(JSON.stringify(this.formParams.formOpinionData.opinionList))
|
|
|
|
|
+ })
|
|
|
// ============内嵌表单[按钮这边提供] ================
|
|
// ============内嵌表单[按钮这边提供] ================
|
|
|
} else if (formModel.type === 'URL_LOAD') {
|
|
} else if (formModel.type === 'URL_LOAD') {
|
|
|
const urlForm = formModel.formValue
|
|
const urlForm = formModel.formValue
|
|
@@ -601,6 +608,18 @@ export default {
|
|
|
* 构建操作按钮
|
|
* 构建操作按钮
|
|
|
*/
|
|
*/
|
|
|
buildButtons (toolbars, params) {
|
|
buildButtons (toolbars, params) {
|
|
|
|
|
+ if (this.timeModificationbtn) {
|
|
|
|
|
+ toolbars.push({
|
|
|
|
|
+ 'alias': 'timeModification',
|
|
|
|
|
+ 'name': this.timeModification_ ? '保存修改' : '修改数据'
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ // if (this.timeModificationbtn) {
|
|
|
|
|
+ // toolbars.push({
|
|
|
|
|
+ // 'alias': 'timeModificationNo',
|
|
|
|
|
+ // 'name': '取消'
|
|
|
|
|
+ // })
|
|
|
|
|
+ // }
|
|
|
if (this.$utils.isEmpty(toolbars)) {
|
|
if (this.$utils.isEmpty(toolbars)) {
|
|
|
toolbars = []
|
|
toolbars = []
|
|
|
}
|
|
}
|