@@ -782,7 +782,7 @@ export default {
await this.saveData(jsonData, true, defData, snapshot)
}
- this.timeModification_ = false
+ // this.timeModification_ = false
} else {
this.timeModification_ = true
@@ -262,6 +262,11 @@ export default {
type: Boolean,
default: false
},
+ // 修改流程时间
+ timeModification: {
+ type: Boolean,
+ default: false
+ },
mainCode: String, // 主表名
params: Object // 参数
@@ -574,6 +579,11 @@ export default {
* 获取真实的权限
*/
getRealRights (rights) {
+ // 点击体系运行记录盒修改数据,子表返回状态可编辑
+ if (!this.timeModification) {
+ return 'e'
+ }
+
if (this.tableReadonly) {
return rights === FormOptions.t.PERMISSIONS.HIDE ? rights : FormOptions.t.PERMISSIONS.READ
@@ -49,6 +49,7 @@
:code="code"
:params="formParams"
:cur-active-step.sync="activeStep"
+ :time-modification="timeModification"
/>
<!--其他类型-->
<ibps-dynamic-form-item