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

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

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

@ -1,7 +1,7 @@
<template>
<div>
<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>
<div class="head">
<div class="head">
@ -212,7 +212,8 @@
<script setup>
import {
ref,
onMounted
onMounted,
watch
} from 'vue';
import {
ElMessage,
@ -227,6 +228,13 @@
CheckEntrstItemGroup,
getMainDetail,GetLoglist
} 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 searchInfo = ref({})
let tableData = ref([])
@ -316,6 +324,7 @@
CancelYuYue({
MainListId: tableSelected.value[0].id,
reg_num: tableSelected.value[0].reg_num,
do_user: loginUserinfo.value.id,
password: value
}).then(res => {
loading.value = false
@ -602,8 +611,28 @@
}
})
}
const getStorageData = () => {
if (sessionStorage.getItem("LoginUserInfo")) {
loginUserinfo.value = JSON.parse(sessionStorage.getItem("LoginUserInfo"))
}
}
onMounted(() => {
loginType.value = sessionStorage.getItem('LoginType')
if (pinia.baseInfoStatus) {
getStorageData()
GetServiceDate()
} else {
const unwatch = watch(
() => pinia.baseInfoStatus,
(newVal) => {
if (newVal) {
getStorageData()
GetServiceDate()
unwatch();
}
}
);
}
})
</script>

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