提交 caf31cef authored 作者: wangmenglong's avatar wangmenglong

首次提交

上级
/node_modules/
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
<excludeFolder url="file://$MODULE_DIR$/temp" />
<excludeFolder url="file://$MODULE_DIR$/tmp" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/jft-node-platform.iml" filepath="$PROJECT_DIR$/.idea/jft-node-platform.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
\ No newline at end of file
FROM node:20.11.1-alpine
RUN mkdir -p /home/web
ADD . /home/web
WORKDIR /home/web
COPY package*.json ./
RUN npm fund
RUN npm audit fix --force
RUN npm audit
RUN npm install
#RUN npm run build
ENV LANG C.UTF-8
EXPOSE ${PORT}
CMD ["sh","-c","node /home/web/app.js ${PORT}"]
\ No newline at end of file
def git_url="https://gitlab.365jft.com/root/jft-node-platform.git"
def credentialsId_val="5a1987eb-5b29-4886-b6d5-fc8d7ba94bbe" //git凭据
def harbor_url="172.30.156.70:8081"
def harbor_pro_name="jft"
def harbor_auth="29244d80-2457-4753-9912-04bd9233569c"
def project_version = "${project_version}".split(',') // 替换为要检查的属性名
def checkArray=new String[1]
def versionArray=new String[1]
def proStr = ''
def versionStr = ''
def tag= "latest" //版本
def operate = "${operate}"
def operateType= "web"
def kube_space="jft-cloud"
def part = "${part}"
def gray = "${gray}"
def proArray=["jft-node-platform"]
if (operate == "release") {
node {
stage('pull code') {
checkout([$class: 'GitSCM', branches: [[name: '*/master']],
extensions: [], userRemoteConfigs: [[credentialsId: "${credentialsId_val}",
url: "${git_url}"]]])
def n=0
for(int i = 0;i < project_version.size(); i++){
if (i % 2 == 0){
checkArray[n] = project_version[i];
versionArray[n] = project_version[i+1];
n++
}
}
for(int i = 0; i < checkArray.size(); i++){
if (checkArray[i]=="true"){
def pro = proArray[i]
def ver = versionArray[i]
proStr = proStr + pro
proStr = proStr + ','
versionStr = versionStr + ver
versionStr = versionStr + ','
}
}
proStr = proStr.substring(0 , proStr.size() -1 )
versionStr = versionStr.substring(0 , versionStr.size() - 1)
echo 'pull code over--------------------------------------------------------------------------------------------'
}
stage('build images') {
for(int i = 0; i < checkArray.size(); i++){
if (checkArray[i] == "true") {
def pro = proArray[i]
def version = versionArray[i]
sh "docker build -t ${pro}:${tag} ./"
sh "docker tag ${pro}:latest ${harbor_url}/${harbor_pro_name}/${pro}:${version}"
}
}
echo 'build images over--------------------------------------------------------------------------------------'
}
stage('push images') {
withCredentials([usernamePassword(credentialsId: "${harbor_auth}",
passwordVariable: 'pwd', usernameVariable: 'account')]) {
sh "docker login -u ${account} -p ${pwd} ${harbor_url}"
for(int i = 0;i < checkArray.size(); i++){
if (checkArray[i]=="true"){
def pro = proArray[i]
def version = versionArray[i]
sh "docker push ${harbor_url}/${harbor_pro_name}/${pro}:${version}"
}
}
}
echo 'push images over------------------------------------------------------------------------------------------'
}
stage('clean images') {
for(int i = 0;i < checkArray.size(); i++){
if (checkArray[i] == "true"){
def pro = proArray[i]
def version = versionArray[i]
sh "docker rmi ${pro}:${tag}"
sh "docker rmi ${harbor_url}/${harbor_pro_name}/${pro}:${version}"
}
}
echo 'clean images over------------------------------------------------------------------------------------------'
}
stage('remote deploy') {
echo 'kube_space------------------------------------------------------------------------------------------'+"${kube_space}"
sshPublisher(publishers: [sshPublisherDesc(configName: 'jft-m0',
transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: "/opt/deploy/deploy.sh $proStr $versionStr $operateType $kube_space $harbor_pro_name $gray $part",
execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false,
patternSeparator: '[, ]+', remoteDirectory: '', remoteDirectorySDF: false, removePrefix: '', sourceFiles: '')],
usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
echo 'deploy over--------------------------------------------------------------------------------------------------------'
}
}
}
if (operate == "delete") {
node{
stage('clean harbor'){
def n=0
for(int i = 0;i < project_version.size(); i++){
if (i % 2 == 0){
checkArray[n] = project_version[i];
versionArray[n] = project_version[i+1];
n++
}
}
for(int i = 0; i < checkArray.size(); i++){
if (checkArray[i]=="true"){
def pro = proArray[i]
def ver = versionArray[i]
echo '-------------------------------------------------------------pro===='+pro
def response = sh returnStdout: true, script: 'curl -u "admin:hbrLyjft@xggq!" -X DELETE "http://172.30.156.70:8081/api/v2.0/projects/odd-job/repositories/"'+"${pro}"
proStr = proStr + pro
proStr = proStr + ','
versionStr = versionStr + ver
versionStr = versionStr + ','
}
}
proStr = proStr.substring(0 , proStr.size() -1 )
versionStr = versionStr.substring(0 , versionStr.size() - 1)
echo 'clean kube--------------------------------------------------------------------------------------------------------'
}
stage('clean kube') {
sshPublisher(publishers: [sshPublisherDesc(configName: 'jft-m0',
transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: "/opt/deploy/delete.sh $proStr $versionStr $operateType $kube_space $harbor_pro_name $gray $part",
execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false,
patternSeparator: '[, ]+', remoteDirectory: '', remoteDirectorySDF: false, removePrefix: '', sourceFiles: '')],
usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
echo 'clean kube--------------------------------------------------------------------------------------------------------'
sleep(40)
}
stage('clean images jft-n0') {
sshPublisher(publishers: [sshPublisherDesc(configName: 'jft-n0',
transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: "/opt/deploy/images-delete.sh $proStr $versionStr $harbor_pro_name",
execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false,
patternSeparator: '[, ]+', remoteDirectory: '', remoteDirectorySDF: false, removePrefix: '', sourceFiles: '')],
usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
echo 'clean images jft-n0--------------------------------------------------------------------------------------------------------'
}
stage('clean images jft-n1') {
sshPublisher(publishers: [sshPublisherDesc(configName: 'jft-n1',
transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: "/opt/deploy/images-delete.sh $proStr $versionStr $harbor_pro_name",
execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false,
patternSeparator: '[, ]+', remoteDirectory: '', remoteDirectorySDF: false, removePrefix: '', sourceFiles: '')],
usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
echo 'clean images jft-n1--------------------------------------------------------------------------------------------------------'
}
stage('clean images jft-n2') {
sshPublisher(publishers: [sshPublisherDesc(configName: 'jft-n2',
transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: "/opt/deploy/images-delete.sh $proStr $versionStr $harbor_pro_name",
execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false,
patternSeparator: '[, ]+', remoteDirectory: '', remoteDirectorySDF: false, removePrefix: '', sourceFiles: '')],
usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
echo 'clean images jft-n2--------------------------------------------------------------------------------------------------------'
}
}
}
var express = require('express');
var path = require('path');
var cookieParser = require('cookie-parser');
var logger = require('morgan');
const {createProxyMiddleware} = require('http-proxy-middleware');
const history = require('connect-history-api-fallback');
var app = express();
//下面两行代码解决刷新404(加上下面两行代码微信扫码登录不能用)
// app.use(history());
// app.use(express.static(__dirname+'/public'));
app.use(express.static(path.join(__dirname, 'public')));
var param = process.argv.splice(2);
var port = param[0];
// 允许所有域名跨域
app.all('*', function (req, res, next) {
req.header("gray","yes");
res.header("Access-Control-Allow-Origin", "*");
res.header("Access-Control-Allow-Headers", "Content-Type,Content-Length, Authorization, Accept,X-Requested-With");
res.header("Access-Control-Allow-Methods", "PUT,POST,GET,DELETE,OPTIONS");
res.header("X-Powered-By", ' 3.2.1');
res.header("gray", ' yes');
console.log("=============prod123");
// 跨域请求CORS中的预请求
if (req.method == "OPTIONS") {
// res.send(200); //让options请求快速返回
} else {
next();
}
});
app.use('/djl-account',
createProxyMiddleware({
target: "http://djl-account",
changeOrigin: true,
pathRewrite: {
"^/djl-account": "/"
}
}));
app.use('/djl-archives',
createProxyMiddleware({
target: "http://djl-archives",
changeOrigin: true,
pathRewrite: {
"^/djl-archives": "/"
}
}));
app.use('/djl-attendance',
createProxyMiddleware({
target: "http://djl-attendance",
changeOrigin: true,
pathRewrite: {
"^/djl-attendance": "/"
}
}));
app.use('/djl-auth',
createProxyMiddleware({
target: "http://djl-auth",
changeOrigin: true,
pathRewrite: {
"^/djl-auth": "/"
}
}));
app.use('/djl-contract',
createProxyMiddleware({
target: "http://djl-contract",
changeOrigin: true,
pathRewrite: {
"^/djl-contract": "/"
}
}));
app.use('/djl-message',
createProxyMiddleware({
target: "http://djl-message",
changeOrigin: true,
pathRewrite: {
"^/djl-message": "/"
}
}));
app.use('/djl-oss',
createProxyMiddleware({
target: "http://djl-oss",
changeOrigin: true,
pathRewrite: {
"^/djl-oss": "/"
}
}));
app.use('/djl-project',
createProxyMiddleware({
target: "http://djl-project",
changeOrigin: true,
pathRewrite: {
"^/djl-project": "/"
}
}));
app.use('/djl-recruit',
createProxyMiddleware({
target: "http://djl-recruit",
changeOrigin: true,
pathRewrite: {
"^/djl-recruit": "/"
}
}));
app.use('/djl-role',
createProxyMiddleware({
target: "http://djl-role",
changeOrigin: true,
pathRewrite: {
"^/djl-role": "/"
}
}));
app.use('/djl-salary',
createProxyMiddleware({
target: "http://djl-salary",
changeOrigin: true,
pathRewrite: {
"^/djl-salary": "/"
}
}));
app.use('/djl-settlement',
createProxyMiddleware({
target: "http://djl-settlement",
changeOrigin: true,
pathRewrite: {
"^/djl-settlement": "/"
}
}));
app.listen(port);
#!/usr/bin/env node
/**
* Module dependencies.
*/
var app = require('../app');
var debug = require('debug')('jft-node-channel:server');
var http = require('http');
/**
* Get port from environment and store in Express.
*/
var port = normalizePort(process.env.PORT || '3000');
app.set('port', port);
/**
* Create HTTP server.
*/
var server = http.createServer(app);
/**
* Listen on provided port, on all network interfaces.
*/
server.listen(port);
server.on('error', onError);
server.on('listening', onListening);
/**
* Normalize a port into a number, string, or false.
*/
function normalizePort(val) {
var port = parseInt(val, 10);
if (isNaN(port)) {
// named pipe
return val;
}
if (port >= 0) {
// port number
return port;
}
return false;
}
/**
* Event listener for HTTP server "error" event.
*/
function onError(error) {
if (error.syscall !== 'listen') {
throw error;
}
var bind = typeof port === 'string'
? 'Pipe ' + port
: 'Port ' + port;
// handle specific listen errors with friendly messages
switch (error.code) {
case 'EACCES':
console.error(bind + ' requires elevated privileges');
process.exit(1);
break;
case 'EADDRINUSE':
console.error(bind + ' is already in use');
process.exit(1);
break;
default:
throw error;
}
}
/**
* Event listener for HTTP server "listening" event.
*/
function onListening() {
var addr = server.address();
var bind = typeof addr === 'string'
? 'pipe ' + addr
: 'port ' + addr.port;
debug('Listening on ' + bind);
}
差异被折叠。
{
"name": "jft-node-channel",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "node ./bin/www"
},
"dependencies": {
"connect-history-api-fallback": "^2.0.0",
"cookie-parser": "~1.4.4",
"debug": "~2.6.9",
"express": "~4.16.1",
"http-proxy-middleware": "^3.0.0",
"morgan": "~1.9.1"
}
}
import{_ as h,r as f,c as n,d as m,e as k,f as t,h as o,m as _,k as e,i as b,v as g,p as w,q as x}from"./index-BXdSy86L.js";const I=""+new URL("401-HGF6Q5qM.gif",import.meta.url).href,a=s=>(w("data-v-980b8710"),s=s(),x(),s),v={class:"errPage-container"},y=a(()=>e("h1",{class:"text-jumbo text-ginormous"}," 401错误! ",-1)),B=a(()=>e("h2",null,"您没有访问权限!",-1)),C=a(()=>e("h6",null,"对不起,您没有访问权限,请不要进行非法操作!您可以返回主页面",-1)),G={class:"list-unstyled"},q={class:"link-type"},N=["src"],S={__name:"401",setup(s){let{proxy:c}=g();const l=f(I+"?"+ +new Date);function i(){c.$route.query.noGoBack?c.$router.push({path:"/"}):c.$router.go(-1)}return(V,$)=>{const u=n("el-button"),p=n("router-link"),r=n("el-col"),d=n("el-row");return m(),k("div",v,[t(u,{icon:"arrow-left",class:"pan-back-btn",onClick:i},{default:o(()=>[_(" 返回 ")]),_:1}),t(d,null,{default:o(()=>[t(r,{span:12},{default:o(()=>[y,B,C,e("ul",G,[e("li",q,[t(p,{to:"/"},{default:o(()=>[_(" 回首页 ")]),_:1})])])]),_:1}),t(r,{span:12},{default:o(()=>[e("img",{src:b(l),width:"313",height:"428",alt:"Girl has dropped her ice cream."},null,8,N)]),_:1})]),_:1})])}}},D=h(S,[["__scopeId","data-v-980b8710"]]);export{D as default};
.errPage-container[data-v-980b8710]{width:800px;max-width:100%;margin:100px auto}.errPage-container .pan-back-btn[data-v-980b8710]{background:#008489;color:#fff;border:none!important}.errPage-container .pan-gif[data-v-980b8710]{margin:0 auto;display:block}.errPage-container .pan-img[data-v-980b8710]{display:block;margin:0 auto;width:100%}.errPage-container .text-jumbo[data-v-980b8710]{font-size:60px;font-weight:700;color:#484848}.errPage-container .list-unstyled[data-v-980b8710]{font-size:14px}.errPage-container .list-unstyled li[data-v-980b8710]{padding-bottom:5px}.errPage-container .list-unstyled a[data-v-980b8710]{color:#008489;text-decoration:none}.errPage-container .list-unstyled a[data-v-980b8710]:hover{text-decoration:underline}
.wscn-http404-container[data-v-e3a2dc79]{transform:translate(-50%,-50%);position:absolute;top:40%;left:50%}.wscn-http404[data-v-e3a2dc79]{position:relative;width:1200px;padding:0 50px;overflow:hidden}.wscn-http404 .pic-404[data-v-e3a2dc79]{position:relative;float:left;width:600px;overflow:hidden}.wscn-http404 .pic-404__parent[data-v-e3a2dc79]{width:100%}.wscn-http404 .pic-404__child[data-v-e3a2dc79]{position:absolute}.wscn-http404 .pic-404__child.left[data-v-e3a2dc79]{width:80px;top:17px;left:220px;opacity:0;animation-name:cloudLeft-e3a2dc79;animation-duration:2s;animation-timing-function:linear;animation-fill-mode:forwards;animation-delay:1s}.wscn-http404 .pic-404__child.mid[data-v-e3a2dc79]{width:46px;top:10px;left:420px;opacity:0;animation-name:cloudMid-e3a2dc79;animation-duration:2s;animation-timing-function:linear;animation-fill-mode:forwards;animation-delay:1.2s}.wscn-http404 .pic-404__child.right[data-v-e3a2dc79]{width:62px;top:100px;left:500px;opacity:0;animation-name:cloudRight-e3a2dc79;animation-duration:2s;animation-timing-function:linear;animation-fill-mode:forwards;animation-delay:1s}@keyframes cloudLeft-e3a2dc79{0%{top:17px;left:220px;opacity:0}20%{top:33px;left:188px;opacity:1}80%{top:81px;left:92px;opacity:1}to{top:97px;left:60px;opacity:0}}@keyframes cloudMid-e3a2dc79{0%{top:10px;left:420px;opacity:0}20%{top:40px;left:360px;opacity:1}70%{top:130px;left:180px;opacity:1}to{top:160px;left:120px;opacity:0}}@keyframes cloudRight-e3a2dc79{0%{top:100px;left:500px;opacity:0}20%{top:120px;left:460px;opacity:1}80%{top:180px;left:340px;opacity:1}to{top:200px;left:300px;opacity:0}}.wscn-http404 .bullshit[data-v-e3a2dc79]{position:relative;float:left;width:300px;padding:30px 0;overflow:hidden}.wscn-http404 .bullshit__oops[data-v-e3a2dc79]{font-size:32px;font-weight:700;line-height:40px;color:#1482f0;opacity:0;margin-bottom:20px;animation-name:slideUp-e3a2dc79;animation-duration:.5s;animation-fill-mode:forwards}.wscn-http404 .bullshit__headline[data-v-e3a2dc79]{font-size:20px;line-height:24px;color:#222;font-weight:700;opacity:0;margin-bottom:10px;animation-name:slideUp-e3a2dc79;animation-duration:.5s;animation-delay:.1s;animation-fill-mode:forwards}.wscn-http404 .bullshit__info[data-v-e3a2dc79]{font-size:13px;line-height:21px;color:gray;opacity:0;margin-bottom:30px;animation-name:slideUp-e3a2dc79;animation-duration:.5s;animation-delay:.2s;animation-fill-mode:forwards}.wscn-http404 .bullshit__return-home[data-v-e3a2dc79]{display:block;float:left;width:110px;height:36px;background:#1482f0;border-radius:100px;text-align:center;color:#fff;opacity:0;font-size:14px;line-height:36px;cursor:pointer;animation-name:slideUp-e3a2dc79;animation-duration:.5s;animation-delay:.3s;animation-fill-mode:forwards}@keyframes slideUp-e3a2dc79{0%{transform:translateY(60px);opacity:0}to{transform:translateY(0);opacity:1}}
import{_,x as i,c as d,d as l,e as r,k as s,y as n,i as p,f as h,h as m,z as u,m as v,p as f,q as g}from"./index-BXdSy86L.js";const x=""+new URL("404-N4aRkdWY.png",import.meta.url).href,e=""+new URL("404_cloud-CPexjtDj.png",import.meta.url).href,a=t=>(f("data-v-e3a2dc79"),t=t(),g(),t),k={class:"wscn-http404-container"},w={class:"wscn-http404"},b=u('<div class="pic-404" data-v-e3a2dc79><img class="pic-404__parent" src="'+x+'" alt="404" data-v-e3a2dc79><img class="pic-404__child left" src="'+e+'" alt="404" data-v-e3a2dc79><img class="pic-404__child mid" src="'+e+'" alt="404" data-v-e3a2dc79><img class="pic-404__child right" src="'+e+'" alt="404" data-v-e3a2dc79></div>',1),N={class:"bullshit"},S=a(()=>s("div",{class:"bullshit__oops"}," 404错误! ",-1)),I={class:"bullshit__headline"},R=a(()=>s("div",{class:"bullshit__info"}," 对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。 ",-1)),V={__name:"404",setup(t){let c=i(()=>"找不到网页!");return(B,C)=>{const o=d("router-link");return l(),r("div",k,[s("div",w,[b,s("div",N,[S,s("div",I,n(p(c)),1),R,h(o,{to:"/",class:"bullshit__return-home"},{default:m(()=>[v(" 返回首页 ")]),_:1})])])])}}},U=_(V,[["__scopeId","data-v-e3a2dc79"]]);export{U as default};
差异被折叠。
import{I as e}from"./index-BXdSy86L.js";function t(a){return e({url:"/djl-role/dispatch/query/list",method:"get",params:a})}function s(a){return e({url:"/djl-role/salary/advance/insert",method:"post",data:a})}function d(a){return e({url:"/djl-role/salary/advance/by/baseCode",method:"get",params:a})}function n(a){return e({url:"/djl-role/salary/advance/update",method:"post",data:a})}export{n as a,s as b,t as d,d as s};
import{r as s,A as P,B as R,c as r,C as E,d as x,e as A,D as h,E as V,i as l,f as e,h as o,G as L,l as y,m as u,y as N,v as Q}from"./index-BXdSy86L.js";import{d as $}from"./dispatch-D5OGiGsN.js";const F={class:"app-container"},H={__name:"index",setup(G){const{proxy:w}=Q(),v=s([]);s(!1);const m=s(!0),k=s(!0),f=s(0),C=P({form:{},queryParams:{page:1,limit:10}}),{queryParams:a,form:I}=R(C);function _(){m.value=!0,$(a.value).then(d=>{v.value=d.data,f.value=d.count,m.value=!1})}function p(){a.value.page=1,a.value.limit=10,_()}function K(){w.resetForm("queryRef"),p()}function S(d){w.$router.push("dispatch/salary/advance?id="+d.id+"&code="+d.base_code)}return _(),(d,i)=>{const b=r("el-input"),c=r("el-form-item"),g=r("el-button"),U=r("el-form"),t=r("el-table-column"),q=r("el-table"),B=r("pagination"),D=E("loading");return x(),A("div",F,[h(e(U,{model:l(a),ref:"queryRef",inline:!0},{default:o(()=>[e(c,{label:"派遣公司名称",prop:"name"},{default:o(()=>[e(b,{modelValue:l(a).name,"onUpdate:modelValue":i[0]||(i[0]=n=>l(a).name=n),clearable:"",style:{width:"300px"},onKeyup:y(p,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),e(c,{label:"默认账号",prop:"default_account"},{default:o(()=>[e(b,{modelValue:l(a).default_account,"onUpdate:modelValue":i[1]||(i[1]=n=>l(a).default_account=n),clearable:"",style:{width:"300px"},onKeyup:y(p,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),e(c,{label:"编号",prop:"base_code"},{default:o(()=>[e(b,{modelValue:l(a).base_code,"onUpdate:modelValue":i[2]||(i[2]=n=>l(a).base_code=n),clearable:"",style:{width:"300px"},onKeyup:y(p,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),e(c,null,{default:o(()=>[e(g,{type:"primary",icon:"Search",onClick:p},{default:o(()=>[u("搜索")]),_:1}),e(g,{icon:"Refresh",onClick:K},{default:o(()=>[u("重置")]),_:1})]),_:1})]),_:1},8,["model"]),[[V,l(k)]]),h((x(),L(q,{data:l(v)},{default:o(()=>[e(t,{label:"编号",align:"left",prop:"base_code",width:"200",fixed:""}),e(t,{label:"派遣公司名称",align:"left",prop:"name",width:"260",fixed:""}),e(t,{label:"默认账号",align:"left",prop:"default_account",width:"180",fixed:""}),e(t,{label:"前缀",align:"left",prop:"prefix",width:"100"}),e(t,{label:"规模",align:"center",prop:"scale"}),e(t,{label:"联系人",align:"center",prop:"contracts"}),e(t,{label:"联系电话",align:"center",prop:"contract_number",width:"120"}),e(t,{label:"公司地址(省市县区 )",align:"left",prop:"district",width:"200"}),e(t,{label:"详细地址",align:"left",prop:"address",width:"200"}),e(t,{label:"是否使用电子合同",align:"center",prop:"line_contract",width:"180"},{default:o(({row:n})=>[u(N(n.line_contract=="1"?"是":"否"),1)]),_:1}),e(t,{label:"统一社会信用代码",align:"left",prop:"id_no",width:"180"}),e(t,{label:"电子签章应用id",align:"left",prop:"seal_id",width:"180"}),e(t,{label:"电子签章应用秘钥",align:"left",prop:"secret_key",width:"280"}),e(t,{label:"注册日期",align:"left",prop:"register_time",width:"180"}),e(t,{label:"创建时间",align:"left",prop:"create_time",width:"180"}),e(t,{label:"更新时间",align:"left",prop:"update_time",width:"180"}),e(t,{label:"操作",width:"180",align:"center","class-name":"small-padding fixed-width"},{default:o(({row:n})=>[e(g,{link:"",type:"primary",onClick:T=>S(n),icon:"EditPen"},{default:o(()=>[u("设置预支工资")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[D,l(m)]]),h(e(B,{total:l(f),page:l(a).page,"onUpdate:page":i[3]||(i[3]=n=>l(a).page=n),limit:l(a).limit,"onUpdate:limit":i[4]||(i[4]=n=>l(a).limit=n),onPagination:_},null,8,["total","page","limit"]),[[V,l(f)>0]])])}}};export{H as default};
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论