main
岩仔88 4 weeks ago
parent 438d6b9ae8
commit a12a7bb2ec

@ -116,8 +116,10 @@ class WorkMainController extends Controller
$userid = $request->get('userid');//中间件产生的参数 $userid = $request->get('userid');//中间件产生的参数
$userInfo = DB::table('users')->where(['id' => $userid])->get(); $userInfo = DB::table('users')->where(['id' => $userid])->get();
$department_id = $userInfo[0]->department_id; $department_id = $userInfo[0]->department_id;
$department = DB::table('s_department')->where(['id' => $department_id,'is_del'=>0])->first(); $department = DB::table('s_department')->where(['id' => $department_id,'is_del'=>0])->first();
// if(!$department) return \Yz::echoError1('科室信息不存在'); if(!$department){
return \Yz::Return(true,'用户所属科室信息不存在',['list'=>[],'count'=>0]);
}
$list=DB::table('s_list') $list=DB::table('s_list')
->leftJoin('s_period','s_list.reservation_time','=','s_period.id') ->leftJoin('s_period','s_list.reservation_time','=','s_period.id')

@ -269,6 +269,10 @@
}, },
ServiceDate:{ ServiceDate:{
type:String type:String
},
do_user:{
type:[String,Number],
default:null
} }
}) })
let loading = ref(false) let loading = ref(false)
@ -562,7 +566,8 @@
mainlistid: startYuYueInfo.value.mainListids, mainlistid: startYuYueInfo.value.mainListids,
planid: startYuYueInfo.value.planInfo.id, planid: startYuYueInfo.value.planInfo.id,
appointment_type: props.YuYueInfo.appointment_type, appointment_type: props.YuYueInfo.appointment_type,
dotype: type dotype: type,
do_user: props.do_user
}).then(res => { }).then(res => {
loading.value = false loading.value = false
if (res.status) { if (res.status) {

@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<el-dialog v-model="YuYueDialogVisible" width="100%" @close="YuYueDialogClose()"> <el-dialog v-model="YuYueDialogVisible" width="100%" @close="YuYueDialogClose()">
<YuYue style="margin-top: -30px;" :key="YuYueKey" :YuYueInfo="YuYueInfo" :ServiceDate="ServiceDateTime.substr(0, 10)"></YuYue> <YuYue style="margin-top: -30px;" :key="YuYueKey" :YuYueInfo="YuYueInfo" :ServiceDate="ServiceDateTime.substr(0, 10)" :do_user="loginUserinfo.id"></YuYue>
</el-dialog> </el-dialog>
<div class="head"> <div class="head">
<div class="head"> <div class="head">
@ -212,7 +212,8 @@
<script setup> <script setup>
import { import {
ref, ref,
onMounted onMounted,
watch
} from 'vue'; } from 'vue';
import { import {
ElMessage, ElMessage,
@ -227,6 +228,13 @@
CheckEntrstItemGroup, CheckEntrstItemGroup,
getMainDetail,GetLoglist getMainDetail,GetLoglist
} from '@/api/api.js' } from '@/api/api.js'
import {
usePinia
} from '@/stores/index.js'
let pinia = usePinia()
let loginType = ref('');
let loginUserinfo = ref(null);
let loading = ref(false) let loading = ref(false)
let searchInfo = ref({}) let searchInfo = ref({})
let tableData = ref([]) let tableData = ref([])
@ -316,6 +324,7 @@
CancelYuYue({ CancelYuYue({
MainListId: tableSelected.value[0].id, MainListId: tableSelected.value[0].id,
reg_num: tableSelected.value[0].reg_num, reg_num: tableSelected.value[0].reg_num,
do_user: loginUserinfo.value.id,
password: value password: value
}).then(res => { }).then(res => {
loading.value = false loading.value = false
@ -602,8 +611,28 @@
} }
}) })
} }
const getStorageData = () => {
if (sessionStorage.getItem("LoginUserInfo")) {
loginUserinfo.value = JSON.parse(sessionStorage.getItem("LoginUserInfo"))
}
}
onMounted(() => { onMounted(() => {
GetServiceDate() loginType.value = sessionStorage.getItem('LoginType')
if (pinia.baseInfoStatus) {
getStorageData()
GetServiceDate()
} else {
const unwatch = watch(
() => pinia.baseInfoStatus,
(newVal) => {
if (newVal) {
getStorageData()
GetServiceDate()
unwatch();
}
}
);
}
}) })
</script> </script>

@ -1,172 +1,163 @@
{ {
"$schema": "https://opencode.ai/config.json", "$schema": "https://opencode.ai/config.json",
"mcp": {
"playwright-server": {
"enabled": true,
"type": "local",
"command": ["npx", "-y", "@executeautomation/playwright-mcp-server"]
}
},
"provider":{ "provider":{
"openai-xianyu": { "minimax-yangzong": {
"name": "xianyu codex", "npm": "@ai-sdk/anthropic",
"options": { "options": {
"api": "openai-responses", "baseURL": "https://api.minimaxi.com/anthropic/v1",
"baseURL": "https://api.asxs.top/v1", "apiKey": "sk-cp-REPHutjIhDvE9FOy_rpzs73QmUndYf_Z6-_9IDgLP6VT3fDt80iRV6I169KiA_xYC1Y2Qj5MwqQ6OJAjSslDPf20V95hAxb3XAjHYXsRxSAOrsqbq2l3o3U"
"apiKey": "sk-7c013cc9d4d9ab9bba95a5df3fe3c97a"
}, },
"models": { "models": {
"gpt-5.3-codex": { "MiniMax-M2.7": {
"name": "GPT-5.3 Codex", "name": "MiniMax-M2.7"
"limit": {
"context": 400000,
"output": 128000
},
"options": {
"store": false
},
"variants": {
"low": {},
"medium": {},
"high": {},
"xhigh": {}
}
},
"gpt-5.4": {
"name": "GPT-5.4",
"limit": {
"context": 1050000,
"output": 128000
},
"options": {
"store": false
},
"variants": {
"low": {},
"medium": {},
"high": {},
"xhigh": {}
}
} }
} }
}, },
"bailian-coding-plan": { "newapi": {
"npm": "@ai-sdk/anthropic", "npm": "@ai-sdk/openai-compatible",
"name": "Model Studio Coding Plan", "name": "NewAPI",
"options": { "options": {
"baseURL": "https://coding.dashscope.aliyuncs.com/apps/anthropic/v1", "baseURL": "http://new-api.soeasy.space:3000/v1",
"apiKey": "sk-sp-08990303176d4bfeb36f8eef6a46484f" "apiKey": "sk-q1CMlQXNjKFjILfpMoO7vZo70Fy6Osy9HfChCB5JAAqZybCk"
}, },
"models": { "models": {
"qwen3.5-plus": { "gpt-5.2": {
"name": "Qwen3.5 Plus", "name": "GPT-5.2",
"modalities": { "modalities": {
"input": ["text", "image"], "input": ["text"],
"output": ["text"] "output": ["text"]
}, },
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 8192
}
},
"limit": { "limit": {
"context": 1000000, "context": 128000,
"output": 65536 "output": 16384
} }
}, },
"qwen3-max-2026-01-23": { "gpt-5.3-codex": {
"name": "Qwen3 Max 2026-01-23", "name": "GPT-5.3 Codex",
"modalities": { "modalities": {
"input": ["text"], "input": ["text"],
"output": ["text"] "output": ["text"]
}, },
"limit": { "limit": {
"context": 262144, "context": 128000,
"output": 32768 "output": 16384
} }
}, },
"qwen3-coder-next": { "gpt-5.4": {
"name": "Qwen3 Coder Next", "name": "GPT-5.4",
"modalities": { "modalities": {
"input": ["text"], "input": ["text"],
"output": ["text"] "output": ["text"]
}, },
"limit": { "limit": {
"context": 262144, "context": 128000,
"output": 65536 "output": 16384
} }
}, },
"qwen3-coder-plus": { "deepseek-v3.2": {
"name": "Qwen3 Coder Plus", "name": "DeepSeek V3.2",
"modalities": { "modalities": {
"input": ["text"], "input": ["text"],
"output": ["text"] "output": ["text"]
}, },
"limit": { "limit": {
"context": 1000000, "context": 128000,
"output": 65536 "output": 16384
} }
}, },
"MiniMax-M2.5": { "glm-5": {
"name": "MiniMax M2.5", "name": "GLM-5",
"modalities": { "modalities": {
"input": ["text"], "input": ["text"],
"output": ["text"] "output": ["text"]
}, },
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 8192
}
},
"limit": { "limit": {
"context": 204800, "context": 128000,
"output": 131072 "output": 16384
} }
}, },
"glm-5": { "grok-4.1-fast": {
"name": "GLM-5", "name": "Grok 4.1 Fast",
"modalities": { "modalities": {
"input": ["text"], "input": ["text"],
"output": ["text"] "output": ["text"]
}, },
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 8192
}
},
"limit": { "limit": {
"context": 202752, "context": 128000,
"output": 16384 "output": 16384
} }
}, },
"glm-4.7": { "grok-4.1-thinking": {
"name": "GLM-4.7", "name": "Grok 4.1 Thinking",
"modalities": { "modalities": {
"input": ["text"], "input": ["text"],
"output": ["text"] "output": ["text"]
}, },
"options": { "limit": {
"thinking": { "context": 128000,
"type": "enabled", "output": 16384
"budgetTokens": 8192 }
} },
"grok-4.20-beta": {
"name": "Grok 4.20 Beta",
"modalities": {
"input": ["text"],
"output": ["text"]
}, },
"limit": { "limit": {
"context": 202752, "context": 128000,
"output": 16384 "output": 16384
} }
}, },
"kimi-k2.5": { "kimi-k2.5": {
"name": "Kimi K2.5", "name": "Kimi K2.5",
"modalities": { "modalities": {
"input": ["text", "image"], "input": ["text"],
"output": ["text"] "output": ["text"]
}, },
"options": { "limit": {
"thinking": { "context": 128000,
"type": "enabled", "output": 16384
"budgetTokens": 8192 }
} },
"minimax-m2.5": {
"name": "MiniMax M2.5",
"modalities": {
"input": ["text"],
"output": ["text"]
}, },
"limit": { "limit": {
"context": 262144, "context": 128000,
"output": 32768 "output": 16384
}
},
"qwen3-coder-plus": {
"name": "Qwen3 Coder Plus",
"modalities": {
"input": ["text"],
"output": ["text"]
},
"limit": {
"context": 128000,
"output": 16384
}
},
"qwen3.5-plus": {
"name": "Qwen3.5 Plus",
"modalities": {
"input": ["text"],
"output": ["text"]
},
"limit": {
"context": 128000,
"output": 16384
} }
} }
} }

@ -0,0 +1,175 @@
{
"$schema": "https://opencode.ai/config.json",
"provider":{
"openai-xianyu": {
"name": "xianyu codex",
"options": {
"api": "openai-responses",
"baseURL": "https://api.asxs.top/v1",
"apiKey": "sk-7c013cc9d4d9ab9bba95a5df3fe3c97a"
},
"models": {
"gpt-5.3-codex": {
"name": "GPT-5.3 Codex",
"limit": {
"context": 400000,
"output": 128000
},
"options": {
"store": false
},
"variants": {
"low": {},
"medium": {},
"high": {},
"xhigh": {}
}
},
"gpt-5.4": {
"name": "GPT-5.4",
"limit": {
"context": 1050000,
"output": 128000
},
"options": {
"store": false
},
"variants": {
"low": {},
"medium": {},
"high": {},
"xhigh": {}
}
}
}
},
"bailian-coding-plan": {
"npm": "@ai-sdk/anthropic",
"name": "Model Studio Coding Plan",
"options": {
"baseURL": "https://coding.dashscope.aliyuncs.com/apps/anthropic/v1",
"apiKey": "sk-sp-08990303176d4bfeb36f8eef6a46484f"
},
"models": {
"qwen3.5-plus": {
"name": "Qwen3.5 Plus",
"modalities": {
"input": ["text", "image"],
"output": ["text"]
},
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 8192
}
},
"limit": {
"context": 1000000,
"output": 65536
}
},
"qwen3-max-2026-01-23": {
"name": "Qwen3 Max 2026-01-23",
"modalities": {
"input": ["text"],
"output": ["text"]
},
"limit": {
"context": 262144,
"output": 32768
}
},
"qwen3-coder-next": {
"name": "Qwen3 Coder Next",
"modalities": {
"input": ["text"],
"output": ["text"]
},
"limit": {
"context": 262144,
"output": 65536
}
},
"qwen3-coder-plus": {
"name": "Qwen3 Coder Plus",
"modalities": {
"input": ["text"],
"output": ["text"]
},
"limit": {
"context": 1000000,
"output": 65536
}
},
"MiniMax-M2.5": {
"name": "MiniMax M2.5",
"modalities": {
"input": ["text"],
"output": ["text"]
},
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 8192
}
},
"limit": {
"context": 204800,
"output": 131072
}
},
"glm-5": {
"name": "GLM-5",
"modalities": {
"input": ["text"],
"output": ["text"]
},
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 8192
}
},
"limit": {
"context": 202752,
"output": 16384
}
},
"glm-4.7": {
"name": "GLM-4.7",
"modalities": {
"input": ["text"],
"output": ["text"]
},
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 8192
}
},
"limit": {
"context": 202752,
"output": 16384
}
},
"kimi-k2.5": {
"name": "Kimi K2.5",
"modalities": {
"input": ["text", "image"],
"output": ["text"]
},
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 8192
}
},
"limit": {
"context": 262144,
"output": 32768
}
}
}
}
}
}
Loading…
Cancel
Save