| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | |
| | | IIS configuration sections. |
| | | |
| | | For schema documentation, see |
| | | %IIS_BIN%\config\schema\IIS_schema.xml. |
| | | |
| | | Please make a backup of this file before making any changes to it. |
| | | |
| | | NOTE: The following environment variables are available to be used |
| | | within this file and are understood by the IIS Express. |
| | | |
| | | %IIS_USER_HOME% - The IIS Express home directory for the user |
| | | %IIS_SITES_HOME% - The default home directory for sites |
| | | %IIS_BIN% - The location of the IIS Express binaries |
| | | %SYSTEMDRIVE% - The drive letter of %IIS_BIN% |
| | | |
| | | --> |
| | | <configuration> |
| | | <!-- |
| | | |
| | | The <configSections> section controls the registration of sections. |
| | | Section is the basic unit of deployment, locking, searching and |
| | | containment for configuration settings. |
| | | |
| | | Every section belongs to one section group. |
| | | A section group is a container of logically-related sections. |
| | | |
| | | Sections cannot be nested. |
| | | Section groups may be nested. |
| | | |
| | | <section |
| | | name="" [Required, Collection Key] [XML name of the section] |
| | | allowDefinition="Everywhere" [MachineOnly|MachineToApplication|AppHostOnly|Everywhere] [Level where it can be set] |
| | | overrideModeDefault="Allow" [Allow|Deny] [Default delegation mode] |
| | | allowLocation="true" [true|false] [Allowed in location tags] |
| | | /> |
| | | |
| | | The recommended way to unlock sections is by using a location tag: |
| | | <location path="Default Web Site" overrideMode="Allow"> |
| | | <system.webServer> |
| | | <asp /> |
| | | </system.webServer> |
| | | </location> |
| | | |
| | | --> |
| | | <configSections> |
| | | <sectionGroup name="system.applicationHost"> |
| | | <section name="applicationPools" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> |
| | | <section name="configHistory" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> |
| | | <section name="customMetadata" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> |
| | | <section name="listenerAdapters" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> |
| | | <section name="log" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> |
| | | <section name="serviceAutoStartProviders" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> |
| | | <section name="sites" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> |
| | | <section name="webLimits" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> |
| | | </sectionGroup> |
| | | <sectionGroup name="system.webServer"> |
| | | <section name="asp" overrideModeDefault="Deny" /> |
| | | <section name="caching" overrideModeDefault="Allow" /> |
| | | <section name="cgi" overrideModeDefault="Deny" /> |
| | | <section name="defaultDocument" overrideModeDefault="Allow" /> |
| | | <section name="directoryBrowse" overrideModeDefault="Allow" /> |
| | | <section name="fastCgi" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> |
| | | <section name="globalModules" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> |
| | | <section name="handlers" overrideModeDefault="Deny" /> |
| | | <section name="httpCompression" overrideModeDefault="Allow" allowDefinition="Everywhere" /> |
| | | <section name="httpErrors" overrideModeDefault="Allow" /> |
| | | <section name="httpLogging" overrideModeDefault="Deny" /> |
| | | <section name="httpProtocol" overrideModeDefault="Allow" /> |
| | | <section name="httpRedirect" overrideModeDefault="Allow" /> |
| | | <section name="httpTracing" overrideModeDefault="Deny" /> |
| | | <section name="isapiFilters" allowDefinition="MachineToApplication" overrideModeDefault="Deny" /> |
| | | <section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" /> |
| | | <section name="applicationInitialization" allowDefinition="MachineToApplication" overrideModeDefault="Allow" /> |
| | | <section name="odbcLogging" overrideModeDefault="Deny" /> |
| | | <sectionGroup name="security"> |
| | | <section name="access" overrideModeDefault="Deny" /> |
| | | <section name="applicationDependencies" overrideModeDefault="Deny" /> |
| | | <sectionGroup name="authentication"> |
| | | <section name="anonymousAuthentication" overrideModeDefault="Deny" /> |
| | | <section name="basicAuthentication" overrideModeDefault="Deny" /> |
| | | <section name="clientCertificateMappingAuthentication" overrideModeDefault="Deny" /> |
| | | <section name="digestAuthentication" overrideModeDefault="Deny" /> |
| | | <section name="iisClientCertificateMappingAuthentication" overrideModeDefault="Deny" /> |
| | | <section name="windowsAuthentication" overrideModeDefault="Deny" /> |
| | | </sectionGroup> |
| | | <section name="authorization" overrideModeDefault="Allow" /> |
| | | <section name="ipSecurity" overrideModeDefault="Deny" /> |
| | | <section name="dynamicIpSecurity" overrideModeDefault="Deny" /> |
| | | <section name="isapiCgiRestriction" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> |
| | | <section name="requestFiltering" overrideModeDefault="Allow" /> |
| | | </sectionGroup> |
| | | <section name="serverRuntime" overrideModeDefault="Deny" /> |
| | | <section name="serverSideInclude" overrideModeDefault="Deny" /> |
| | | <section name="staticContent" overrideModeDefault="Allow" /> |
| | | <sectionGroup name="tracing"> |
| | | <section name="traceFailedRequests" overrideModeDefault="Allow" /> |
| | | <section name="traceProviderDefinitions" overrideModeDefault="Deny" /> |
| | | </sectionGroup> |
| | | <section name="urlCompression" overrideModeDefault="Allow" /> |
| | | <section name="validation" overrideModeDefault="Allow" /> |
| | | <sectionGroup name="webdav"> |
| | | <section name="globalSettings" overrideModeDefault="Deny" /> |
| | | <section name="authoring" overrideModeDefault="Deny" /> |
| | | <section name="authoringRules" overrideModeDefault="Deny" /> |
| | | </sectionGroup> |
| | | <sectionGroup name="rewrite"> |
| | | <section name="allowedServerVariables" overrideModeDefault="Deny" /> |
| | | <section name="rules" overrideModeDefault="Allow" /> |
| | | <section name="outboundRules" overrideModeDefault="Allow" /> |
| | | <section name="globalRules" overrideModeDefault="Deny" allowDefinition="AppHostOnly" /> |
| | | <section name="providers" overrideModeDefault="Allow" /> |
| | | <section name="rewriteMaps" overrideModeDefault="Allow" /> |
| | | </sectionGroup> |
| | | <section name="webSocket" overrideModeDefault="Deny" /> |
| | | <section name="aspNetCore" overrideModeDefault="Allow" /> |
| | | </sectionGroup> |
| | | </configSections> |
| | | <configProtectedData> |
| | | <providers> |
| | | <add name="IISWASOnlyRsaProvider" type="" description="Uses RsaCryptoServiceProvider to encrypt and decrypt" keyContainerName="iisWasKey" cspProviderName="" useMachineContainer="true" useOAEP="false" /> |
| | | <add name="AesProvider" type="Microsoft.ApplicationHost.AesProtectedConfigurationProvider" description="Uses an AES session key to encrypt and decrypt" keyContainerName="iisConfigurationKey" cspProviderName="" useOAEP="false" useMachineContainer="true" sessionKey="AQIAAA5mAAAApAAA/HKxkz6alrlAPez0IUgujj/6k3WxCDriHp6jvpv3yEZmo7h6SMzGLxo4mTrIQVHSkB7tmElHKfUFTzE2BWF7nFWHY6Z6qmGBauFzwJMwESjril7Gjz69RBFH259HQ6aRDq9Xfx7U7H4HtdmnKNqGjgl/hwPQBGeIlWiDh+sYv3vKB0QU971tjX6H2B+9armlnC8UOuA6JYMDMI/VLLL16sng0fWAy5JYe0YVABVjiAWDW264RZW9Tr1Oax4qHZKg+SdjULxeOc2YmpX+d0yeITo1HkPF1hN1gHpIPIUDo05ilHUNfR3OkjVCIQK4cFKCq1s8NH+y+13MxUC4Fn1AlQ==" /> |
| | | <add name="IISWASOnlyAesProvider" type="Microsoft.ApplicationHost.AesProtectedConfigurationProvider" description="Uses an AES session key to encrypt and decrypt" keyContainerName="iisWasKey" cspProviderName="" useOAEP="false" useMachineContainer="true" sessionKey="AQIAAA5mAAAApAAALmU8lTC+v2qtfQiiiquvvLpUQqKLEXs+jSKoWCM/uPhyB++k4dwug19mGidNK5FYiWK2KYE1yhjVJcbp12E98Q0R2nT7eBiCMY2JairxQ591rqABK7keGaIjwH7PwGzSpILl3RJ4YFvJ/7ZXEJxeDZIjW8ZxWVXx+/VyHs9U3WguLEkgMUX3jrxJi8LouxaIVPJAv/YQ1ZCWs8zImitxX/C/7o7yaIxznfsN5nGQzQfpUDPeby99aw2zPVTtZI2LaWIBON8guABvZ6JtJVDWmfdK6sodbnwdZkr6/Z2rfvamT1dC1SpQrGG7ulR/f9/GXvCaW10ZVKxekBF/CYlNMg==" /> |
| | | </providers> |
| | | </configProtectedData> |
| | | <system.applicationHost> |
| | | <applicationPools> |
| | | <add name="Clr4IntegratedAppPool" managedRuntimeVersion="v4.0" managedPipelineMode="Integrated" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> |
| | | <add name="Clr4ClassicAppPool" managedRuntimeVersion="v4.0" managedPipelineMode="Classic" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> |
| | | <add name="Clr2IntegratedAppPool" managedRuntimeVersion="v2.0" managedPipelineMode="Integrated" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> |
| | | <add name="Clr2ClassicAppPool" managedRuntimeVersion="v2.0" managedPipelineMode="Classic" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> |
| | | <add name="UnmanagedClassicAppPool" managedRuntimeVersion="" managedPipelineMode="Classic" autoStart="true" /> |
| | | <add name="zhengcaioa AppPool" managedRuntimeVersion="" /> |
| | | <applicationPoolDefaults managedRuntimeVersion="v4.0"> |
| | | <processModel loadUserProfile="true" setProfileEnvironment="false" /> |
| | | </applicationPoolDefaults> |
| | | </applicationPools> |
| | | <!-- |
| | | |
| | | The <listenerAdapters> section defines the protocols with which the |
| | | Windows Process Activation Service (WAS) binds. |
| | | |
| | | --> |
| | | <listenerAdapters> |
| | | <add name="http" /> |
| | | </listenerAdapters> |
| | | <sites> |
| | | <site name="WebSite1" id="1" serverAutoStart="true"> |
| | | <application path="/"> |
| | | <virtualDirectory path="/" physicalPath="%IIS_SITES_HOME%\WebSite1" /> |
| | | </application> |
| | | <bindings> |
| | | <binding protocol="http" bindingInformation=":8080:localhost" /> |
| | | </bindings> |
| | | </site> |
| | | <site name="zhengcaioa" id="2"> |
| | | <application path="/" applicationPool="zhengcaioa AppPool"> |
| | | <virtualDirectory path="/" physicalPath="F:\zhengcaioa\zhengcaioa\zhengcaioa" /> |
| | | </application> |
| | | <bindings> |
| | | <binding protocol="http" bindingInformation="*:58167:localhost" /> |
| | | </bindings> |
| | | </site> |
| | | <siteDefaults> |
| | | <!-- To enable logging, please change the below attribute "enabled" to "true" --> |
| | | <logFile logFormat="W3C" directory="%AppData%\Microsoft\IISExpressLogs" enabled="false" /> |
| | | <traceFailedRequestsLogging directory="%AppData%\Microsoft" enabled="false" maxLogFileSizeKB="1024" /> |
| | | </siteDefaults> |
| | | <applicationDefaults applicationPool="Clr4IntegratedAppPool" /> |
| | | <virtualDirectoryDefaults allowSubDirConfig="true" /> |
| | | </sites> |
| | | <webLimits /> |
| | | </system.applicationHost> |
| | | <system.webServer> |
| | | <serverRuntime /> |
| | | <asp scriptErrorSentToBrowser="true"> |
| | | <cache diskTemplateCacheDirectory="%TEMP%\iisexpress\ASP Compiled Templates" /> |
| | | <limits /> |
| | | </asp> |
| | | <caching enabled="true" enableKernelCache="true"></caching> |
| | | <cgi /> |
| | | <defaultDocument enabled="true"> |
| | | <files> |
| | | <add value="Default.htm" /> |
| | | <add value="Default.asp" /> |
| | | <add value="index.htm" /> |
| | | <add value="index.html" /> |
| | | <add value="iisstart.htm" /> |
| | | <add value="default.aspx" /> |
| | | </files> |
| | | </defaultDocument> |
| | | <directoryBrowse enabled="false" /> |
| | | <fastCgi /> |
| | | <!-- |
| | | |
| | | The <globalModules> section defines all native-code modules. |
| | | To enable a module, specify it in the <modules> section. |
| | | |
| | | --> |
| | | <globalModules> |
| | | <add name="HttpLoggingModule" image="%IIS_BIN%\loghttp.dll" /> |
| | | <add name="UriCacheModule" image="%IIS_BIN%\cachuri.dll" /> |
| | | <add name="TokenCacheModule" image="%IIS_BIN%\cachtokn.dll" /> |
| | | <add name="DynamicCompressionModule" image="%IIS_BIN%\compdyn.dll" /> |
| | | <add name="StaticCompressionModule" image="%IIS_BIN%\compstat.dll" /> |
| | | <add name="DefaultDocumentModule" image="%IIS_BIN%\defdoc.dll" /> |
| | | <add name="DirectoryListingModule" image="%IIS_BIN%\dirlist.dll" /> |
| | | <add name="ProtocolSupportModule" image="%IIS_BIN%\protsup.dll" /> |
| | | <add name="HttpRedirectionModule" image="%IIS_BIN%\redirect.dll" /> |
| | | <add name="ServerSideIncludeModule" image="%IIS_BIN%\iis_ssi.dll" /> |
| | | <add name="StaticFileModule" image="%IIS_BIN%\static.dll" /> |
| | | <add name="AnonymousAuthenticationModule" image="%IIS_BIN%\authanon.dll" /> |
| | | <add name="CertificateMappingAuthenticationModule" image="%IIS_BIN%\authcert.dll" /> |
| | | <add name="UrlAuthorizationModule" image="%IIS_BIN%\urlauthz.dll" /> |
| | | <add name="BasicAuthenticationModule" image="%IIS_BIN%\authbas.dll" /> |
| | | <add name="WindowsAuthenticationModule" image="%IIS_BIN%\authsspi.dll" /> |
| | | <add name="IISCertificateMappingAuthenticationModule" image="%IIS_BIN%\authmap.dll" /> |
| | | <add name="IpRestrictionModule" image="%IIS_BIN%\iprestr.dll" /> |
| | | <add name="DynamicIpRestrictionModule" image="%IIS_BIN%\diprestr.dll" /> |
| | | <add name="RequestFilteringModule" image="%IIS_BIN%\modrqflt.dll" /> |
| | | <add name="CustomLoggingModule" image="%IIS_BIN%\logcust.dll" /> |
| | | <add name="CustomErrorModule" image="%IIS_BIN%\custerr.dll" /> |
| | | <add name="FailedRequestsTracingModule" image="%IIS_BIN%\iisfreb.dll" /> |
| | | <add name="RequestMonitorModule" image="%IIS_BIN%\iisreqs.dll" /> |
| | | <add name="IsapiModule" image="%IIS_BIN%\isapi.dll" /> |
| | | <add name="IsapiFilterModule" image="%IIS_BIN%\filter.dll" /> |
| | | <add name="CgiModule" image="%IIS_BIN%\cgi.dll" /> |
| | | <add name="FastCgiModule" image="%IIS_BIN%\iisfcgi.dll" /> |
| | | <!-- <add name="WebDAVModule" image="%IIS_BIN%\webdav.dll" /> --> |
| | | <add name="RewriteModule" image="%IIS_BIN%\rewrite.dll" /> |
| | | <add name="ConfigurationValidationModule" image="%IIS_BIN%\validcfg.dll" /> |
| | | <add name="WebSocketModule" image="%IIS_BIN%\iiswsock.dll" /> |
| | | <add name="WebMatrixSupportModule" image="%IIS_BIN%\webmatrixsup.dll" /> |
| | | <add name="ManagedEngine" image="%windir%\Microsoft.NET\Framework\v2.0.50727\webengine.dll" preCondition="integratedMode,runtimeVersionv2.0,bitness32" /> |
| | | <add name="ManagedEngine64" image="%windir%\Microsoft.NET\Framework64\v2.0.50727\webengine.dll" preCondition="integratedMode,runtimeVersionv2.0,bitness64" /> |
| | | <add name="ManagedEngineV4.0_32bit" image="%windir%\Microsoft.NET\Framework\v4.0.30319\webengine4.dll" preCondition="integratedMode,runtimeVersionv4.0,bitness32" /> |
| | | <add name="ManagedEngineV4.0_64bit" image="%windir%\Microsoft.NET\Framework64\v4.0.30319\webengine4.dll" preCondition="integratedMode,runtimeVersionv4.0,bitness64" /> |
| | | <add name="ApplicationInitializationModule" image="%IIS_BIN%\warmup.dll" /> |
| | | <add name="AspNetCoreModule" image="%IIS_BIN%\aspnetcore.dll" /> |
| | | <add name="AspNetCoreModuleV2" image="%IIS_BIN%\Asp.Net Core Module\V2\aspnetcorev2.dll" /> |
| | | </globalModules> |
| | | <httpCompression directory="%TEMP%"> |
| | | <scheme name="gzip" dll="%IIS_BIN%\gzip.dll" /> |
| | | <dynamicTypes> |
| | | <add mimeType="text/*" enabled="true" /> |
| | | <add mimeType="message/*" enabled="true" /> |
| | | <add mimeType="application/x-javascript" enabled="true" /> |
| | | <add mimeType="application/javascript" enabled="true" /> |
| | | <add mimeType="*/*" enabled="false" /> |
| | | </dynamicTypes> |
| | | <staticTypes> |
| | | <add mimeType="text/*" enabled="true" /> |
| | | <add mimeType="message/*" enabled="true" /> |
| | | <add mimeType="application/javascript" enabled="true" /> |
| | | <add mimeType="application/atom+xml" enabled="true" /> |
| | | <add mimeType="application/xaml+xml" enabled="true" /> |
| | | <add mimeType="image/svg+xml" enabled="true" /> |
| | | <add mimeType="*/*" enabled="false" /> |
| | | </staticTypes> |
| | | </httpCompression> |
| | | <httpErrors lockAttributes="allowAbsolutePathsWhenDelegated,defaultPath"> |
| | | <error statusCode="401" prefixLanguageFilePath="%IIS_BIN%\custerr" path="401.htm" /> |
| | | <error statusCode="403" prefixLanguageFilePath="%IIS_BIN%\custerr" path="403.htm" /> |
| | | <error statusCode="404" prefixLanguageFilePath="%IIS_BIN%\custerr" path="404.htm" /> |
| | | <error statusCode="405" prefixLanguageFilePath="%IIS_BIN%\custerr" path="405.htm" /> |
| | | <error statusCode="406" prefixLanguageFilePath="%IIS_BIN%\custerr" path="406.htm" /> |
| | | <error statusCode="412" prefixLanguageFilePath="%IIS_BIN%\custerr" path="412.htm" /> |
| | | <error statusCode="500" prefixLanguageFilePath="%IIS_BIN%\custerr" path="500.htm" /> |
| | | <error statusCode="501" prefixLanguageFilePath="%IIS_BIN%\custerr" path="501.htm" /> |
| | | <error statusCode="502" prefixLanguageFilePath="%IIS_BIN%\custerr" path="502.htm" /> |
| | | </httpErrors> |
| | | <httpLogging dontLog="false" /> |
| | | <httpProtocol> |
| | | <customHeaders> |
| | | <clear /> |
| | | <add name="X-Powered-By" value="ASP.NET" /> |
| | | </customHeaders> |
| | | <redirectHeaders> |
| | | <clear /> |
| | | </redirectHeaders> |
| | | </httpProtocol> |
| | | <httpRedirect enabled="false" /> |
| | | <httpTracing /> |
| | | <isapiFilters> |
| | | <filter name="ASP.Net_2.0.50727-64" path="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="bitness64,runtimeVersionv2.0" /> |
| | | <filter name="ASP.Net_2.0.50727.0" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="bitness32,runtimeVersionv2.0" /> |
| | | <filter name="ASP.Net_2.0_for_v1.1" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="runtimeVersionv1.1" /> |
| | | <filter name="ASP.Net_4.0_32bit" path="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll" enableCache="true" preCondition="bitness32,runtimeVersionv4.0" /> |
| | | <filter name="ASP.Net_4.0_64bit" path="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_filter.dll" enableCache="true" preCondition="bitness64,runtimeVersionv4.0" /> |
| | | </isapiFilters> |
| | | <odbcLogging /> |
| | | <security> |
| | | <access sslFlags="None" /> |
| | | <applicationDependencies> |
| | | <application name="Active Server Pages" groupId="ASP" /> |
| | | </applicationDependencies> |
| | | <authentication> |
| | | <anonymousAuthentication enabled="true" userName="" /> |
| | | <basicAuthentication enabled="false" /> |
| | | <clientCertificateMappingAuthentication enabled="false" /> |
| | | <digestAuthentication enabled="false" /> |
| | | <iisClientCertificateMappingAuthentication enabled="false"></iisClientCertificateMappingAuthentication> |
| | | <windowsAuthentication enabled="false"> |
| | | <providers> |
| | | <add value="Negotiate" /> |
| | | <add value="NTLM" /> |
| | | </providers> |
| | | </windowsAuthentication> |
| | | </authentication> |
| | | <authorization> |
| | | <add accessType="Allow" users="*" /> |
| | | </authorization> |
| | | <ipSecurity allowUnlisted="true" /> |
| | | <isapiCgiRestriction notListedIsapisAllowed="true" notListedCgisAllowed="true"> |
| | | <add path="%windir%\Microsoft.NET\Framework64\v4.0.30319\webengine4.dll" allowed="true" groupId="ASP.NET_v4.0" description="ASP.NET_v4.0" /> |
| | | <add path="%windir%\Microsoft.NET\Framework\v4.0.30319\webengine4.dll" allowed="true" groupId="ASP.NET_v4.0" description="ASP.NET_v4.0" /> |
| | | <add path="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" allowed="true" groupId="ASP.NET v2.0.50727" description="ASP.NET v2.0.50727" /> |
| | | <add path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" allowed="true" groupId="ASP.NET v2.0.50727" description="ASP.NET v2.0.50727" /> |
| | | </isapiCgiRestriction> |
| | | <requestFiltering> |
| | | <fileExtensions allowUnlisted="true" applyToWebDAV="true"> |
| | | <add fileExtension=".asa" allowed="false" /> |
| | | <add fileExtension=".asax" allowed="false" /> |
| | | <add fileExtension=".ascx" allowed="false" /> |
| | | <add fileExtension=".master" allowed="false" /> |
| | | <add fileExtension=".skin" allowed="false" /> |
| | | <add fileExtension=".browser" allowed="false" /> |
| | | <add fileExtension=".sitemap" allowed="false" /> |
| | | <add fileExtension=".config" allowed="false" /> |
| | | <add fileExtension=".cs" allowed="false" /> |
| | | <add fileExtension=".csproj" allowed="false" /> |
| | | <add fileExtension=".vb" allowed="false" /> |
| | | <add fileExtension=".vbproj" allowed="false" /> |
| | | <add fileExtension=".webinfo" allowed="false" /> |
| | | <add fileExtension=".licx" allowed="false" /> |
| | | <add fileExtension=".resx" allowed="false" /> |
| | | <add fileExtension=".resources" allowed="false" /> |
| | | <add fileExtension=".mdb" allowed="false" /> |
| | | <add fileExtension=".vjsproj" allowed="false" /> |
| | | <add fileExtension=".java" allowed="false" /> |
| | | <add fileExtension=".jsl" allowed="false" /> |
| | | <add fileExtension=".ldb" allowed="false" /> |
| | | <add fileExtension=".dsdgm" allowed="false" /> |
| | | <add fileExtension=".ssdgm" allowed="false" /> |
| | | <add fileExtension=".lsad" allowed="false" /> |
| | | <add fileExtension=".ssmap" allowed="false" /> |
| | | <add fileExtension=".cd" allowed="false" /> |
| | | <add fileExtension=".dsprototype" allowed="false" /> |
| | | <add fileExtension=".lsaprototype" allowed="false" /> |
| | | <add fileExtension=".sdm" allowed="false" /> |
| | | <add fileExtension=".sdmDocument" allowed="false" /> |
| | | <add fileExtension=".mdf" allowed="false" /> |
| | | <add fileExtension=".ldf" allowed="false" /> |
| | | <add fileExtension=".ad" allowed="false" /> |
| | | <add fileExtension=".dd" allowed="false" /> |
| | | <add fileExtension=".ldd" allowed="false" /> |
| | | <add fileExtension=".sd" allowed="false" /> |
| | | <add fileExtension=".adprototype" allowed="false" /> |
| | | <add fileExtension=".lddprototype" allowed="false" /> |
| | | <add fileExtension=".exclude" allowed="false" /> |
| | | <add fileExtension=".refresh" allowed="false" /> |
| | | <add fileExtension=".compiled" allowed="false" /> |
| | | <add fileExtension=".msgx" allowed="false" /> |
| | | <add fileExtension=".vsdisco" allowed="false" /> |
| | | <add fileExtension=".rules" allowed="false" /> |
| | | </fileExtensions> |
| | | <verbs allowUnlisted="true" applyToWebDAV="true" /> |
| | | <hiddenSegments applyToWebDAV="true"> |
| | | <add segment="web.config" /> |
| | | <add segment="bin" /> |
| | | <add segment="App_code" /> |
| | | <add segment="App_GlobalResources" /> |
| | | <add segment="App_LocalResources" /> |
| | | <add segment="App_WebReferences" /> |
| | | <add segment="App_Data" /> |
| | | <add segment="App_Browsers" /> |
| | | </hiddenSegments> |
| | | </requestFiltering> |
| | | </security> |
| | | <serverSideInclude ssiExecDisable="false" /> |
| | | <staticContent lockAttributes="isDocFooterFileName"> |
| | | <mimeMap fileExtension=".323" mimeType="text/h323" /> |
| | | <mimeMap fileExtension=".3g2" mimeType="video/3gpp2" /> |
| | | <mimeMap fileExtension=".3gp2" mimeType="video/3gpp2" /> |
| | | <mimeMap fileExtension=".3gp" mimeType="video/3gpp" /> |
| | | <mimeMap fileExtension=".3gpp" mimeType="video/3gpp" /> |
| | | <mimeMap fileExtension=".aac" mimeType="audio/aac" /> |
| | | <mimeMap fileExtension=".aaf" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".aca" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".accdb" mimeType="application/msaccess" /> |
| | | <mimeMap fileExtension=".accde" mimeType="application/msaccess" /> |
| | | <mimeMap fileExtension=".accdt" mimeType="application/msaccess" /> |
| | | <mimeMap fileExtension=".acx" mimeType="application/internet-property-stream" /> |
| | | <mimeMap fileExtension=".adt" mimeType="audio/vnd.dlna.adts" /> |
| | | <mimeMap fileExtension=".adts" mimeType="audio/vnd.dlna.adts" /> |
| | | <mimeMap fileExtension=".afm" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".ai" mimeType="application/postscript" /> |
| | | <mimeMap fileExtension=".aif" mimeType="audio/x-aiff" /> |
| | | <mimeMap fileExtension=".aifc" mimeType="audio/aiff" /> |
| | | <mimeMap fileExtension=".aiff" mimeType="audio/aiff" /> |
| | | <mimeMap fileExtension=".appcache" mimeType="text/cache-manifest" /> |
| | | <mimeMap fileExtension=".application" mimeType="application/x-ms-application" /> |
| | | <mimeMap fileExtension=".art" mimeType="image/x-jg" /> |
| | | <mimeMap fileExtension=".asd" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".asf" mimeType="video/x-ms-asf" /> |
| | | <mimeMap fileExtension=".asi" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".asm" mimeType="text/plain" /> |
| | | <mimeMap fileExtension=".asr" mimeType="video/x-ms-asf" /> |
| | | <mimeMap fileExtension=".asx" mimeType="video/x-ms-asf" /> |
| | | <mimeMap fileExtension=".atom" mimeType="application/atom+xml" /> |
| | | <mimeMap fileExtension=".au" mimeType="audio/basic" /> |
| | | <mimeMap fileExtension=".avi" mimeType="video/avi" /> |
| | | <mimeMap fileExtension=".axs" mimeType="application/olescript" /> |
| | | <mimeMap fileExtension=".bas" mimeType="text/plain" /> |
| | | <mimeMap fileExtension=".bcpio" mimeType="application/x-bcpio" /> |
| | | <mimeMap fileExtension=".bin" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".bmp" mimeType="image/bmp" /> |
| | | <mimeMap fileExtension=".c" mimeType="text/plain" /> |
| | | <mimeMap fileExtension=".cab" mimeType="application/vnd.ms-cab-compressed" /> |
| | | <mimeMap fileExtension=".calx" mimeType="application/vnd.ms-office.calx" /> |
| | | <mimeMap fileExtension=".cat" mimeType="application/vnd.ms-pki.seccat" /> |
| | | <mimeMap fileExtension=".cdf" mimeType="application/x-cdf" /> |
| | | <mimeMap fileExtension=".chm" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".class" mimeType="application/x-java-applet" /> |
| | | <mimeMap fileExtension=".clp" mimeType="application/x-msclip" /> |
| | | <mimeMap fileExtension=".cmx" mimeType="image/x-cmx" /> |
| | | <mimeMap fileExtension=".cnf" mimeType="text/plain" /> |
| | | <mimeMap fileExtension=".cod" mimeType="image/cis-cod" /> |
| | | <mimeMap fileExtension=".cpio" mimeType="application/x-cpio" /> |
| | | <mimeMap fileExtension=".cpp" mimeType="text/plain" /> |
| | | <mimeMap fileExtension=".crd" mimeType="application/x-mscardfile" /> |
| | | <mimeMap fileExtension=".crl" mimeType="application/pkix-crl" /> |
| | | <mimeMap fileExtension=".crt" mimeType="application/x-x509-ca-cert" /> |
| | | <mimeMap fileExtension=".csh" mimeType="application/x-csh" /> |
| | | <mimeMap fileExtension=".css" mimeType="text/css" /> |
| | | <mimeMap fileExtension=".csv" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".cur" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".dcr" mimeType="application/x-director" /> |
| | | <mimeMap fileExtension=".deploy" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".der" mimeType="application/x-x509-ca-cert" /> |
| | | <mimeMap fileExtension=".dib" mimeType="image/bmp" /> |
| | | <mimeMap fileExtension=".dir" mimeType="application/x-director" /> |
| | | <mimeMap fileExtension=".disco" mimeType="text/xml" /> |
| | | <mimeMap fileExtension=".dll" mimeType="application/x-msdownload" /> |
| | | <mimeMap fileExtension=".dll.config" mimeType="text/xml" /> |
| | | <mimeMap fileExtension=".dlm" mimeType="text/dlm" /> |
| | | <mimeMap fileExtension=".doc" mimeType="application/msword" /> |
| | | <mimeMap fileExtension=".docm" mimeType="application/vnd.ms-word.document.macroEnabled.12" /> |
| | | <mimeMap fileExtension=".docx" mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" /> |
| | | <mimeMap fileExtension=".dot" mimeType="application/msword" /> |
| | | <mimeMap fileExtension=".dotm" mimeType="application/vnd.ms-word.template.macroEnabled.12" /> |
| | | <mimeMap fileExtension=".dotx" mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.template" /> |
| | | <mimeMap fileExtension=".dsp" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".dtd" mimeType="text/xml" /> |
| | | <mimeMap fileExtension=".dvi" mimeType="application/x-dvi" /> |
| | | <mimeMap fileExtension=".dvr-ms" mimeType="video/x-ms-dvr" /> |
| | | <mimeMap fileExtension=".dwf" mimeType="drawing/x-dwf" /> |
| | | <mimeMap fileExtension=".dwp" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".dxr" mimeType="application/x-director" /> |
| | | <mimeMap fileExtension=".eml" mimeType="message/rfc822" /> |
| | | <mimeMap fileExtension=".emz" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" /> |
| | | <mimeMap fileExtension=".eps" mimeType="application/postscript" /> |
| | | <mimeMap fileExtension=".esd" mimeType="application/vnd.ms-cab-compressed" /> |
| | | <mimeMap fileExtension=".etx" mimeType="text/x-setext" /> |
| | | <mimeMap fileExtension=".evy" mimeType="application/envoy" /> |
| | | <mimeMap fileExtension=".exe" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".exe.config" mimeType="text/xml" /> |
| | | <mimeMap fileExtension=".fdf" mimeType="application/vnd.fdf" /> |
| | | <mimeMap fileExtension=".fif" mimeType="application/fractals" /> |
| | | <mimeMap fileExtension=".fla" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".flr" mimeType="x-world/x-vrml" /> |
| | | <mimeMap fileExtension=".flv" mimeType="video/x-flv" /> |
| | | <mimeMap fileExtension=".gif" mimeType="image/gif" /> |
| | | <mimeMap fileExtension=".glb" mimeType="model/gltf-binary" /> |
| | | <mimeMap fileExtension=".gtar" mimeType="application/x-gtar" /> |
| | | <mimeMap fileExtension=".gz" mimeType="application/x-gzip" /> |
| | | <mimeMap fileExtension=".h" mimeType="text/plain" /> |
| | | <mimeMap fileExtension=".hdf" mimeType="application/x-hdf" /> |
| | | <mimeMap fileExtension=".hdml" mimeType="text/x-hdml" /> |
| | | <mimeMap fileExtension=".hhc" mimeType="application/x-oleobject" /> |
| | | <mimeMap fileExtension=".hhk" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".hhp" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".hlp" mimeType="application/winhlp" /> |
| | | <mimeMap fileExtension=".hqx" mimeType="application/mac-binhex40" /> |
| | | <mimeMap fileExtension=".hta" mimeType="application/hta" /> |
| | | <mimeMap fileExtension=".htc" mimeType="text/x-component" /> |
| | | <mimeMap fileExtension=".htm" mimeType="text/html" /> |
| | | <mimeMap fileExtension=".html" mimeType="text/html" /> |
| | | <mimeMap fileExtension=".htt" mimeType="text/webviewhtml" /> |
| | | <mimeMap fileExtension=".hxt" mimeType="text/html" /> |
| | | <mimeMap fileExtension=".ico" mimeType="image/x-icon" /> |
| | | <mimeMap fileExtension=".ics" mimeType="text/calendar" /> |
| | | <mimeMap fileExtension=".ief" mimeType="image/ief" /> |
| | | <mimeMap fileExtension=".iii" mimeType="application/x-iphone" /> |
| | | <mimeMap fileExtension=".inf" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".ins" mimeType="application/x-internet-signup" /> |
| | | <mimeMap fileExtension=".isp" mimeType="application/x-internet-signup" /> |
| | | <mimeMap fileExtension=".IVF" mimeType="video/x-ivf" /> |
| | | <mimeMap fileExtension=".jar" mimeType="application/java-archive" /> |
| | | <mimeMap fileExtension=".java" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".jck" mimeType="application/liquidmotion" /> |
| | | <mimeMap fileExtension=".jcz" mimeType="application/liquidmotion" /> |
| | | <mimeMap fileExtension=".jfif" mimeType="image/pjpeg" /> |
| | | <mimeMap fileExtension=".jpb" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".jpe" mimeType="image/jpeg" /> |
| | | <mimeMap fileExtension=".jpeg" mimeType="image/jpeg" /> |
| | | <mimeMap fileExtension=".jpg" mimeType="image/jpeg" /> |
| | | <mimeMap fileExtension=".js" mimeType="application/javascript" /> |
| | | <mimeMap fileExtension=".json" mimeType="application/json" /> |
| | | <mimeMap fileExtension=".jsonld" mimeType="application/ld+json" /> |
| | | <mimeMap fileExtension=".jsx" mimeType="text/jscript" /> |
| | | <mimeMap fileExtension=".latex" mimeType="application/x-latex" /> |
| | | <mimeMap fileExtension=".less" mimeType="text/css" /> |
| | | <mimeMap fileExtension=".lit" mimeType="application/x-ms-reader" /> |
| | | <mimeMap fileExtension=".lpk" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".lsf" mimeType="video/x-la-asf" /> |
| | | <mimeMap fileExtension=".lsx" mimeType="video/x-la-asf" /> |
| | | <mimeMap fileExtension=".lzh" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".m13" mimeType="application/x-msmediaview" /> |
| | | <mimeMap fileExtension=".m14" mimeType="application/x-msmediaview" /> |
| | | <mimeMap fileExtension=".m1v" mimeType="video/mpeg" /> |
| | | <mimeMap fileExtension=".m2ts" mimeType="video/vnd.dlna.mpeg-tts" /> |
| | | <mimeMap fileExtension=".m3u" mimeType="audio/x-mpegurl" /> |
| | | <mimeMap fileExtension=".m4a" mimeType="audio/mp4" /> |
| | | <mimeMap fileExtension=".m4v" mimeType="video/mp4" /> |
| | | <mimeMap fileExtension=".man" mimeType="application/x-troff-man" /> |
| | | <mimeMap fileExtension=".manifest" mimeType="application/x-ms-manifest" /> |
| | | <mimeMap fileExtension=".map" mimeType="text/plain" /> |
| | | <mimeMap fileExtension=".mdb" mimeType="application/x-msaccess" /> |
| | | <mimeMap fileExtension=".mdp" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".me" mimeType="application/x-troff-me" /> |
| | | <mimeMap fileExtension=".mht" mimeType="message/rfc822" /> |
| | | <mimeMap fileExtension=".mhtml" mimeType="message/rfc822" /> |
| | | <mimeMap fileExtension=".mid" mimeType="audio/mid" /> |
| | | <mimeMap fileExtension=".midi" mimeType="audio/mid" /> |
| | | <mimeMap fileExtension=".mix" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".mmf" mimeType="application/x-smaf" /> |
| | | <mimeMap fileExtension=".mno" mimeType="text/xml" /> |
| | | <mimeMap fileExtension=".mny" mimeType="application/x-msmoney" /> |
| | | <mimeMap fileExtension=".mov" mimeType="video/quicktime" /> |
| | | <mimeMap fileExtension=".movie" mimeType="video/x-sgi-movie" /> |
| | | <mimeMap fileExtension=".mp2" mimeType="video/mpeg" /> |
| | | <mimeMap fileExtension=".mp3" mimeType="audio/mpeg" /> |
| | | <mimeMap fileExtension=".mp4" mimeType="video/mp4" /> |
| | | <mimeMap fileExtension=".mp4v" mimeType="video/mp4" /> |
| | | <mimeMap fileExtension=".mpa" mimeType="video/mpeg" /> |
| | | <mimeMap fileExtension=".mpe" mimeType="video/mpeg" /> |
| | | <mimeMap fileExtension=".mpeg" mimeType="video/mpeg" /> |
| | | <mimeMap fileExtension=".mpg" mimeType="video/mpeg" /> |
| | | <mimeMap fileExtension=".mpp" mimeType="application/vnd.ms-project" /> |
| | | <mimeMap fileExtension=".mpv2" mimeType="video/mpeg" /> |
| | | <mimeMap fileExtension=".ms" mimeType="application/x-troff-ms" /> |
| | | <mimeMap fileExtension=".msi" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".mso" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".mvb" mimeType="application/x-msmediaview" /> |
| | | <mimeMap fileExtension=".mvc" mimeType="application/x-miva-compiled" /> |
| | | <mimeMap fileExtension=".nc" mimeType="application/x-netcdf" /> |
| | | <mimeMap fileExtension=".nsc" mimeType="video/x-ms-asf" /> |
| | | <mimeMap fileExtension=".nws" mimeType="message/rfc822" /> |
| | | <mimeMap fileExtension=".ocx" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".oda" mimeType="application/oda" /> |
| | | <mimeMap fileExtension=".odc" mimeType="text/x-ms-odc" /> |
| | | <mimeMap fileExtension=".ods" mimeType="application/oleobject" /> |
| | | <mimeMap fileExtension=".oga" mimeType="audio/ogg" /> |
| | | <mimeMap fileExtension=".ogg" mimeType="video/ogg" /> |
| | | <mimeMap fileExtension=".ogv" mimeType="video/ogg" /> |
| | | <mimeMap fileExtension=".one" mimeType="application/onenote" /> |
| | | <mimeMap fileExtension=".onea" mimeType="application/onenote" /> |
| | | <mimeMap fileExtension=".onetoc" mimeType="application/onenote" /> |
| | | <mimeMap fileExtension=".onetoc2" mimeType="application/onenote" /> |
| | | <mimeMap fileExtension=".onetmp" mimeType="application/onenote" /> |
| | | <mimeMap fileExtension=".onepkg" mimeType="application/onenote" /> |
| | | <mimeMap fileExtension=".osdx" mimeType="application/opensearchdescription+xml" /> |
| | | <mimeMap fileExtension=".otf" mimeType="font/otf" /> |
| | | <mimeMap fileExtension=".p10" mimeType="application/pkcs10" /> |
| | | <mimeMap fileExtension=".p12" mimeType="application/x-pkcs12" /> |
| | | <mimeMap fileExtension=".p7b" mimeType="application/x-pkcs7-certificates" /> |
| | | <mimeMap fileExtension=".p7c" mimeType="application/pkcs7-mime" /> |
| | | <mimeMap fileExtension=".p7m" mimeType="application/pkcs7-mime" /> |
| | | <mimeMap fileExtension=".p7r" mimeType="application/x-pkcs7-certreqresp" /> |
| | | <mimeMap fileExtension=".p7s" mimeType="application/pkcs7-signature" /> |
| | | <mimeMap fileExtension=".pbm" mimeType="image/x-portable-bitmap" /> |
| | | <mimeMap fileExtension=".pcx" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".pcz" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".pdf" mimeType="application/pdf" /> |
| | | <mimeMap fileExtension=".pfb" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".pfm" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".pfx" mimeType="application/x-pkcs12" /> |
| | | <mimeMap fileExtension=".pgm" mimeType="image/x-portable-graymap" /> |
| | | <mimeMap fileExtension=".pko" mimeType="application/vnd.ms-pki.pko" /> |
| | | <mimeMap fileExtension=".pma" mimeType="application/x-perfmon" /> |
| | | <mimeMap fileExtension=".pmc" mimeType="application/x-perfmon" /> |
| | | <mimeMap fileExtension=".pml" mimeType="application/x-perfmon" /> |
| | | <mimeMap fileExtension=".pmr" mimeType="application/x-perfmon" /> |
| | | <mimeMap fileExtension=".pmw" mimeType="application/x-perfmon" /> |
| | | <mimeMap fileExtension=".png" mimeType="image/png" /> |
| | | <mimeMap fileExtension=".pnm" mimeType="image/x-portable-anymap" /> |
| | | <mimeMap fileExtension=".pnz" mimeType="image/png" /> |
| | | <mimeMap fileExtension=".pot" mimeType="application/vnd.ms-powerpoint" /> |
| | | <mimeMap fileExtension=".potm" mimeType="application/vnd.ms-powerpoint.template.macroEnabled.12" /> |
| | | <mimeMap fileExtension=".potx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.template" /> |
| | | <mimeMap fileExtension=".ppam" mimeType="application/vnd.ms-powerpoint.addin.macroEnabled.12" /> |
| | | <mimeMap fileExtension=".ppm" mimeType="image/x-portable-pixmap" /> |
| | | <mimeMap fileExtension=".pps" mimeType="application/vnd.ms-powerpoint" /> |
| | | <mimeMap fileExtension=".ppsm" mimeType="application/vnd.ms-powerpoint.slideshow.macroEnabled.12" /> |
| | | <mimeMap fileExtension=".ppsx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.slideshow" /> |
| | | <mimeMap fileExtension=".ppt" mimeType="application/vnd.ms-powerpoint" /> |
| | | <mimeMap fileExtension=".pptm" mimeType="application/vnd.ms-powerpoint.presentation.macroEnabled.12" /> |
| | | <mimeMap fileExtension=".pptx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" /> |
| | | <mimeMap fileExtension=".prf" mimeType="application/pics-rules" /> |
| | | <mimeMap fileExtension=".prm" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".prx" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".ps" mimeType="application/postscript" /> |
| | | <mimeMap fileExtension=".psd" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".psm" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".psp" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".pub" mimeType="application/x-mspublisher" /> |
| | | <mimeMap fileExtension=".qt" mimeType="video/quicktime" /> |
| | | <mimeMap fileExtension=".qtl" mimeType="application/x-quicktimeplayer" /> |
| | | <mimeMap fileExtension=".qxd" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".ra" mimeType="audio/x-pn-realaudio" /> |
| | | <mimeMap fileExtension=".ram" mimeType="audio/x-pn-realaudio" /> |
| | | <mimeMap fileExtension=".rar" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".ras" mimeType="image/x-cmu-raster" /> |
| | | <mimeMap fileExtension=".rf" mimeType="image/vnd.rn-realflash" /> |
| | | <mimeMap fileExtension=".rgb" mimeType="image/x-rgb" /> |
| | | <mimeMap fileExtension=".rm" mimeType="application/vnd.rn-realmedia" /> |
| | | <mimeMap fileExtension=".rmi" mimeType="audio/mid" /> |
| | | <mimeMap fileExtension=".roff" mimeType="application/x-troff" /> |
| | | <mimeMap fileExtension=".rpm" mimeType="audio/x-pn-realaudio-plugin" /> |
| | | <mimeMap fileExtension=".rtf" mimeType="application/rtf" /> |
| | | <mimeMap fileExtension=".rtx" mimeType="text/richtext" /> |
| | | <mimeMap fileExtension=".scd" mimeType="application/x-msschedule" /> |
| | | <mimeMap fileExtension=".sct" mimeType="text/scriptlet" /> |
| | | <mimeMap fileExtension=".sea" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".setpay" mimeType="application/set-payment-initiation" /> |
| | | <mimeMap fileExtension=".setreg" mimeType="application/set-registration-initiation" /> |
| | | <mimeMap fileExtension=".sgml" mimeType="text/sgml" /> |
| | | <mimeMap fileExtension=".sh" mimeType="application/x-sh" /> |
| | | <mimeMap fileExtension=".shar" mimeType="application/x-shar" /> |
| | | <mimeMap fileExtension=".sit" mimeType="application/x-stuffit" /> |
| | | <mimeMap fileExtension=".sldm" mimeType="application/vnd.ms-powerpoint.slide.macroEnabled.12" /> |
| | | <mimeMap fileExtension=".sldx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.slide" /> |
| | | <mimeMap fileExtension=".smd" mimeType="audio/x-smd" /> |
| | | <mimeMap fileExtension=".smi" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".smx" mimeType="audio/x-smd" /> |
| | | <mimeMap fileExtension=".smz" mimeType="audio/x-smd" /> |
| | | <mimeMap fileExtension=".snd" mimeType="audio/basic" /> |
| | | <mimeMap fileExtension=".snp" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".spc" mimeType="application/x-pkcs7-certificates" /> |
| | | <mimeMap fileExtension=".spl" mimeType="application/futuresplash" /> |
| | | <mimeMap fileExtension=".spx" mimeType="audio/ogg" /> |
| | | <mimeMap fileExtension=".src" mimeType="application/x-wais-source" /> |
| | | <mimeMap fileExtension=".ssm" mimeType="application/streamingmedia" /> |
| | | <mimeMap fileExtension=".sst" mimeType="application/vnd.ms-pki.certstore" /> |
| | | <mimeMap fileExtension=".stl" mimeType="application/vnd.ms-pki.stl" /> |
| | | <mimeMap fileExtension=".sv4cpio" mimeType="application/x-sv4cpio" /> |
| | | <mimeMap fileExtension=".sv4crc" mimeType="application/x-sv4crc" /> |
| | | <mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> |
| | | <mimeMap fileExtension=".svgz" mimeType="image/svg+xml" /> |
| | | <mimeMap fileExtension=".swf" mimeType="application/x-shockwave-flash" /> |
| | | <mimeMap fileExtension=".t" mimeType="application/x-troff" /> |
| | | <mimeMap fileExtension=".tar" mimeType="application/x-tar" /> |
| | | <mimeMap fileExtension=".tcl" mimeType="application/x-tcl" /> |
| | | <mimeMap fileExtension=".tex" mimeType="application/x-tex" /> |
| | | <mimeMap fileExtension=".texi" mimeType="application/x-texinfo" /> |
| | | <mimeMap fileExtension=".texinfo" mimeType="application/x-texinfo" /> |
| | | <mimeMap fileExtension=".tgz" mimeType="application/x-compressed" /> |
| | | <mimeMap fileExtension=".thmx" mimeType="application/vnd.ms-officetheme" /> |
| | | <mimeMap fileExtension=".thn" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".tif" mimeType="image/tiff" /> |
| | | <mimeMap fileExtension=".tiff" mimeType="image/tiff" /> |
| | | <mimeMap fileExtension=".toc" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".tr" mimeType="application/x-troff" /> |
| | | <mimeMap fileExtension=".trm" mimeType="application/x-msterminal" /> |
| | | <mimeMap fileExtension=".ts" mimeType="video/vnd.dlna.mpeg-tts" /> |
| | | <mimeMap fileExtension=".tsv" mimeType="text/tab-separated-values" /> |
| | | <mimeMap fileExtension=".ttf" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".tts" mimeType="video/vnd.dlna.mpeg-tts" /> |
| | | <mimeMap fileExtension=".txt" mimeType="text/plain" /> |
| | | <mimeMap fileExtension=".u32" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".uls" mimeType="text/iuls" /> |
| | | <mimeMap fileExtension=".ustar" mimeType="application/x-ustar" /> |
| | | <mimeMap fileExtension=".vbs" mimeType="text/vbscript" /> |
| | | <mimeMap fileExtension=".vcf" mimeType="text/x-vcard" /> |
| | | <mimeMap fileExtension=".vcs" mimeType="text/plain" /> |
| | | <mimeMap fileExtension=".vdx" mimeType="application/vnd.ms-visio.viewer" /> |
| | | <mimeMap fileExtension=".vml" mimeType="text/xml" /> |
| | | <mimeMap fileExtension=".vsd" mimeType="application/vnd.visio" /> |
| | | <mimeMap fileExtension=".vss" mimeType="application/vnd.visio" /> |
| | | <mimeMap fileExtension=".vst" mimeType="application/vnd.visio" /> |
| | | <mimeMap fileExtension=".vsto" mimeType="application/x-ms-vsto" /> |
| | | <mimeMap fileExtension=".vsw" mimeType="application/vnd.visio" /> |
| | | <mimeMap fileExtension=".vsx" mimeType="application/vnd.visio" /> |
| | | <mimeMap fileExtension=".vtx" mimeType="application/vnd.visio" /> |
| | | <mimeMap fileExtension=".wasm" mimeType="application/wasm" /> |
| | | <mimeMap fileExtension=".wav" mimeType="audio/wav" /> |
| | | <mimeMap fileExtension=".wax" mimeType="audio/x-ms-wax" /> |
| | | <mimeMap fileExtension=".wbmp" mimeType="image/vnd.wap.wbmp" /> |
| | | <mimeMap fileExtension=".wcm" mimeType="application/vnd.ms-works" /> |
| | | <mimeMap fileExtension=".wdb" mimeType="application/vnd.ms-works" /> |
| | | <mimeMap fileExtension=".webm" mimeType="video/webm" /> |
| | | <mimeMap fileExtension=".wks" mimeType="application/vnd.ms-works" /> |
| | | <mimeMap fileExtension=".wm" mimeType="video/x-ms-wm" /> |
| | | <mimeMap fileExtension=".wma" mimeType="audio/x-ms-wma" /> |
| | | <mimeMap fileExtension=".wmd" mimeType="application/x-ms-wmd" /> |
| | | <mimeMap fileExtension=".wmf" mimeType="application/x-msmetafile" /> |
| | | <mimeMap fileExtension=".wml" mimeType="text/vnd.wap.wml" /> |
| | | <mimeMap fileExtension=".wmlc" mimeType="application/vnd.wap.wmlc" /> |
| | | <mimeMap fileExtension=".wmls" mimeType="text/vnd.wap.wmlscript" /> |
| | | <mimeMap fileExtension=".wmlsc" mimeType="application/vnd.wap.wmlscriptc" /> |
| | | <mimeMap fileExtension=".wmp" mimeType="video/x-ms-wmp" /> |
| | | <mimeMap fileExtension=".wmv" mimeType="video/x-ms-wmv" /> |
| | | <mimeMap fileExtension=".wmx" mimeType="video/x-ms-wmx" /> |
| | | <mimeMap fileExtension=".wmz" mimeType="application/x-ms-wmz" /> |
| | | <mimeMap fileExtension=".woff" mimeType="font/x-woff" /> |
| | | <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" /> |
| | | <mimeMap fileExtension=".wps" mimeType="application/vnd.ms-works" /> |
| | | <mimeMap fileExtension=".wri" mimeType="application/x-mswrite" /> |
| | | <mimeMap fileExtension=".wrl" mimeType="x-world/x-vrml" /> |
| | | <mimeMap fileExtension=".wrz" mimeType="x-world/x-vrml" /> |
| | | <mimeMap fileExtension=".wsdl" mimeType="text/xml" /> |
| | | <mimeMap fileExtension=".wtv" mimeType="video/x-ms-wtv" /> |
| | | <mimeMap fileExtension=".wvx" mimeType="video/x-ms-wvx" /> |
| | | <mimeMap fileExtension=".x" mimeType="application/directx" /> |
| | | <mimeMap fileExtension=".xaf" mimeType="x-world/x-vrml" /> |
| | | <mimeMap fileExtension=".xaml" mimeType="application/xaml+xml" /> |
| | | <mimeMap fileExtension=".xap" mimeType="application/x-silverlight-app" /> |
| | | <mimeMap fileExtension=".xbap" mimeType="application/x-ms-xbap" /> |
| | | <mimeMap fileExtension=".xbm" mimeType="image/x-xbitmap" /> |
| | | <mimeMap fileExtension=".xdr" mimeType="text/plain" /> |
| | | <mimeMap fileExtension=".xht" mimeType="application/xhtml+xml" /> |
| | | <mimeMap fileExtension=".xhtml" mimeType="application/xhtml+xml" /> |
| | | <mimeMap fileExtension=".xla" mimeType="application/vnd.ms-excel" /> |
| | | <mimeMap fileExtension=".xlam" mimeType="application/vnd.ms-excel.addin.macroEnabled.12" /> |
| | | <mimeMap fileExtension=".xlc" mimeType="application/vnd.ms-excel" /> |
| | | <mimeMap fileExtension=".xlm" mimeType="application/vnd.ms-excel" /> |
| | | <mimeMap fileExtension=".xls" mimeType="application/vnd.ms-excel" /> |
| | | <mimeMap fileExtension=".xlsb" mimeType="application/vnd.ms-excel.sheet.binary.macroEnabled.12" /> |
| | | <mimeMap fileExtension=".xlsm" mimeType="application/vnd.ms-excel.sheet.macroEnabled.12" /> |
| | | <mimeMap fileExtension=".xlsx" mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" /> |
| | | <mimeMap fileExtension=".xlt" mimeType="application/vnd.ms-excel" /> |
| | | <mimeMap fileExtension=".xltm" mimeType="application/vnd.ms-excel.template.macroEnabled.12" /> |
| | | <mimeMap fileExtension=".xltx" mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.template" /> |
| | | <mimeMap fileExtension=".xlw" mimeType="application/vnd.ms-excel" /> |
| | | <mimeMap fileExtension=".xml" mimeType="text/xml" /> |
| | | <mimeMap fileExtension=".xof" mimeType="x-world/x-vrml" /> |
| | | <mimeMap fileExtension=".xpm" mimeType="image/x-xpixmap" /> |
| | | <mimeMap fileExtension=".xps" mimeType="application/vnd.ms-xpsdocument" /> |
| | | <mimeMap fileExtension=".xsd" mimeType="text/xml" /> |
| | | <mimeMap fileExtension=".xsf" mimeType="text/xml" /> |
| | | <mimeMap fileExtension=".xsl" mimeType="text/xml" /> |
| | | <mimeMap fileExtension=".xslt" mimeType="text/xml" /> |
| | | <mimeMap fileExtension=".xsn" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".xtp" mimeType="application/octet-stream" /> |
| | | <mimeMap fileExtension=".xwd" mimeType="image/x-xwindowdump" /> |
| | | <mimeMap fileExtension=".z" mimeType="application/x-compress" /> |
| | | <mimeMap fileExtension=".zip" mimeType="application/x-zip-compressed" /> |
| | | </staticContent> |
| | | <tracing> |
| | | <traceFailedRequests> |
| | | <add path="*"> |
| | | <traceAreas> |
| | | <add provider="ASP" verbosity="Verbose" /> |
| | | <add provider="ASPNET" areas="Infrastructure,Module,Page,AppServices" verbosity="Verbose" /> |
| | | <add provider="ISAPI Extension" verbosity="Verbose" /> |
| | | <add provider="WWW Server" areas="Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module,Rewrite,WebSocket" verbosity="Verbose" /> |
| | | </traceAreas> |
| | | <failureDefinitions statusCodes="200-999" /> |
| | | </add> |
| | | </traceFailedRequests> |
| | | <traceProviderDefinitions> |
| | | <add name="WWW Server" guid="{3a2a4e84-4c21-4981-ae10-3fda0d9b0f83}"> |
| | | <areas> |
| | | <clear /> |
| | | <add name="Authentication" value="2" /> |
| | | <add name="Security" value="4" /> |
| | | <add name="Filter" value="8" /> |
| | | <add name="StaticFile" value="16" /> |
| | | <add name="CGI" value="32" /> |
| | | <add name="Compression" value="64" /> |
| | | <add name="Cache" value="128" /> |
| | | <add name="RequestNotifications" value="256" /> |
| | | <add name="Module" value="512" /> |
| | | <add name="Rewrite" value="1024" /> |
| | | <add name="FastCGI" value="4096" /> |
| | | <add name="WebSocket" value="16384" /> |
| | | <add name="ANCM" value="65536" /> |
| | | </areas> |
| | | </add> |
| | | <add name="ASP" guid="{06b94d9a-b15e-456e-a4ef-37c984a2cb4b}"> |
| | | <areas> |
| | | <clear /> |
| | | </areas> |
| | | </add> |
| | | <add name="ISAPI Extension" guid="{a1c2040e-8840-4c31-ba11-9871031a19ea}"> |
| | | <areas> |
| | | <clear /> |
| | | </areas> |
| | | </add> |
| | | <add name="ASPNET" guid="{AFF081FE-0247-4275-9C4E-021F3DC1DA35}"> |
| | | <areas> |
| | | <add name="Infrastructure" value="1" /> |
| | | <add name="Module" value="2" /> |
| | | <add name="Page" value="4" /> |
| | | <add name="AppServices" value="8" /> |
| | | </areas> |
| | | </add> |
| | | </traceProviderDefinitions> |
| | | </tracing> |
| | | <urlCompression /> |
| | | <validation /> |
| | | <webdav> |
| | | <globalSettings> |
| | | <propertyStores> |
| | | <add name="webdav_simple_prop" image="%IIS_BIN%\webdav_simple_prop.dll" image32="%IIS_BIN%\webdav_simple_prop.dll" /> |
| | | </propertyStores> |
| | | <lockStores> |
| | | <add name="webdav_simple_lock" image="%IIS_BIN%\webdav_simple_lock.dll" image32="%IIS_BIN%\webdav_simple_lock.dll" /> |
| | | </lockStores> |
| | | </globalSettings> |
| | | <authoring> |
| | | <locks enabled="true" lockStore="webdav_simple_lock" /> |
| | | </authoring> |
| | | <authoringRules /> |
| | | </webdav> |
| | | <webSocket /> |
| | | <applicationInitialization /> |
| | | </system.webServer> |
| | | <location path="" overrideMode="Allow"> |
| | | <system.webServer> |
| | | <modules> |
| | | <add name="IsapiFilterModule" lockItem="true" /> |
| | | <add name="BasicAuthenticationModule" lockItem="true" /> |
| | | <add name="IsapiModule" lockItem="true" /> |
| | | <add name="HttpLoggingModule" lockItem="true" /> |
| | | <add name="DynamicCompressionModule" lockItem="true" /> |
| | | <add name="StaticCompressionModule" lockItem="true" /> |
| | | <add name="DefaultDocumentModule" lockItem="true" /> |
| | | <add name="DirectoryListingModule" lockItem="true" /> |
| | | <add name="ProtocolSupportModule" lockItem="true" /> |
| | | <add name="HttpRedirectionModule" lockItem="true" /> |
| | | <add name="ServerSideIncludeModule" lockItem="true" /> |
| | | <add name="StaticFileModule" lockItem="true" /> |
| | | <add name="AnonymousAuthenticationModule" lockItem="true" /> |
| | | <add name="CertificateMappingAuthenticationModule" lockItem="true" /> |
| | | <add name="UrlAuthorizationModule" lockItem="true" /> |
| | | <add name="WindowsAuthenticationModule" lockItem="true" /> |
| | | <add name="IISCertificateMappingAuthenticationModule" lockItem="true" /> |
| | | <add name="WebMatrixSupportModule" lockItem="true" /> |
| | | <add name="IpRestrictionModule" lockItem="true" /> |
| | | <add name="DynamicIpRestrictionModule" lockItem="true" /> |
| | | <add name="RequestFilteringModule" lockItem="true" /> |
| | | <add name="CustomLoggingModule" lockItem="true" /> |
| | | <add name="CustomErrorModule" lockItem="true" /> |
| | | <add name="FailedRequestsTracingModule" lockItem="true" /> |
| | | <add name="CgiModule" lockItem="true" /> |
| | | <add name="FastCgiModule" lockItem="true" /> |
| | | <!-- <add name="WebDAVModule" /> --> |
| | | <add name="RewriteModule" /> |
| | | <add name="OutputCache" type="System.Web.Caching.OutputCacheModule" preCondition="managedHandler" /> |
| | | <add name="Session" type="System.Web.SessionState.SessionStateModule" preCondition="managedHandler" /> |
| | | <add name="WindowsAuthentication" type="System.Web.Security.WindowsAuthenticationModule" preCondition="managedHandler" /> |
| | | <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" preCondition="managedHandler" /> |
| | | <add name="DefaultAuthentication" type="System.Web.Security.DefaultAuthenticationModule" preCondition="managedHandler" /> |
| | | <add name="RoleManager" type="System.Web.Security.RoleManagerModule" preCondition="managedHandler" /> |
| | | <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule" preCondition="managedHandler" /> |
| | | <add name="FileAuthorization" type="System.Web.Security.FileAuthorizationModule" preCondition="managedHandler" /> |
| | | <add name="AnonymousIdentification" type="System.Web.Security.AnonymousIdentificationModule" preCondition="managedHandler" /> |
| | | <add name="Profile" type="System.Web.Profile.ProfileModule" preCondition="managedHandler" /> |
| | | <add name="UrlMappingsModule" type="System.Web.UrlMappingsModule" preCondition="managedHandler" /> |
| | | <add name="ApplicationInitializationModule" lockItem="true" /> |
| | | <add name="WebSocketModule" lockItem="true" /> |
| | | <add name="ServiceModel-4.0" type="System.ServiceModel.Activation.ServiceHttpModule,System.ServiceModel.Activation,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv4.0" /> |
| | | <add name="ConfigurationValidationModule" lockItem="true" /> |
| | | <add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" preCondition="managedHandler,runtimeVersionv4.0" /> |
| | | <add name="ScriptModule-4.0" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv4.0" /> |
| | | <add name="AspNetCoreModule" lockItem="true" /> |
| | | <add name="AspNetCoreModuleV2" lockItem="true" /> |
| | | </modules> |
| | | <handlers accessPolicy="Read, Script"> |
| | | <!-- <add name="WebDAV" path="*" verb="PROPFIND,PROPPATCH,MKCOL,PUT,COPY,DELETE,MOVE,LOCK,UNLOCK" modules="WebDAVModule" resourceType="Unspecified" requireAccess="None" /> --> |
| | | <add name="AXD-ISAPI-4.0_64bit" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> |
| | | <add name="PageHandlerFactory-ISAPI-4.0_64bit" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> |
| | | <add name="SimpleHandlerFactory-ISAPI-4.0_64bit" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> |
| | | <add name="WebServiceHandlerFactory-ISAPI-4.0_64bit" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> |
| | | <add name="HttpRemotingHandlerFactory-rem-ISAPI-4.0_64bit" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> |
| | | <add name="HttpRemotingHandlerFactory-soap-ISAPI-4.0_64bit" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> |
| | | <add name="svc-ISAPI-4.0_64bit" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> |
| | | <add name="rules-ISAPI-4.0_64bit" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> |
| | | <add name="xoml-ISAPI-4.0_64bit" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> |
| | | <add name="xamlx-ISAPI-4.0_64bit" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> |
| | | <add name="aspq-ISAPI-4.0_64bit" path="*.aspq" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> |
| | | <add name="cshtm-ISAPI-4.0_64bit" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> |
| | | <add name="cshtml-ISAPI-4.0_64bit" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> |
| | | <add name="vbhtm-ISAPI-4.0_64bit" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> |
| | | <add name="vbhtml-ISAPI-4.0_64bit" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> |
| | | <add name="AXD-ISAPI-4.0_32bit" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> |
| | | <add name="PageHandlerFactory-ISAPI-4.0_32bit" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> |
| | | <add name="SimpleHandlerFactory-ISAPI-4.0_32bit" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> |
| | | <add name="WebServiceHandlerFactory-ISAPI-4.0_32bit" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> |
| | | <add name="HttpRemotingHandlerFactory-rem-ISAPI-4.0_32bit" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> |
| | | <add name="HttpRemotingHandlerFactory-soap-ISAPI-4.0_32bit" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> |
| | | <add name="svc-ISAPI-4.0_32bit" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> |
| | | <add name="rules-ISAPI-4.0_32bit" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> |
| | | <add name="xoml-ISAPI-4.0_32bit" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> |
| | | <add name="xamlx-ISAPI-4.0_32bit" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> |
| | | <add name="aspq-ISAPI-4.0_32bit" path="*.aspq" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> |
| | | <add name="cshtm-ISAPI-4.0_32bit" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> |
| | | <add name="cshtml-ISAPI-4.0_32bit" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> |
| | | <add name="vbhtm-ISAPI-4.0_32bit" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> |
| | | <add name="vbhtml-ISAPI-4.0_32bit" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> |
| | | <add name="TraceHandler-Integrated-4.0" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | <add name="WebAdminHandler-Integrated-4.0" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | <add name="AssemblyResourceLoader-Integrated-4.0" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | <add name="PageHandlerFactory-Integrated-4.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | <add name="SimpleHandlerFactory-Integrated-4.0" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | <add name="WebServiceHandlerFactory-Integrated-4.0" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | <add name="HttpRemotingHandlerFactory-rem-Integrated-4.0" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | <add name="HttpRemotingHandlerFactory-soap-Integrated-4.0" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | <add name="svc-Integrated-4.0" path="*.svc" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | <add name="rules-Integrated-4.0" path="*.rules" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | <add name="xoml-Integrated-4.0" path="*.xoml" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | <add name="xamlx-Integrated-4.0" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" type="System.Xaml.Hosting.XamlHttpHandlerFactory, System.Xaml.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | <add name="aspq-Integrated-4.0" path="*.aspq" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | <add name="cshtm-Integrated-4.0" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | <add name="cshtml-Integrated-4.0" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | <add name="vbhtm-Integrated-4.0" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | <add name="vbhtml-Integrated-4.0" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | <add name="ScriptHandlerFactoryAppServices-Integrated-4.0" path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | <add name="ScriptResourceIntegrated-4.0" path="*ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | <add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%IIS_BIN%\asp.dll" resourceType="File" /> |
| | | <add name="SecurityCertificate" path="*.cer" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%IIS_BIN%\asp.dll" resourceType="File" /> |
| | | <add name="ISAPI-dll" path="*.dll" verb="*" modules="IsapiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" /> |
| | | <add name="TraceHandler-Integrated" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" preCondition="integratedMode,runtimeVersionv2.0" /> |
| | | <add name="WebAdminHandler-Integrated" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" preCondition="integratedMode,runtimeVersionv2.0" /> |
| | | <add name="AssemblyResourceLoader-Integrated" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" preCondition="integratedMode,runtimeVersionv2.0" /> |
| | | <add name="PageHandlerFactory-Integrated" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" preCondition="integratedMode,runtimeVersionv2.0" /> |
| | | <add name="SimpleHandlerFactory-Integrated" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" preCondition="integratedMode,runtimeVersionv2.0" /> |
| | | <add name="WebServiceHandlerFactory-Integrated" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Services.Protocols.WebServiceHandlerFactory,System.Web.Services,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a" preCondition="integratedMode,runtimeVersionv2.0" /> |
| | | <add name="HttpRemotingHandlerFactory-rem-Integrated" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory,System.Runtime.Remoting,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> |
| | | <add name="HttpRemotingHandlerFactory-soap-Integrated" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory,System.Runtime.Remoting,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> |
| | | <add name="AXD-ISAPI-2.0" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> |
| | | <add name="PageHandlerFactory-ISAPI-2.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> |
| | | <add name="SimpleHandlerFactory-ISAPI-2.0" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> |
| | | <add name="WebServiceHandlerFactory-ISAPI-2.0" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> |
| | | <add name="HttpRemotingHandlerFactory-rem-ISAPI-2.0" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> |
| | | <add name="HttpRemotingHandlerFactory-soap-ISAPI-2.0" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> |
| | | <add name="AXD-ISAPI-2.0-64" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> |
| | | <add name="PageHandlerFactory-ISAPI-2.0-64" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> |
| | | <add name="SimpleHandlerFactory-ISAPI-2.0-64" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> |
| | | <add name="WebServiceHandlerFactory-ISAPI-2.0-64" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> |
| | | <add name="HttpRemotingHandlerFactory-rem-ISAPI-2.0-64" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> |
| | | <add name="HttpRemotingHandlerFactory-soap-ISAPI-2.0-64" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> |
| | | <add name="CGI-exe" path="*.exe" verb="*" modules="CgiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" /> |
| | | <add name="SSINC-stm" path="*.stm" verb="GET,HEAD,POST" modules="ServerSideIncludeModule" resourceType="File" /> |
| | | <add name="SSINC-shtm" path="*.shtm" verb="GET,HEAD,POST" modules="ServerSideIncludeModule" resourceType="File" /> |
| | | <add name="SSINC-shtml" path="*.shtml" verb="GET,HEAD,POST" modules="ServerSideIncludeModule" resourceType="File" /> |
| | | <add name="TRACEVerbHandler" path="*" verb="TRACE" modules="ProtocolSupportModule" requireAccess="None" /> |
| | | <add name="OPTIONSVerbHandler" path="*" verb="OPTIONS" modules="ProtocolSupportModule" requireAccess="None" /> |
| | | <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> |
| | | <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> |
| | | <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="0" /> |
| | | <add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" requireAccess="Read" /> |
| | | </handlers> |
| | | </system.webServer> |
| | | </location> |
| | | <location path="zhengcaioa" inheritInChildApplications="false"> |
| | | <system.webServer> |
| | | <modules> |
| | | <remove name="WebMatrixSupportModule" /> |
| | | </modules> |
| | | <handlers> |
| | | <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> |
| | | </handlers> |
| | | <aspNetCore processPath="%LAUNCHER_PATH%" stdoutLogEnabled="false" hostingModel="InProcess" startupTimeLimit="3600" requestTimeout="23:00:00" /> |
| | | <httpCompression> |
| | | <dynamicTypes> |
| | | <add mimeType="text/event-stream" enabled="false" /> |
| | | </dynamicTypes> |
| | | </httpCompression> |
| | | </system.webServer> |
| | | </location> |
| | | </configuration> |
| | |
| | | |
| | | CreateMap<AdmAttendance, AdmAttendanceDTO>(); |
| | | CreateMap<AdmAttendanceDTO, AdmAttendance>(); |
| | | |
| | | CreateMap<HrJibengongzi, HrJibengongziDTO>(); |
| | | CreateMap<HrJibengongziDTO, HrJibengongzi>(); |
| | | |
| | | CreateMap<HrJixiaoticheng, HrJixiaotichengDTO>(); |
| | | CreateMap<HrJixiaotichengDTO, HrJixiaoticheng>(); |
| | | |
| | | CreateMap<HrSalary, HrSalaryDTO>(); |
| | | CreateMap<HrSalaryDTO, HrSalary>(); |
| | | |
| | | } |
| | | } |
| | | } |
| | |
| | | public string Pieceratetype { get; set; } |
| | | public string Project { get; set; } |
| | | |
| | | public string Standard { get; set; } |
| | | |
| | | |
| | | } |
| | | } |
| New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace DTO |
| | | { |
| | | public class HrJibengongziDTO |
| | | { |
| | | public string Id { get; set; } |
| | | public string PostId { get; set; } |
| | | public string PostName { get; set; } |
| | | public decimal? Jibengongzi { get; set; } |
| | | public string JibengongziName { get; set; } |
| | | public decimal? Baomifei { get; set; } |
| | | public string BaomifeiName { get; set; } |
| | | public decimal? Shebaodanwei { get; set; } |
| | | public string ShebaodanweiName { get; set; } |
| | | public decimal? Shebaogeren { get; set; } |
| | | public string ShebaogerenName { get; set; } |
| | | public string Dianhuabutie { get; set; } |
| | | public string DianhuabutieName { get; set; } |
| | | public decimal? Quanqingjiang { get; set; } |
| | | public string QuanqingjiangName { get; set; } |
| | | public decimal? Jiaotongbutie { get; set; } |
| | | public string JiaotongbutieName { get; set; } |
| | | public string RecStatus { get; set; } |
| | | public string Creater { get; set; } |
| | | public DateTime Createtime { get; set; } |
| | | public string Modifier { get; set; } |
| | | public DateTime Modifytime { get; set; } |
| | | |
| | | public DateTime? Effecttime { get; set; } |
| | | |
| | | public string EffecttimeName { get; set; } |
| | | } |
| | | |
| | | public class HrJibengongziDTOSearch : SearchEntity |
| | | { |
| | | public string PostId { get; set; } |
| | | |
| | | } |
| | | } |
| New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace DTO |
| | | { |
| | | public class HrJixiaotichengDTO |
| | | { |
| | | public string Id { get; set; } |
| | | public string PostId { get; set; } |
| | | public string PostName { get; set; } |
| | | public string PiecerateId { get; set; } |
| | | public string PiecerateName { get; set; } |
| | | public string Tichengstandard { get; set; } |
| | | public string TichengstandardName { get; set; } |
| | | public string Renwustandard { get; set; } |
| | | public string RenwustandardName { get; set; } |
| | | public decimal? Ticheng { get; set; } |
| | | public string TichengName { get; set; } |
| | | public decimal? Renwu { get; set; } |
| | | public string RenwuName { get; set; } |
| | | public DateTime? Effecttime { get; set; } |
| | | public string EffecttimeName { get; set; } |
| | | public string RecStatus { get; set; } |
| | | public string Creater { get; set; } |
| | | public DateTime Createtime { get; set; } |
| | | public string Modifier { get; set; } |
| | | public DateTime Modifytime { get; set; } |
| | | } |
| | | |
| | | |
| | | public class HrJixiaotichengDTOSearch : SearchEntity |
| | | { |
| | | public string PostId { get; set; } |
| | | |
| | | public string PiecerateId { get; set; } |
| | | |
| | | } |
| | | } |
| New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace DTO |
| | | { |
| | | public class HrSalaryDTO |
| | | { |
| | | public string Id { get; set; } |
| | | public string Userid { get; set; } |
| | | public int Year { get; set; } |
| | | public int Month { get; set; } |
| | | public string Usernumber { get; set; } |
| | | public string UserName { get; set; } |
| | | public string DeptName { get; set; } |
| | | public decimal? Jibengongzi { get; set; } |
| | | public decimal? Baomifei { get; set; } |
| | | public decimal? Gongzuobutie { get; set; } |
| | | public decimal? Jiabangongzi { get; set; } |
| | | public decimal? Shebao { get; set; } |
| | | public decimal? Dianhuabutie { get; set; } |
| | | public decimal? Quanqinjiang { get; set; } |
| | | public decimal? Jiaotngbutie { get; set; } |
| | | public decimal? Jixiaoticheng { get; set; } |
| | | public decimal? Jiangjin { get; set; } |
| | | public decimal? Bufagongzi { get; set; } |
| | | public decimal? Shebaokou { get; set; } |
| | | public decimal? Geshui { get; set; } |
| | | public decimal? Dianhuafei { get; set; } |
| | | public decimal? Queqin { get; set; } |
| | | public decimal? Fakuan { get; set; } |
| | | public decimal? Peichang { get; set; } |
| | | public decimal? Jiucuo { get; set; } |
| | | public decimal? Daozhanggongzi { get; set; } |
| | | public decimal? Yufagongzi { get; set; } |
| | | public decimal? Yufagongziheji { get; set; } |
| | | |
| | | |
| | | public string JibengongziName { get; set; } |
| | | public string BaomifeiName { get; set; } |
| | | public string GongzuobutieName { get; set; } |
| | | public string JiabangongziName { get; set; } |
| | | public string ShebaoName { get; set; } |
| | | public string DianhuabutieName { get; set; } |
| | | public string QuanqinjiangName { get; set; } |
| | | public string JiaotngbutieName { get; set; } |
| | | public string JixiaotichengName { get; set; } |
| | | public string JiangjinName { get; set; } |
| | | public string BufagongziName { get; set; } |
| | | public string ShebaokouName { get; set; } |
| | | public string GeshuiName { get; set; } |
| | | public string DianhuafeiName { get; set; } |
| | | public string QueqinName { get; set; } |
| | | public string FakuanName { get; set; } |
| | | public string PeichangName { get; set; } |
| | | public string JiucuoName { get; set; } |
| | | public string DaozhanggongziName { get; set; } |
| | | public string YufagongziName { get; set; } |
| | | public string YufagongzihejiName { get; set; } |
| | | |
| | | |
| | | public string Islock { get; set; } |
| | | public string RecStatus { get; set; } |
| | | public string Creater { get; set; } |
| | | public DateTime Createtime { get; set; } |
| | | public string Modifier { get; set; } |
| | | public DateTime Modifytime { get; set; } |
| | | } |
| | | |
| | | public partial class HrSalaryDTOSearch : SearchEntity |
| | | { |
| | | public string YearMonth { get; set; } |
| | | public string Usernumber { get; set; } |
| | | public string DeptId { get; set; } |
| | | public string UserName { get; set; } |
| | | |
| | | } |
| | | } |
| | |
| | | /// é¢åå·¥èµ |
| | | /// </summary> |
| | | public decimal? advancewages { get; set; } |
| | | public string advancewagesName { get; set; } |
| | | /// <summary> |
| | | /// ä¿åºå¹´èª |
| | | /// </summary> |
| | | public decimal? miniyearsalary { get; set; } |
| | | public string miniyearsalaryName { get; set; } |
| | | /// <summary> |
| | | /// å·¥é¾å·¥èµ |
| | | /// </summary> |
| | | public decimal? senioritywages { get; set; } |
| | | public string senioritywagesName { get; set; } |
| | | /// <summary> |
| | | /// æ¯å¦äº¤é补贴 |
| | | /// </summary> |
| | | public string Istravelsubsidy { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦äº¤é补贴 |
| | | /// </summary> |
| | | public string IstravelsubsidyName { get; set; } |
| | | |
| | | public string Beizhu { get; set; } |
| | | |
| | | |
| | | public decimal? baomisalary { get; set; } |
| | | public string baomisalaryName { get; set; } |
| | | public decimal? jibensalary { get; set; } |
| | | public string jibensalaryName { get; set; } |
| | | public decimal? jintiesalary { get; set; } |
| | | public string jintiesalaryName { get; set; } |
| | | |
| | | public decimal? geshuiqizheng { get; set; } |
| | | public string geshuiqizhengName { get; set; } |
| | | |
| | | |
| | | public string[] JiatingchengyuanId { get; set; } |
| | |
| | | public string UserSn { get; set; } |
| | | |
| | | public string Zhiwustatus { get; set; } |
| | | |
| | | public string Usernumber { get; set; } |
| | | } |
| | | } |
| | |
| | | ResultEntity ModifyStatus(string id, string userid); |
| | | |
| | | List<FiPiecerateDTO> GetList(); |
| | | List<FiPiecerateDTO> GetListAll(); |
| | | } |
| | | } |
| New file |
| | |
| | | using DTO; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | |
| | | namespace IServices |
| | | { |
| | | public interface IHrJibengongziService |
| | | { |
| | | |
| | | ResultEntity save(HrJibengongziDTO dto); |
| | | |
| | | HrJibengongziDTO Get(string id); |
| | | |
| | | ResultDataEntity<HrJibengongziDTO> SearchByPaging(HrJibengongziDTOSearch searchEntity); |
| | | |
| | | ResultEntity ModifyStatus(string id, string userid); |
| | | |
| | | List<HrJibengongziDTO> GetList(); |
| | | } |
| | | } |
| New file |
| | |
| | | using DTO; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | |
| | | namespace IServices |
| | | { |
| | | public interface IHrJixiaotichengService |
| | | { |
| | | ResultEntity save(HrJixiaotichengDTO dto); |
| | | |
| | | HrJixiaotichengDTO Get(string id); |
| | | |
| | | ResultDataEntity<HrJixiaotichengDTO> SearchByPaging(HrJixiaotichengDTOSearch searchEntity); |
| | | |
| | | ResultEntity ModifyStatus(string id, string userid); |
| | | |
| | | List<HrJixiaotichengDTO> GetList(); |
| | | } |
| | | } |
| New file |
| | |
| | | using DTO; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | |
| | | namespace IServices |
| | | { |
| | | public interface IHrSalaryService |
| | | { |
| | | |
| | | ResultEntity save(HrSalaryDTO dto); |
| | | |
| | | HrSalaryDTO Get(string id); |
| | | |
| | | ResultDataEntity<HrSalaryDTO> SearchByPaging(HrSalaryDTOSearch searchEntity); |
| | | |
| | | ResultEntity ModifyStatus(string id, string userid); |
| | | |
| | | List<HrSalaryDTO> GetList(); |
| | | } |
| | | } |
| New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | |
| | | #nullable disable |
| | | |
| | | namespace zhengcaioa.Models |
| | | { |
| | | public partial class HrJibengongzi |
| | | { |
| | | public string Id { get; set; } |
| | | public string PostId { get; set; } |
| | | public decimal? Jibengongzi { get; set; } |
| | | public decimal? Baomifei { get; set; } |
| | | public decimal? Shebaodanwei { get; set; } |
| | | public decimal? Shebaogeren { get; set; } |
| | | public string Dianhuabutie { get; set; } |
| | | public decimal? Quanqingjiang { get; set; } |
| | | public decimal? Jiaotongbutie { get; set; } |
| | | public DateTime? Effecttime { get; set; } |
| | | public string RecStatus { get; set; } |
| | | public string Creater { get; set; } |
| | | public DateTime Createtime { get; set; } |
| | | public string Modifier { get; set; } |
| | | public DateTime Modifytime { get; set; } |
| | | } |
| | | } |
| New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | |
| | | #nullable disable |
| | | |
| | | namespace zhengcaioa.Models |
| | | { |
| | | public partial class HrJixiaoticheng |
| | | { |
| | | public string Id { get; set; } |
| | | public string PostId { get; set; } |
| | | public string PiecerateId { get; set; } |
| | | public string Tichengstandard { get; set; } |
| | | public string Renwustandard { get; set; } |
| | | public decimal? Ticheng { get; set; } |
| | | public decimal? Renwu { get; set; } |
| | | public DateTime? Effecttime { get; set; } |
| | | public string RecStatus { get; set; } |
| | | public string Creater { get; set; } |
| | | public DateTime Createtime { get; set; } |
| | | public string Modifier { get; set; } |
| | | public DateTime Modifytime { get; set; } |
| | | } |
| | | } |
| New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | |
| | | #nullable disable |
| | | |
| | | namespace zhengcaioa.Models |
| | | { |
| | | public partial class HrSalary |
| | | { |
| | | public string Id { get; set; } |
| | | public string Userid { get; set; } |
| | | public int Year { get; set; } |
| | | public int Month { get; set; } |
| | | public decimal? Jibengongzi { get; set; } |
| | | public decimal? Baomifei { get; set; } |
| | | public decimal? Gongzuobutie { get; set; } |
| | | public decimal? Jiabangongzi { get; set; } |
| | | public decimal? Shebao { get; set; } |
| | | public decimal? Dianhuabutie { get; set; } |
| | | public decimal? Quanqinjiang { get; set; } |
| | | public decimal? Jiaotngbutie { get; set; } |
| | | public decimal? Jixiaoticheng { get; set; } |
| | | public decimal? Jiangjin { get; set; } |
| | | public decimal? Bufagongzi { get; set; } |
| | | public decimal? Shebaokou { get; set; } |
| | | public decimal? Geshui { get; set; } |
| | | public decimal? Dianhuafei { get; set; } |
| | | public decimal? Queqin { get; set; } |
| | | public decimal? Fakuan { get; set; } |
| | | public decimal? Peichang { get; set; } |
| | | public decimal? Jiucuo { get; set; } |
| | | public decimal? Daozhanggongzi { get; set; } |
| | | public decimal? Yufagongzi { get; set; } |
| | | public decimal? Yufagongziheji { get; set; } |
| | | public string Islock { get; set; } |
| | | public string RecStatus { get; set; } |
| | | public string Creater { get; set; } |
| | | public DateTime Createtime { get; set; } |
| | | public string Modifier { get; set; } |
| | | public DateTime Modifytime { get; set; } |
| | | } |
| | | } |
| | |
| | | public string JinjiPhone { get; set; } |
| | | public string JzYoubian { get; set; } |
| | | public string HjYoubian { get; set; } |
| | | |
| | | public string IpMac { get; set; } |
| | | public string Usernumber { get; set; } |
| | | public string Isxmenter { get; set; } |
| | |
| | | public decimal? miniyearsalary { get; set; } |
| | | public decimal? senioritywages { get; set; } |
| | | public string Istravelsubsidy { get; set; } |
| | | |
| | | public string Beizhu { get; set; } |
| | | public decimal? baomisalary { get; set; } |
| | | public decimal? jibensalary { get; set; } |
| | | public decimal? jintiesalary { get; set; } |
| | | public decimal? geshuiqizheng { get; set; } |
| | | } |
| | | } |
| | |
| | | public virtual DbSet<GroupTopic> GroupTopics { get; set; } |
| | | public virtual DbSet<GroupTuiguang> GroupTuiguangs { get; set; } |
| | | public virtual DbSet<HrDept> HrDepts { get; set; } |
| | | public virtual DbSet<HrJibengongzi> HrJibengongzis { get; set; } |
| | | public virtual DbSet<HrJixiaoticheng> HrJixiaotichengs { get; set; } |
| | | public virtual DbSet<HrPosition> HrPositions { get; set; } |
| | | public virtual DbSet<HrSalary> HrSalaries { get; set; } |
| | | public virtual DbSet<IntentionCustomer> IntentionCustomers { get; set; } |
| | | public virtual DbSet<IntentionOrder> IntentionOrders { get; set; } |
| | | public virtual DbSet<IntentionVisit> IntentionVisits { get; set; } |
| | |
| | | entity.Property(e => e.Id).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.Chidao) |
| | | .HasColumnType("decimal(18, 2)") |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("chidao"); |
| | | |
| | | entity.Property(e => e.Creater) |
| | |
| | | .HasDefaultValueSql("('D')"); |
| | | |
| | | entity.Property(e => e.Jiaban) |
| | | .HasColumnType("decimal(18, 2)") |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("jiaban"); |
| | | |
| | | entity.Property(e => e.Kuanggong) |
| | | .HasColumnType("decimal(18, 2)") |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("kuanggong"); |
| | | |
| | | entity.Property(e => e.Modifier) |
| | |
| | | entity.Property(e => e.Month).HasColumnName("month"); |
| | | |
| | | entity.Property(e => e.Offdays) |
| | | .HasColumnType("decimal(18, 2)") |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("offdays"); |
| | | |
| | | entity.Property(e => e.Qingjia) |
| | | .HasColumnType("decimal(18, 2)") |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("qingjia"); |
| | | |
| | | entity.Property(e => e.RecStatus) |
| | |
| | | .HasDefaultValueSql("('A')"); |
| | | |
| | | entity.Property(e => e.Shijichuqin) |
| | | .HasColumnType("decimal(18, 2)") |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("shijichuqin"); |
| | | |
| | | entity.Property(e => e.Userid) |
| | |
| | | .HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.Xiaojia) |
| | | .HasColumnType("decimal(18, 2)") |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("xiaojia"); |
| | | |
| | | entity.Property(e => e.Year).HasColumnName("year"); |
| | | |
| | | entity.Property(e => e.Yingchuqin) |
| | | .HasColumnType("decimal(18, 2)") |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("yingchuqin"); |
| | | |
| | | entity.Property(e => e.Zaotui) |
| | | .HasColumnType("decimal(18, 2)") |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("zaotui"); |
| | | }); |
| | | |
| | |
| | | .HasMaxLength(50) |
| | | .HasColumnName("attendance_id"); |
| | | |
| | | entity.Property(e => e.Chidaofenzhong) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("chidaofenzhong"); |
| | | |
| | | entity.Property(e => e.Creater) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("createtime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.Kuanggongtianshu) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("kuanggongtianshu"); |
| | | |
| | | entity.Property(e => e.Modifier) |
| | | .IsRequired() |
| | |
| | | entity.Property(e => e.OvertimeOut).HasColumnType("datetime"); |
| | | |
| | | entity.Property(e => e.Qingjia) |
| | | .HasColumnType("decimal(18, 2)") |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("qingjia"); |
| | | |
| | | entity.Property(e => e.RecStatus) |
| | |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.Xiaojia) |
| | | .HasColumnType("decimal(18, 2)") |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("xiaojia"); |
| | | |
| | | entity.Property(e => e.Zaotuifenzhong) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("zaotuifenzhong"); |
| | | }); |
| | | |
| | | modelBuilder.Entity<AdmAttendanceRule>(entity => |
| | |
| | | .HasColumnName("superior_top"); |
| | | }); |
| | | |
| | | modelBuilder.Entity<HrJibengongzi>(entity => |
| | | { |
| | | entity.ToTable("hr_jibengongzi"); |
| | | |
| | | entity.Property(e => e.Id).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.Baomifei) |
| | | .HasColumnType("money") |
| | | .HasColumnName("baomifei"); |
| | | |
| | | entity.Property(e => e.Creater) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | | .HasColumnName("creater") |
| | | .HasDefaultValueSql("('1')"); |
| | | |
| | | entity.Property(e => e.Createtime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("createtime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.Dianhuabutie) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("dianhuabutie"); |
| | | |
| | | entity.Property(e => e.Effecttime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("effecttime"); |
| | | |
| | | entity.Property(e => e.Jiaotongbutie) |
| | | .HasColumnType("money") |
| | | .HasColumnName("jiaotongbutie"); |
| | | |
| | | entity.Property(e => e.Jibengongzi) |
| | | .HasColumnType("money") |
| | | .HasColumnName("jibengongzi"); |
| | | |
| | | entity.Property(e => e.Modifier) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | | .HasColumnName("modifier") |
| | | .HasDefaultValueSql("('1')"); |
| | | |
| | | entity.Property(e => e.Modifytime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("modifytime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.PostId) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("post_id"); |
| | | |
| | | entity.Property(e => e.Quanqingjiang) |
| | | .HasColumnType("money") |
| | | .HasColumnName("quanqingjiang"); |
| | | |
| | | entity.Property(e => e.RecStatus) |
| | | .IsRequired() |
| | | .HasMaxLength(1) |
| | | .HasColumnName("rec_status") |
| | | .HasDefaultValueSql("('A')"); |
| | | |
| | | entity.Property(e => e.Shebaodanwei) |
| | | .HasColumnType("money") |
| | | .HasColumnName("shebaodanwei"); |
| | | |
| | | entity.Property(e => e.Shebaogeren) |
| | | .HasColumnType("money") |
| | | .HasColumnName("shebaogeren"); |
| | | }); |
| | | |
| | | modelBuilder.Entity<HrJixiaoticheng>(entity => |
| | | { |
| | | entity.ToTable("hr_jixiaoticheng"); |
| | | |
| | | entity.Property(e => e.Id).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.Creater) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | | .HasColumnName("creater") |
| | | .HasDefaultValueSql("('1')"); |
| | | |
| | | entity.Property(e => e.Createtime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("createtime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.Effecttime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("effecttime"); |
| | | |
| | | entity.Property(e => e.Modifier) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | | .HasColumnName("modifier") |
| | | .HasDefaultValueSql("('1')"); |
| | | |
| | | entity.Property(e => e.Modifytime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("modifytime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.PiecerateId) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("piecerate_id"); |
| | | |
| | | entity.Property(e => e.PostId) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("post_id"); |
| | | |
| | | entity.Property(e => e.RecStatus) |
| | | .IsRequired() |
| | | .HasMaxLength(1) |
| | | .HasColumnName("rec_status") |
| | | .HasDefaultValueSql("('A')"); |
| | | |
| | | entity.Property(e => e.Renwu) |
| | | .HasColumnType("money") |
| | | .HasColumnName("renwu"); |
| | | |
| | | entity.Property(e => e.Renwustandard) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("renwustandard"); |
| | | |
| | | entity.Property(e => e.Ticheng) |
| | | .HasColumnType("money") |
| | | .HasColumnName("ticheng"); |
| | | |
| | | entity.Property(e => e.Tichengstandard) |
| | | .HasMaxLength(50) |
| | | .HasColumnName("tichengstandard"); |
| | | }); |
| | | |
| | | modelBuilder.Entity<HrPosition>(entity => |
| | | { |
| | | entity.ToTable("hr_position"); |
| | |
| | | .HasMaxLength(1) |
| | | .HasColumnName("rec_status") |
| | | .HasDefaultValueSql("('A')"); |
| | | }); |
| | | |
| | | modelBuilder.Entity<HrSalary>(entity => |
| | | { |
| | | entity.ToTable("hr_salary"); |
| | | |
| | | entity.Property(e => e.Id).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.Baomifei) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("baomifei"); |
| | | |
| | | entity.Property(e => e.Bufagongzi) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("bufagongzi"); |
| | | |
| | | entity.Property(e => e.Creater) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | | .HasColumnName("creater") |
| | | .HasDefaultValueSql("('1')"); |
| | | |
| | | entity.Property(e => e.Createtime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("createtime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.Daozhanggongzi) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("daozhanggongzi"); |
| | | |
| | | entity.Property(e => e.Dianhuabutie) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("dianhuabutie"); |
| | | |
| | | entity.Property(e => e.Dianhuafei) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("dianhuafei"); |
| | | |
| | | entity.Property(e => e.Fakuan) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("fakuan"); |
| | | |
| | | entity.Property(e => e.Geshui) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("geshui"); |
| | | |
| | | entity.Property(e => e.Gongzuobutie) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("gongzuobutie"); |
| | | |
| | | entity.Property(e => e.Islock) |
| | | .IsRequired() |
| | | .HasMaxLength(1) |
| | | .HasColumnName("islock") |
| | | .HasDefaultValueSql("('D')"); |
| | | |
| | | entity.Property(e => e.Jiabangongzi) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("jiabangongzi"); |
| | | |
| | | entity.Property(e => e.Jiangjin) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("jiangjin"); |
| | | |
| | | entity.Property(e => e.Jiaotngbutie) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("jiaotngbutie"); |
| | | |
| | | entity.Property(e => e.Jibengongzi) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("jibengongzi"); |
| | | |
| | | entity.Property(e => e.Jiucuo) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("jiucuo"); |
| | | |
| | | entity.Property(e => e.Jixiaoticheng) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("jixiaoticheng"); |
| | | |
| | | entity.Property(e => e.Modifier) |
| | | .IsRequired() |
| | | .HasMaxLength(50) |
| | | .HasColumnName("modifier") |
| | | .HasDefaultValueSql("('1')"); |
| | | |
| | | entity.Property(e => e.Modifytime) |
| | | .HasColumnType("datetime") |
| | | .HasColumnName("modifytime") |
| | | .HasDefaultValueSql("(getdate())"); |
| | | |
| | | entity.Property(e => e.Month).HasColumnName("month"); |
| | | |
| | | entity.Property(e => e.Peichang) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("peichang"); |
| | | |
| | | entity.Property(e => e.Quanqinjiang) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("quanqinjiang"); |
| | | |
| | | entity.Property(e => e.Queqin) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("queqin"); |
| | | |
| | | entity.Property(e => e.RecStatus) |
| | | .IsRequired() |
| | | .HasMaxLength(1) |
| | | .HasColumnName("rec_status") |
| | | .HasDefaultValueSql("('A')"); |
| | | |
| | | entity.Property(e => e.Shebao) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("shebao"); |
| | | |
| | | entity.Property(e => e.Shebaokou) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("shebaokou"); |
| | | |
| | | entity.Property(e => e.Userid) |
| | | .IsRequired() |
| | | .HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.Year).HasColumnName("year"); |
| | | |
| | | entity.Property(e => e.Yufagongzi) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("yufagongzi"); |
| | | |
| | | entity.Property(e => e.Yufagongziheji) |
| | | .HasColumnType("decimal(18, 4)") |
| | | .HasColumnName("yufagongziheji"); |
| | | }); |
| | | |
| | | modelBuilder.Entity<IntentionCustomer>(entity => |
| | |
| | | |
| | | entity.Property(e => e.Id).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.advancewages) |
| | | .HasColumnType("decimal(10, 2)") |
| | | .HasColumnName("advancewages"); |
| | | |
| | | entity.Property(e => e.BasicPrice) |
| | | .HasMaxLength(500) |
| | | .HasColumnName("basic_price") |
| | | .HasDefaultValueSql("('')") |
| | | .HasComment("èªèµå¾
é"); |
| | | |
| | | entity.Property(e => e.baomisalary) |
| | | .HasColumnType("decimal(10, 2)") |
| | | .HasColumnName("baomisalary"); |
| | | |
| | | entity.Property(e => e.Beizhu) |
| | | .HasMaxLength(500) |
| | | .HasColumnName("beizhu"); |
| | | |
| | | entity.Property(e => e.Birthday) |
| | | .HasColumnType("datetime") |
| | |
| | | .HasMaxLength(50) |
| | | .HasColumnName("email"); |
| | | |
| | | entity.Property(e => e.geshuiqizheng) |
| | | .HasColumnType("decimal(10, 2)") |
| | | .HasColumnName("geshuiqizheng"); |
| | | |
| | | entity.Property(e => e.HjAddress) |
| | | .HasMaxLength(500) |
| | | .HasColumnName("hj_address") |
| | |
| | | .HasDefaultValueSql("(getdate())") |
| | | .HasComment("å¯ç¨æ¶é´"); |
| | | |
| | | entity.Property(e => e.IpMac) |
| | | .HasMaxLength(30) |
| | | .HasColumnName("ipmac"); |
| | | |
| | | entity.Property(e => e.IsGmsb) |
| | | .HasMaxLength(1) |
| | | .HasColumnName("is_gmsb") |
| | |
| | | .HasDefaultValueSql("('')") |
| | | .HasComment("å·²ç¾è®¢åå"); |
| | | |
| | | entity.Property(e => e.Istravelsubsidy) |
| | | .HasMaxLength(1) |
| | | .HasColumnName("is_travelsubsidy"); |
| | | |
| | | entity.Property(e => e.Iswdenter) |
| | | .HasMaxLength(1) |
| | | .HasColumnName("is_wdenter"); |
| | | |
| | | entity.Property(e => e.Isxmenter) |
| | | .HasMaxLength(1) |
| | | .HasColumnName("is_xmenter"); |
| | | |
| | | entity.Property(e => e.IsYwjl) |
| | | .HasMaxLength(1) |
| | | .HasColumnName("is_ywjl") |
| | | .HasDefaultValueSql("('')") |
| | | .HasComment("æ¯ä¸å¡ç»ç"); |
| | | |
| | | entity.Property(e => e.Isxmenter) |
| | | .HasMaxLength(1) |
| | | .HasColumnName("is_xmenter") |
| | | .HasDefaultValueSql("('')") |
| | | .HasComment("æ¯é¡¹ç®å½å
¥"); |
| | | |
| | | entity.Property(e => e.Iswdenter) |
| | | .HasMaxLength(1) |
| | | .HasColumnName("is_wdenter") |
| | | .HasDefaultValueSql("('')") |
| | | .HasComment("æ¯é®çå½å
¥"); |
| | | |
| | | entity.Property(e => e.Istravelsubsidy) |
| | | .HasMaxLength(1) |
| | | .HasColumnName("is_travelsubsidy") |
| | | .HasDefaultValueSql("('')") |
| | | .HasComment("æäº¤é补贴"); |
| | | |
| | | entity.Property(e => e.Jg) |
| | | .HasMaxLength(500) |
| | |
| | | .HasDefaultValueSql("('')") |
| | | .HasComment("ç±è´¯"); |
| | | |
| | | entity.Property(e => e.jibensalary) |
| | | .HasColumnType("decimal(10, 2)") |
| | | .HasColumnName("jibensalary"); |
| | | |
| | | entity.Property(e => e.Jinji).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.JinjiPhone).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.jintiesalary) |
| | | .HasColumnType("decimal(10, 2)") |
| | | .HasColumnName("jintiesalary"); |
| | | |
| | | entity.Property(e => e.JzAddress) |
| | | .HasMaxLength(500) |
| | |
| | | .HasColumnName("length_price") |
| | | .HasDefaultValueSql("('')") |
| | | .HasComment("å·¥é¾å·¥èµï¼å
¥è满ä¸å¹´çä¸ä¸ä¸ªæå¯äº«å"); |
| | | |
| | | entity.Property(e => e.miniyearsalary) |
| | | .HasColumnType("decimal(10, 2)") |
| | | .HasColumnName("miniyearsalary"); |
| | | |
| | | entity.Property(e => e.Modifier) |
| | | .IsRequired() |
| | |
| | | |
| | | entity.Property(e => e.School).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.senioritywages) |
| | | .HasColumnType("decimal(10, 2)") |
| | | .HasColumnName("senioritywages"); |
| | | |
| | | entity.Property(e => e.Sex) |
| | | .HasMaxLength(1) |
| | | .HasColumnName("sex") |
| | |
| | | .HasMaxLength(2) |
| | | .HasColumnName("user_type"); |
| | | |
| | | entity.Property(e => e.Usernumber) |
| | | .HasMaxLength(30) |
| | | .HasColumnName("usernumber"); |
| | | |
| | | entity.Property(e => e.Weixin).HasMaxLength(50); |
| | | |
| | | entity.Property(e => e.Zhengzhi).HasMaxLength(50); |
| | |
| | | |
| | | |
| | | var query = (from a in _context.FiPiecerates |
| | | |
| | | |
| | | join c in listCode.Where(x => x.CodeTable == "CooperVisit" && x.CodeField == "jtype") |
| | | on a.Pieceratetype equals c.CodeSn |
| | | |
| | | join d in listCode.Where(x => x.CodeTable == "fi_piecerate" && x.CodeField == "Standard") |
| | | on a.Standard equals d.CodeSn |
| | | join c in listCode.Where(x => x.CodeTable == "system" && x.CodeField == "shifou") |
| | | on a.Standard equals c.CodeSn |
| | | |
| | | //join d in listCode.Where(x => x.CodeTable == "fi_piecerate" && x.CodeField == "Standard") |
| | | //on a.Standard equals d.CodeSn |
| | | |
| | | |
| | | |
| | |
| | | |
| | | |
| | | && (string.IsNullOrWhiteSpace(searchEntity.Pieceratetype) || a.Pieceratetype == searchEntity.Pieceratetype.Trim()) |
| | | |
| | | |
| | | && (string.IsNullOrWhiteSpace(searchEntity.Standard) || a.Standard == searchEntity.Standard.Trim()) |
| | | |
| | | select new FiPiecerateDTO |
| | | { |
| | | Id = a.Id, |
| | | CreatedAtTime = a.CreatedAtTime, |
| | | |
| | | Pieceratetype = a.Pieceratetype, |
| | | PieceratetypeName = c.Comments, |
| | | PieceratetypeName = "",//c.Comments, |
| | | Project = a.Project, |
| | | Amount = a.Amount, |
| | | Standard = a.Standard, |
| | | |
| | | StandardName = d.Comments, |
| | | StandardName = c.Comments, |
| | | Percent = a.Percent, |
| | | |
| | | |
| | |
| | | { |
| | | |
| | | |
| | | var listPosition = _context.FiPiecerates.Where(r => r.RecStatus == "A").ToList(); |
| | | var listPosition = _context.FiPiecerates.Where(r => r.RecStatus == "A").OrderBy(x=>x.Createtime).ToList(); |
| | | |
| | | var list = _mapper.Map<List<FiPiecerateDTO>>(listPosition); |
| | | return list; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// è·åææè®¡ä»¶é¡¹ç® |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public List<FiPiecerateDTO> GetListAll() |
| | | { |
| | | |
| | | var listPosition = _context.FiPiecerates.OrderBy(x => x.Createtime).ToList(); |
| | | |
| | | var list = _mapper.Map<List<FiPiecerateDTO>>(listPosition); |
| | | return list; |
| | | } |
| | | |
| | | |
| | | } |
| | | } |
| New file |
| | |
| | | using AutoMapper; |
| | | using DTO; |
| | | using IServices; |
| | | using Microsoft.EntityFrameworkCore; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using zhengcaioa.Models; |
| | | |
| | | |
| | | namespace Services |
| | | { |
| | | public class HrJibengongziService: IHrJibengongziService |
| | | { |
| | | private readonly zhengcaioaContext _context; |
| | | private readonly IMapper _mapper; |
| | | public HrJibengongziService(zhengcaioaContext context, IMapper mapper) |
| | | { |
| | | _context = context; |
| | | _mapper = mapper; |
| | | } |
| | | |
| | | public ResultEntity save(HrJibengongziDTO dto) |
| | | { |
| | | ResultEntity resultEntity = new ResultEntity(); |
| | | try |
| | | { |
| | | var model = _mapper.Map<HrJibengongzi>(dto); |
| | | if (String.IsNullOrEmpty(model.Id)) |
| | | { |
| | | model.Id = Guid.NewGuid().ToString(); |
| | | |
| | | |
| | | _context.HrJibengongzis.Add(model); |
| | | } |
| | | else |
| | | { |
| | | var updatepltRole = _context.HrJibengongzis.Find(model.Id); |
| | | updatepltRole.PostId = model.PostId; |
| | | updatepltRole.Jibengongzi = model.Jibengongzi; |
| | | updatepltRole.Baomifei = model.Baomifei; |
| | | updatepltRole.Shebaodanwei = model.Shebaodanwei; |
| | | updatepltRole.Shebaogeren = model.Shebaogeren; |
| | | updatepltRole.Quanqingjiang = model.Quanqingjiang; |
| | | updatepltRole.Dianhuabutie = model.Dianhuabutie; |
| | | |
| | | updatepltRole.Jiaotongbutie = model.Jiaotongbutie; |
| | | |
| | | |
| | | updatepltRole.Effecttime = model.Effecttime; |
| | | |
| | | updatepltRole.RecStatus = model.RecStatus; |
| | | // updatepltRole.Creater = pltRole.Creater; |
| | | //updatepltRole.Createtime = pltRole.Createtime; |
| | | updatepltRole.Modifier = model.Modifier; |
| | | updatepltRole.Modifytime = model.Modifytime; |
| | | |
| | | } |
| | | |
| | | _context.SaveChanges(); |
| | | resultEntity.ReturnID = model.Id; |
| | | resultEntity.Result = true; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | resultEntity.Result = false; |
| | | resultEntity.Message = "ä¿å失败ï¼è¯·è系管çå"; |
| | | |
| | | } |
| | | return resultEntity; |
| | | } |
| | | |
| | | public HrJibengongziDTO Get(string id) |
| | | { |
| | | var entity = _context.HrJibengongzis.Find(id); |
| | | |
| | | if (entity.RecStatus != "A") |
| | | { |
| | | entity = new HrJibengongzi(); |
| | | } |
| | | var HrJibengongziDTO = _mapper.Map<HrJibengongziDTO>(entity); |
| | | return HrJibengongziDTO; |
| | | } |
| | | |
| | | public ResultDataEntity<HrJibengongziDTO> SearchByPaging(HrJibengongziDTOSearch searchEntity) |
| | | { |
| | | ResultDataEntity<HrJibengongziDTO> data = new ResultDataEntity<HrJibengongziDTO>(); |
| | | |
| | | var listCode = (from a in _context.SysCodeDtls |
| | | join b in _context.SysCodes |
| | | on a.CodeId equals b.Id |
| | | where a.RecStatus == "A" |
| | | && b.RecStatus == "A" |
| | | select new CodeDataEntity() |
| | | { |
| | | CodeId = b.Id, |
| | | CodeTable = b.CodeTable, |
| | | CodeField = b.CodeField, |
| | | CodeSn = a.CodeSn, |
| | | Comments = a.Comments, |
| | | Contents = a.Contents, |
| | | RecStatus = a.RecStatus, |
| | | Sort = a.Sort |
| | | } |
| | | ); |
| | | |
| | | var query = (from a in _context.HrJibengongzis//.Where(x => x.RecStatus == "A") |
| | | join b in listCode.Where(x => x.CodeTable == "hr_jibengongzi" && x.CodeField == "dianhuabutie") |
| | | on a.Dianhuabutie equals b.CodeSn |
| | | into bsssss |
| | | from bbb in bsssss.DefaultIfEmpty() |
| | | |
| | | join f in _context.HrPositions |
| | | on a.PostId equals f.Id |
| | | into fsssss |
| | | from fff in fsssss.DefaultIfEmpty() |
| | | |
| | | where a.RecStatus == "A" |
| | | && (string.IsNullOrWhiteSpace(searchEntity.PostId) || a.PostId == searchEntity.PostId.Trim()) |
| | | select new HrJibengongziDTO |
| | | { |
| | | Id = a.Id, |
| | | PostId = a.PostId, |
| | | PostName = fff.PostName, |
| | | Jibengongzi = a.Jibengongzi, |
| | | Baomifei = a.Baomifei, |
| | | Shebaodanwei = a.Shebaodanwei, |
| | | Shebaogeren = a.Shebaogeren, |
| | | Dianhuabutie = a.Dianhuabutie, |
| | | Quanqingjiang = a.Quanqingjiang, |
| | | Jiaotongbutie = a.Jiaotongbutie, |
| | | |
| | | JibengongziName = a.Jibengongzi.HasValue? a.Jibengongzi.Value.ToString("F2"):"", |
| | | BaomifeiName = a.Baomifei.HasValue ? a.Baomifei.Value.ToString("F2") : "", |
| | | ShebaodanweiName = a.Shebaodanwei.HasValue ? a.Shebaodanwei.Value.ToString("F2") : "", |
| | | ShebaogerenName = a.Shebaogeren.HasValue ? a.Shebaogeren.Value.ToString("F2") : "", |
| | | DianhuabutieName = bbb.Comments, |
| | | QuanqingjiangName = a.Quanqingjiang.HasValue ? a.Quanqingjiang.Value.ToString("F2") : "", |
| | | JiaotongbutieName = a.Jiaotongbutie.HasValue ? a.Jiaotongbutie.Value.ToString("F2") : "", |
| | | Effecttime = a.Effecttime, |
| | | EffecttimeName = a.Effecttime.HasValue ? a.Effecttime.Value.ToString("yyyy-MM-dd") : "", |
| | | |
| | | |
| | | |
| | | |
| | | RecStatus = a.RecStatus, |
| | | Creater = a.Creater, |
| | | Createtime = a.Createtime, |
| | | Modifier = a.Modifier, |
| | | Modifytime = a.Modifytime, |
| | | |
| | | }).OrderByDescending(x => x.Modifytime).ToList(); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | if (searchEntity.totalrows == 0) |
| | | searchEntity.totalrows = query.Count(); |
| | | var rolelist = query.Skip((searchEntity.page - 1) * searchEntity.rows).Take(searchEntity.rows).ToList(); |
| | | |
| | | data.LoadData(searchEntity, rolelist); |
| | | return data; |
| | | } |
| | | |
| | | public ResultEntity ModifyStatus(string id, string userid) |
| | | { |
| | | |
| | | ResultEntity result = new ResultEntity(); |
| | | result.Result = true; |
| | | |
| | | var model = _context.HrJibengongzis.Find(id); |
| | | if (model != null) |
| | | { |
| | | model.RecStatus = "D"; |
| | | model.Modifier = userid; |
| | | model.Modifytime = DateTime.Now; |
| | | _context.SaveChanges(); |
| | | } |
| | | |
| | | return result; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// è·åææææè§è² |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public List<HrJibengongziDTO> GetList() |
| | | { |
| | | |
| | | |
| | | var listPosition = _context.HrJibengongzis.Where(r => r.RecStatus == "A" ).ToList(); |
| | | |
| | | var list = _mapper.Map<List<HrJibengongziDTO>>(listPosition); |
| | | return list; |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | using AutoMapper; |
| | | using DTO; |
| | | using IServices; |
| | | using Microsoft.EntityFrameworkCore; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using zhengcaioa.Models; |
| | | |
| | | |
| | | namespace Services |
| | | { |
| | | public class HrJixiaotichengService : IHrJixiaotichengService |
| | | { |
| | | private readonly zhengcaioaContext _context; |
| | | private readonly IMapper _mapper; |
| | | public HrJixiaotichengService(zhengcaioaContext context, IMapper mapper) |
| | | { |
| | | _context = context; |
| | | _mapper = mapper; |
| | | } |
| | | |
| | | public ResultEntity save(HrJixiaotichengDTO dto) |
| | | { |
| | | ResultEntity resultEntity = new ResultEntity(); |
| | | try |
| | | { |
| | | var model = _mapper.Map<HrJixiaoticheng>(dto); |
| | | if (String.IsNullOrEmpty(model.Id)) |
| | | { |
| | | model.Id = Guid.NewGuid().ToString(); |
| | | |
| | | |
| | | _context.HrJixiaotichengs.Add(model); |
| | | } |
| | | else |
| | | { |
| | | var updatepltRole = _context.HrJixiaotichengs.Find(model.Id); |
| | | updatepltRole.PostId = model.PostId; |
| | | updatepltRole.PiecerateId = model.PiecerateId; |
| | | updatepltRole.Tichengstandard = model.Tichengstandard; |
| | | updatepltRole.Renwustandard = model.Renwustandard; |
| | | updatepltRole.Ticheng = model.Ticheng; |
| | | updatepltRole.Renwu = model.Renwu; |
| | | |
| | | |
| | | updatepltRole.Effecttime = model.Effecttime; |
| | | |
| | | updatepltRole.RecStatus = model.RecStatus; |
| | | // updatepltRole.Creater = pltRole.Creater; |
| | | //updatepltRole.Createtime = pltRole.Createtime; |
| | | updatepltRole.Modifier = model.Modifier; |
| | | updatepltRole.Modifytime = model.Modifytime; |
| | | |
| | | } |
| | | |
| | | _context.SaveChanges(); |
| | | resultEntity.ReturnID = model.Id; |
| | | resultEntity.Result = true; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | resultEntity.Result = false; |
| | | resultEntity.Message = "ä¿å失败ï¼è¯·è系管çå"; |
| | | |
| | | } |
| | | return resultEntity; |
| | | } |
| | | |
| | | public HrJixiaotichengDTO Get(string id) |
| | | { |
| | | var entity = _context.HrJixiaotichengs.Find(id); |
| | | |
| | | if (entity.RecStatus != "A") |
| | | { |
| | | entity = new HrJixiaoticheng(); |
| | | } |
| | | var HrJixiaotichengDTO = _mapper.Map<HrJixiaotichengDTO>(entity); |
| | | return HrJixiaotichengDTO; |
| | | } |
| | | |
| | | public ResultDataEntity<HrJixiaotichengDTO> SearchByPaging(HrJixiaotichengDTOSearch searchEntity) |
| | | { |
| | | ResultDataEntity<HrJixiaotichengDTO> data = new ResultDataEntity<HrJixiaotichengDTO>(); |
| | | |
| | | var listCode = (from a in _context.SysCodeDtls |
| | | join b in _context.SysCodes |
| | | on a.CodeId equals b.Id |
| | | where a.RecStatus == "A" |
| | | && b.RecStatus == "A" |
| | | select new CodeDataEntity() |
| | | { |
| | | CodeId = b.Id, |
| | | CodeTable = b.CodeTable, |
| | | CodeField = b.CodeField, |
| | | CodeSn = a.CodeSn, |
| | | Comments = a.Comments, |
| | | Contents = a.Contents, |
| | | RecStatus = a.RecStatus, |
| | | Sort = a.Sort |
| | | } |
| | | ); |
| | | |
| | | var query = (from a in _context.HrJixiaotichengs//.Where(x => x.RecStatus == "A") |
| | | join b in listCode.Where(x => x.CodeTable == "fi_piecerate" && x.CodeField == "standard") |
| | | on a.Tichengstandard equals b.CodeSn |
| | | into bsssss |
| | | from bbb in bsssss.DefaultIfEmpty() |
| | | |
| | | join c in listCode.Where(x => x.CodeTable == "hr_jixiaoticheng" && x.CodeField == "renwustandard") |
| | | on a.Renwustandard equals c.CodeSn |
| | | into csssss |
| | | from ccc in csssss.DefaultIfEmpty() |
| | | |
| | | join f in _context.HrPositions |
| | | on a.PostId equals f.Id |
| | | into fsssss |
| | | from fff in fsssss.DefaultIfEmpty() |
| | | |
| | | join g in _context.FiPiecerates |
| | | on a.PiecerateId equals g.Id |
| | | into gsssss |
| | | from ggg in gsssss.DefaultIfEmpty() |
| | | |
| | | where a.RecStatus == "A" |
| | | && (string.IsNullOrWhiteSpace(searchEntity.PostId) || a.PostId == searchEntity.PostId.Trim()) |
| | | select new HrJixiaotichengDTO |
| | | { |
| | | Id = a.Id, |
| | | PostId = a.PostId, |
| | | PostName = fff.PostName, |
| | | PiecerateId = a.PiecerateId, |
| | | PiecerateName = ggg.Project, |
| | | Renwustandard = a.Renwustandard, |
| | | RenwustandardName = ccc.Comments, |
| | | Tichengstandard = a.Tichengstandard, |
| | | TichengstandardName = bbb.Comments, |
| | | Ticheng = a.Ticheng, |
| | | Renwu = a.Renwu, |
| | | |
| | | |
| | | TichengName = a.Ticheng.HasValue ? a.Ticheng.Value.ToString("F2") : "", |
| | | RenwuName = a.Renwu.HasValue ? a.Renwu.Value.ToString("F2") : "", |
| | | |
| | | Effecttime = a.Effecttime, |
| | | EffecttimeName = a.Effecttime.HasValue ? a.Effecttime.Value.ToString("yyyy-MM-dd") : "", |
| | | |
| | | |
| | | |
| | | |
| | | RecStatus = a.RecStatus, |
| | | Creater = a.Creater, |
| | | Createtime = a.Createtime, |
| | | Modifier = a.Modifier, |
| | | Modifytime = a.Modifytime, |
| | | |
| | | }).OrderByDescending(x => x.Modifytime).ToList(); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | if (searchEntity.totalrows == 0) |
| | | searchEntity.totalrows = query.Count(); |
| | | var rolelist = query.Skip((searchEntity.page - 1) * searchEntity.rows).Take(searchEntity.rows).ToList(); |
| | | |
| | | data.LoadData(searchEntity, rolelist); |
| | | return data; |
| | | } |
| | | |
| | | public ResultEntity ModifyStatus(string id, string userid) |
| | | { |
| | | |
| | | ResultEntity result = new ResultEntity(); |
| | | result.Result = true; |
| | | |
| | | var model = _context.HrJixiaotichengs.Find(id); |
| | | if (model != null) |
| | | { |
| | | model.RecStatus = "D"; |
| | | model.Modifier = userid; |
| | | model.Modifytime = DateTime.Now; |
| | | _context.SaveChanges(); |
| | | } |
| | | |
| | | return result; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// è·åææææè§è² |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public List<HrJixiaotichengDTO> GetList() |
| | | { |
| | | |
| | | |
| | | var listPosition = _context.HrJixiaotichengs.Where(r => r.RecStatus == "A").ToList(); |
| | | |
| | | var list = _mapper.Map<List<HrJixiaotichengDTO>>(listPosition); |
| | | return list; |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | using AutoMapper; |
| | | using DTO; |
| | | using IServices; |
| | | using Microsoft.EntityFrameworkCore; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using zhengcaioa.Models; |
| | | |
| | | |
| | | namespace Services |
| | | { |
| | | public class HrSalaryService: IHrSalaryService |
| | | { |
| | | private readonly zhengcaioaContext _context; |
| | | private readonly IMapper _mapper; |
| | | public HrSalaryService(zhengcaioaContext context, IMapper mapper) |
| | | { |
| | | _context = context; |
| | | _mapper = mapper; |
| | | } |
| | | |
| | | public ResultEntity save(HrSalaryDTO dto) |
| | | { |
| | | ResultEntity resultEntity = new ResultEntity(); |
| | | try |
| | | { |
| | | var model = _mapper.Map<HrSalary>(dto); |
| | | if (String.IsNullOrEmpty(model.Id)) |
| | | { |
| | | model.Id = Guid.NewGuid().ToString(); |
| | | |
| | | |
| | | _context.HrSalaries.Add(model); |
| | | } |
| | | else |
| | | { |
| | | var updatepltRole = _context.HrSalaries.Find(model.Id); |
| | | updatepltRole.Userid = model.Userid; |
| | | updatepltRole.Year = model.Year; |
| | | updatepltRole.Month = model.Month; |
| | | updatepltRole.Jibengongzi = model.Jibengongzi; |
| | | updatepltRole.Baomifei = model.Baomifei; |
| | | updatepltRole.Gongzuobutie = model.Gongzuobutie; |
| | | updatepltRole.Jiabangongzi = model.Jiabangongzi; |
| | | |
| | | updatepltRole.Shebao = model.Shebao; |
| | | |
| | | |
| | | updatepltRole.Dianhuabutie = model.Dianhuabutie; |
| | | |
| | | updatepltRole.Quanqinjiang = model.Quanqinjiang; |
| | | updatepltRole.Jiaotngbutie = model.Jiaotngbutie; |
| | | updatepltRole.Jixiaoticheng = model.Jixiaoticheng; |
| | | updatepltRole.Jiangjin = model.Jiangjin; |
| | | updatepltRole.Bufagongzi = model.Bufagongzi; |
| | | updatepltRole.Shebaokou = model.Shebaokou; |
| | | updatepltRole.Geshui = model.Geshui; |
| | | updatepltRole.Dianhuafei = model.Dianhuafei; |
| | | updatepltRole.Queqin = model.Queqin; |
| | | updatepltRole.Fakuan = model.Fakuan; |
| | | updatepltRole.Peichang = model.Peichang; |
| | | updatepltRole.Jiucuo = model.Jiucuo; |
| | | updatepltRole.Daozhanggongzi = model.Daozhanggongzi; |
| | | updatepltRole.Yufagongzi = model.Yufagongzi; |
| | | updatepltRole.Yufagongziheji = model.Yufagongziheji; |
| | | |
| | | updatepltRole.Islock = model.Islock; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | updatepltRole.RecStatus = model.RecStatus; |
| | | // updatepltRole.Creater = pltRole.Creater; |
| | | //updatepltRole.Createtime = pltRole.Createtime; |
| | | updatepltRole.Modifier = model.Modifier; |
| | | updatepltRole.Modifytime = model.Modifytime; |
| | | |
| | | } |
| | | |
| | | _context.SaveChanges(); |
| | | resultEntity.ReturnID = model.Id; |
| | | resultEntity.Result = true; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | resultEntity.Result = false; |
| | | resultEntity.Message = "ä¿å失败ï¼è¯·è系管çå"; |
| | | |
| | | } |
| | | return resultEntity; |
| | | } |
| | | |
| | | public HrSalaryDTO Get(string id) |
| | | { |
| | | var entity = _context.HrSalaries.Find(id); |
| | | |
| | | if (entity.RecStatus != "A") |
| | | { |
| | | entity = new HrSalary(); |
| | | } |
| | | var HrSalaryDTO = _mapper.Map<HrSalaryDTO>(entity); |
| | | return HrSalaryDTO; |
| | | } |
| | | |
| | | public ResultDataEntity<HrSalaryDTO> SearchByPaging(HrSalaryDTOSearch searchEntity) |
| | | { |
| | | ResultDataEntity<HrSalaryDTO> data = new ResultDataEntity<HrSalaryDTO>(); |
| | | |
| | | //var listCode = (from a in _context.SysCodeDtls |
| | | // join b in _context.SysCodes |
| | | // on a.CodeId equals b.Id |
| | | // where a.RecStatus == "A" |
| | | // && b.RecStatus == "A" |
| | | // select new CodeDataEntity() |
| | | // { |
| | | // CodeId = b.Id, |
| | | // CodeTable = b.CodeTable, |
| | | // CodeField = b.CodeField, |
| | | // CodeSn = a.CodeSn, |
| | | // Comments = a.Comments, |
| | | // Contents = a.Contents, |
| | | // RecStatus = a.RecStatus, |
| | | // Sort = a.Sort |
| | | // } |
| | | // ); |
| | | |
| | | int year = 0; |
| | | int month = 0; |
| | | if (string.IsNullOrWhiteSpace(searchEntity.YearMonth)) |
| | | { |
| | | DateTime yearMonth = DateTime.Parse(searchEntity.YearMonth + "-01"); |
| | | year = yearMonth.Year; |
| | | month = yearMonth.Month; |
| | | } |
| | | var query = (from a in _context.HrSalaries//.Where(x => x.RecStatus == "A") |
| | | // join b in listCode.Where(x => x.CodeTable == "hr_jibengongzi" && x.CodeField == "dianhuabutie") |
| | | //on a.Dianhuabutie equals b.CodeSn |
| | | // into bsssss |
| | | // from bbb in bsssss.DefaultIfEmpty() |
| | | |
| | | join f in _context.PltUsers |
| | | on a.Userid equals f.Id |
| | | // into fsssss |
| | | //from fff in fsssss.DefaultIfEmpty() |
| | | |
| | | join g in _context.HrDepts |
| | | on f.DeptId equals g.Id |
| | | // into gsssss |
| | | //from ggg in gsssss.DefaultIfEmpty() |
| | | |
| | | where a.RecStatus == "A" |
| | | && (string.IsNullOrWhiteSpace(searchEntity.Usernumber) || f.Usernumber == searchEntity.Usernumber.Trim()) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.DeptId) || f.DeptId == searchEntity.DeptId.Trim()) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.UserName) || f.UserName.Contains(searchEntity.UserName.Trim())) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.YearMonth) || ( a.Year == year && a.Month == month )) |
| | | select new HrSalaryDTO |
| | | { |
| | | Id = a.Id, |
| | | |
| | | Userid = a.Userid, |
| | | Usernumber = f.Usernumber, |
| | | UserName = f.UserName, |
| | | DeptName = g.DeptName, |
| | | Year = a.Year, |
| | | Month = a.Month, |
| | | Jibengongzi = a.Jibengongzi, |
| | | Baomifei = a.Baomifei, |
| | | Gongzuobutie = a.Gongzuobutie, |
| | | Jiabangongzi = a.Jiabangongzi, |
| | | |
| | | Shebao = a.Shebao, |
| | | |
| | | |
| | | Dianhuabutie = a.Dianhuabutie, |
| | | |
| | | Quanqinjiang = a.Quanqinjiang, |
| | | Jiaotngbutie = a.Jiaotngbutie, |
| | | Jixiaoticheng = a.Jixiaoticheng, |
| | | Jiangjin = a.Jiangjin, |
| | | Bufagongzi = a.Bufagongzi, |
| | | Shebaokou = a.Shebaokou, |
| | | Geshui = a.Geshui, |
| | | Dianhuafei = a.Dianhuafei, |
| | | Queqin = a.Queqin, |
| | | Fakuan = a.Fakuan, |
| | | Peichang = a.Peichang, |
| | | Jiucuo = a.Jiucuo, |
| | | Daozhanggongzi = a.Daozhanggongzi, |
| | | Yufagongzi = a.Yufagongzi, |
| | | Yufagongziheji = a.Yufagongziheji, |
| | | |
| | | |
| | | JibengongziName = a.Jibengongzi.HasValue ? a.Jibengongzi.Value.ToString("F2") : "", |
| | | BaomifeiName = a.Baomifei.HasValue ? a.Baomifei.Value.ToString("F2") : "", |
| | | GongzuobutieName = a.Gongzuobutie.HasValue ? a.Gongzuobutie.Value.ToString("F2") : "", |
| | | JiabangongziName = a.Jiabangongzi.HasValue ? a.Jiabangongzi.Value.ToString("F2") : "", |
| | | ShebaoName = a.Shebao.HasValue ? a.Shebao.Value.ToString("F2") : "", |
| | | |
| | | DianhuabutieName = a.Dianhuabutie.HasValue ? a.Dianhuabutie.Value.ToString("F2") : "", |
| | | QuanqinjiangName = a.Quanqinjiang.HasValue ? a.Quanqinjiang.Value.ToString("F2") : "", |
| | | JiaotngbutieName = a.Jiaotngbutie.HasValue ? a.Jiaotngbutie.Value.ToString("F2") : "", |
| | | JixiaotichengName = a.Jixiaoticheng.HasValue ? a.Jixiaoticheng.Value.ToString("F2") : "", |
| | | JiangjinName = a.Jiangjin.HasValue ? a.Jiangjin.Value.ToString("F2") : "", |
| | | BufagongziName = a.Bufagongzi.HasValue ? a.Bufagongzi.Value.ToString("F2") : "", |
| | | ShebaokouName = a.Shebaokou.HasValue ? a.Shebaokou.Value.ToString("F2") : "", |
| | | GeshuiName = a.Geshui.HasValue ? a.Geshui.Value.ToString("F2") : "", |
| | | DianhuafeiName = a.Dianhuafei.HasValue ? a.Dianhuafei.Value.ToString("F2") : "", |
| | | QueqinName = a.Queqin.HasValue ? a.Queqin.Value.ToString("F2") : "", |
| | | FakuanName = a.Fakuan.HasValue ? a.Fakuan.Value.ToString("F2") : "", |
| | | PeichangName = a.Peichang.HasValue ? a.Peichang.Value.ToString("F2") : "", |
| | | JiucuoName = a.Jiucuo.HasValue ? a.Jiucuo.Value.ToString("F2") : "", |
| | | DaozhanggongziName = a.Daozhanggongzi.HasValue ? a.Daozhanggongzi.Value.ToString("F2") : "", |
| | | YufagongziName = a.Yufagongzi.HasValue ? a.Yufagongzi.Value.ToString("F2") : "", |
| | | YufagongzihejiName = a.Yufagongziheji.HasValue ? a.Yufagongziheji.Value.ToString("F2") : "", |
| | | |
| | | |
| | | |
| | | Islock =a.Islock, |
| | | RecStatus = a.RecStatus, |
| | | Creater = a.Creater, |
| | | Createtime = a.Createtime, |
| | | Modifier = a.Modifier, |
| | | Modifytime = a.Modifytime, |
| | | |
| | | }).OrderByDescending(x => x.Modifytime).ToList(); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | if (searchEntity.totalrows == 0) |
| | | searchEntity.totalrows = query.Count(); |
| | | var rolelist = query.Skip((searchEntity.page - 1) * searchEntity.rows).Take(searchEntity.rows).ToList(); |
| | | |
| | | data.LoadData(searchEntity, rolelist); |
| | | return data; |
| | | } |
| | | |
| | | public ResultEntity ModifyStatus(string id, string userid) |
| | | { |
| | | |
| | | ResultEntity result = new ResultEntity(); |
| | | result.Result = true; |
| | | |
| | | var model = _context.HrSalaries.Find(id); |
| | | if (model != null) |
| | | { |
| | | model.RecStatus = "D"; |
| | | model.Modifier = userid; |
| | | model.Modifytime = DateTime.Now; |
| | | _context.SaveChanges(); |
| | | } |
| | | |
| | | return result; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// è·åææææè§è² |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public List<HrSalaryDTO> GetList() |
| | | { |
| | | |
| | | |
| | | var listPosition = _context.HrSalaries.Where(r => r.RecStatus == "A").ToList(); |
| | | |
| | | var list = _mapper.Map<List<HrSalaryDTO>>(listPosition); |
| | | return list; |
| | | } |
| | | } |
| | | } |
| | |
| | | PageID = page.Id, |
| | | SystemID = page.SystemId, |
| | | PageName = page.PageName, |
| | | PageShortcut = page.PageShortcut, |
| | | DisplaySeq = page.DisplaySeq ?? 0, |
| | | PagePath = page.PagePath, |
| | | PageType = page.PageType, |
| | |
| | | updatepltUser.miniyearsalary = pltUser.miniyearsalary; |
| | | updatepltUser.senioritywages = pltUser.senioritywages; |
| | | updatepltUser.Istravelsubsidy = pltUser.Istravelsubsidy; |
| | | updatepltUser.Beizhu = pltUser.Beizhu; |
| | | updatepltUser.baomisalary = pltUser.baomisalary; |
| | | updatepltUser.jibensalary = pltUser.jibensalary; |
| | | updatepltUser.jintiesalary = pltUser.jintiesalary; |
| | | updatepltUser.geshuiqizheng = pltUser.geshuiqizheng; |
| | | } |
| | | |
| | | _context.SaveChanges(); |
| | |
| | | into fsssss |
| | | from fff in fsssss.DefaultIfEmpty() |
| | | |
| | | |
| | | join h in listCode.Where(x => x.CodeTable == "system" && x.CodeField == "shifou") |
| | | on a.Istravelsubsidy equals h.CodeSn |
| | | into hsssss |
| | | from hhh in hsssss.DefaultIfEmpty() |
| | | |
| | | |
| | | where a.RecStatus == "A" |
| | |
| | | |
| | | && (string.IsNullOrWhiteSpace(searchEntity.Phone) || a.Phone.Contains(searchEntity.Phone.Trim())) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.Zhiwustatus) || a.Zhiwustatus == searchEntity.Zhiwustatus.Trim()) |
| | | && (string.IsNullOrWhiteSpace(searchEntity.Usernumber) || a.Usernumber == searchEntity.Usernumber.Trim()) |
| | | //select a |
| | | select new PltUserDTO |
| | | { |
| | |
| | | Modifier = a.Modifier, |
| | | Modifytime = a.Modifytime, |
| | | UserSn = a.UserSn, |
| | | Coler = (a.IsQdht!="A"?"red":((!a.Shebaodate.HasValue) && (a.IsGmsb != "D")? "Darkorange" : "")) |
| | | Coler = (a.IsQdht!="A"?"red":((!a.Shebaodate.HasValue) && (a.IsGmsb != "D")? "Darkorange" : "")), |
| | | IpMac = a.IpMac, |
| | | Iswdenter = a.Iswdenter, |
| | | Isxmenter = a.Isxmenter, |
| | | Usernumber = a.Usernumber, |
| | | advancewages = a.advancewages, |
| | | miniyearsalary = a.miniyearsalary, |
| | | senioritywages = a.senioritywages, |
| | | Istravelsubsidy = a.Istravelsubsidy, |
| | | Beizhu = a.Beizhu, |
| | | IstravelsubsidyName = hhh.Comments, |
| | | advancewagesName = a.advancewages.HasValue ? a.advancewages.Value.ToString("F2") : "", |
| | | miniyearsalaryName = a.miniyearsalary.HasValue ? a.miniyearsalary.Value.ToString("F2") : "", |
| | | senioritywagesName = a.senioritywages.HasValue ? a.senioritywages.Value.ToString("F2") : "", |
| | | jibensalary = a.jibensalary, |
| | | baomisalary = a.baomisalary, |
| | | jintiesalary = a.jintiesalary, |
| | | jibensalaryName = a.jibensalary.HasValue ? a.jibensalary.Value.ToString("F2") : "", |
| | | baomisalaryName = a.baomisalary.HasValue ? a.baomisalary.Value.ToString("F2") : "", |
| | | jintiesalaryName = a.jintiesalary.HasValue ? a.jintiesalary.Value.ToString("F2") : "", |
| | | geshuiqizheng = a.geshuiqizheng, |
| | | geshuiqizhengName = a.geshuiqizheng.HasValue ? a.geshuiqizheng.Value.ToString("F2") : "", |
| | | |
| | | } |
| | | ).OrderBy(x => x.UserSn).ToList(); |
| | | ).OrderBy(x => x.Usernumber).ToList(); |
| | | |
| | | |
| | | |
| | |
| | | ViewData["curentuser"] = curentuser; |
| | | using (TransactionScope scope = new TransactionScope()) |
| | | { |
| | | dto.FullAttendance = 0; |
| | | dto.AbsenteeismPayment2 = 0; |
| | | dto.RecStatus = "A"; |
| | | if (String.IsNullOrEmpty(dto.Id)) |
| | | { |
| | |
| | | |
| | | ViewBag.Pieceratetype = _liaotianService.GetSYScode("CooperVisit", "jtype").Select(x => new { code = x.CodeSn, label = x.Comments }).ToList(); |
| | | |
| | | |
| | | ViewBag.Standard = _liaotianService.GetSYScode("system", "shifou").Select(x => new { code = x.CodeSn, label = x.Comments }).ToList(); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | return View(); |
| | | |
| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | ViewData["Pieceratetype"] = _liaotianService.GetSYScode("CooperVisit", "jtype"); |
| | | |
| | | ViewData["Standard"] = _liaotianService.GetSYScode("fi_piecerate", "standard"); |
| | | //ViewData["Pieceratetype"] = _liaotianService.GetSYScode("CooperVisit", "jtype"); |
| | | |
| | | //ViewData["Standard"] = _liaotianService.GetSYScode("fi_piecerate", "standard"); |
| | | ViewData["Standard"] = _liaotianService.GetSYScode("system", "shifou"); |
| | | ViewData.Model = dto; |
| | | return View(); |
| | | } |
| | |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | data.RecStatus = "A"; |
| | | //data.Standard = "01"; |
| | | data.CreatedAtTime = DateTime.Now; |
| | | if (String.IsNullOrEmpty(data.Id)) |
| | | { |
| | | data.Creater = curentuser.Id; |
| New file |
| | |
| | | using DTO; |
| | | using IServices; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Microsoft.Extensions.Logging; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Threading.Tasks; |
| | | using zhengcaioa.IService; |
| | | using zhengcaioa.Models; |
| | | |
| | | namespace zhengcaioa.Controllers.HR |
| | | { |
| | | [CheckLogin] |
| | | public class HrJibengongziController : Controller |
| | | { |
| | | private readonly ILogger<HrJibengongziController> _logger; |
| | | private readonly IHrJibengongziService _hrJibengongziService; |
| | | private readonly ILiaotianService _liaotianService; |
| | | private readonly IHrPositionService _hrPositionService; |
| | | |
| | | |
| | | |
| | | public HrJibengongziController(ILogger<HrJibengongziController> logger, IHrJibengongziService hrJibengongziService, ILiaotianService liaotianService, IHrPositionService hrPositionService) |
| | | { |
| | | _logger = logger; |
| | | _hrJibengongziService = hrJibengongziService; |
| | | _liaotianService = liaotianService; |
| | | _hrPositionService = hrPositionService; |
| | | } |
| | | |
| | | |
| | | public IActionResult Index() |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | List<ActionEntity> actionlist = new List<ActionEntity>(); |
| | | ActionEntity actionEntity = new ActionEntity(); |
| | | actionEntity.OpenType = 0; |
| | | actionEntity.ActionUrl = ""; |
| | | actionEntity.ActionFun = "Search"; |
| | | actionEntity.PageIco = "fa fa-search"; |
| | | actionEntity.ActionName = "æ¥è¯¢"; |
| | | actionlist.Add(actionEntity); |
| | | ActionEntity actionEntity1 = new ActionEntity(); |
| | | actionEntity1.OpenType = 0; |
| | | actionEntity1.ActionUrl = ""; |
| | | actionEntity1.ActionFun = "Add"; |
| | | actionEntity1.PageIco = "fa fa-plus"; |
| | | actionEntity1.ActionName = "æ°å¢"; |
| | | actionlist.Add(actionEntity1); |
| | | ViewData["ActionInfo"] = actionlist; |
| | | |
| | | ViewBag.post = _hrPositionService.GetList().Select(x => new { code = x.Id, label = x.PostName }).ToList(); |
| | | return View(); |
| | | } |
| | | |
| | | |
| | | public IActionResult GetList(HrJibengongziDTOSearch search) |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | //JsonResult jsonResult = new JsonResult(_liaotianService.SearchByPaging(search), new Newtonsoft.Json.Serialization.DefaultContractResolver()); |
| | | return new JsonResult(_hrJibengongziService.SearchByPaging(search)); |
| | | } |
| | | |
| | | |
| | | #region ç¼è¾ |
| | | |
| | | public ActionResult Edit(string id = null) |
| | | { |
| | | |
| | | |
| | | |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | |
| | | HrJibengongziDTO dto = new HrJibengongziDTO(); |
| | | if (!String.IsNullOrEmpty(id)) |
| | | { |
| | | dto = _hrJibengongziService.Get(id); |
| | | |
| | | } |
| | | dto.JibengongziName = dto.Jibengongzi.HasValue ? dto.Jibengongzi.Value.ToString("F2") : ""; |
| | | dto.BaomifeiName = dto.Baomifei.HasValue ? dto.Baomifei.Value.ToString("F2") : ""; |
| | | dto.ShebaodanweiName = dto.Shebaodanwei.HasValue ? dto.Shebaodanwei.Value.ToString("F2") : ""; |
| | | dto.ShebaogerenName = dto.Shebaogeren.HasValue ? dto.Shebaogeren.Value.ToString("F2") : ""; |
| | | dto.QuanqingjiangName = dto.Quanqingjiang.HasValue ? dto.Quanqingjiang.Value.ToString("F2") : ""; |
| | | dto.JiaotongbutieName = dto.Jiaotongbutie.HasValue ? dto.Jiaotongbutie.Value.ToString("F2") : ""; |
| | | dto.EffecttimeName = dto.Effecttime.HasValue ? dto.Effecttime.Value.ToString("yyyy-MM-dd") : DateTime.Now.ToString("yyyy-MM-dd"); |
| | | |
| | | |
| | | |
| | | |
| | | ViewBag.dianhuabutie = _liaotianService.GetSYScode("hr_jibengongzi", "dianhuabutie"); |
| | | ViewBag.post = _hrPositionService.GetList(); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | ViewData.Model = dto; |
| | | return View(); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// ä¿å |
| | | /// </summary> |
| | | /// <param name="data">å²ä½å®ä½ç±»å¯¹è±¡</param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | |
| | | public IActionResult Save(HrJibengongziDTO data) |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | data.RecStatus = "A"; |
| | | if (String.IsNullOrEmpty(data.Id)) |
| | | { |
| | | data.Creater = curentuser.Id; |
| | | data.Createtime = DateTime.Now; |
| | | } |
| | | data.Modifier = curentuser.Id; |
| | | data.Modifytime = DateTime.Now; |
| | | |
| | | ResultEntity resultEntity = _hrJibengongziService.save(data); |
| | | |
| | | return new JsonResult(resultEntity); |
| | | } |
| | | #endregion |
| | | |
| | | /// <summary> |
| | | /// å é¤ä¸»ä¿¡æ¯ |
| | | /// </summary> |
| | | /// <param name="info">å®ä½</param> |
| | | /// <returns></returns> |
| | | /// |
| | | |
| | | public IActionResult Nullify(string Id = "") |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | return new JsonResult(_hrJibengongziService.ModifyStatus(Id, curentuser.Id)); |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | using DTO; |
| | | using IServices; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Microsoft.Extensions.Logging; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Threading.Tasks; |
| | | using zhengcaioa.IService; |
| | | using zhengcaioa.Models; |
| | | |
| | | namespace zhengcaioa.Controllers.HR |
| | | { |
| | | [CheckLogin] |
| | | public class HrJixiaotichengController : Controller |
| | | { |
| | | private readonly ILogger<HrJixiaotichengController> _logger; |
| | | private readonly IHrJixiaotichengService _hrJixiaotichengService; |
| | | private readonly ILiaotianService _liaotianService; |
| | | private readonly IHrPositionService _hrPositionService; |
| | | private readonly IFiPiecerateService _fiPiecerateService; |
| | | |
| | | |
| | | |
| | | public HrJixiaotichengController(ILogger<HrJixiaotichengController> logger, IHrJixiaotichengService hrJixiaotichengService, ILiaotianService liaotianService, IHrPositionService hrPositionService |
| | | , IFiPiecerateService fiPiecerateService) |
| | | { |
| | | _logger = logger; |
| | | _hrJixiaotichengService = hrJixiaotichengService; |
| | | _liaotianService = liaotianService; |
| | | _hrPositionService = hrPositionService; |
| | | _fiPiecerateService = fiPiecerateService; |
| | | } |
| | | |
| | | public IActionResult Index() |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | List<ActionEntity> actionlist = new List<ActionEntity>(); |
| | | ActionEntity actionEntity = new ActionEntity(); |
| | | actionEntity.OpenType = 0; |
| | | actionEntity.ActionUrl = ""; |
| | | actionEntity.ActionFun = "Search"; |
| | | actionEntity.PageIco = "fa fa-search"; |
| | | actionEntity.ActionName = "æ¥è¯¢"; |
| | | actionlist.Add(actionEntity); |
| | | ActionEntity actionEntity1 = new ActionEntity(); |
| | | actionEntity1.OpenType = 0; |
| | | actionEntity1.ActionUrl = ""; |
| | | actionEntity1.ActionFun = "Add"; |
| | | actionEntity1.PageIco = "fa fa-plus"; |
| | | actionEntity1.ActionName = "æ°å¢"; |
| | | actionlist.Add(actionEntity1); |
| | | ViewData["ActionInfo"] = actionlist; |
| | | |
| | | ViewBag.post = _hrPositionService.GetList().Select(x => new { code = x.Id, label = x.PostName }).ToList(); |
| | | ViewBag.Project = _fiPiecerateService.GetList().Select(x => new { code = x.Id, label = x.Project }).ToList(); |
| | | return View(); |
| | | } |
| | | |
| | | |
| | | public IActionResult GetList(HrJixiaotichengDTOSearch search) |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | //JsonResult jsonResult = new JsonResult(_liaotianService.SearchByPaging(search), new Newtonsoft.Json.Serialization.DefaultContractResolver()); |
| | | return new JsonResult(_hrJixiaotichengService.SearchByPaging(search)); |
| | | } |
| | | |
| | | |
| | | #region ç¼è¾ |
| | | |
| | | public ActionResult Edit(string id = null) |
| | | { |
| | | |
| | | |
| | | |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | |
| | | HrJixiaotichengDTO dto = new HrJixiaotichengDTO(); |
| | | if (!String.IsNullOrEmpty(id)) |
| | | { |
| | | dto = _hrJixiaotichengService.Get(id); |
| | | |
| | | } |
| | | dto.RenwuName = dto.Renwu.HasValue ? dto.Renwu.Value.ToString("F2") : ""; |
| | | dto.TichengName = dto.Ticheng.HasValue ? dto.Ticheng.Value.ToString("F2") : ""; |
| | | |
| | | dto.EffecttimeName = dto.Effecttime.HasValue ? dto.Effecttime.Value.ToString("yyyy-MM-dd") : DateTime.Now.ToString("yyyy-MM-dd"); |
| | | |
| | | |
| | | ViewBag.Project = _fiPiecerateService.GetList(); |
| | | ViewBag.post = _hrPositionService.GetList(); |
| | | |
| | | ViewBag.Tichengstandard = _liaotianService.GetSYScode("fi_piecerate", "standard"); |
| | | |
| | | ViewBag.Renwustandard = _liaotianService.GetSYScode("hr_jixiaoticheng", "renwustandard"); |
| | | |
| | | |
| | | |
| | | |
| | | ViewData.Model = dto; |
| | | return View(); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// ä¿å |
| | | /// </summary> |
| | | /// <param name="data">å²ä½å®ä½ç±»å¯¹è±¡</param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | |
| | | public IActionResult Save(HrJixiaotichengDTO data) |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | data.RecStatus = "A"; |
| | | if (String.IsNullOrEmpty(data.Id)) |
| | | { |
| | | data.Creater = curentuser.Id; |
| | | data.Createtime = DateTime.Now; |
| | | } |
| | | data.Modifier = curentuser.Id; |
| | | data.Modifytime = DateTime.Now; |
| | | |
| | | ResultEntity resultEntity = _hrJixiaotichengService.save(data); |
| | | |
| | | return new JsonResult(resultEntity); |
| | | } |
| | | #endregion |
| | | |
| | | /// <summary> |
| | | /// å é¤ä¸»ä¿¡æ¯ |
| | | /// </summary> |
| | | /// <param name="info">å®ä½</param> |
| | | /// <returns></returns> |
| | | /// |
| | | |
| | | public IActionResult Nullify(string Id = "") |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | return new JsonResult(_hrJixiaotichengService.ModifyStatus(Id, curentuser.Id)); |
| | | } |
| | | |
| | | } |
| | | } |
| | |
| | | ViewData.Model = dto; |
| | | return View(); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | [CheckLogin] |
| | | public IActionResult JiBenGongZi() |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | List<ActionEntity> actionlist = new List<ActionEntity>(); |
| | | ActionEntity actionEntity = new ActionEntity(); |
| | | actionEntity.OpenType = 0; |
| | | actionEntity.ActionUrl = ""; |
| | | actionEntity.ActionFun = "Search"; |
| | | actionEntity.PageIco = "fa fa-search"; |
| | | actionEntity.ActionName = "æ¥è¯¢"; |
| | | actionlist.Add(actionEntity); |
| | | |
| | | ViewData["ActionInfo"] = actionlist; |
| | | |
| | | ViewBag.dept = _hrDeptService.GetList().Select(x => new { code = x.Id, label = x.DeptName }).ToList(); |
| | | |
| | | return View(); |
| | | } |
| | | |
| | | |
| | | #region ä¿®æ¹å¤æ³¨ |
| | | [CheckLogin] |
| | | public ActionResult EditBeizhu(string id = null) |
| | | { |
| | | |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | |
| | | |
| | | ViewBag.shifou = _liaotianService.GetSYScode("system", "shifou");//.Select(x => new { code = x.CodeSn, label = x.Comments }).ToList(); |
| | | |
| | | PltUserDTO PltUserDTO = new PltUserDTO(); |
| | | PltUserDTO.Zhiwustatus = "A"; |
| | | |
| | | if (!String.IsNullOrEmpty(id)) |
| | | { |
| | | PltUserDTO = _userService.GetPltUserEntity(id); |
| | | PltUserDTO.DeptName = _hrDeptService.Get(PltUserDTO.DeptId).DeptName; |
| | | |
| | | PltUserDTO.ShiyongDateName = PltUserDTO.ShiyongDate.HasValue?PltUserDTO.ShiyongDate.Value.ToString("yyyy-MM-dd") : ""; |
| | | PltUserDTO.ShiyongDateEndName = PltUserDTO.ShiyongDateEnd.HasValue ? PltUserDTO.ShiyongDateEnd.Value.ToString("yyyy-MM-dd") : ""; |
| | | } |
| | | |
| | | ViewData.Model = PltUserDTO; |
| | | return View(); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// ä¿å |
| | | /// </summary> |
| | | /// <param name="data">å²ä½å®ä½ç±»å¯¹è±¡</param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | [CheckLogin] |
| | | public string SaveBeizhu(PltUserDTO userdata) |
| | | { |
| | | var curentuser = JsonConvert.DeserializeObject<PltUser>(HttpContext.Session.GetString("User")); |
| | | ViewData["curentuser"] = curentuser; |
| | | ResultEntity resultEntity = new ResultEntity(); |
| | | resultEntity.Result = false; |
| | | |
| | | |
| | | PltUserDTO dTO = _userService.GetPltUserEntity(userdata.Id); |
| | | |
| | | |
| | | |
| | | dTO.ShiyongDate = userdata.ShiyongDate; |
| | | dTO.ShiyongDateEnd = userdata.ShiyongDateEnd; |
| | | dTO.ShiyongPrice = userdata.ShiyongPrice; |
| | | dTO.geshuiqizheng = userdata.geshuiqizheng; |
| | | dTO.advancewages = userdata.advancewages; |
| | | dTO.miniyearsalary = userdata.miniyearsalary; |
| | | dTO.senioritywages = userdata.senioritywages; |
| | | dTO.Istravelsubsidy = userdata.Istravelsubsidy; |
| | | dTO.BasicPrice = userdata.BasicPrice; |
| | | |
| | | dTO.Modifier = curentuser.Id; |
| | | dTO.Modifytime = DateTime.Now; |
| | | |
| | | resultEntity = _userService.savePltUser(dTO); |
| | | |
| | | return JsonConvert.SerializeObject(resultEntity); |
| | | } |
| | | #endregion |
| | | |
| | | } |
| | | } |
| | |
| | | |
| | | |
| | | |
| | | ViewBag.PayType = _liaotianService.GetSYScode("CooperVisit", "jtype").Select(x => new { code = x.CodeSn, label = x.Comments }).ToList(); |
| | | //ViewBag.PayType = _liaotianService.GetSYScode("CooperVisit", "jtype").Select(x => new { code = x.CodeSn, label = x.Comments }).ToList(); |
| | | |
| | | ViewBag.DeptId = _hrDeptService.GetList().Select(x => new { code = x.Id, label = x.DeptName }).ToList(); |
| | | |
| | |
| | | ViewData["UserId"] = _userService.GetList(); |
| | | |
| | | ViewData["DeptId"] = _hrDeptService.GetList(); |
| | | ViewData["WorkPro"] = _fiPiecerateService.GetList(); |
| | | ViewData["WorkPro"] = _fiPiecerateService.GetList().Where(x=>x.Standard == "A").ToList(); |
| | | |
| | | ViewData.Model = dto; |
| | | return View(); |
| | |
| | | using zhengcaioa.Model; |
| | | using zhengcaioa.Models; |
| | | using zhengcaioa.Service; |
| | | using zhengcaioa.Timer; |
| | | |
| | | namespace zhengcaioa |
| | | { |
| | |
| | | options.AddPolicy("any", builder => |
| | | { |
| | | builder.WithMethods("GET", "POST", "HEAD", "PUT", "DELETE", "OPTIONS") |
| | | .AllowAnyHeader() |
| | | //.AllowCredentials()//æå®å¤çcookie |
| | | .AllowAnyOrigin(); //å
è®¸ä»»ä½æ¥æºç主æºè®¿é® |
| | | }); |
| | | }); |
| | | |
| | | //services.AddCors(option => option.AddPolicy("cors", policy => policy.AllowAnyHeader().AllowAnyMethod().AllowCredentials().AllowAnyOrigin())); |
| | | |
| | | services.AddSession(options => |
| | | { |
| | |
| | | services.AddScoped(typeof(IAdmAttendanceDtlService), typeof(AdmAttendanceDtlService)); |
| | | services.AddScoped(typeof(IAdmAttendanceService), typeof(AdmAttendanceService)); |
| | | |
| | | services.AddScoped(typeof(IHrJibengongziService), typeof(HrJibengongziService)); |
| | | |
| | | services.AddScoped(typeof(IHrJixiaotichengService), typeof(HrJixiaotichengService)); |
| | | |
| | | |
| | | |
| | | //宿¶æ§è¡ |
| | | services.AddHostedService<TimedBackgroundService>(); |
| | | |
| | | |
| | | services.AddAutoMapper(typeof(AutoMapperConfigs)); |
| | | services.AddUEditorService("ueditor.json", true, "wwwroot"); |
| New file |
| | |
| | | using Microsoft.Extensions.Hosting; |
| | | using Microsoft.Extensions.Logging; |
| | | using System; |
| | | using System.IO; |
| | | using System.Threading; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace zhengcaioa.Timer |
| | | { |
| | | public class TimedBackgroundService : BackgroundService |
| | | { |
| | | private readonly ILogger _logger; |
| | | |
| | | |
| | | public TimedBackgroundService(ILogger<TimedBackgroundService> logger) |
| | | { |
| | | _logger = logger; |
| | | } |
| | | protected override async Task ExecuteAsync(CancellationToken stoppingToken) |
| | | { |
| | | _logger.LogInformation("MyServiceA is starting."); |
| | | |
| | | //stoppingToken.Register(() => File.Create($"E:\\dotnetCore\\Practice\\Practice\\{DateTime.Now.Millisecond}.txt")); |
| | | |
| | | while (!stoppingToken.IsCancellationRequested) |
| | | { |
| | | _logger.LogInformation("MyServiceA å¼å§æ§è¡"); |
| | | |
| | | await Task.Delay(TimeSpan.FromMinutes(1), stoppingToken); |
| | | |
| | | _logger.LogInformation("ç»§ç»æ§è¡"); |
| | | } |
| | | |
| | | _logger.LogInformation("MyServiceA background task is stopping."); |
| | | } |
| | | |
| | | public override void Dispose() |
| | | { |
| | | base.Dispose(); |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | @section headerStyle{ |
| | | <script type="text/javascript"> |
| | | var PayType = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.PayType))'; |
| | | @*var PayType = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.PayType))';*@ |
| | | |
| | | var DeptId = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.DeptId))'; |
| | | loseherght = 30; |
| | |
| | | dataUrl = "/AdmPieceCheck/GetList"; |
| | | searchCol = [ |
| | | { label: '工使¶é´', name: 'WorkTime', labtype: 'datearea', hidden: false }, |
| | | { label: 'ç±»å«', name: 'PayType', labtype: 'combox', hidden: false, data: JSON.parse(PayType), cwidth: '5%', cccwidth: '8%' }, |
| | | //{ label: 'ç±»å«', name: 'PayType', labtype: 'combox', hidden: false, data: JSON.parse(PayType), cwidth: '5%', cccwidth: '8%' }, |
| | | { label: 'é¨é¨', name: 'DeptId', labtype: 'combox', hidden: false, data: JSON.parse(DeptId), cwidth: '5%', cccwidth: '8%' }, |
| | | { label: 'å§å', name: 'UserName', labtype: 'txt', hidden: false }, |
| | | |
| | |
| | | @using zhengcaioa.Models; |
| | | @{ |
| | | |
| | | List<SysCodeDtl> Pieceratetype = ViewData["Pieceratetype"] as List<SysCodeDtl>; //è¡ä¸åç±» |
| | | //List<SysCodeDtl> Pieceratetype = ViewData["Pieceratetype"] as List<SysCodeDtl>; //è¡ä¸åç±» |
| | | |
| | | |
| | | List<SysCodeDtl> Standard = ViewData["Standard"] as List<SysCodeDtl>; //æææ å |
| | | List<SysCodeDtl> Standard = ViewData["Standard"] as List<SysCodeDtl>; //æææ å |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | @{ |
| | |
| | | </div> |
| | | <div id="div_content" class="ibox-content" style="background-color:white;"> |
| | | <div class="row"> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | @*<div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">å¯ç¨æ¶é´<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input id="CreatedAtTime" class="form-control" label="å¯ç¨æ¶é´" name="CreatedAtTime" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.CreatedAtTime.ToString("yyyy/MM/dd")" readonly="readonly"> |
| | | <input type="hidden" id="Id" name="Id" value="@Model.Id" /> |
| | | |
| | | </div> |
| | | |
| | | |
| | |
| | | |
| | | |
| | | |
| | | </div> |
| | | </div>*@ |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">æå¡é¡¹ç®<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input class="form-control" label="æå¡é¡¹ç®" name="Project" id="Project" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="true" type="text" value="@Model.Project"> |
| | | <input type="hidden" id="Id" name="Id" value="@Model.Id" /> |
| | | </div> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">æ¯å¦è®¡ä»¶ç»è®°<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <select id="Standard" class="form-control" name="Standard" data-placeholder="éæ© åºå ..."> |
| | | <option value="" hassubinfo="true">è¯·éæ©</option> |
| | | @foreach (var item in Standard) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.Standard)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | </select> |
| | | |
| | | </div> |
| | | |
| | | |
| | | @*<label class="text-right col-sm-1 col-md-1 control-label">项ç®ä»·æ ¼<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input class="form-control" label="项ç®ä»·æ ¼" name="Amount" id="Amount" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.Amount" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | </div>*@ |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">项ç®ä»·æ ¼<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input class="form-control" label="项ç®ä»·æ ¼" name="Amount" id="Amount" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.Amount" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | @*<div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">æææ å</label> |
| | |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input class="form-control" label="ææé¢åº¦" name="Percent" id="Percent" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.Percent" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | </div> |
| | | </div> |
| | | </div>*@ |
| | | |
| | | |
| | | |
| | |
| | | "hideMethod": "fadeOut" |
| | | }; |
| | | |
| | | laydate({ elem: "#CreatedAtTime", format: 'YYYY/MM/DD', istime: false, event: "focus" }); |
| | | //laydate({ elem: "#CreatedAtTime", format: 'YYYY/MM/DD', istime: false, event: "focus" }); |
| | | |
| | | |
| | | var id = '@Model.Id'; |
| | |
| | | |
| | | // ä¿åå²ä½ä¿¡æ¯ |
| | | var savePosition = function () { |
| | | if ($("#CreatedAtTime").val() == '') { |
| | | toastr.warning("å¯ç¨æ¶é´ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | if ($("#Pieceratetype").val() == '') { |
| | | toastr.warning("ç±»å«ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | //if ($("#CreatedAtTime").val() == '') { |
| | | // toastr.warning("å¯ç¨æ¶é´ä¸è½ä¸ºç©º"); |
| | | // return; |
| | | //} |
| | | //if ($("#Pieceratetype").val() == '') { |
| | | // toastr.warning("ç±»å«ä¸è½ä¸ºç©º"); |
| | | // return; |
| | | //} |
| | | |
| | | |
| | | |
| | |
| | | toastr.warning("æå¡é¡¹ç®ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | if ($.trim($("#Amount").val()) == '') { |
| | | toastr.warning("项ç®ä»·æ ¼ä¸è½ä¸ºç©º"); |
| | | if ($.trim($("#Standard").val()) == '') { |
| | | toastr.warning("æ¯å¦è®¡ä»¶ç»è®°ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | if ($.trim($("#Standard").val()) == '') { |
| | | toastr.warning("æææ åä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | if ($.trim($("#Percent").val()) == '') { |
| | | toastr.warning("ææé¢åº¦ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | //if ($.trim($("#Amount").val()) == '') { |
| | | // toastr.warning("项ç®ä»·æ ¼ä¸è½ä¸ºç©º"); |
| | | // return; |
| | | //} |
| | | |
| | | //if ($.trim($("#Percent").val()) == '') { |
| | | // toastr.warning("ææé¢åº¦ä¸è½ä¸ºç©º"); |
| | | // return; |
| | | //} |
| | | |
| | | //var data = { id: $("#Id").val(), StartTime:$("#StartTime").val(), Sheng: $("#Sheng").val(), job_level: $("#Job_level").val().toString(), ExistsAttachment: fileId != "" } |
| | | $.ajax({ |
| | |
| | | } |
| | | @section headerStyle{ |
| | | <script type="text/javascript"> |
| | | |
| | | |
| | | var Pieceratetype = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Pieceratetype))'; |
| | | |
| | | |
| | | var Standard = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Standard))'; |
| | | |
| | | |
| | | //loseherght = 60; |
| | | dataCol = [ |
| | | { label: 'id', name: 'Id', labtype: 'txt', hidden: true }, |
| | | |
| | | { label: 'ç±»å«', name: 'PieceratetypeName', labtype: 'txt', hidden: false, width: 100 }, |
| | | |
| | | { label: 'ç±»å«', name: 'PieceratetypeName', labtype: 'txt', hidden: true, width: 100 }, |
| | | { |
| | | label: 'æå¡é¡¹ç®', name: 'Project', labtype: 'txt', hidden: false, width: 100, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | |
| | | } |
| | | }, |
| | | |
| | | |
| | | { label: 'æææ å', name: 'StandardName', labtype: 'txt', hidden: false, width: 100 }, |
| | | { label: 'ææé¢åº¦', name: 'Percent', labtype: 'txt', hidden: false, width: 100 }, |
| | | { |
| | | label: 'å¯ç¨æ¶é´', name: 'CreatedAtTimeName', labtype: 'txt', hidden: false, width: 100 }, |
| | | |
| | | |
| | | { label: 'æ¯å¦è®¡ä»¶ç»è®°', name: 'StandardName', labtype: 'txt', hidden: false, width: 100 }, |
| | | { label: 'ææé¢åº¦', name: 'Percent', labtype: 'txt', hidden: true, width: 100 }, |
| | | { |
| | | label: 'å¯ç¨æ¶é´', name: 'CreatedAtTimeName', labtype: 'txt', hidden: true, width: 100 }, |
| | | |
| | | |
| | | |
| | | |
| | | ]; |
| | |
| | | |
| | | |
| | | |
| | | { label: 'å¯ç¨æ¶é´', name: 'CreatedAtTime', labtype: 'datearea', hidden: false }, |
| | | { label: 'ç±»å«', name: 'Pieceratetype', labtype: 'combox', hidden: false, data: JSON.parse(Pieceratetype), cwidth: '5%', cccwidth: '8%' }, |
| | | //{ label: 'å¯ç¨æ¶é´', name: 'CreatedAtTime', labtype: 'datearea', hidden: false }, |
| | | //{ label: 'ç±»å«', name: 'Pieceratetype', labtype: 'combox', hidden: false, data: JSON.parse(Pieceratetype), cwidth: '5%', cccwidth: '8%' }, |
| | | { label: 'æå¡é¡¹ç®', name: 'Project', labtype: 'txt', hidden: false }, |
| | | |
| | | { label: 'æ¯å¦è®¡ä»¶ç»è®°', name: 'Standard', labtype: 'combox', hidden: false, data: JSON.parse(Standard), cwidth: '5%', cccwidth: '8%' }, |
| | | |
| | | |
| | | ]; |
| | | var _pageAdd = function () { |
| | | OpenWindow("æ°å¢è®¡ä»¶æ å", "98%", "90%", "/FiPiecerate/Edit/"); |
| New file |
| | |
| | | @model DTO.HrJibengongziDTO |
| | | @using DTO; |
| | | @using zhengcaioa.Models; |
| | | @{ |
| | | |
| | | |
| | | List<SysCodeDtl> dianhuabutie = ViewData["dianhuabutie"] as List<SysCodeDtl>; //ç©åç¶æ |
| | | |
| | | List<HrPositionDTO> PostId = ViewData["post"] as List<HrPositionDTO>; //ç©åç±»å |
| | | |
| | | } |
| | | @{ |
| | | Layout = null; |
| | | } |
| | | |
| | | <!DOCTYPE html> |
| | | <html> |
| | | <head> |
| | | <meta charset="utf-8"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> |
| | | <meta name="description" content=""> |
| | | <meta name="author" content="ThemeBucket"> |
| | | <title>@(SiteConfig.SiteName)</title> |
| | | <link href="~/css/bootstrap.min.css" rel="stylesheet"> |
| | | <link href="~/css/font-awesome.min.css" rel="stylesheet"> |
| | | <link href="~/css/animate.min.css" rel="stylesheet"> |
| | | |
| | | @*<link href="~/css/plugins/iCheck/custom.css" rel="stylesheet">*@ |
| | | <link href="~/css/style.min.css" rel="stylesheet"> |
| | | <link href="~/css/plugins/chosen/chosen.css" rel="stylesheet"> |
| | | @*<link href="~/js/plugins/layer/skin/layer.css" rel="stylesheet">*@ |
| | | @*<link href="~/css/plugins/datapicker/datepicker3.css" rel="stylesheet">*@ |
| | | <link href="~/css/style.min.css" rel="stylesheet"> |
| | | <link href="~/css/plugins/toastr/toastr.min.css" rel="stylesheet" /> |
| | | <link href="~/css/plugins/webuploader/webuploader.css" rel="stylesheet" /> |
| | | |
| | | <style type="text/css"> |
| | | .webuploader-pick { |
| | | position: relative; |
| | | display: inline-block; |
| | | cursor: pointer; |
| | | background: #00b7ee; |
| | | padding: 8px 14px 7px 14px; |
| | | color: #fff; |
| | | text-align: center; |
| | | border-radius: 3px; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | div.clearfix > label { |
| | | padding-top: 8px; |
| | | } |
| | | |
| | | .chosen-container { |
| | | border-radius: 1px; |
| | | border: 1px solid #e5e6e7; |
| | | } |
| | | |
| | | .col-md-1.control-label { |
| | | padding-right: 0px; |
| | | font-weight: 400; |
| | | } |
| | | </style> |
| | | |
| | | <!-- jqgrid--> |
| | | @*<link href="~/css/plugins/jqgrid/ui.jqgrid.css" rel="stylesheet">*@ |
| | | <script language="javascript" src="~/js/jquery.min.js" type="text/javascript"></script> |
| | | <script src="~/js/bootstrap.min.js"></script> |
| | | @*<script src="~/js/plugins/bootstro/bootstro.js"></script>*@ |
| | | |
| | | <!--容å¨--> |
| | | @*<script language="javascript" src="~/js/datehelper.js" type="text/javascript"></script>*@ |
| | | @*<script language="javascript" src="~/js/plugins/query/jquery.query-object.js" type="text/javascript"></script>*@ |
| | | @*<script language="javascript" src="~/js/plugins/iCheck/icheck.min.js" type="text/javascript"></script>*@ |
| | | <script language="javascript" src="~/js/plugins/chosen/chosen.jquery.js" type="text/javascript"></script> |
| | | @*<script language="javascript" src="~/js/plugins/datapicker/bootstrap-datepicker.js" type="text/javascript"></script>*@ |
| | | <script language="javascript" src="~/js/plugins/layer/layer.js" type="text/javascript"></script> |
| | | @*<script src="~/js/plugins/jqgrid/jquery.jqGrid.min.js" type="text/javascript"></script>*@ |
| | | @*<script src="~/js/plugins/jqgrid/i18n/grid.locale-cn.js" type="text/javascript"></script>*@ |
| | | <script src="~/js/plugins/toastr/toastr.min.js" type="text/javascript"></script> |
| | | <script src="~/js/plugins/webuploader/webuploader.min.js"></script> |
| | | |
| | | <script language="javascript" src="~/js/common-layout.js" type="text/javascript"></script> |
| | | <script src="~/js/plugins/layer/laydate/laydate.js" type="text/javascript"></script> |
| | | @*<script src="~/js/plugins/iTexbox/itextbox.js" type="text/javascript"></script>*@ |
| | | @*<script src="~/js/plugins/iuploader/iuploader.js"></script>*@ |
| | | <script src="~/js/TUJS.js"></script> |
| | | </head> |
| | | <body class="gray-bg" style="overflow:auto"> |
| | | <form id="formtest"> |
| | | <div class="wrapper wrapper-content" id="ibox-content" style="padding:15px;"> |
| | | <div class="row"> |
| | | <div class="col-sm-12"> |
| | | <div class="ibox float-e-margins"> |
| | | <div class="ibox-title"> |
| | | <h5> <i class="fa fa-list"></i> åºæ¬ä¿¡æ¯</h5> |
| | | </div> |
| | | <div id="div_content" class="ibox-content" style="background-color:white;"> |
| | | <div class="row"> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">èå¡<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <select id="PostId" class="form-control" name="PostId" data-placeholder="éæ© åºå ..."> |
| | | <option value="" hassubinfo="true">è¯·éæ©</option> |
| | | @foreach (var item in PostId) |
| | | { |
| | | @if (!item.Id.Equals(Model.PostId)) |
| | | { |
| | | <option value="@item.Id" hassubinfo="true"> |
| | | @item.PostName |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.Id" hassubinfo="true" selected="selected"> |
| | | @item.PostName |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | |
| | | </select> |
| | | <input type="hidden" id="Id" name="Id" value="@Model.Id" /> |
| | | </div> |
| | | |
| | | |
| | | |
| | | </div> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | |
| | | |
| | | |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">åºæ¬å·¥èµï¼å
ï¼<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <input class="form-control" label="åºæ¬å·¥èµï¼å
ï¼" name="Jibengongzi" id="Jibengongzi" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.JibengongziName" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | |
| | | </div> |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">ä¿å¯è´¹ï¼å
ï¼<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <input class="form-control" label="ä¿å¯è´¹ï¼å
ï¼" name="Baomifei" id="Baomifei" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.BaomifeiName" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | |
| | | </div> |
| | | |
| | | |
| | | |
| | | </div> |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | |
| | | |
| | | |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">社ä¿å
¬å¸ï¼å
ï¼<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <input class="form-control" label="社ä¿å
¬å¸ï¼å
ï¼" name="Shebaodanwei" id="Shebaodanwei" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.ShebaodanweiName" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | |
| | | </div> |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">社ä¿ä¸ªäººï¼å
ï¼<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <input class="form-control" label="社ä¿ä¸ªäººï¼å
ï¼" name="Shebaogeren" id="Shebaogeren" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.ShebaogerenName" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | |
| | | </div> |
| | | |
| | | |
| | | |
| | | </div> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | |
| | | |
| | | |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">çµè¯è¡¥è´´ï¼å
ï¼<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <select id="Dianhuabutie" class="form-control" name="Dianhuabutie" data-placeholder="éæ© åºå ..."> |
| | | <option value="" hassubinfo="true">è¯·éæ©</option> |
| | | @foreach (var item in dianhuabutie) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.Dianhuabutie)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | |
| | | </select> |
| | | </div> |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">å
¨å¤å¥ï¼å
ï¼<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <input class="form-control" label="å
¨å¤å¥ï¼å
ï¼" name="Quanqingjiang" id="Quanqingjiang" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.QuanqingjiangName" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | |
| | | </div> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">交é补贴ï¼å
ï¼<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <input class="form-control" label="交é补贴ï¼å
ï¼" name="Jiaotongbutie" id="Jiaotongbutie" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.JiaotongbutieName" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | |
| | | </div> |
| | | |
| | | |
| | | </div> |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">çææ¥æ<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input id="Effecttime" class="form-control" label="çææ¥æ" name="Effecttime" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.EffecttimeName" readonly="readonly"> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="wrapper wrapper-content" style="margin-top:0px"></div> |
| | | <div class="ibox-content" id="top" style="z-index:100; position:fixed; height:50px; width:100%;bottom:0; text-align: right; padding-top:8px "> |
| | | <div class="" style="float:right;" data-bootstro-width="500px" data-bootstro-content="åè½æé®ï¼âä¿åâï¼âå é¤â"> |
| | | <a class="btn btn-success" href="javascript:void(0)" onclick="delPosition();" style="margin-left:4px; border-radius:4px;"> |
| | | <i class="glyphicon glyphicon-remove"></i> <span class="bold">å é¤</span> |
| | | </a> |
| | | |
| | | <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition();" style="margin-left:4px; border-radius:4px;"> |
| | | <i class="glyphicon glyphicon-ok"></i> <span class="bold">æäº¤</span> |
| | | </a> |
| | | </div> |
| | | </div> |
| | | |
| | | </form> |
| | | <!-- é
ç½®æä»¶ --> |
| | | <script type="text/javascript" src="/js/ueditor/ueditor.config.js?v=10"></script> |
| | | <!-- ç¼è¾å¨æºç æä»¶ --> |
| | | <script type="text/javascript" src="/js/ueditor/ueditor.all.min.js?v=2"></script> |
| | | <!-- å®ä¾åç¼è¾å¨ --> |
| | | <script type="text/javascript"> |
| | | |
| | | var ue4 = UE.getEditor('DocContent', { |
| | | initialFrameHeight: 500 |
| | | }); |
| | | @*ue4.ready(function () { |
| | | //设置ç¼è¾å¨çå
容 |
| | | ue4.setContent('@Html.Raw(Model.DocContent)'); |
| | | ////è·åhtmlå
容ï¼è¿å: <p>hello</p> |
| | | //var html = ue.getContent(); |
| | | ////è·åçº¯ææ¬å
容ï¼è¿å: hello |
| | | //var txt = ue.getContentTxt(); |
| | | });*@ |
| | | </script> |
| | | <script type="text/javascript"> |
| | | var hh = document.body.clientHeight - $('.ibox-title').height() - $("#top").height() * 2 - 95; |
| | | $("#div_content").height(hh); |
| | | |
| | | toastr.options = { |
| | | "closeButton": true, |
| | | "debug": false, |
| | | "progressBar": true, |
| | | "positionClass": "toast-bottom-right", |
| | | "onclick": null, |
| | | "showDuration": "300", |
| | | "hideDuration": "600", |
| | | "timeOut": "4500", |
| | | "extendedTimeOut": "600", |
| | | "showEasing": "swing", |
| | | "hideEasing": "linear", |
| | | "showMethod": "fadeIn", |
| | | "hideMethod": "fadeOut" |
| | | }; |
| | | |
| | | |
| | | $("#PostId").chosen(); |
| | | |
| | | laydate({ elem: "#Effecttime", format: 'YYYY-MM-DD', istime: true, event: "focus" }); |
| | | |
| | | var id = '@Model.Id'; |
| | | |
| | | var delPosition = function () { |
| | | if (id == null || id == '') { |
| | | toastr.warning("请å
ä¿å"); |
| | | return; |
| | | } |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: "/HrJibengongzi/Nullify?id=" + id, |
| | | dataType: "json", |
| | | global: false, |
| | | data: '', |
| | | success: function (data) { |
| | | |
| | | |
| | | if (data.Result) { |
| | | // parent._afterSave(true); |
| | | parent.layer.msg('å 餿å', { icon: 6 }); |
| | | _pageAutoClose();//èªå¨å
³é页颿¹æ³ |
| | | } |
| | | else { |
| | | // toastr.error(""); |
| | | parent.layer.msg('å é¤å¤±è´¥', { icon: 5 }); |
| | | } |
| | | |
| | | }, |
| | | error: function () { |
| | | if ($.isNumber(imgLoad)) { |
| | | parent.layer.close(imgLoad); |
| | | } |
| | | //toastr.error("ä¿å失败"); |
| | | |
| | | parent.layer.msg('ä¿å失败', { icon: 5 }); |
| | | } |
| | | }); |
| | | |
| | | } |
| | | |
| | | // ä¿åå²ä½ä¿¡æ¯ |
| | | var savePosition = function () { |
| | | |
| | | |
| | | |
| | | if ($("#PostId").val() == '') { |
| | | toastr.warning("å²ä½ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | if ($("#Jibengongzi").val() == '') { |
| | | toastr.warning("åºæ¬å·¥èµä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | if ($("#Baomifei").val() == '') { |
| | | toastr.warning("ä¿å¯è´¹ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | |
| | | if ($("#Shebaodanwei").val() == '') { |
| | | toastr.warning("社ä¿å
¬å¸ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | |
| | | if ($("#Shebaogeren").val() == '') { |
| | | toastr.warning("社ä¿ä¸ªäººä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | |
| | | if ($.trim($("#Dianhuabutie").val() )== '') { |
| | | toastr.warning("çµè¯è¡¥è´´ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | |
| | | |
| | | if ($.trim($("#Quanqingjiang").val()) == '') { |
| | | toastr.warning("å
¨å¤å¥ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | |
| | | if ($.trim($("#Jiaotongbutie").val()) == '') { |
| | | toastr.warning("交é补贴ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | if ($.trim($("#Effecttime").val()) == '') { |
| | | toastr.warning("çææ¥æä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | // var data = { id: $("#Id").val(), DocType: $("#DocType").val(), DocDept: $("#DocDept").val(), PublishTime: $("#PublishTime").val(), DocNo: $("#DocNo").val(), DocTitle: $("#DocTitle").val(), DocContent: ueue, DocZtc: $("#DocZtc").val(), Printtimes: $("#Printtimes").val(), DocCsdw: $("#DocCsdw").val(), PrintStatus: $("#PrintStatus").val()} |
| | | $.ajax({ |
| | | type: "POST", |
| | | url: "/HrJibengongzi/Save", |
| | | dataType: "json", |
| | | global: false, |
| | | data: $('form').serializeArray(), |
| | | success: function (data) { |
| | | |
| | | |
| | | |
| | | if (data.Result) { |
| | | // parent._afterSave(true); |
| | | parent.layer.msg('æåä¿å', { icon: 6 }); |
| | | //window.location = "/Project/add?id=" + data.ReturnID; |
| | | |
| | | |
| | | try { |
| | | _pageAutoClose();//èªå¨å
³é页颿¹æ³ |
| | | } |
| | | catch (err) { |
| | | parent._CloseTab1("/HrJibengongzi/Edit/"); |
| | | } |
| | | |
| | | } |
| | | else { |
| | | // toastr.error("失败"); |
| | | parent.layer.msg(data.Message, { icon: 5 }); |
| | | } |
| | | |
| | | }, |
| | | error: function () { |
| | | |
| | | |
| | | parent.layer.msg('失败', { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | function _pageAutoClose() { |
| | | parent.window._reloadPageData(); |
| | | var index = parent.layer.getFrameIndex(window.name); |
| | | parent.layer.isRefresh = true; |
| | | parent.layer.closeAll('loading'); |
| | | parent.layer.close(index); |
| | | return false; |
| | | } |
| | | </script> |
| | | </body> |
| | | </html> |
| New file |
| | |
| | | @{ |
| | | ViewBag.Title = "HrJibengongzi"; |
| | | Layout = "~/Views/Shared/_Layout_Search.cshtml"; |
| | | } |
| | | @section headerStyle{ |
| | | <script type="text/javascript"> |
| | | var post = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.post))'; |
| | | |
| | | |
| | | |
| | | |
| | | dataCol = [ |
| | | { label: 'id', name: 'Id', labtype: 'txt', hidden: true }, |
| | | { |
| | | label: 'èå¡', name: 'PostName', labtype: 'txt', hidden: false, width: 100, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | return "<a onclick=\"OpenWindow('" + cellvalue.replace(/'/g, '') + "','98%','100%', '/HrJibengongzi/Edit?id=" + rowObject.Id + "')\" >" + cellvalue + "</a>"; |
| | | } |
| | | }, |
| | | { |
| | | label: 'åºæ¬å·¥èµ', name: 'JibengongziName', labtype: 'txt', hidden: false, width: 100 |
| | | }, |
| | | |
| | | { |
| | | label: 'ä¿å¯è´¹', name: 'BaomifeiName', labtype: 'txt', hidden: false, width: 100 |
| | | |
| | | }, |
| | | { label: '社ä¿å
¬å¸', name: 'ShebaodanweiName', labtype: 'txt', hidden: false, width: 100 }, |
| | | |
| | | { label: '社ä¿ä¸ªäºº', name: 'ShebaogerenName', labtype: 'txt', hidden: false, width: 100 }, |
| | | { label: 'çµè¯è¡¥è´´', name: 'DianhuabutieName', labtype: 'txt', hidden: false, width: 100 }, |
| | | |
| | | { label: 'å
¨å¤å¥', name: 'QuanqingjiangName', labtype: 'txt', hidden: false, width: 100 }, |
| | | { label: '交é补贴', name: 'JiaotongbutieName', labtype: 'txt', hidden: false, width: 100 }, |
| | | { label: 'çææ¥æ', name: 'EffecttimeName', labtype: 'txt', hidden: false, width: 100 }, |
| | | ]; |
| | | dataUrl = "/HrJibengongzi/GetList"; |
| | | searchCol = [ |
| | | |
| | | { label: 'èå¡', name: 'PostId', labtype: 'combox', hidden: false, data: JSON.parse(post), cwidth: '5%', cccwidth: '8%' }, |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | ]; |
| | | |
| | | |
| | | var _pageAdd = function () { |
| | | OpenWindow("æ°å¢åºæ¬å·¥èµ", "98%", "100%", "/HrJibengongzi/Edit/"); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | var _afterSave = function (result) { |
| | | if (result) { |
| | | toastr.success("ä¿åæå"); |
| | | } else { |
| | | toastr.error("ä¿å失败"); |
| | | } |
| | | } |
| | | |
| | | var _afterDel = function (result) { |
| | | if (result) { |
| | | toastr.success("å 餿å"); |
| | | } else { |
| | | /**/ |
| | | toastr.error("å 餿å"); |
| | | /**/ |
| | | } |
| | | } |
| | | </script> |
| | | } |
| | | |
| | | @section footerScripts{ |
| | | <script type="text/javascript"> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </script> |
| | | } |
| New file |
| | |
| | | @model DTO.HrJixiaotichengDTO |
| | | @using DTO; |
| | | @using zhengcaioa.Models; |
| | | @{ |
| | | |
| | | |
| | | List<SysCodeDtl> Tichengstandard = ViewData["Tichengstandard"] as List<SysCodeDtl>; //ç©åç¶æ |
| | | |
| | | List<SysCodeDtl> Renwustandard = ViewData["Renwustandard"] as List<SysCodeDtl>; //ç©åç¶æ |
| | | |
| | | List<HrPositionDTO> PostId = ViewData["post"] as List<HrPositionDTO>; //èå¡ |
| | | |
| | | List<FiPiecerateDTO> Project = ViewData["Project"] as List<FiPiecerateDTO>; //ç©åç±»å |
| | | |
| | | } |
| | | @{ |
| | | Layout = null; |
| | | } |
| | | |
| | | <!DOCTYPE html> |
| | | <html> |
| | | <head> |
| | | <meta charset="utf-8"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> |
| | | <meta name="description" content=""> |
| | | <meta name="author" content="ThemeBucket"> |
| | | <title>@(SiteConfig.SiteName)</title> |
| | | <link href="~/css/bootstrap.min.css" rel="stylesheet"> |
| | | <link href="~/css/font-awesome.min.css" rel="stylesheet"> |
| | | <link href="~/css/animate.min.css" rel="stylesheet"> |
| | | |
| | | @*<link href="~/css/plugins/iCheck/custom.css" rel="stylesheet">*@ |
| | | <link href="~/css/style.min.css" rel="stylesheet"> |
| | | <link href="~/css/plugins/chosen/chosen.css" rel="stylesheet"> |
| | | @*<link href="~/js/plugins/layer/skin/layer.css" rel="stylesheet">*@ |
| | | @*<link href="~/css/plugins/datapicker/datepicker3.css" rel="stylesheet">*@ |
| | | <link href="~/css/style.min.css" rel="stylesheet"> |
| | | <link href="~/css/plugins/toastr/toastr.min.css" rel="stylesheet" /> |
| | | <link href="~/css/plugins/webuploader/webuploader.css" rel="stylesheet" /> |
| | | |
| | | <style type="text/css"> |
| | | .webuploader-pick { |
| | | position: relative; |
| | | display: inline-block; |
| | | cursor: pointer; |
| | | background: #00b7ee; |
| | | padding: 8px 14px 7px 14px; |
| | | color: #fff; |
| | | text-align: center; |
| | | border-radius: 3px; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | div.clearfix > label { |
| | | padding-top: 8px; |
| | | } |
| | | |
| | | .chosen-container { |
| | | border-radius: 1px; |
| | | border: 1px solid #e5e6e7; |
| | | } |
| | | |
| | | .col-md-1.control-label { |
| | | padding-right: 0px; |
| | | font-weight: 400; |
| | | } |
| | | </style> |
| | | |
| | | <!-- jqgrid--> |
| | | @*<link href="~/css/plugins/jqgrid/ui.jqgrid.css" rel="stylesheet">*@ |
| | | <script language="javascript" src="~/js/jquery.min.js" type="text/javascript"></script> |
| | | <script src="~/js/bootstrap.min.js"></script> |
| | | @*<script src="~/js/plugins/bootstro/bootstro.js"></script>*@ |
| | | |
| | | <!--容å¨--> |
| | | @*<script language="javascript" src="~/js/datehelper.js" type="text/javascript"></script>*@ |
| | | @*<script language="javascript" src="~/js/plugins/query/jquery.query-object.js" type="text/javascript"></script>*@ |
| | | @*<script language="javascript" src="~/js/plugins/iCheck/icheck.min.js" type="text/javascript"></script>*@ |
| | | <script language="javascript" src="~/js/plugins/chosen/chosen.jquery.js" type="text/javascript"></script> |
| | | @*<script language="javascript" src="~/js/plugins/datapicker/bootstrap-datepicker.js" type="text/javascript"></script>*@ |
| | | <script language="javascript" src="~/js/plugins/layer/layer.js" type="text/javascript"></script> |
| | | @*<script src="~/js/plugins/jqgrid/jquery.jqGrid.min.js" type="text/javascript"></script>*@ |
| | | @*<script src="~/js/plugins/jqgrid/i18n/grid.locale-cn.js" type="text/javascript"></script>*@ |
| | | <script src="~/js/plugins/toastr/toastr.min.js" type="text/javascript"></script> |
| | | <script src="~/js/plugins/webuploader/webuploader.min.js"></script> |
| | | |
| | | <script language="javascript" src="~/js/common-layout.js" type="text/javascript"></script> |
| | | <script src="~/js/plugins/layer/laydate/laydate.js" type="text/javascript"></script> |
| | | @*<script src="~/js/plugins/iTexbox/itextbox.js" type="text/javascript"></script>*@ |
| | | @*<script src="~/js/plugins/iuploader/iuploader.js"></script>*@ |
| | | <script src="~/js/TUJS.js"></script> |
| | | </head> |
| | | <body class="gray-bg" style="overflow:auto"> |
| | | <form id="formtest"> |
| | | <div class="wrapper wrapper-content" id="ibox-content" style="padding:15px;"> |
| | | <div class="row"> |
| | | <div class="col-sm-12"> |
| | | <div class="ibox float-e-margins"> |
| | | <div class="ibox-title"> |
| | | <h5> <i class="fa fa-list"></i> åºæ¬ä¿¡æ¯</h5> |
| | | </div> |
| | | <div id="div_content" class="ibox-content" style="background-color:white;"> |
| | | <div class="row"> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">èå¡<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <select id="PostId" class="form-control" name="PostId" data-placeholder="éæ© åºå ..."> |
| | | <option value="" hassubinfo="true">è¯·éæ©</option> |
| | | @foreach (var item in PostId) |
| | | { |
| | | @if (!item.Id.Equals(Model.PostId)) |
| | | { |
| | | <option value="@item.Id" hassubinfo="true"> |
| | | @item.PostName |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.Id" hassubinfo="true" selected="selected"> |
| | | @item.PostName |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | |
| | | </select> |
| | | <input type="hidden" id="Id" name="Id" value="@Model.Id" /> |
| | | </div> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">计件项ç®<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <select id="PiecerateId" class="form-control" name="PiecerateId" data-placeholder="éæ© åºå ..."> |
| | | <option value="" hassubinfo="true">è¯·éæ©</option> |
| | | @foreach (var item in Project) |
| | | { |
| | | @if (!item.Id.Equals(Model.PiecerateId)) |
| | | { |
| | | <option value="@item.Id" hassubinfo="true"> |
| | | @item.Project |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.Id" hassubinfo="true" selected="selected"> |
| | | @item.Project |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | |
| | | </select> |
| | | </div> |
| | | |
| | | </div> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | |
| | | |
| | | |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">æææ å<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <select id="Tichengstandard" class="form-control" name="Tichengstandard" data-placeholder="éæ© åºå ..."> |
| | | <option value="" hassubinfo="true">è¯·éæ©</option> |
| | | @foreach (var item in Tichengstandard) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.Tichengstandard)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | |
| | | </select> |
| | | </div> |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">ææ<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <input class="form-control" label="ææ" name="Ticheng" id="Ticheng" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.TichengName" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | |
| | | </div> |
| | | |
| | | |
| | | |
| | | </div> |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | |
| | | |
| | | |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">任塿 å<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <select id="Renwustandard" class="form-control" name="Renwustandard" data-placeholder="éæ© åºå ..."> |
| | | <option value="" hassubinfo="true">è¯·éæ©</option> |
| | | @foreach (var item in Renwustandard) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.Renwustandard)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | |
| | | </select> |
| | | </div> |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">ä»»å¡åºæ°<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <input class="form-control" label="ä»»å¡åºæ°" name="Renwu" id="Renwu" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.RenwuName" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | |
| | | </div> |
| | | |
| | | |
| | | |
| | | </div> |
| | | |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">çææ¥æ<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input id="Effecttime" class="form-control" label="çææ¥æ" name="Effecttime" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.EffecttimeName" readonly="readonly"> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="wrapper wrapper-content" style="margin-top:0px"></div> |
| | | <div class="ibox-content" id="top" style="z-index:100; position:fixed; height:50px; width:100%;bottom:0; text-align: right; padding-top:8px "> |
| | | <div class="" style="float:right;" data-bootstro-width="500px" data-bootstro-content="åè½æé®ï¼âä¿åâï¼âå é¤â"> |
| | | <a class="btn btn-success" href="javascript:void(0)" onclick="delPosition();" style="margin-left:4px; border-radius:4px;"> |
| | | <i class="glyphicon glyphicon-remove"></i> <span class="bold">å é¤</span> |
| | | </a> |
| | | |
| | | <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition();" style="margin-left:4px; border-radius:4px;"> |
| | | <i class="glyphicon glyphicon-ok"></i> <span class="bold">æäº¤</span> |
| | | </a> |
| | | </div> |
| | | </div> |
| | | |
| | | </form> |
| | | <!-- é
ç½®æä»¶ --> |
| | | <script type="text/javascript" src="/js/ueditor/ueditor.config.js?v=10"></script> |
| | | <!-- ç¼è¾å¨æºç æä»¶ --> |
| | | <script type="text/javascript" src="/js/ueditor/ueditor.all.min.js?v=2"></script> |
| | | <!-- å®ä¾åç¼è¾å¨ --> |
| | | <script type="text/javascript"> |
| | | |
| | | var ue4 = UE.getEditor('DocContent', { |
| | | initialFrameHeight: 500 |
| | | }); |
| | | @*ue4.ready(function () { |
| | | //设置ç¼è¾å¨çå
容 |
| | | ue4.setContent('@Html.Raw(Model.DocContent)'); |
| | | ////è·åhtmlå
容ï¼è¿å: <p>hello</p> |
| | | //var html = ue.getContent(); |
| | | ////è·åçº¯ææ¬å
容ï¼è¿å: hello |
| | | //var txt = ue.getContentTxt(); |
| | | });*@ |
| | | </script> |
| | | <script type="text/javascript"> |
| | | var hh = document.body.clientHeight - $('.ibox-title').height() - $("#top").height() * 2 - 95; |
| | | $("#div_content").height(hh); |
| | | |
| | | toastr.options = { |
| | | "closeButton": true, |
| | | "debug": false, |
| | | "progressBar": true, |
| | | "positionClass": "toast-bottom-right", |
| | | "onclick": null, |
| | | "showDuration": "300", |
| | | "hideDuration": "600", |
| | | "timeOut": "4500", |
| | | "extendedTimeOut": "600", |
| | | "showEasing": "swing", |
| | | "hideEasing": "linear", |
| | | "showMethod": "fadeIn", |
| | | "hideMethod": "fadeOut" |
| | | }; |
| | | |
| | | |
| | | $("#PostId").chosen(); |
| | | $("#PiecerateId").chosen(); |
| | | |
| | | |
| | | laydate({ elem: "#Effecttime", format: 'YYYY-MM-DD', istime: true, event: "focus" }); |
| | | |
| | | var id = '@Model.Id'; |
| | | |
| | | var delPosition = function () { |
| | | if (id == null || id == '') { |
| | | toastr.warning("请å
ä¿å"); |
| | | return; |
| | | } |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: "/HrJixiaoticheng/Nullify?id=" + id, |
| | | dataType: "json", |
| | | global: false, |
| | | data: '', |
| | | success: function (data) { |
| | | |
| | | |
| | | if (data.Result) { |
| | | // parent._afterSave(true); |
| | | parent.layer.msg('å 餿å', { icon: 6 }); |
| | | _pageAutoClose();//èªå¨å
³é页颿¹æ³ |
| | | } |
| | | else { |
| | | // toastr.error(""); |
| | | parent.layer.msg('å é¤å¤±è´¥', { icon: 5 }); |
| | | } |
| | | |
| | | }, |
| | | error: function () { |
| | | if ($.isNumber(imgLoad)) { |
| | | parent.layer.close(imgLoad); |
| | | } |
| | | //toastr.error("ä¿å失败"); |
| | | |
| | | parent.layer.msg('ä¿å失败', { icon: 5 }); |
| | | } |
| | | }); |
| | | |
| | | } |
| | | |
| | | // ä¿åå²ä½ä¿¡æ¯ |
| | | var savePosition = function () { |
| | | |
| | | |
| | | |
| | | if ($("#PostId").val() == '') { |
| | | toastr.warning("å²ä½ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | if ($("#PiecerateId").val() == '') { |
| | | toastr.warning("计件项ç®ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | |
| | | if ($("#Tichengstandard").val() == '') { |
| | | toastr.warning("æææ åä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | |
| | | if ($("#Ticheng").val() == '') { |
| | | toastr.warning("ææä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | |
| | | if ($("#Renwustandard").val() == '') { |
| | | toastr.warning("任塿 åä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | |
| | | if ($.trim($("#Renwu").val() )== '') { |
| | | toastr.warning("ä»»å¡åºæ°ä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | |
| | | |
| | | if ($.trim($("#Effecttime").val()) == '') { |
| | | toastr.warning("çææ¥æä¸è½ä¸ºç©º"); |
| | | return; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | // var data = { id: $("#Id").val(), DocType: $("#DocType").val(), DocDept: $("#DocDept").val(), PublishTime: $("#PublishTime").val(), DocNo: $("#DocNo").val(), DocTitle: $("#DocTitle").val(), DocContent: ueue, DocZtc: $("#DocZtc").val(), Printtimes: $("#Printtimes").val(), DocCsdw: $("#DocCsdw").val(), PrintStatus: $("#PrintStatus").val()} |
| | | $.ajax({ |
| | | type: "POST", |
| | | url: "/HrJixiaoticheng/Save", |
| | | dataType: "json", |
| | | global: false, |
| | | data: $('form').serializeArray(), |
| | | success: function (data) { |
| | | |
| | | |
| | | |
| | | if (data.Result) { |
| | | // parent._afterSave(true); |
| | | parent.layer.msg('æåä¿å', { icon: 6 }); |
| | | //window.location = "/Project/add?id=" + data.ReturnID; |
| | | |
| | | |
| | | try { |
| | | _pageAutoClose();//èªå¨å
³é页颿¹æ³ |
| | | } |
| | | catch (err) { |
| | | parent._CloseTab1("/HrJixiaoticheng/Edit/"); |
| | | } |
| | | |
| | | } |
| | | else { |
| | | // toastr.error("失败"); |
| | | parent.layer.msg(data.Message, { icon: 5 }); |
| | | } |
| | | |
| | | }, |
| | | error: function () { |
| | | |
| | | |
| | | parent.layer.msg('失败', { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | function _pageAutoClose() { |
| | | parent.window._reloadPageData(); |
| | | var index = parent.layer.getFrameIndex(window.name); |
| | | parent.layer.isRefresh = true; |
| | | parent.layer.closeAll('loading'); |
| | | parent.layer.close(index); |
| | | return false; |
| | | } |
| | | </script> |
| | | </body> |
| | | </html> |
| New file |
| | |
| | | @{ |
| | | ViewBag.Title = "HrJixiaoticheng"; |
| | | Layout = "~/Views/Shared/_Layout_Search.cshtml"; |
| | | } |
| | | @section headerStyle{ |
| | | <script type="text/javascript"> |
| | | var post = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.post))'; |
| | | |
| | | var Project = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Project))'; |
| | | |
| | | |
| | | dataCol = [ |
| | | { label: 'id', name: 'Id', labtype: 'txt', hidden: true }, |
| | | { |
| | | label: 'èå¡', name: 'PostName', labtype: 'txt', hidden: false, width: 100, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | return "<a onclick=\"OpenWindow('" + cellvalue.replace(/'/g, '') + "','98%','100%', '/HrJixiaoticheng/Edit?id=" + rowObject.Id + "')\" >" + cellvalue + "</a>"; |
| | | } |
| | | }, |
| | | { |
| | | label: '计件项ç®', name: 'PiecerateName', labtype: 'txt', hidden: false, width: 100 |
| | | }, |
| | | { |
| | | label: 'æææ å', name: 'TichengstandardName', labtype: 'txt', hidden: false, width: 100 |
| | | }, |
| | | |
| | | { |
| | | label: 'ææ', name: 'TichengName', labtype: 'txt', hidden: false, width: 100 |
| | | |
| | | }, |
| | | { label: '任塿 å', name: 'RenwustandardName', labtype: 'txt', hidden: false, width: 100 }, |
| | | |
| | | { label: 'ä»»å¡åºæ°', name: 'RenwuName', labtype: 'txt', hidden: false, width: 100 }, |
| | | |
| | | { label: 'çææ¥æ', name: 'EffecttimeName', labtype: 'txt', hidden: false, width: 100 }, |
| | | ]; |
| | | dataUrl = "/HrJixiaoticheng/GetList"; |
| | | searchCol = [ |
| | | |
| | | { label: 'èå¡', name: 'PostId', labtype: 'combox', hidden: false, data: JSON.parse(post), cwidth: '5%', cccwidth: '8%' }, |
| | | { label: '计件项ç®', name: 'PiecerateId', labtype: 'combox', hidden: false, data: JSON.parse(Project), cwidth: '5%', cccwidth: '8%' }, |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | ]; |
| | | |
| | | |
| | | var _pageAdd = function () { |
| | | OpenWindow("æ°å¢ç»©ææææ å", "98%", "100%", "/HrJixiaoticheng/Edit/"); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | var _afterSave = function (result) { |
| | | if (result) { |
| | | toastr.success("ä¿åæå"); |
| | | } else { |
| | | toastr.error("ä¿å失败"); |
| | | } |
| | | } |
| | | |
| | | var _afterDel = function (result) { |
| | | if (result) { |
| | | toastr.success("å 餿å"); |
| | | } else { |
| | | /**/ |
| | | toastr.error("å 餿å"); |
| | | /**/ |
| | | } |
| | | } |
| | | </script> |
| | | } |
| | | |
| | | @section footerScripts{ |
| | | <script type="text/javascript"> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </script> |
| | | } |
| | |
| | | </script> |
| | | <script src="~/js/datehelper.js"></script> |
| | | <!-- jqgrid--> |
| | | <link href="~/css/plugins/jqgrid/ui.jqgrid.css" rel="stylesheet"> |
| | | <link href="~/css/plugins/jqgrid/ui.jqgrid.css?v=111111111" rel="stylesheet"> |
| | | <link href="~/css/animate.min.css" rel="stylesheet"> |
| | | <link href="~/css/style.min.css" rel="stylesheet"> |
| | | <link href="~/css/plugins/toastr/toastr.min.css" rel="stylesheet" /> |
| | |
| | | <script src="~/js/plugins/search/searchtoolbar.js?v=17"></script> |
| | | <script src="~/js/plugins/chosen/chosen.jquery.js"></script> |
| | | <script src="~/js/plugins/iCheck/icheck.min.js"></script> |
| | | <script src="~/js/plugins/search/search.js?v=1"></script> |
| | | <script src="~/js/plugins/search/search.js?v=111111111"></script> |
| | | <script src="~/js/plugins/datapicker/bootstrap-datepicker.js"></script> |
| | | <script type="text/javascript" src="~/js/plugins/treeview/bootstrap-treeview.js"></script> |
| | | <script src="~/js/TUJS.js"></script> |
| | |
| | | <style type="text/css"> |
| | | |
| | | label { |
| | | |
| | | font-weight:normal; |
| | | font-weight: normal; |
| | | } |
| | | |
| | | th { |
| | | font-weight: normal; |
| | | } |
| | | </style> |
| | | @RenderSection("headerStyle", false) |
| | | @RenderSection("headerStyle", false) |
| | | </head> |
| | | <body class="gray-bg" style="padding-top:0px; padding-left:0px; padding-right:0px; "> |
| | | |
| | |
| | | </div> |
| | | |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | @*<div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <div class="col-sm-6 col-md-6"> |
| | | <span>å
¨å¤å¥</span> |
| | | <input type="number" value="@Model.FullAttendance" name="FullAttendance" id="FullAttendance" style="width:150px" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">å
|
| | | </div> |
| | | </div> |
| | | </div>*@ |
| | | |
| | | <h5 style="color:cornflowerblue;">è¿å°æ£æ¬¾:</h5> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <div class="col-sm-6 col-md-6"> |
| | | <span>è¿å°</span><input style="width:150px" type="number" min="0" step="1" max="999999" value="@Model.Absenteeism" name="Absenteeism" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">åé记为æ·å·¥ |
| | | <span>å天</span><input style="width:150px" type="number" min="0.01" step="0.01" max="999999" value="@Model.AbsenteeismPayment1" name="AbsenteeismPayment1" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">å
|
| | | <span>1天</span><input style="width:150px" type="number" min="0.01" step="0.01" max="999999" value="@Model.AbsenteeismPayment2" name="AbsenteeismPayment2" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">å
|
| | | <span>æ·å·¥æ£æ¬¾</span><input style="width:150px" type="number" min="0.01" step="0.01" max="999999" value="@Model.AbsenteeismPayment1" name="AbsenteeismPayment1" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">åå·¥èµ |
| | | @*<span>1天</span><input style="width:150px" type="number" min="0.01" step="0.01" max="999999" value="@Model.AbsenteeismPayment2" name="AbsenteeismPayment2" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">å
*@ |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | <div class="col-sm-12"> |
| | | <div class="ibox float-e-margins"> |
| | | <div class="ibox-title"> |
| | | <h5><i class="fa fa-list"></i> 项ç®å½å
¥</h5> |
| | | <h5><i class="fa fa-list"></i> 人åå½å
¥</h5> |
| | | </div> |
| | | <div id="div_content" class="ibox-content" style="background-color:white;"> |
| | | <div class="row"> |
| | |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">èªèµå¾
é </label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input id="BasicPrice" class="form-control" label="èªèµå¾
é" name="BasicPrice" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.BasicPrice" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | <input id="BasicPrice" class="form-control" label="èªèµå¾
é" name="BasicPrice" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.BasicPrice" oninput="if(value.length>8)value=value.slice(0,10)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | </div> |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">æ¯å¦è´ä¹°ç¤¾ä¿ </label> |
| | |
| | | </div> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">è¯ç¨æå¾
é</label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input id="ShiyongPrice" class="form-control" label="è¯ç¨æå¾
é" name="ShiyongPrice" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.ShiyongPrice" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | <input id="ShiyongPrice" class="form-control" label="è¯ç¨æå¾
é" name="ShiyongPrice" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.ShiyongPrice" oninput="if(value.length>8)value=value.slice(0,10)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | </div> |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">æ¯å¦ç¾è®¢åå </label> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | @*<div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">åºæ¬å·¥èµ </label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <div class="col-sm-9 col-md-9" style="padding:0"> |
| | | <input class="form-control" label="åºæ¬å·¥èµ" name="jibensalary" labtype="txt" addvisible="true" maxlength="20" editvisible="true" reg="" ismust="true" type="text" value="@Model.jibensalary" oninput="if(value.length>8)value=value.slice(0,10)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | </div> |
| | | <div class="col-sm-3 col-md-3" style="padding:0 0 0 10px"> |
| | | <label class="text-left control-label">å
/æ</label> |
| | | </div> |
| | | </div> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">ä¿å¯è´¹</label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | |
| | | <div class="col-sm-9 col-md-9" style="padding:0"> |
| | | <input class="form-control" label="ä¿å¯è´¹" name="baomisalary" labtype="txt" addvisible="true" maxlength="20" editvisible="true" reg="" ismust="true" type="text" value="@Model.baomisalary" oninput="if(value.length>8)value=value.slice(0,10)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | </div> |
| | | <div class="col-sm-3 col-md-3" style="padding:0 0 0 10px"> |
| | | <label class="text-left control-label">å
/æ</label> |
| | | </div> |
| | | </div> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">å·¥ä½è¡¥è´´</label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <div class="col-sm-9 col-md-9" style="padding:0"> |
| | | <input class="form-control" label="å·¥ä½è¡¥è´´" name="jintiesalary" labtype="txt" addvisible="true" maxlength="20" editvisible="true" reg="" ismust="true" type="text" value="@Model.jintiesalary" oninput="if(value.length>8)value=value.slice(0,10)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | </div> |
| | | <div class="col-sm-3 col-md-3" style="padding:0 0 0 10px"> |
| | | <label class="text-left control-label">å
/å¹´</label> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | |
| | | </div>*@ |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">é¢åå·¥èµ </label> |
| | | <div class="col-sm-2 col-md-2"> |
| | |
| | | </div> |
| | | <div class="col-sm-3 col-md-3" style="padding:0 0 0 10px"> |
| | | <label class="text-left control-label">å
/æ</label> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">ä¿åºå¹´èª</label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | |
| | | <div class="col-sm-9 col-md-9" style="padding:0"> |
| | | |
| | | <div class="col-sm-9 col-md-9" style="padding:0"> |
| | | <input class="form-control" label="ä¿åºå¹´èª" name="miniyearsalary" labtype="txt" addvisible="true" maxlength="20" editvisible="true" reg="" ismust="true" type="text" value="@Model.miniyearsalary" oninput="if(value.length>8)value=value.slice(0,10)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | </div> |
| | | <div class="col-sm-3 col-md-3" style="padding:0 0 0 10px"> |
| | |
| | | <div class="col-sm-3 col-md-3" style="padding:0 0 0 10px"> |
| | | <label class="text-left control-label">å
/å¹´</label> |
| | | </div> |
| | | |
| | | |
| | | </div> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">æ¯å¦äº¤é补贴</label> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">èç³»çµè¯<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2"> |
| | |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input id="Email" class="form-control" label="çµåé®ç®±" name="Email" labtype="txt" addvisible="true" maxlength="50" editvisible="true" reg="" ismust="true" type="text" value="@Model.Email"> |
| | | </div> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">ä¸é¡¹æ£é¤</label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input id="geshuiqizheng" class="form-control" label="ä¸é¡¹æ£é¤" name="geshuiqizheng" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.geshuiqizheng" oninput="if(value.length>8)value=value.slice(0,10)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| New file |
| | |
| | | @model DTO.PltUserDTO |
| | | @using DTO; |
| | | @using zhengcaioa.Models; |
| | | @{ |
| | | |
| | | List<SysCodeDtl> shifou = ViewBag.shifou as List<SysCodeDtl>; //æ¯å¦ |
| | | |
| | | |
| | | } |
| | | @{ |
| | | Layout = null; |
| | | } |
| | | |
| | | <!DOCTYPE html> |
| | | <html> |
| | | <head> |
| | | <meta charset="utf-8"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> |
| | | <meta name="description" content=""> |
| | | <meta name="author" content="ThemeBucket"> |
| | | <title>@(SiteConfig.SiteName)</title> |
| | | <link href="~/css/bootstrap.min.css" rel="stylesheet"> |
| | | <link href="~/css/font-awesome.min.css" rel="stylesheet"> |
| | | <link href="~/css/animate.min.css" rel="stylesheet"> |
| | | |
| | | @*<link href="~/css/plugins/iCheck/custom.css" rel="stylesheet">*@ |
| | | <link href="~/css/style.min.css" rel="stylesheet"> |
| | | <link href="~/css/plugins/chosen/chosen.css" rel="stylesheet"> |
| | | @*<link href="~/js/plugins/layer/skin/layer.css" rel="stylesheet">*@ |
| | | @*<link href="~/css/plugins/datapicker/datepicker3.css" rel="stylesheet">*@ |
| | | <link href="~/css/style.min.css" rel="stylesheet"> |
| | | <link href="~/css/plugins/toastr/toastr.min.css" rel="stylesheet" /> |
| | | <link href="~/css/plugins/webuploader/webuploader.css" rel="stylesheet" /> |
| | | |
| | | <style type="text/css"> |
| | | .webuploader-pick { |
| | | position: relative; |
| | | display: inline-block; |
| | | cursor: pointer; |
| | | background: #00b7ee; |
| | | padding: 8px 14px 7px 14px; |
| | | color: #fff; |
| | | text-align: center; |
| | | border-radius: 3px; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | div.clearfix > label { |
| | | padding-top: 8px; |
| | | } |
| | | |
| | | .chosen-container { |
| | | border-radius: 1px; |
| | | border: 1px solid #e5e6e7; |
| | | } |
| | | |
| | | .col-md-1.control-label { |
| | | padding-right: 0px; |
| | | font-weight: 400; |
| | | } |
| | | </style> |
| | | |
| | | <!-- jqgrid--> |
| | | @*<link href="~/css/plugins/jqgrid/ui.jqgrid.css" rel="stylesheet">*@ |
| | | <script language="javascript" src="~/js/jquery.min.js" type="text/javascript"></script> |
| | | <script src="~/js/bootstrap.min.js"></script> |
| | | @*<script src="~/js/plugins/bootstro/bootstro.js"></script>*@ |
| | | |
| | | <!--容å¨--> |
| | | @*<script language="javascript" src="~/js/datehelper.js" type="text/javascript"></script>*@ |
| | | @*<script language="javascript" src="~/js/plugins/query/jquery.query-object.js" type="text/javascript"></script>*@ |
| | | @*<script language="javascript" src="~/js/plugins/iCheck/icheck.min.js" type="text/javascript"></script>*@ |
| | | <script language="javascript" src="~/js/plugins/chosen/chosen.jquery.js" type="text/javascript"></script> |
| | | @*<script language="javascript" src="~/js/plugins/datapicker/bootstrap-datepicker.js" type="text/javascript"></script>*@ |
| | | <script language="javascript" src="~/js/plugins/layer/layer.js" type="text/javascript"></script> |
| | | @*<script src="~/js/plugins/jqgrid/jquery.jqGrid.min.js" type="text/javascript"></script>*@ |
| | | @*<script src="~/js/plugins/jqgrid/i18n/grid.locale-cn.js" type="text/javascript"></script>*@ |
| | | <script src="~/js/plugins/toastr/toastr.min.js" type="text/javascript"></script> |
| | | <script src="~/js/plugins/webuploader/webuploader.min.js"></script> |
| | | |
| | | <script language="javascript" src="~/js/common-layout.js" type="text/javascript"></script> |
| | | <script src="~/js/plugins/layer/laydate/laydate.js" type="text/javascript"></script> |
| | | @*<script src="~/js/plugins/iTexbox/itextbox.js" type="text/javascript"></script>*@ |
| | | @*<script src="~/js/plugins/iuploader/iuploader.js"></script>*@ |
| | | <script src="~/js/TUJS.js"></script> |
| | | <link rel="stylesheet" href="~/viewerjs-master/dist/viewer.min.css"> |
| | | <script src="~/viewerjs-master/dist/viewer.min.js"></script> |
| | | </head> |
| | | <body class="gray-bg" style="overflow:auto"> |
| | | <form id="formtest"> |
| | | <div class="wrapper wrapper-content" id="ibox-content" style="padding:15px;"> |
| | | <div class="row"> |
| | | <div class="col-sm-12"> |
| | | <div class="ibox float-e-margins"> |
| | | <div class="ibox-title"> |
| | | <h5><i class="fa fa-list"></i> åºæ¬å·¥èµå½å
¥</h5> |
| | | </div> |
| | | <div id="div_content" class="ibox-content" style="background-color:white;"> |
| | | <div class="row"> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">å·¥å·</label> |
| | | |
| | | <div class="col-sm-2 col-md-2"> |
| | | <div class="col-sm-12 col-md-12" style="padding:0 0 0 10px"> |
| | | <label class="text-left control-label">@Model.Usernumber</label> |
| | | </div> |
| | | <input type="hidden" id="Id" name="Id" value="@Model.Id" /> |
| | | </div> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">å§å</label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <div class="col-sm-12 col-md-12" style="padding:0 0 0 10px"> |
| | | <label class="text-left control-label">@Model.UserName</label> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">é¨é¨</label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <div class="col-sm-12 col-md-12" style="padding:0 0 0 10px"> |
| | | <label class="text-left control-label">@Model.DeptName</label> |
| | | </div> |
| | | |
| | | </div> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">èªèµå¾
é </label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input id="BasicPrice" class="form-control" label="èªèµå¾
é" name="BasicPrice" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.BasicPrice" oninput="if(value.length>8)value=value.slice(0,10)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | </div> |
| | | </div> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">è¯ç¨æé </label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input id="ShiyongDate" class="form-control" label="è¯ç¨æé" name="ShiyongDate" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value='@Model.ShiyongDateName ' readonly="readonly"> |
| | | |
| | | </div> |
| | | <div class="col-sm-1 col-md-1"> |
| | | è³ |
| | | </div> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input id="ShiyongDateEnd" class="form-control" label="è¯ç¨æé" name="ShiyongDateEnd" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value='@Model.ShiyongDateEndName ' readonly="readonly"> |
| | | </div> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">è¯ç¨æå¾
é</label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input id="ShiyongPrice" class="form-control" label="è¯ç¨æå¾
é" name="ShiyongPrice" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.ShiyongPrice" oninput="if(value.length>8)value=value.slice(0,10)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | </div> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">ä¸é¡¹æ£é¤</label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <input id="geshuiqizheng" class="form-control" label="ä¸é¡¹æ£é¤" name="geshuiqizheng" labtype="txt" addvisible="true" maxlength="500" editvisible="true" reg="" ismust="true" type="text" value="@Model.geshuiqizheng" oninput="if(value.length>8)value=value.slice(0,10)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | </div> |
| | | |
| | | </div> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">é¢åå·¥èµ </label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <div class="col-sm-9 col-md-9" style="padding:0"> |
| | | <input class="form-control" label="é¢åå·¥èµ" name="advancewages" labtype="txt" addvisible="true" maxlength="20" editvisible="true" reg="" ismust="true" type="text" value="@Model.advancewages" oninput="if(value.length>8)value=value.slice(0,10)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | </div> |
| | | <div class="col-sm-3 col-md-3" style="padding:0 0 0 10px"> |
| | | <label class="text-left control-label">å
/æ</label> |
| | | </div> |
| | | </div> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">ä¿åºå¹´èª</label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | |
| | | <div class="col-sm-9 col-md-9" style="padding:0"> |
| | | <input class="form-control" label="ä¿åºå¹´èª" name="miniyearsalary" labtype="txt" addvisible="true" maxlength="20" editvisible="true" reg="" ismust="true" type="text" value="@Model.miniyearsalary" oninput="if(value.length>8)value=value.slice(0,10)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | </div> |
| | | <div class="col-sm-3 col-md-3" style="padding:0 0 0 10px"> |
| | | <label class="text-left control-label">å
/å¹´</label> |
| | | </div> |
| | | </div> |
| | | <label class="text-right col-sm-1 col-md-1 control-label">å·¥é¾å·¥èµ</label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <div class="col-sm-9 col-md-9" style="padding:0"> |
| | | <input class="form-control" label="å·¥é¾å·¥èµ" name="senioritywages" labtype="txt" addvisible="true" maxlength="20" editvisible="true" reg="" ismust="true" type="text" value="@Model.senioritywages" oninput="if(value.length>8)value=value.slice(0,10)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | </div> |
| | | <div class="col-sm-3 col-md-3" style="padding:0 0 0 10px"> |
| | | <label class="text-left control-label">å
/å¹´</label> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">æ¯å¦äº¤é补贴</label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <select class="form-control" name="Istravelsubsidy" data-placeholder="éæ© åºå ..."> |
| | | <option value="" hassubinfo="true">è¯·éæ©</option> |
| | | @foreach (var item in shifou) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.Istravelsubsidy)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | } |
| | | </select> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | |
| | | @*<div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">å·¥èµå¤æ³¨</label> |
| | | <div class="col-sm-11 col-md-11"> |
| | | <textarea class="form-control bt" id="Beizhu" name="Beizhu" title="å·¥èµå¤æ³¨" isempty="" maxlength="4000" length="long" style="resize:none;overflow-y:hidden; min-height:80px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'">@Model.Beizhu</textarea> |
| | | |
| | | </div> |
| | | </div>*@ |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;height:60px;"> |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="wrapper wrapper-content" style="margin-top:0px"></div> |
| | | <div class="ibox-content" id="top" style="z-index:100; position:fixed; height:50px; width:100%;bottom:0; text-align: right; padding-top:8px "> |
| | | <div class="" style="float:right;" data-bootstro-width="500px" data-bootstro-content="åè½æé®ï¼âä¿åâï¼âå é¤â"> |
| | | |
| | | |
| | | <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition();" style="margin-left:4px; border-radius:4px;"> |
| | | <i class="glyphicon glyphicon-ok"></i> <span class="bold">ä¿å</span> |
| | | </a> |
| | | </div> |
| | | </div> |
| | | |
| | | </form> |
| | | <script type="text/javascript"> |
| | | var hh = document.body.clientHeight - $('.ibox-title').height() - $("#top").height() * 2 - 45; |
| | | $("#div_content").height(hh); |
| | | |
| | | $("#ZhuanjiaList").chosen(); |
| | | toastr.options = { |
| | | "closeButton": true, |
| | | "debug": false, |
| | | "progressBar": true, |
| | | "positionClass": "toast-bottom-right", |
| | | "onclick": null, |
| | | "showDuration": "300", |
| | | "hideDuration": "600", |
| | | "timeOut": "4500", |
| | | "extendedTimeOut": "600", |
| | | "showEasing": "swing", |
| | | "hideEasing": "linear", |
| | | "showMethod": "fadeIn", |
| | | "hideMethod": "fadeOut" |
| | | }; |
| | | |
| | | laydate({ elem: "#ShiyongDate", format: 'YYYY-MM-DD', istime: false, event: "focus" }); |
| | | laydate({ elem: "#ShiyongDateEnd", format: 'YYYY-MM-DD', istime: false, event: "focus" }); |
| | | |
| | | var id = '@Model.Id'; |
| | | //var remark = document.getElementById("Beizhu"); |
| | | |
| | | //remark.style.height = remark.scrollHeight + 'px'; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | // ä¿åå²ä½ä¿¡æ¯ |
| | | var savePosition = function () { |
| | | |
| | | |
| | | |
| | | |
| | | //if ($.trim($("#Beizhu").val()) == '') { |
| | | // toastr.warning("å·¥èµå¤æ³¨ä¸è½ä¸ºç©º"); |
| | | // return; |
| | | //} |
| | | |
| | | $.ajax({ |
| | | type: "POST", |
| | | url: "/User/SaveBeizhu", |
| | | dataType: "json", |
| | | global: false, |
| | | data: $('form').serializeArray(), |
| | | success: function (data) { |
| | | |
| | | |
| | | |
| | | if (data.Result) { |
| | | // parent._afterSave(true); |
| | | parent.layer.msg('æåä¿å', { icon: 6 }); |
| | | //window.location = "/Project/add?id=" + data.ReturnID; |
| | | |
| | | |
| | | try { |
| | | _pageAutoClose();//èªå¨å
³é页颿¹æ³ |
| | | } |
| | | catch (err) { |
| | | parent._CloseTab1("/Project/Add"); |
| | | } |
| | | |
| | | } |
| | | else { |
| | | // toastr.error("失败"); |
| | | parent.layer.msg('失败' + data.Message, { icon: 5 }); |
| | | } |
| | | |
| | | }, |
| | | error: function () { |
| | | |
| | | |
| | | parent.layer.msg('失败', { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | |
| | | |
| | | function _pageAutoClose() { |
| | | parent.window._reloadPageData(); |
| | | var index = parent.layer.getFrameIndex(window.name); |
| | | parent.layer.isRefresh = true; |
| | | parent.layer.closeAll('loading'); |
| | | parent.layer.close(index); |
| | | return false; |
| | | } |
| | | |
| | | |
| | | </script> |
| | | </body> |
| | | </html> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| New file |
| | |
| | | @{ |
| | | ViewBag.Title = "User"; |
| | | Layout = "~/Views/Shared/_Layout_Search.cshtml"; |
| | | } |
| | | @section headerStyle{ |
| | | <script type="text/javascript"> |
| | | var zhiwustatusDropDown = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.zhiwustatus))'; |
| | | var dept = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.dept))'; |
| | | var post = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.post))'; |
| | | var shifou = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.shifou))'; |
| | | var sex = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.sex))'; |
| | | var isMaryed = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.isMaryed))'; |
| | | dataCol = [ |
| | | { label: 'id', name: 'Id', labtype: 'txt', hidden: true }, |
| | | { |
| | | label: 'å·¥å·', name: 'Usernumber', labtype: 'txt', hidden: false, width: 100 |
| | | |
| | | }, |
| | | { |
| | | label: 'å§å', name: 'UserName', labtype: 'txt', hidden: false, width: 100, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | return "<a onclick=\"OpenWindow('" + cellvalue + "','100%','98%', '/User/EditBeizhu?id=" + rowObject.Id + "')\" >" + cellvalue + "</a>"; |
| | | } |
| | | }, |
| | | |
| | | { |
| | | label: 'å·¥ä½é¨é¨', name: 'DeptName', labtype: 'txt', hidden: false, width: 100 |
| | | |
| | | }, |
| | | { |
| | | label: 'èå¡', name: 'HrPositionName', labtype: 'txt', hidden: false, width: 100 |
| | | |
| | | }, |
| | | { |
| | | label: 'èªèµå¾
é', name: 'BasicPrice', labtype: 'txt', hidden: false, width: 100 |
| | | |
| | | }, |
| | | //{ |
| | | // label: 'åºæ¬å·¥èµ', name: 'jibensalaryName', labtype: 'txt', hidden: false, width: 100 |
| | | |
| | | //}, |
| | | //{ |
| | | // label: 'ä¿å¯è´¹', name: 'baomisalaryName', labtype: 'txt', hidden: false, width: 100 |
| | | |
| | | //}, |
| | | //{ |
| | | // label: 'å·¥ä½è¡¥è´´', name: 'jintiesalaryName', labtype: 'txt', hidden: false, width: 100 |
| | | |
| | | //}, |
| | | |
| | | { |
| | | label: 'è¯ç¨æ', name: 'ShiyongDateName', labtype: 'txt', hidden: false, width: 200 |
| | | |
| | | }, |
| | | |
| | | { |
| | | label: 'è¯ç¨æå·¥èµ', name: 'ShiyongPriceName', labtype: 'txt', hidden: false, width: 100 |
| | | |
| | | }, |
| | | { |
| | | label: 'é¢åå·¥èµ', name: 'advancewagesName', labtype: 'txt', hidden: false, width: 100 |
| | | |
| | | }, |
| | | { |
| | | label: 'ä¿åºå¹´èª', name: 'miniyearsalaryName', labtype: 'txt', hidden: false, width: 100 |
| | | |
| | | }, |
| | | { |
| | | label: 'å·¥é¾å·¥èµ', name: 'senioritywagesName', labtype: 'txt', hidden: false, width: 100 |
| | | |
| | | }, |
| | | { |
| | | label: 'æ¯å¦äº¤é补贴', name: 'IstravelsubsidyName', labtype: 'txt', hidden: false, width: 100 |
| | | |
| | | }, |
| | | { |
| | | label: 'ä¸é¡¹æ£é¤', name: 'geshuiqizhengName', labtype: 'txt', hidden: false, width: 100 |
| | | |
| | | }, |
| | | |
| | | { label: 'ç¶æ', name: 'RecStatus', labtype: 'txt', hidden: true }, |
| | | { label: 'å建人', name: 'Creater', labtype: 'txt', hidden: true }, |
| | | { label: 'å建æ¶é´', name: 'Createtimetxt', labtype: 'txt', hidden: true }, |
| | | { label: 'ä¿®æ¹äºº', name: 'Modifier', labtype: 'txt', hidden: true }, |
| | | { label: 'ä¿®æ¹æ¶é´', name: 'Modifytimetxt', labtype: 'txt', hidden: true }, |
| | | { |
| | | label: 'é¢è²', name: 'Coler', labtype: 'txt', hidden: true, |
| | | formatter: function (cellvalue, options, rowObject) { |
| | | return "<span style='color:" + rowObject.Coler + ";'>" + cellvalue+"</span>"; |
| | | }}, |
| | | ]; |
| | | dataUrl = "/User/GetUserList"; |
| | | searchCol = [ |
| | | { label: 'å·¥å·', name: 'Usernumber', labtype: 'txt', hidden: false }, |
| | | { label: 'å·¥ä½é¨é¨', name: 'DeptId', labtype: 'combox', hidden: false, data: JSON.parse(dept) }, |
| | | |
| | | |
| | | { label: 'èå·¥å§å', name: 'UserName', labtype: 'txt', hidden: false }, |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | ]; |
| | | |
| | | var _afterSave = function (result) { |
| | | if (result) { |
| | | toastr.success("ä¿åæå"); |
| | | } else { |
| | | toastr.error("ä¿å失败"); |
| | | } |
| | | } |
| | | |
| | | var _afterDel = function (result) { |
| | | if (result) { |
| | | toastr.success("å 餿å"); |
| | | } else { |
| | | /**/ |
| | | toastr.error("å 餿å"); |
| | | /**/ |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </script> |
| | | } |
| | | |
| | |
| | | , beforeRequest: BeforeRequest |
| | | }); |
| | | |
| | | //$("#jqGrid").jqGrid('setGroupHeaders', { |
| | | // useColSpanStyle: true, |
| | | // groupHeaders: [ |
| | | // { startColumnName: 'jibensalaryName', numberOfColumns: 3, titleText: 'èªèµå¾
é' } |
| | | // ] |
| | | //}); |
| | | jQuery("#jqGrid").jqGrid('navGrid', "#jqGridPager", { edit: false, add: false, del: false, search: false, refresh: true }); |
| | | doResize(); |
| | | }); |
| | |
| | | <WebStackScaffolding_IsPartialViewSelected>False</WebStackScaffolding_IsPartialViewSelected> |
| | | <WebStackScaffolding_IsReferencingScriptLibrariesSelected>False</WebStackScaffolding_IsReferencingScriptLibrariesSelected> |
| | | <WebStackScaffolding_LayoutPageFile /> |
| | | <ShowAllFiles>false</ShowAllFiles> |
| | | <ShowAllFiles>true</ShowAllFiles> |
| | | </PropertyGroup> |
| | | </Project> |
| | |
| | | is_travelsubsidy nvarchar(1) null |
| | | go |
| | | |
| | | <<<<<<< HEAD |
| | | |
| | | alter table plt_user add |
| | | |
| | | [beizhu] [nvarchar](500) NULL |
| | | go |
| | | |
| | | alter table plt_user add |
| | | |
| | | jibensalary decimal(10,2) null, |
| | | baomisalary decimal(10,2) null, |
| | | jintiesalary decimal(10,2) null |
| | | |
| | | go |
| | | |
| | | |
| | | |
| | | alter table plt_user add |
| | | |
| | | geshuiqizheng decimal(10,2) null |
| | | |
| | | go |
| | | |
| | | |
| | | INSERT [dbo].[plt_page] ([Id], [system_id], [page_name], [page_shortcut], [display_seq], [page_path], [page_method], [page_type], [page_superior], [page_ico], [open_type], [rec_status], [creater], [createtime], [modifier], [modifytime]) VALUES (N'd3f04c50-72d8-46c8-8537-b0b5b2e66a00', N'1', N'èå·¥åºæ¬å·¥èµ', NULL, 1, N'/User/JiBenGongZi', N'01', N'M', N'6a13cb10-35d9-4176-a231-8887948e059e', NULL, 0, N'A', N'e4c93811-b9b1-4998-89f5-c416ebab0c07', CAST(N'2021-06-15T13:53:24.527' AS DateTime), N'e4c93811-b9b1-4998-89f5-c416ebab0c07', CAST(N'2021-06-15T13:54:47.280' AS DateTime)) |
| | | go |
| | | |
| | | INSERT [dbo].[plt_page] ([Id], [system_id], [page_name], [page_shortcut], [display_seq], [page_path], [page_method], [page_type], [page_superior], [page_ico], [open_type], [rec_status], [creater], [createtime], [modifier], [modifytime]) VALUES (N'4c7fae29-974b-48e9-9519-1736af5f4d17', N'1', N'èå¡åºæ¬å·¥èµ', N'', 2, N'/HrJibengongzi/Index', N'01', N'M', N'6a13cb10-35d9-4176-a231-8887948e059e', N'', 0, N'A', N'e4c93811-b9b1-4998-89f5-c416ebab0c07', CAST(N'2021-06-17T10:38:16.583' AS DateTime), N'e4c93811-b9b1-4998-89f5-c416ebab0c07', CAST(N'2021-06-17T10:38:16.583' AS DateTime)) |
| | | go |
| | | |
| | | INSERT [dbo].[plt_page] ([Id], [system_id], [page_name], [page_shortcut], [display_seq], [page_path], [page_method], [page_type], [page_superior], [page_ico], [open_type], [rec_status], [creater], [createtime], [modifier], [modifytime]) VALUES (N'e7e0363d-8215-433e-8c63-df902088b160', N'1', N'ç»©ææææ å', NULL, 3, N'/HrJixiaoticheng/Index', N'01', N'M', N'6a13cb10-35d9-4176-a231-8887948e059e', NULL, 0, N'A', N'e4c93811-b9b1-4998-89f5-c416ebab0c07', CAST(N'2021-06-17T14:53:30.890' AS DateTime), N'e4c93811-b9b1-4998-89f5-c416ebab0c07', CAST(N'2021-06-17T14:54:01.643' AS DateTime)) |
| | | go |
| | | ======= |
| | | --qwj 2021.6.18 |
| | | create table t_sim_bind ( |
| | | id int identity, |
| | |
| | | go |
| | | |
| | | --çµè¯å¡ç±»åå®ä¹ |
| | | insert into [adm_goods_classify] values('d309d1af-5086-453a-b5a2-58b344dfff97','çµè¯å¡','A','e4c93811-b9b1-4998-89f5-c416ebab0c07',getdate(),'e4c93811-b9b1-4998-89f5-c416ebab0c07',getdate(),'04') |
| | | insert into [adm_goods_classify] values('d309d1af-5086-453a-b5a2-58b344dfff97','çµè¯å¡','A','e4c93811-b9b1-4998-89f5-c416ebab0c07',getdate(),'e4c93811-b9b1-4998-89f5-c416ebab0c07',getdate(),'04'); |
| | | --补贴åå
¸å®ä¹ |
| | | insert into [sys_code] values('107bc4e5-f13a-4d25-bd47-e4b1e61aed8a','t_sim_bind','cardpro','çµè¯è¡¥è´´','A','e4c93811-b9b1-4998-89f5-c416ebab0c07',getdate(),'e4c93811-b9b1-4998-89f5-c416ebab0c07',getdate()) |
| | | |
| | |
| | | --çµè¯è´¹è®°å½æç» |
| | | insert into [plt_page] values('5E973843-7EB4-41A6-B49B-192208647B2C','1','çµè¯è´¹ç¨è®°å½','',4,'/SimCost/Index/','01','M','967b0bdd-cd5d-4660-8c72-7f744c07751b','',0,'A','e4c93811-b9b1-4998-89f5-c416ebab0c07',getdate(),'e4c93811-b9b1-4998-89f5-c416ebab0c07',getdate()) |
| | | |
| | | create view v_sim_cost as |
| | | select a.[id],[sim_id],[user_id],[allow_amount],[bill_amount],[bill_year],[bill_month],[status],[up_time] |
| | | ,b.goods_name,c.user_name |
| | | FROM [t_sim_cost] a inner join adm_goods_manage b on a.sim_id =b.Id |
| | | left join plt_user c on a.user_id=c.Id |
| | | go |
| | | USE [zhengcaioa] |
| | | GO |
| | | |
| | | /****** Object: View [dbo].[v_sim_cost] Script Date: 2021/6/21 9:13:40 ******/ |
| | | SET ANSI_NULLS ON |
| | | GO |
| | | |
| | | SET QUOTED_IDENTIFIER ON |
| | | GO |
| | | |
| | | create view [dbo].[v_sim_cost] as |
| | | SELECT a.id, a.sim_id, a.user_id, a.allow_amount, a.bill_amount, a.amount, a.bill_year, a.bill_month, a.accounted_time, a.status, |
| | | a.up_time, b.goods_name AS simcard, c.user_name AS username |
| | | FROM dbo.t_sim_cost AS a INNER JOIN |
| | | dbo.adm_goods_manage AS b ON a.sim_id = b.Id LEFT OUTER JOIN |
| | | dbo.plt_user AS c ON a.user_id = c.Id |
| | | GO |
| | | |
| | | |
| | | |
| | | |
| | | >>>>>>> a6b6b4303483395bf6ff745f5abf171552afae38 |
| | |
| | | USE [zhengcaioa] |
| | | GO |
| | | |
| | | /****** Object: Table [dbo].[hr_salary] Script Date: 2021/6/10 12:54:34 ******/ |
| | | SET ANSI_NULLS ON |
| | | GO |
| | | |
| | | SET QUOTED_IDENTIFIER ON |
| | | GO |
| | | IF EXISTS(Select 1 From Sysobjects Where Name='hr_salary') --æ¥è¯¢è¡¨åcostSeparateConfigæ¯å¦åå¨ |
| | | |
| | | |
| | | drop TABLE [dbo].[hr_salary] |
| | | GO |
| | | |
| | | CREATE TABLE [dbo].[hr_salary]( |
| | | [Id] [nvarchar](50) NOT NULL, |
| | | [Userid] [nvarchar](50) NOT NULL, |
| | | [year] [int] NOT NULL DEFAULT ((0)), |
| | | [month] [int] NOT NULL DEFAULT ((0)), |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | [jibengongzi] [decimal](18, 4) NULL , |
| | | [baomifei] [decimal](18, 4) NULL , |
| | | [gongzuobutie] [decimal](18, 4) NULL , |
| | | [jiabangongzi] [decimal](18, 4) NULL , |
| | | [shebao] [decimal](18, 4) NULL , |
| | | [dianhuabutie] [decimal](18, 4) NULL , |
| | | [quanqinjiang] [decimal](18, 4) NULL , |
| | | [jiaotngbutie] [decimal](18, 4) NULL , |
| | | [jixiaoticheng] [decimal](18, 4) NULL , |
| | | [jiangjin] [decimal](18, 4) NULL , |
| | | [bufagongzi] [decimal](18, 4) NULL , |
| | | |
| | | [shebaokou] [decimal](18, 4) NULL , |
| | | [geshui] [decimal](18, 4) NULL , |
| | | [dianhuafei] [decimal](18, 4) NULL , |
| | | [queqin] [decimal](18, 4) NULL , |
| | | [fakuan] [decimal](18, 4) NULL , |
| | | [peichang] [decimal](18, 4) NULL , |
| | | [jiucuo] [decimal](18, 4) NULL , |
| | | [daozhanggongzi] [decimal](18, 4) NULL , |
| | | [yufagongzi] [decimal](18, 4) NULL , |
| | | [yufagongziheji] [decimal](18, 4) NULL , |
| | | |
| | | [islock] [nvarchar](1) NOT NULL, |
| | | [rec_status] [nvarchar](1) NOT NULL, |
| | | [creater] [nvarchar](50) NOT NULL, |
| | | [createtime] [datetime] NOT NULL, |
| | | [modifier] [nvarchar](50) NOT NULL, |
| | | [modifytime] [datetime] NOT NULL, |
| | | CONSTRAINT [PK__hr_salary] PRIMARY KEY CLUSTERED |
| | | ( |
| | | [Id] ASC |
| | | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] |
| | | ) ON [PRIMARY] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[hr_salary] ADD DEFAULT ('D') FOR [islock] |
| | | GO |
| | | ALTER TABLE [dbo].[hr_salary] ADD DEFAULT ('A') FOR [rec_status] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[hr_salary] ADD DEFAULT ('1') FOR [creater] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[hr_salary] ADD DEFAULT (getdate()) FOR [createtime] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[hr_salary] ADD DEFAULT ('1') FOR [modifier] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[hr_salary] ADD DEFAULT (getdate()) FOR [modifytime] |
| | | GO |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | USE [zhengcaioa] |
| | | GO |
| | | |
| | | /****** Object: Table [dbo].[ADM_Attendance] Script Date: 2021/6/10 12:54:34 ******/ |
| | | SET ANSI_NULLS ON |
| | | GO |
| | | |
| | | SET QUOTED_IDENTIFIER ON |
| | | GO |
| | | |
| | | IF EXISTS(Select 1 From Sysobjects Where Name='ADM_Attendance') --æ¥è¯¢è¡¨åcostSeparateConfigæ¯å¦åå¨ |
| | | drop TABLE [dbo].[ADM_Attendance] |
| | | GO |
| | | CREATE TABLE [dbo].[ADM_Attendance]( |
| | | [Id] [nvarchar](50) NOT NULL, |
| | | [Userid] [nvarchar](50) NOT NULL, |
| | | [year] [int] NOT NULL DEFAULT ((0)), |
| | | [month] [int] NOT NULL DEFAULT ((0)), |
| | | [yingchuqin] [decimal](18, 2) NOT NULL DEFAULT ((0)), |
| | | [offdays] [decimal](18, 2) NOT NULL DEFAULT ((0)), |
| | | [shijichuqin] [decimal](18, 2) NOT NULL DEFAULT ((0)), |
| | | [qingjia] [decimal](18, 2) NOT NULL DEFAULT ((0)), |
| | | [jiaban] [decimal](18, 2) NOT NULL DEFAULT ((0)), |
| | | [xiaojia] [decimal](18, 2) NOT NULL DEFAULT ((0)), |
| | | [chidao] [decimal](18, 2) NOT NULL DEFAULT ((0)), |
| | | [zaotui] [decimal](18, 2) NOT NULL DEFAULT ((0)), |
| | | [kuanggong] [decimal](18, 2) NOT NULL DEFAULT ((0)), |
| | | [yingchuqin] [decimal](18, 4) NOT NULL DEFAULT ((0)), |
| | | [offdays] [decimal](18, 4) NOT NULL DEFAULT ((0)), |
| | | [shijichuqin] [decimal](18, 4) NOT NULL DEFAULT ((0)), |
| | | [qingjia] [decimal](18, 4) NOT NULL DEFAULT ((0)), |
| | | [jiaban] [decimal](18, 4) NOT NULL DEFAULT ((0)), |
| | | [xiaojia] [decimal](18, 4) NOT NULL DEFAULT ((0)), |
| | | [chidao] [decimal](18, 4) NOT NULL DEFAULT ((0)), |
| | | [zaotui] [decimal](18, 4) NOT NULL DEFAULT ((0)), |
| | | [kuanggong] [decimal](18, 4) NOT NULL DEFAULT ((0)), |
| | | |
| | | [islock] [nvarchar](1) NOT NULL, |
| | | [rec_status] [nvarchar](1) NOT NULL, |
| | |
| | | |
| | | SET QUOTED_IDENTIFIER ON |
| | | GO |
| | | |
| | | IF EXISTS(Select 1 From Sysobjects Where Name='ADM_Attendance_dtl') --æ¥è¯¢è¡¨åcostSeparateConfigæ¯å¦åå¨ |
| | | drop TABLE [dbo].[ADM_Attendance_dtl] |
| | | GO |
| | | CREATE TABLE [dbo].[ADM_Attendance_dtl]( |
| | | [Id] [nvarchar](50) NOT NULL, |
| | | [attendance_id] [nvarchar](50) NOT NULL, |
| | |
| | | [AfternoonOut] [datetime] NULL, |
| | | [OvertimeIn] [datetime] NULL, |
| | | [OvertimeOut] [datetime] NULL, |
| | | [qingjia] [decimal](18, 2) NOT NULL DEFAULT ((0)), |
| | | [xiaojia] [decimal](18, 2) NOT NULL DEFAULT ((0)), |
| | | [qingjia] [decimal](18, 4) NOT NULL DEFAULT ((0)), |
| | | [xiaojia] [decimal](18, 4) NOT NULL DEFAULT ((0)), |
| | | [rec_status] [nvarchar](1) NOT NULL, |
| | | [creater] [nvarchar](50) NOT NULL, |
| | | [createtime] [datetime] NOT NULL, |
| | | [modifier] [nvarchar](50) NOT NULL, |
| | | [modifytime] [datetime] NOT NULL, |
| | | [chidaofenzhong] [decimal](18, 2) NOT NULL DEFAULT ((0)), |
| | | [zaotuifenzhong] [decimal](18, 2) NOT NULL DEFAULT ((0)), |
| | | [kuanggongtianshu] [decimal](18, 2) NOT NULL DEFAULT ((0)), |
| | | [chidaofenzhong] [decimal](18, 4) NOT NULL DEFAULT ((0)), |
| | | [zaotuifenzhong] [decimal](18, 4) NOT NULL DEFAULT ((0)), |
| | | [kuanggongtianshu] [decimal](18, 4) NOT NULL DEFAULT ((0)), |
| | | CONSTRAINT [PK__ADM_Attendance_dtl] PRIMARY KEY CLUSTERED |
| | | ( |
| | | [Id] ASC |
| | |
| | | USE [zhengcaioa] |
| | | GO |
| | | |
| | | /****** Object: Table [dbo].[hr_jixiaoticheng] Script Date: 2021/6/9 14:15:04 ******/ |
| | | SET ANSI_NULLS ON |
| | | GO |
| | | |
| | | SET QUOTED_IDENTIFIER ON |
| | | GO |
| | | IF EXISTS(Select 1 From Sysobjects Where Name='hr_jixiaoticheng') --æ¥è¯¢è¡¨åcostSeparateConfigæ¯å¦åå¨ |
| | | drop table [hr_jixiaoticheng] |
| | | GO |
| | | |
| | | CREATE TABLE [dbo].[hr_jixiaoticheng]( |
| | | [Id] [nvarchar](50) NOT NULL, |
| | | [post_id] [nvarchar](50) NULL, |
| | | [piecerate_id] [nvarchar](50) NULL, |
| | | [tichengstandard] [nvarchar](50) NULL, |
| | | [renwustandard] [nvarchar](50) NULL, |
| | | |
| | | [ticheng] [money] NULL, |
| | | [renwu] [money] NULL, |
| | | |
| | | |
| | | [effecttime] [datetime] NULL, |
| | | |
| | | [rec_status] [nvarchar](1) NOT NULL, |
| | | [creater] [nvarchar](50) NOT NULL, |
| | | [createtime] [datetime] NOT NULL, |
| | | [modifier] [nvarchar](50) NOT NULL, |
| | | [modifytime] [datetime] NOT NULL, |
| | | CONSTRAINT [PK_hr_jixiaoticheng] PRIMARY KEY CLUSTERED |
| | | ( |
| | | [Id] ASC |
| | | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] |
| | | ) ON [PRIMARY] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[hr_jixiaoticheng] ADD DEFAULT ('A') FOR [rec_status] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[hr_jixiaoticheng] ADD DEFAULT ('1') FOR [creater] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[hr_jixiaoticheng] ADD DEFAULT (getdate()) FOR [createtime] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[hr_jixiaoticheng] ADD DEFAULT ('1') FOR [modifier] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[hr_jixiaoticheng] ADD DEFAULT (getdate()) FOR [modifytime] |
| | | GO |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | USE [zhengcaioa] |
| | | GO |
| | | |
| | | /****** Object: Table [dbo].[hr_jibengongzi] Script Date: 2021/6/9 14:15:04 ******/ |
| | | SET ANSI_NULLS ON |
| | | GO |
| | | |
| | | SET QUOTED_IDENTIFIER ON |
| | | GO |
| | | IF EXISTS(Select 1 From Sysobjects Where Name='hr_jibengongzi') --æ¥è¯¢è¡¨åcostSeparateConfigæ¯å¦åå¨ |
| | | drop table [hr_jibengongzi] |
| | | GO |
| | | |
| | | CREATE TABLE [dbo].[hr_jibengongzi]( |
| | | [Id] [nvarchar](50) NOT NULL, |
| | | [post_id] [nvarchar](50) NULL, |
| | | [jibengongzi] [money] NULL, |
| | | [baomifei] [money] NULL, |
| | | [shebaodanwei] [money] NULL, |
| | | [shebaogeren] [money] NULL, |
| | | [dianhuabutie] [nvarchar](50) NULL, |
| | | [quanqingjiang] [money] NULL, |
| | | [jiaotongbutie] [money] NULL, |
| | | |
| | | [effecttime] [datetime] NULL, |
| | | |
| | | [rec_status] [nvarchar](1) NOT NULL, |
| | | [creater] [nvarchar](50) NOT NULL, |
| | | [createtime] [datetime] NOT NULL, |
| | | [modifier] [nvarchar](50) NOT NULL, |
| | | [modifytime] [datetime] NOT NULL, |
| | | CONSTRAINT [PK_hr_jibengongzi] PRIMARY KEY CLUSTERED |
| | | ( |
| | | [Id] ASC |
| | | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] |
| | | ) ON [PRIMARY] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[hr_jibengongzi] ADD DEFAULT ('A') FOR [rec_status] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[hr_jibengongzi] ADD DEFAULT ('1') FOR [creater] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[hr_jibengongzi] ADD DEFAULT (getdate()) FOR [createtime] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[hr_jibengongzi] ADD DEFAULT ('1') FOR [modifier] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[hr_jibengongzi] ADD DEFAULT (getdate()) FOR [modifytime] |
| | | GO |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | USE [zhengcaioa] |
| | | GO |
| | | |
| | | /****** Object: Table [dbo].[ADM_AttendanceRules_dtl] Script Date: 2021/6/9 14:15:04 ******/ |
| | | SET ANSI_NULLS ON |
| | | GO |
| | | |
| | | SET QUOTED_IDENTIFIER ON |
| | | GO |
| | | IF EXISTS(Select 1 From Sysobjects Where Name='ADM_AttendanceRules_dtl') --æ¥è¯¢è¡¨åcostSeparateConfigæ¯å¦åå¨ |
| | | drop table [ADM_AttendanceRules_dtl] |
| | | GO |
| | | |
| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | USE [zhengcaioa] |
| | | GO |
| | | |
| | |
| | | |
| | | SET QUOTED_IDENTIFIER ON |
| | | GO |
| | | IF EXISTS(Select 1 From Sysobjects Where Name='fi_account_record') --æ¥è¯¢è¡¨åcostSeparateConfigæ¯å¦åå¨ |
| | | drop table [fi_account_record] |
| | | GO |
| | | |
| | |
| | | |
| | | SET QUOTED_IDENTIFIER ON |
| | | GO |
| | | IF EXISTS(Select 1 From Sysobjects Where Name='ADM_AskLeave') --æ¥è¯¢è¡¨åcostSeparateConfigæ¯å¦åå¨ |
| | | drop table [ADM_AskLeave] |
| | | GO |
| | | CREATE TABLE [dbo].[ADM_AskLeave]( |
| | |
| | | |
| | | SET QUOTED_IDENTIFIER ON |
| | | GO |
| | | |
| | | IF EXISTS(Select 1 From Sysobjects Where Name='ADM_AskLeaveOff') --æ¥è¯¢è¡¨åcostSeparateConfigæ¯å¦åå¨ |
| | | drop table [ADM_AskLeaveOff] |
| | | GO |
| | | |
| | |
| | | |
| | | SET QUOTED_IDENTIFIER ON |
| | | GO |
| | | |
| | | IF EXISTS(Select 1 From Sysobjects Where Name='ADM_AttendanceRules') --æ¥è¯¢è¡¨åcostSeparateConfigæ¯å¦åå¨ |
| | | drop table [ADM_AttendanceRules] |
| | | GO |
| | | |
| | |
| | | |
| | | |
| | | |
| | | USE [zhengcaioa] |
| | | GO |
| | | |
| | | /****** Object: Table [dbo].[ADM_AttendanceRules_dtl] Script Date: 2021/6/7 16:55:36 ******/ |
| | | SET ANSI_NULLS ON |
| | | GO |
| | | |
| | | SET QUOTED_IDENTIFIER ON |
| | | GO |
| | | |
| | | drop table [ADM_AttendanceRules_dtl] |
| | | GO |
| | | |
| | | CREATE TABLE [dbo].[ADM_AttendanceRules_dtl]( |
| | | [Id] [nvarchar](50) NOT NULL, |
| | | [pid] [nvarchar](50) NULL, |
| | | [value_start] [nvarchar](50) NULL, |
| | | [value_end] [nvarchar](50) NULL, |
| | | [Name] [nvarchar](200) NULL, |
| | | [rec_status] [nvarchar](1) NOT NULL, |
| | | [creater] [nvarchar](50) NOT NULL, |
| | | [createtime] [datetime] NOT NULL, |
| | | [modifier] [nvarchar](50) NOT NULL, |
| | | [modifytime] [datetime] NOT NULL, |
| | | CONSTRAINT [PK_ADM_AttendanceRules_dtl] PRIMARY KEY CLUSTERED |
| | | ( |
| | | [Id] ASC |
| | | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] |
| | | ) ON [PRIMARY] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[ADM_AttendanceRules_dtl] ADD DEFAULT ('A') FOR [rec_status] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[ADM_AttendanceRules_dtl] ADD DEFAULT ('1') FOR [creater] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[ADM_AttendanceRules_dtl] ADD DEFAULT (getdate()) FOR [createtime] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[ADM_AttendanceRules_dtl] ADD DEFAULT ('1') FOR [modifier] |
| | | GO |
| | | |
| | | ALTER TABLE [dbo].[ADM_AttendanceRules_dtl] ADD DEFAULT (getdate()) FOR [modifytime] |
| | | GO |
| | | |
| | | |
| | | |