Browse Source

update

master
wanggang 1 year ago
parent
commit
eddd29f3fe
  1. 2
      code/.gitignore
  2. 1
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/.gitignore
  3. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/index.js
  4. 18
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js
  5. BIN
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/influxdb/influxd.exe
  6. 6
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/influxdb/influxdb.conf
  7. 11
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/influxdb/start.cmd
  8. 3
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/influxdb/stop.cmd

2
code/.gitignore

@ -17,3 +17,5 @@ obj/
*.db-shm *.db-shm
*.db-wal *.db-wal
influxdb/data/

1
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/.gitignore

@ -1,3 +1,4 @@
files/ files/
btsecsummary/ btsecsummary/
secsummary/ secsummary/
influxdb/data/**

2
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/index.js

@ -8,6 +8,7 @@ export default {
name: "AppForm", name: "AppForm",
template: html`<div v-loading="loading"> template: html`<div v-loading="loading">
<el-form ref="formRef" :model="model" label-width="auto" :inline="inline"> <el-form ref="formRef" :model="model" label-width="auto" :inline="inline">
<template v-if="schema && schema.properties">
<template v-for="(value, prop) in schema.properties"> <template v-for="(value, prop) in schema.properties">
<app-form-item <app-form-item
:parentSchema="schema" :parentSchema="schema"
@ -18,6 +19,7 @@ export default {
:errors="errors" :errors="errors"
/> />
</template> </template>
</template>
<slot></slot> <slot></slot>
<el-form-item v-if="!hideButton"> <el-form-item v-if="!hideButton">
<template #label></template> <template #label></template>

18
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js

@ -264,25 +264,11 @@ export default {
inline inline
mode="import" mode="import"
label-position="left" label-position="left"
:schema="config.import.schema" :schema="config.import?.schema"
v-model="importModel" v-model="importModel"
:hideButton="true" :hideButton="true"
:isQueryForm="true" :isQueryForm="true"
> >
<el-form :model="importModel" style="height:100%;">
<!-- <el-form-item :label="$t('导入模板')">
<el-link type="primary" @click="getImportTemplate">{{$t('下载')}}</el-link>
</el-form-item> -->
<!-- <el-form-item label="是否为备件" label-width="100px">
<el-select v-model="importModel.version">
<el-option v-for="item in versions" :value="item.value" :label="item.label" />
</el-select>
</el-form-item> -->
<!-- <el-form-item label="选择期间" label-width="80px">
<el-select v-model="importModel.factory">
<el-option v-for="item in versions" :value="item.value" :label="item.label" />
</el-select>
</el-form-item> -->
<el-form-item :label="$t('文件')" label-width="80px"> <el-form-item :label="$t('文件')" label-width="80px">
<el-upload <el-upload
ref="uploadRef" ref="uploadRef"
@ -295,10 +281,8 @@ export default {
<el-icon class="el-icon--upload"><ep-upload-filled /></el-icon> <el-icon class="el-icon--upload"><ep-upload-filled /></el-icon>
</el-upload> </el-upload>
</el-form-item> </el-form-item>
</el-form>
</app-form> </app-form>
</template> </template>
<template v-else-if="editFormMode==='filter'"> <template v-else-if="editFormMode==='filter'">
<el-form :model="filterList" inline class="filter"> <el-form :model="filterList" inline class="filter">
<el-row v-for="(item,index) in filterList.filter(o=>!o.hidden)"> <el-row v-for="(item,index) in filterList.filter(o=>!o.hidden)">

BIN
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/influxdb/influxd.exe

Binary file not shown.

6
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/influxdb/influxdb.conf

@ -0,0 +1,6 @@
[meta]
dir = "./data/meta"
[data]
dir = "./data/data"
wal-dir = "./data/wal"

11
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/influxdb/start.cmd

@ -0,0 +1,11 @@
@echo off
tasklist|find /i "influxd.exe"
if %errorlevel% == 0 (
¡¡¡¡exit
)
%1 start mshta vbscript:createobject("wscript.shell").run("""%~0"" ::",0)(window.close)&&exit
start /b ./influxd.exe -config ./influxdb.conf

3
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/influxdb/stop.cmd

@ -0,0 +1,3 @@
@ECHO OFF
taskkill /im influxd.exe /f /t
Loading…
Cancel
Save