Compare commits

..

No commits in common. "c5643856c066853ee9e284235c979fbeb6455b65" and "6a70e6a1e2bf4354feb62f4b8c4dea1f525e61ad" have entirely different histories.

4 changed files with 13 additions and 17 deletions

View File

@ -123,9 +123,6 @@ class PFCommonApprove extends React.Component {
if (this.state.data.CALLBACK_INTERFACE && this.state.data.CALLBACK_INTERFACE.indexOf("New") > -1) { if (this.state.data.CALLBACK_INTERFACE && this.state.data.CALLBACK_INTERFACE.indexOf("New") > -1) {
newUrl = this.state.data.CALLBACK_INTERFACE newUrl = this.state.data.CALLBACK_INTERFACE
} }
if (this.props.data && this.props.data.TASK_ORGID && this.props.data.TASK_ORGID.length > 0 && this.props.data.TASK_ORGID !== this.props.login.OrgId) {
this.state.data.Parameter22 = this.props.data.TASK_ORGID
}
if (newUrl.length > 0) { if (newUrl.length > 0) {
this.props.dispatch({ this.props.dispatch({
type: 'app/getDataByPost', type: 'app/getDataByPost',

View File

@ -238,7 +238,6 @@ class PFCommonApproveView extends React.Component {
appVisible:appVisibleTemp, appVisible:appVisibleTemp,
BtnAgreeDisplay:this.props.data.BtnAgreeDisplay?this.props.data.BtnAgreeDisplay:'inline' BtnAgreeDisplay:this.props.data.BtnAgreeDisplay?this.props.data.BtnAgreeDisplay:'inline'
}); });
json.Parameter22=this.props.data?.TASK_ORGID
this.props.dispatch({ this.props.dispatch({
type: 'app/getDataByPost', type: 'app/getDataByPost',
payload: json, payload: json,

View File

@ -1,7 +1,7 @@
import { message } from "antd/lib/index"; import { message } from "antd/lib/index";
import { Button, Descriptions, Popconfirm, Row, Col, Form, Input, Select, Modal } from 'antd'; import { Button, Descriptions, Popconfirm, Row, Col, Form, Input, Select, Modal } from 'antd';
import React from 'react'; import React from 'react';
import { initFilter, extendRule, extendInclude, extendIgnoreDataRule, setDataFieldValue, guid, showUserSign, showFiles, GetFileModel } from "../../../utils/common"; import { initFilter, extendRule, extendInclude, extendIgnoreDataRule, setDataFieldValue, guid,showUserSign, showFiles, GetFileModel } from "../../../utils/common";
import ReactToPrint from "react-to-print"; import ReactToPrint from "react-to-print";
import config from "../../../config"; import config from "../../../config";
import XLSX from 'xlsx'; import XLSX from 'xlsx';
@ -12,6 +12,7 @@ import moment from 'moment';
import Item from "antd/lib/list/Item"; import Item from "antd/lib/list/Item";
class SK033ShowPrint extends React.Component { class SK033ShowPrint extends React.Component {
constructor(props) { constructor(props) {
debugger
super(props); super(props);
this.state = { this.state = {
data: null, data: null,
@ -85,7 +86,7 @@ class SK033ShowPrint extends React.Component {
} }
onClickApprove = (appVisible) => { onClickApprove = (appVisible) => {
const newtmpData = { const newtmpData = {
data: { id: this.props.data.id, isShow: true, key: guid(), param: this.props.data.param, appVisible: appVisible, BtnAgreeDisplay: 'inline', TASK_ORGID: this.props.data?.TASK_ORGID }, data: { id: this.props.data.id, isShow: true, key: guid(), param: this.props.data.param, appVisible: appVisible, BtnAgreeDisplay: 'inline' },
formCode: "PF123", formCode: "PF123",
} }
this.setState({ this.setState({
@ -136,7 +137,7 @@ class SK033ShowPrint extends React.Component {
<td style={{ width: "80px" }} className={stylesStep.fontBold}>风险类别</td> <td style={{ width: "80px" }} className={stylesStep.fontBold}>风险类别</td>
<td className={stylesStep.fontBold}>管控措施</td> <td className={stylesStep.fontBold}>管控措施</td>
<td className={stylesStep.fontBold}>应急处置</td> <td className={stylesStep.fontBold}>应急处置</td>
<td style={{ width: "50px" }} className={stylesStep.fontBold}>状态</td> <td style={{ width: "50px" }} className={stylesStep.fontBold}>状态</td>
</tr> </tr>
{ {
data?.Nav_Details && data.Nav_Details?.map((item, i) => { data?.Nav_Details && data.Nav_Details?.map((item, i) => {
@ -182,14 +183,14 @@ class SK033ShowPrint extends React.Component {
} }
</table> </table>
{ {
data ? data ?
<div> <div>
<Descriptions size="middle" bordered> <Descriptions size="middle" bordered>
<Descriptions.Item label="辨识人签名">{ <Descriptions.Item label="辨识人签名">{
data.STATUS !== 0 ? showUserSign(data.Nav_ApplyUser, config.picServerHost) : null data.STATUS !== 0 ? showUserSign(data.Nav_ApplyUser, config.picServerHost) : null
}</Descriptions.Item> }</Descriptions.Item>
</Descriptions> </Descriptions>
</div> : null </div>:null
} }
<FormPage {...this.state.tmpData} /> <FormPage {...this.state.tmpData} />
</div> </div>

View File

@ -214,8 +214,7 @@ export function initFilter(OrgId, Keyword = "", Sort, Order, PageIndex = 1, Para
FilterGroup: { Rules: [], Groups: [] }, FilterGroup: { Rules: [], Groups: [] },
SelectField: [], SelectField: [],
DataRule: [], DataRule: [],
IgnoreDataRule: false, IgnoreDataRule: false
IgnoreOrgRule: true
}; };
// let params = $("#search-form").elFilterParam(); // let params = $("#search-form").elFilterParam();
// extend(json, params); // extend(json, params);