|
@@ -0,0 +1,521 @@
|
|
|
|
|
+<template>
|
|
|
|
|
+ <div class="dispatch-page">
|
|
|
|
|
+ <!-- 内容工具栏:页头标题由外壳提供 -->
|
|
|
|
|
+ <div class="toolbar">
|
|
|
|
|
+ <div class="toolbar-left">
|
|
|
|
|
+ <el-select
|
|
|
|
|
+ v-if="orgs.length > 1"
|
|
|
|
|
+ v-model="orgId"
|
|
|
|
|
+ placeholder="选择机构"
|
|
|
|
|
+ style="width:220px"
|
|
|
|
|
+ @change="reloadPool"
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-option v-for="o in orgs" :key="o.id" :label="o.name" :value="o.id" />
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ <span v-else-if="orgs.length === 1" class="toolbar-context">{{ orgs[0].name }}</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="toolbar-right">
|
|
|
|
|
+ <el-button icon="el-icon-refresh" @click="reloadPool">刷新</el-button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 顶部统计 -->
|
|
|
|
|
+ <div class="card stats-row">
|
|
|
|
|
+ <div class="stat-cell"><div class="stat-num">{{ stats.todayCreated }}</div><div class="stat-label">今日派单</div></div>
|
|
|
|
|
+ <div class="stat-cell"><div class="stat-num">{{ stats.pending }}</div><div class="stat-label">待接单</div></div>
|
|
|
|
|
+ <div class="stat-cell"><div class="stat-num">{{ stats.accepted }}</div><div class="stat-label">进行中</div></div>
|
|
|
|
|
+ <div class="stat-cell"><div class="stat-num">{{ stats.done }}</div><div class="stat-label">已完成</div></div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 双 Tab -->
|
|
|
|
|
+ <div class="tab-row">
|
|
|
|
|
+ <button class="chip" :class="{ on: tab === 'create' }" @click="tab = 'create'">建单</button>
|
|
|
|
|
+ <button class="chip" :class="{ on: tab === 'pool' }" @click="tab = 'pool'">派单池</button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 建单向导 -->
|
|
|
|
|
+ <div v-if="tab === 'create'" class="card">
|
|
|
|
|
+ <div class="steps">
|
|
|
|
|
+ <div class="step" :class="{ on: step === 1 }"><i>1</i>家庭信息</div>
|
|
|
|
|
+ <div class="step-line"></div>
|
|
|
|
|
+ <div class="step" :class="{ on: step === 2 }"><i>2</i>服务项与时间窗</div>
|
|
|
|
|
+ <div class="step-line"></div>
|
|
|
|
|
+ <div class="step" :class="{ on: step === 3 }"><i>3</i>金额与指派</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 步骤1 家庭信息 -->
|
|
|
|
|
+ <div v-if="step === 1" class="form-body">
|
|
|
|
|
+ <el-form label-width="110px">
|
|
|
|
|
+ <el-form-item label="客户称呼" required>
|
|
|
|
|
+ <el-input v-model="wizard.familyName" placeholder="如:李阿姨 / 陈家村李大哥" maxlength="50" style="width:360px" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="联系电话">
|
|
|
|
|
+ <el-input v-model="wizard.contactPhone" placeholder="11 位手机号(选填)" maxlength="20" style="width:240px" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="服务地址">
|
|
|
|
|
+ <el-input v-model="wizard.address" type="textarea" :rows="2" placeholder="详细地址(选填)" maxlength="200" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-form>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 步骤2 服务项与时间窗 -->
|
|
|
|
|
+ <div v-else-if="step === 2" class="form-body">
|
|
|
|
|
+ <el-form label-width="110px">
|
|
|
|
|
+ <el-form-item label="服务类型">
|
|
|
|
|
+ <el-select v-model="wizard.serviceType" style="width:220px">
|
|
|
|
|
+ <el-option label="家庭保洁" value="cleaning" />
|
|
|
|
|
+ <el-option label="健康随访" value="followup" />
|
|
|
|
|
+ <el-option label="营养咨询" value="nutrition" />
|
|
|
|
|
+ <el-option label="康复陪护" value="rehab" />
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="服务项">
|
|
|
|
|
+ <el-input v-model="wizard.serviceItems" type="textarea" :rows="2" placeholder="具体服务内容(选填)" maxlength="300" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="预约日期">
|
|
|
|
|
+ <el-date-picker v-model="wizard.orderDate" type="date" value-format="yyyy-MM-dd" placeholder="选择日期" style="width:180px" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="服务时间窗" required>
|
|
|
|
|
+ <el-time-picker v-model="wizard.startAt" format="yyyy-MM-dd HH:mm" value-format="yyyy-MM-dd HH:mm" placeholder="开始时间" style="width:200px" />
|
|
|
|
|
+ <span class="time-sep">至</span>
|
|
|
|
|
+ <el-time-picker v-model="wizard.endAt" format="yyyy-MM-dd HH:mm" value-format="yyyy-MM-dd HH:mm" placeholder="结束时间" style="width:200px" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-form>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 步骤3 金额与指派 -->
|
|
|
|
|
+ <div v-else-if="step === 3" class="form-body">
|
|
|
|
|
+ <el-form label-width="110px">
|
|
|
|
|
+ <el-form-item label="服务金额(元)" required>
|
|
|
|
|
+ <el-input v-model="wizard.amountYuan" type="number" min="0" placeholder="单位:元" style="width:180px" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="平台费(元)">
|
|
|
|
|
+ <el-input v-model="wizard.platformFeeYuan" type="number" min="0" placeholder="选填,默认 0" style="width:180px" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="指派服务人员">
|
|
|
|
|
+ <el-button :disabled="!orgId" @click="pickerVisible = true">
|
|
|
|
|
+ {{ pickedWorker ? pickedWorker.name : '从资质池选择(选填)' }}
|
|
|
|
|
+ </el-button>
|
|
|
|
|
+ <span class="form-tip">仅可选资质已生效的服务人员;留空则只建单不指派</span>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="备注">
|
|
|
|
|
+ <el-input v-model="wizard.remark" type="textarea" :rows="2" maxlength="200" placeholder="选填" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-form>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 向导按钮 -->
|
|
|
|
|
+ <div class="wizard-foot">
|
|
|
|
|
+ <el-button v-if="step > 1" @click="step = step - 1">上一步</el-button>
|
|
|
|
|
+ <el-button v-if="step < 3" type="primary" @click="nextStep">下一步</el-button>
|
|
|
|
|
+ <el-button v-else type="primary" :loading="creating" @click="confirmCreate">提交建单</el-button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 派单池 -->
|
|
|
|
|
+ <div v-else-if="tab === 'pool'" class="card table-card">
|
|
|
|
|
+ <el-table :data="pool" v-loading="poolLoading" style="width:100%" empty-text="暂无派单池工单">
|
|
|
|
|
+ <el-table-column prop="orderNo" label="工单号" min-width="170" />
|
|
|
|
|
+ <el-table-column prop="familyName" label="客户" width="100" />
|
|
|
|
|
+ <el-table-column prop="serviceType" label="服务类型" width="110">
|
|
|
|
|
+ <template slot-scope="{ row }">{{ serviceLabel(row.serviceType) }}</template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="服务人员" width="140">
|
|
|
|
|
+ <template slot-scope="{ row }">
|
|
|
|
|
+ <span v-if="row.workerId">{{ row.workerName }}</span>
|
|
|
|
|
+ <span v-else class="muted">待分配</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="金额" width="100">
|
|
|
|
|
+ <template slot-scope="{ row }">¥{{ fenToYuan(row.amount) }}</template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="状态" width="90">
|
|
|
|
|
+ <template slot-scope="{ row }">
|
|
|
|
|
+ <el-tag :type="statusMap[row.status] ? statusMap[row.status].type : 'info'" size="mini">
|
|
|
|
|
+ {{ statusMap[row.status] ? statusMap[row.status].label : row.status }}
|
|
|
|
|
+ </el-tag>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column prop="createdAt" label="建单时间" width="160" />
|
|
|
|
|
+ <el-table-column label="操作" width="180" fixed="right">
|
|
|
|
|
+ <template slot-scope="{ row }">
|
|
|
|
|
+ <template v-if="row.status === 'pending'">
|
|
|
|
|
+ <el-button v-if="row.workerId" type="primary" size="mini" @click="openAssign(row, true)">改派</el-button>
|
|
|
|
|
+ <el-button v-else type="primary" size="mini" @click="openAssign(row, false)">指派</el-button>
|
|
|
|
|
+ <el-button size="mini" @click="cancelOrder(row)">取消</el-button>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <span v-else-if="row.status === 'accepted'" class="muted">履约中</span>
|
|
|
|
|
+ <span v-else>-</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ </el-table>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 服务人员选择器(资质闸口) -->
|
|
|
|
|
+ <worker-picker-dialog v-model="pickerVisible" :org-id="orgId" @select="onWorkerSelected" />
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 改派原因输入 -->
|
|
|
|
|
+ <el-dialog title="改派原因" :visible.sync="reassignVisible" width="400px" :close-on-click-modal="false">
|
|
|
|
|
+ <el-input v-model="assignRemark" placeholder="改派原因(选填,将留痕到派单记录)" maxlength="100" />
|
|
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
|
|
+ <el-button @click="reassignVisible = false">取消</el-button>
|
|
|
|
|
+ <el-button type="primary" :loading="assigning" @click="confirmReassign">确认改派</el-button>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </el-dialog>
|
|
|
|
|
+ </div>
|
|
|
|
|
+</template>
|
|
|
|
|
+
|
|
|
|
|
+<script>
|
|
|
|
|
+import { dispatchList, dispatchAssign, dispatchReassign, dispatchCancel, orderCreate } from '@/api/dispatch'
|
|
|
|
|
+import { orgList } from '@/api/org'
|
|
|
|
|
+import { fenToYuan, yuanToFen } from '@/utils/fen'
|
|
|
|
|
+import WorkerPickerDialog from '@/components/WorkerPickerDialog.vue'
|
|
|
|
|
+
|
|
|
|
|
+export default {
|
|
|
|
|
+ name: 'Dispatch',
|
|
|
|
|
+ components: { WorkerPickerDialog },
|
|
|
|
|
+ data: function () {
|
|
|
|
|
+ return {
|
|
|
|
|
+ tab: 'pool',
|
|
|
|
|
+ step: 1,
|
|
|
|
|
+ orgId: null,
|
|
|
|
|
+ orgs: [],
|
|
|
|
|
+ pool: [],
|
|
|
|
|
+ poolLoading: false,
|
|
|
|
|
+ creating: false,
|
|
|
|
|
+ wizard: this.resetWizard(),
|
|
|
|
|
+ pickedWorker: null,
|
|
|
|
|
+ pickerVisible: false,
|
|
|
|
|
+ assigningRow: null,
|
|
|
|
|
+ isReassign: false,
|
|
|
|
|
+ reassignVisible: false,
|
|
|
|
|
+ assignRemark: '',
|
|
|
|
|
+ assigning: false,
|
|
|
|
|
+ statusMap: {
|
|
|
|
|
+ pending: { type: 'warning', label: '待接单' },
|
|
|
|
|
+ accepted: { type: 'success', label: '已接单' },
|
|
|
|
|
+ done: { type: 'info', label: '已完成' },
|
|
|
|
|
+ cancelled: { type: 'info', label: '已取消' }
|
|
|
|
|
+ },
|
|
|
|
|
+ serviceMap: {
|
|
|
|
|
+ cleaning: '家庭保洁',
|
|
|
|
|
+ followup: '健康随访',
|
|
|
|
|
+ nutrition: '营养咨询',
|
|
|
|
|
+ rehab: '康复陪护'
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ computed: {
|
|
|
|
|
+ stats: function () {
|
|
|
|
|
+ var today = new Date().toISOString().substring(0, 10)
|
|
|
|
|
+ var s = { todayCreated: 0, pending: 0, accepted: 0, done: 0 }
|
|
|
|
|
+ this.pool.forEach(function (r) {
|
|
|
|
|
+ if (r.createdAt && r.createdAt.substring(0, 10) === today) s.todayCreated++
|
|
|
|
|
+ if (r.status === 'pending') s.pending++
|
|
|
|
|
+ else if (r.status === 'accepted') s.accepted++
|
|
|
|
|
+ else if (r.status === 'done') s.done++
|
|
|
|
|
+ })
|
|
|
|
|
+ return s
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ mounted: function () {
|
|
|
|
|
+ this.initOrgs()
|
|
|
|
|
+ },
|
|
|
|
|
+ methods: {
|
|
|
|
|
+ fenToYuan,
|
|
|
|
|
+ yuanToFen,
|
|
|
|
|
+ resetWizard: function () {
|
|
|
|
|
+ return {
|
|
|
|
|
+ familyName: '',
|
|
|
|
|
+ contactPhone: '',
|
|
|
|
|
+ address: '',
|
|
|
|
|
+ serviceType: 'cleaning',
|
|
|
|
|
+ serviceItems: '',
|
|
|
|
|
+ orderDate: '',
|
|
|
|
|
+ startAt: '',
|
|
|
|
|
+ endAt: '',
|
|
|
|
|
+ amountYuan: '',
|
|
|
|
|
+ platformFeeYuan: '',
|
|
|
|
|
+ remark: ''
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ serviceLabel: function (type) {
|
|
|
|
|
+ return this.serviceMap[type] || type || '-'
|
|
|
|
|
+ },
|
|
|
|
|
+ initOrgs: function () {
|
|
|
|
|
+ var self = this
|
|
|
|
|
+ orgList().then(function (res) {
|
|
|
|
|
+ self.orgs = res.data && res.data.list ? res.data.list : []
|
|
|
|
|
+ if (self.orgs.length > 0) {
|
|
|
|
|
+ self.orgId = self.orgs[0].id
|
|
|
|
|
+ }
|
|
|
|
|
+ self.reloadPool()
|
|
|
|
|
+ }).catch(function () {
|
|
|
|
|
+ self.reloadPool()
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+ reloadPool: function () {
|
|
|
|
|
+ var self = this
|
|
|
|
|
+ self.poolLoading = true
|
|
|
|
|
+ var payload = { page: 1, size: 50 }
|
|
|
|
|
+ if (self.orgId !== null && self.orgId !== undefined && self.orgId !== '') {
|
|
|
|
|
+ payload.orgId = self.orgId
|
|
|
|
|
+ }
|
|
|
|
|
+ dispatchList(payload).then(function (res) {
|
|
|
|
|
+ self.pool = res.data && res.data.list ? res.data.list : []
|
|
|
|
|
+ }).catch(function () {
|
|
|
|
|
+ self.pool = []
|
|
|
|
|
+ }).finally(function () {
|
|
|
|
|
+ self.poolLoading = false
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+ nextStep: function () {
|
|
|
|
|
+ var self = this
|
|
|
|
|
+ if (self.step === 1) {
|
|
|
|
|
+ if (!self.wizard.familyName || self.wizard.familyName.trim() === '') {
|
|
|
|
|
+ self.$message.warning('客户称呼必填')
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ self.step = 2
|
|
|
|
|
+ } else if (self.step === 2) {
|
|
|
|
|
+ if (!self.wizard.startAt || !self.wizard.endAt) {
|
|
|
|
|
+ self.$message.warning('请选择服务时间窗(开始与结束时间)')
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if (self.wizard.startAt >= self.wizard.endAt) {
|
|
|
|
|
+ self.$message.warning('结束时间须晚于开始时间')
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ self.step = 3
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ confirmCreate: function () {
|
|
|
|
|
+ var self = this
|
|
|
|
|
+ if (!self.orgId) {
|
|
|
|
|
+ self.$message.warning('请先选择机构')
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ var amountFen = yuanToFen(self.wizard.amountYuan)
|
|
|
|
|
+ if (!amountFen || amountFen <= 0) {
|
|
|
|
|
+ self.$message.warning('服务金额必须大于 0')
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ self.creating = true
|
|
|
|
|
+ var data = {
|
|
|
|
|
+ orgId: self.orgId,
|
|
|
|
|
+ familyName: self.wizard.familyName,
|
|
|
|
|
+ contactPhone: self.wizard.contactPhone || undefined,
|
|
|
|
|
+ address: self.wizard.address || undefined,
|
|
|
|
|
+ serviceType: self.wizard.serviceType,
|
|
|
|
|
+ serviceItems: self.wizard.serviceItems || undefined,
|
|
|
|
|
+ orderDate: self.wizard.orderDate || undefined,
|
|
|
|
|
+ startAt: self.wizard.startAt || undefined,
|
|
|
|
|
+ endAt: self.wizard.endAt || undefined,
|
|
|
|
|
+ amount: amountFen,
|
|
|
|
|
+ platformFee: yuanToFen(self.wizard.platformFeeYuan),
|
|
|
|
|
+ remark: self.wizard.remark || undefined
|
|
|
|
|
+ }
|
|
|
|
|
+ orderCreate(data).then(function (res) {
|
|
|
|
|
+ self.$message.success('建单成功,工单号 ' + (res.data && res.data.orderNo ? res.data.orderNo : ''))
|
|
|
|
|
+ self.wizard = self.resetWizard()
|
|
|
|
|
+ self.pickedWorker = null
|
|
|
|
|
+ self.step = 1
|
|
|
|
|
+ self.reloadPool()
|
|
|
|
|
+ }).catch(function () {}).finally(function () {
|
|
|
|
|
+ self.creating = false
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+ openAssign: function (row, isReassign) {
|
|
|
|
|
+ if (!this.orgId) {
|
|
|
|
|
+ this.$message.warning('请先选择机构')
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ this.assigningRow = row
|
|
|
|
|
+ this.isReassign = isReassign
|
|
|
|
|
+ this.assignRemark = ''
|
|
|
|
|
+ if (isReassign) {
|
|
|
|
|
+ this.reassignVisible = true
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.pickerVisible = true
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ onWorkerSelected: function (worker) {
|
|
|
|
|
+ var self = this
|
|
|
|
|
+ self.pickedWorker = worker
|
|
|
|
|
+ if (!worker || !self.assigningRow) return
|
|
|
|
|
+ self.assigning = true
|
|
|
|
|
+ dispatchAssign({
|
|
|
|
|
+ orderId: self.assigningRow.id,
|
|
|
|
|
+ workerId: worker.userId,
|
|
|
|
|
+ serviceType: self.assigningRow.serviceType
|
|
|
|
|
+ }).then(function () {
|
|
|
|
|
+ self.$message.success('已指派给 ' + worker.name)
|
|
|
|
|
+ self.assigningRow = null
|
|
|
|
|
+ self.reloadPool()
|
|
|
|
|
+ }).catch(function () {}).finally(function () {
|
|
|
|
|
+ self.assigning = false
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+ confirmReassign: function () {
|
|
|
|
|
+ var self = this
|
|
|
|
|
+ if (self.assigning) return
|
|
|
|
|
+ // 改派需先选新服务人员(资历闸口),走 WorkerPickerDialog
|
|
|
|
|
+ self.reassignVisible = false
|
|
|
|
|
+ self.pickerVisible = true
|
|
|
|
|
+ },
|
|
|
|
|
+ cancelOrder: function (row) {
|
|
|
|
|
+ var self = this
|
|
|
|
|
+ this.$confirm('确定要取消该工单吗?(状态机校验 + 留痕 cancelled)', '提示', { type: 'warning' }).then(function () {
|
|
|
|
|
+ dispatchCancel({ orderId: row.id }).then(function () {
|
|
|
|
|
+ self.$message.success('工单已取消')
|
|
|
|
|
+ self.reloadPool()
|
|
|
|
|
+ }).catch(function () {})
|
|
|
|
|
+ }).catch(function () {})
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+</script>
|
|
|
|
|
+
|
|
|
|
|
+<style scoped>
|
|
|
|
|
+.dispatch-page {
|
|
|
|
|
+ padding-bottom: 16px;
|
|
|
|
|
+}
|
|
|
|
|
+.toolbar {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ margin-bottom: 16px;
|
|
|
|
|
+}
|
|
|
|
|
+.toolbar-left {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+}
|
|
|
|
|
+.toolbar-right {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+.toolbar-context {
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ color: #1E3A5F;
|
|
|
|
|
+}
|
|
|
|
|
+.stats-row {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
|
+ margin-bottom: 16px;
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+}
|
|
|
|
|
+.stat-cell {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ min-width: 140px;
|
|
|
|
|
+ padding: 14px 20px;
|
|
|
|
|
+ border-right: 1px solid #DCE7F1;
|
|
|
|
|
+}
|
|
|
|
|
+.stat-cell:last-child {
|
|
|
|
|
+ border-right: none;
|
|
|
|
|
+}
|
|
|
|
|
+.stat-num {
|
|
|
|
|
+ font-size: 26px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ font-variant-numeric: tabular-nums;
|
|
|
|
|
+ color: #1E3A5F;
|
|
|
|
|
+}
|
|
|
|
|
+.stat-label {
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: #6B7B8C;
|
|
|
|
|
+ margin-top: 2px;
|
|
|
|
|
+}
|
|
|
|
|
+.tab-row {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ margin-bottom: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+.chip {
|
|
|
|
|
+ border: 1px solid #C3D2DF;
|
|
|
|
|
+ background: #FFFFFF;
|
|
|
|
|
+ color: #3B5A78;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ padding: 6px 18px;
|
|
|
|
|
+ border-radius: 4px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ margin-right: 8px;
|
|
|
|
|
+}
|
|
|
|
|
+.chip.on {
|
|
|
|
|
+ background: #E8F3FC;
|
|
|
|
|
+ border-color: #2E6FA8;
|
|
|
|
|
+ color: #2E6FA8;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+}
|
|
|
|
|
+.card {
|
|
|
|
|
+ background: #FFFFFF;
|
|
|
|
|
+ border: 1px solid #DCE7F1;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ box-shadow: 0 2px 10px rgba(30, 58, 95, .06);
|
|
|
|
|
+ padding: 20px;
|
|
|
|
|
+ margin-bottom: 16px;
|
|
|
|
|
+}
|
|
|
|
|
+.table-card {
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+}
|
|
|
|
|
+.steps {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ margin-bottom: 18px;
|
|
|
|
|
+}
|
|
|
|
|
+.step {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+ color: #6B7B8C;
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+}
|
|
|
|
|
+.step i {
|
|
|
|
|
+ width: 22px;
|
|
|
|
|
+ height: 22px;
|
|
|
|
|
+ border-radius: 50%;
|
|
|
|
|
+ border: 1px solid #C3D2DF;
|
|
|
|
|
+ display: inline-flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ font-style: normal;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+.step.on {
|
|
|
|
|
+ color: #2E6FA8;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+}
|
|
|
|
|
+.step.on i {
|
|
|
|
|
+ background: #2E6FA8;
|
|
|
|
|
+ border-color: #2E6FA8;
|
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
|
+}
|
|
|
|
|
+.step-line {
|
|
|
|
|
+ width: 60px;
|
|
|
|
|
+ height: 1px;
|
|
|
|
|
+ background: #DCE7F1;
|
|
|
|
|
+ margin: 0 14px;
|
|
|
|
|
+}
|
|
|
|
|
+.form-body {
|
|
|
|
|
+ max-width: 720px;
|
|
|
|
|
+}
|
|
|
|
|
+.time-sep {
|
|
|
|
|
+ margin: 0 8px;
|
|
|
|
|
+ color: #6B7B8C;
|
|
|
|
|
+}
|
|
|
|
|
+.form-tip {
|
|
|
|
|
+ margin-left: 10px;
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ color: #6B7B8C;
|
|
|
|
|
+}
|
|
|
|
|
+.wizard-foot {
|
|
|
|
|
+ margin-top: 20px;
|
|
|
|
|
+ border-top: 1px solid #DCE7F1;
|
|
|
|
|
+ padding-top: 16px;
|
|
|
|
|
+}
|
|
|
|
|
+.muted {
|
|
|
|
|
+ color: #6B7B8C;
|
|
|
|
|
+}
|
|
|
|
|
+</style>
|