首页方针 通知 处理 数据可以集团到子公司
This commit is contained in:
parent
f7c8fceb8d
commit
70c6ce14bc
23
src/files/edit/PF149.js
Normal file
23
src/files/edit/PF149.js
Normal file
@ -0,0 +1,23 @@
|
||||
import React, { useEffect, useState } from 'react'
|
||||
import { message, Checkbox, Radio } from "antd/lib/index";
|
||||
import { getPropertyData, guid, extendInclude, extendRule, getDataFieldValue, setDataFieldValue, initFilter, empty, onBeforeSaveHandleRecordLog, Format } from "../../utils/common";
|
||||
import { connect } from 'dva';
|
||||
import moment from 'moment';
|
||||
import config from "../../config.js"
|
||||
import { Button, Row, Col, Form, Input, Upload, Icon, Modal, Spin } from 'antd';
|
||||
import storage from '../../utils/storage'
|
||||
import MD5 from "js-md5"
|
||||
// import PlvVideoUpload from "@polyv/vod-upload-js-sdk/vod-upload-js-sdk.min.js";
|
||||
/**
|
||||
* @return {string}
|
||||
*/
|
||||
// 编辑 事故事件调查结果填报
|
||||
export default {
|
||||
|
||||
onBeforeEdit: ({ stateData, setFieldVisible, setFieldValue }) => {
|
||||
if (stateData.ORG_ID == null || stateData.ORG_ID != '00300000-0000-0000-0000-000000000000') {
|
||||
setFieldVisible("ISTOCHILE", false)//非总部 不能下发到子公司
|
||||
setFieldValue("ISHEAD", 0)//非总部配置
|
||||
}
|
||||
}
|
||||
}
|
||||
26
src/files/edit/PF151.js
Normal file
26
src/files/edit/PF151.js
Normal file
@ -0,0 +1,26 @@
|
||||
import React, { useEffect, useState } from 'react'
|
||||
import { message, Checkbox, Radio } from "antd/lib/index";
|
||||
import { getPropertyData, guid, extendInclude, extendRule, getDataFieldValue, setDataFieldValue, initFilter, empty, onBeforeSaveHandleRecordLog, Format } from "../../utils/common";
|
||||
import { connect } from 'dva';
|
||||
import moment from 'moment';
|
||||
import config from "../../config.js"
|
||||
import { Button, Row, Col, Form, Input, Upload, Icon, Modal, Spin } from 'antd';
|
||||
import storage from '../../utils/storage'
|
||||
import MD5 from "js-md5"
|
||||
// import PlvVideoUpload from "@polyv/vod-upload-js-sdk/vod-upload-js-sdk.min.js";
|
||||
/**
|
||||
* @return {string}
|
||||
*/
|
||||
// 编辑 事故事件调查结果填报
|
||||
export default {
|
||||
|
||||
onBeforeSaveHandleRecord(params) {
|
||||
params.record.STATUS = params.customParams;
|
||||
},
|
||||
onBeforeEdit: ({ stateData, setFieldVisible, setFieldValue }) => {
|
||||
if (stateData.ORG_ID == null || stateData.ORG_ID != '00300000-0000-0000-0000-000000000000') {
|
||||
setFieldVisible("ISTOCHILE", false)//非总部 不能下发到子公司
|
||||
setFieldValue("ISHEAD", 0)//非总部配置
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user