| | |
| | | <aura:component implements="force:appHostable,lightning:isUrlAddressable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,force:lightningQuickAction,forceCommunity:availableForAllPageTypes" |
| | | controller="taskManageController" > |
| | | <aura:attribute name="opportunity_cfilter" type="String" default="" /> |
| | | |
| | | <ltng:require styles="{!$Resource.lwcCSS}" /> |
| | | <aura:attribute name="selectedData" type="Object[]" /> |
| | | <aura:attribute name="data" type="Object[]" /> |
| | | <aura:attribute name="dataCopy" type="Object[]" /> |
| | |
| | | <aura:attribute name="estimatedFinishDate" type="Date" /> |
| | | <aura:handler name="init" value="{! this }" action="{! c.init }"/> |
| | | |
| | | <div> |
| | | <lightning:spinner aura:id="mySpinner" size="large" class="slds-hide"/> |
| | | </div> |
| | | |
| | | <div style="margin-top:20px; "> |
| | | |
| | | |
| | | <lightning:spinner aura:id="mySpinner" size="large" class="slds-hide spinner-overlay"/> |
| | | |
| | | |
| | | <lightning:accordion |
| | | allowMultipleSectionsOpen="true" |
| | | activeSectionName="{! v.activeSections }" |
| | | > |
| | | <lightning:accordionSection name="A" label="自己的任务"> |
| | | <div class="c-container"> |
| | | <lightning:layout multipleRows="true"> |
| | | <div class="c-container" style="width:1150px"> |
| | | <lightning:layout multipleRows="true" > |
| | | |
| | | <lightning:layoutItem size="12" smallDeviceSize="6" mediumDeviceSize="4" largeDeviceSize="3" padding="horizontal_small"> |
| | | <p class="slds-p-horizontal_small"> |
| | |
| | | |
| | | <lightning:layoutItem size="12" smallDeviceSize="6" mediumDeviceSize="4" largeDeviceSize="3" padding="horizontal_small"> |
| | | |
| | | <p class="slds-p-horizontal_small"> |
| | | 客户: |
| | | <c:strike_lookup label="客户:" |
| | | <p class="slds-p-horizontal_small no-wrap" style="white-space: nowrap;"> |
| | | <label style="padding-top: 9px;color: #747474; ">客户</label> |
| | | <div style="width: 200px;float: right;padding-top: 4px;"> |
| | | <c:strike_lookup label="客户:" |
| | | object="Account" |
| | | searchField="Name" |
| | | placeholder="搜索客户..." |
| | |
| | | allowNewRecords = "false" |
| | | overrideNewEvent = "true" |
| | | showRecentRecords ="true" |
| | | value="{!v.myTempTask.account__c}" |
| | | |
| | | value="{!v.myTempTask.account__c}" |
| | | subTitleFormat="{0}+{1}"/> |
| | | </div> |
| | | |
| | | |
| | | </p> |
| | | </lightning:layoutItem> |
| | |
| | | |
| | | <lightning:layoutItem size="12" smallDeviceSize="6" mediumDeviceSize="4" largeDeviceSize="3" padding="horizontal_small"> |
| | | <p class="slds-p-horizontal_small"> |
| | | <lightning:button label="确认" iconName="utility:search" |
| | | iconPosition="left" |
| | | onclick="{! c.myTaskSearch }" /> |
| | | <div style="float: right;"> |
| | | <lightning:button label="确认" iconName="utility:search" |
| | | iconPosition="left" |
| | | onclick="{! c.myTaskSearch }" /> |
| | | </div> |
| | | |
| | | |
| | | </p> |
| | | </lightning:layoutItem> |
| | |
| | | </div> |
| | | </lightning:accordionSection> |
| | | <lightning:accordionSection name="B" label="下属的任务"> |
| | | <div class="c-container"> |
| | | <div class="c-container" style="width: 1150px;"> |
| | | <lightning:layout multipleRows="true"> |
| | | |
| | | <lightning:layoutItem size="12" smallDeviceSize="6" mediumDeviceSize="4" largeDeviceSize="3" padding="horizontal_small"> |
| | |
| | | <lightning:layoutItem size="12" smallDeviceSize="6" mediumDeviceSize="4" largeDeviceSize="3" padding="horizontal_small"> |
| | | |
| | | <p class="slds-p-horizontal_small"> |
| | | 客户: |
| | | <c:strike_lookup label="客户:" |
| | | <label style="padding-top: 9px;color: #747474;">客户</label> |
| | | <div style="width: 200px;float: right;padding-top: 4px;"> |
| | | <c:strike_lookup label="客户:" |
| | | object="Account" |
| | | searchField="Name" |
| | | placeholder="搜索客户..." |
| | |
| | | showRecentRecords ="true" |
| | | value="{!v.subTempTask.account__c}" |
| | | subTitleFormat="{0}+{1}"/> |
| | | </div> |
| | | |
| | | </p> |
| | | </lightning:layoutItem> |
| | | <!--2021-09-28 mzy 任务管理改善 start--> |
| | |
| | | </lightning:accordionSection> |
| | | |
| | | <div class="slds-modal slds-fade-in-open slds-hide" aura:id="successDiv"> |
| | | <ui:inputText aura:id="articleURL"/> |
| | | <!-- <ui:inputText aura:id="articleURL"/> --> |
| | | <div class="demo-only" style="height: 8rem;"> |
| | | <div class="slds-notify_container slds-is-relative"> |
| | | <div class="slds-notify slds-notify_toast slds-theme_success" role="alert"> |
| | | <div class=" slds-m-left_xx-large"> |
| | | <div class="slds-notify__content slds-m-left_small slds-align_absolute-center slds-m-left_xx-large"> |
| | | <div> |
| | | <div class="slds-notify__content slds-align_absolute-center "> |
| | | <lightning:icon alternativeText="Success" iconName="utility:success" size="small" |
| | | class="buttonColor slds-m-right_small" /> |
| | | class="buttonColor slds-m-right_small" variant="inverse"/> |
| | | <h2 class="slds-text-heading_small ">{!v.successMessage}</h2> |
| | | </div> |
| | | <div class="slds-notify__close"> |
| | | <button class="slds-button slds-button_icon slds-button_icon-inverse" title="Close" onclick="{! c.closeMessage }"> |
| | | <lightning:icon alternativeText="close" iconName="utility:close" size="small" variant="inverse"/> |
| | | <span class="slds-assistive-text">Close</span> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="slds-modal slds-fade-in-open slds-hide" aura:id="errorDiv" style="z-index: 10001"> |
| | | <ui:inputText aura:id="articleURL"/> |
| | | <!-- <ui:inputText aura:id="articleURL"/> --> |
| | | <div class="demo-only" style="height: 8rem;"> |
| | | <div class="slds-notify_container slds-is-relative"> |
| | | <div class="slds-notify slds-notify_toast slds-theme_error" role="status"> |
| | | <div class=" slds-m-left_xx-large"> |
| | | <div class="slds-notify__content slds-m-left_small slds-align_absolute-center slds-m-left_xx-large"> |
| | | <div class="slds-notify slds-notify_toast slds-theme_error" style="background-color: #ba0517 !important;" role="status"> |
| | | <div > |
| | | <div class="slds-notify__content slds-align_absolute-center "> |
| | | <lightning:icon alternativeText="error" iconName="utility:error" size="small" |
| | | class="buttonColor slds-m-right_small" /> |
| | | class="buttonColor slds-m-right_small" variant="inverse"/> |
| | | <h2 class="slds-text-heading_small ">{!v.errorMessage}</h2> |
| | | </div> |
| | | <div class="slds-notify__close"> |
| | | <button class="slds-button slds-button_icon slds-button_icon-inverse" title="Close" onclick="{! c.closeMessage }"> |
| | | <lightning:icon alternativeText="close" iconName="utility:close" size="small" /> |
| | | <lightning:icon alternativeText="close" iconName="utility:close" size="small" variant="inverse"/> |
| | | <span class="slds-assistive-text">Close</span> |
| | | </button> |
| | | </div> |