增加参数questionType
This commit is contained in:
@ -42,6 +42,7 @@ class manager extends PureComponent {
|
||||
staffId: '', //智慧客服'
|
||||
staffName:'', //智慧客服
|
||||
kfType:0,//智慧客服
|
||||
questionType:0,//智慧客服
|
||||
// NTKF_PARAM: {
|
||||
// siteid: "bl_1000", //企业ID,,为固定值
|
||||
// settingid: "bl_1000_1492484340268", //接待组ID,为固定值,必填
|
||||
@ -173,7 +174,7 @@ class manager extends PureComponent {
|
||||
};
|
||||
render() {
|
||||
const { downlist, projectlist, staloading, tlist, trelist, idList, dateNum } = this.props;
|
||||
const { datevalue, messId, messageDetail, detailId, noticeDetail, questData, questVisible, mainDetail, isModalVisible, isCloseWs, optionsModal, projectModal, supplierNumber, staffId, staffName, kfType,} = this.state;
|
||||
const { datevalue, messId, messageDetail, detailId, noticeDetail, questData, questVisible, mainDetail, isModalVisible, isCloseWs, optionsModal, projectModal, supplierNumber, staffId, staffName, kfType, questionType,} = this.state;
|
||||
return (
|
||||
<>
|
||||
{
|
||||
@ -321,8 +322,9 @@ class manager extends PureComponent {
|
||||
this.setState({kfType: 2})
|
||||
this.setState({projectModal: true})
|
||||
}}
|
||||
openWin={(index)=>{
|
||||
this.setState({kfType: index})
|
||||
openWin={(kfType, questionType)=>{
|
||||
this.setState({questionType: questionType})
|
||||
this.setState({kfType: kfType})
|
||||
this.setState({optionsModal: false})
|
||||
this.setState({isModalVisible: true})
|
||||
this.setState({isCloseWs: false})
|
||||
@ -330,6 +332,7 @@ class manager extends PureComponent {
|
||||
}}
|
||||
closeWin={()=>{
|
||||
this.setState({kfType: 0})
|
||||
this.setState({questionType: 0})
|
||||
this.setState({optionsModal: false})
|
||||
this.setState({isModalVisible: false})
|
||||
this.setState({isCloseWs: true})
|
||||
@ -338,8 +341,8 @@ class manager extends PureComponent {
|
||||
optionsModal={optionsModal}
|
||||
projectModal={projectModal}
|
||||
isModalVisible={isModalVisible}
|
||||
//supplierNo='EMPTY'
|
||||
kfType={kfType}
|
||||
questionType={questionType}
|
||||
staffId={staffId}
|
||||
staffName={staffName}
|
||||
supplierNumber={supplierNumber}
|
||||
|
Reference in New Issue
Block a user