src/tabviews/custom/components/chart/antv-X6/index.jsx
@@ -997,6 +997,16 @@ this.setState({node: null}) }) graph.on('edge:connected', ({ isNew, edge }) => { if (!isNew) return let target = edge.getTargetCell() let mkdata = target ? target.prop('mkdata') : null if (mkdata) { edge.prop('mkdata', {status: mkdata.status, statusName: mkdata.statusName}) } }) const r1 = graph.createNode({ shape: 'mk-rect', src/tabviews/custom/components/chart/antv-X6/nodeupdate/index.jsx
@@ -494,7 +494,7 @@ <Row>{this.getFields()}</Row> </Form> <Modal title="节点编辑" title={mknode && mknode.shape === 'edge' ? '连线编辑' : '节点编辑'} visible={visible} closable={false} maskClosable={false} src/tabviews/custom/components/chart/antv-X6/nodeupdate/memberform.jsx
@@ -187,7 +187,7 @@ onCancel={() => this.setState({visible: false})} destroyOnClose > <Search onSearch={this.search}/> <Search onSearch={this.search} enterButton/> <TreeTransfer dataSource={orgs} targetKeys={targetKeys} onChange={this.onChange} /> </Modal> </> src/tabviews/custom/components/chart/antv-X6/nodeupdate/nodeform.jsx
@@ -54,7 +54,7 @@ <Col span={12}> <Form.Item label="状态值"> {getFieldDecorator('status', { initialValue: data.status === undefined ? 0 : data.status, initialValue: data.status, rules: [ { required: true, @@ -105,7 +105,7 @@ {nodetype === 'edge' ? <Col span={12}> <Form.Item label="审批方式"> {getFieldDecorator('approvalMethod', { initialValue: data.approvalMethod || 'countersign' initialValue: data.approvalMethod || 'orsign' })( <Radio.Group> <Radio value="countersign">会签</Radio> @@ -114,7 +114,7 @@ )} </Form.Item> </Col> : null} {nodetype === 'edge' || nodetype === 'node' ? <Col span={12}> {nodetype === 'edge' ? <Col span={12}> <Form.Item label="审批人"> {getFieldDecorator('members', { initialValue: data.members || [], @@ -127,7 +127,7 @@ )} </Form.Item> </Col> : null} {nodetype === 'edge' || nodetype === 'node' ? <Col span={12}> {nodetype === 'edge' ? <Col span={12}> <Form.Item label="抄送人"> {getFieldDecorator('copys', { initialValue: data.copys || []