update code

dev_xds
haha 2024-05-25 15:32:33 +08:00
parent 3dc0328cbe
commit e520f4dd45
4 changed files with 11 additions and 4 deletions

View File

@ -0,0 +1 @@
<svg class="icon" style="vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="732"><path d="M78.697006 291.684329L464.648823 120.095559a101.13599 101.13599 0 0 1 82.151644 0l385.951817 171.58877a50.567995 50.567995 0 0 1-0.044696 92.387077L546.75577 555.660176a101.13599 101.13599 0 0 1-82.151643 0L78.65231 384.071406A50.567995 50.567995 0 0 1 78.697006 291.684329z" fill="#0594E6" p-id="733"></path><path d="M354.392471 319.348336l133.641683-59.445966a30.214377 30.214377 0 0 1 24.582918 0l133.641683 59.445966a15.107188 15.107188 0 0 1 0.044697 27.577564l-133.641684 59.445967a30.214377 30.214377 0 0 1-24.627614-0.044697l-133.641683-59.445966a15.107188 15.107188 0 0 1 0-27.532868z" fill="#FFFFFF" p-id="734"></path><path d="M884.93991 472.808856l47.786756 21.238558a50.567995 50.567995 0 0 1 0 92.41301L546.766445 758.075557a101.13599 101.13599 0 0 1-82.172992 0L78.633232 586.460424a50.567995 50.567995 0 0 1 0-92.41301L126.419987 472.808856 464.593453 623.122221a101.13599 101.13599 0 0 0 72.185813 3.792599l9.987179-3.792599L884.93991 472.808856z" fill="#0594E6" p-id="735"></path><path d="M884.93991 675.144045l47.786756 21.238558a50.567995 50.567995 0 0 1 0 92.413011L546.766445 960.347536a101.13599 101.13599 0 0 1-82.172992 0L78.633232 788.858824a50.567995 50.567995 0 0 1 0-92.413011L126.419987 675.080835 464.593453 825.52062a101.13599 101.13599 0 0 0 72.185813 3.7926l9.987179-3.7926L884.93991 675.144045z" fill="#FA8F31" p-id="736"></path></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -0,0 +1 @@
<svg class="icon" style="vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="732"><path d="M78.697006 291.684329L464.648823 120.095559a101.13599 101.13599 0 0 1 82.151644 0l385.951817 171.58877a50.567995 50.567995 0 0 1-0.044696 92.387077L546.75577 555.660176a101.13599 101.13599 0 0 1-82.151643 0L78.65231 384.071406A50.567995 50.567995 0 0 1 78.697006 291.684329z" fill="#0594E6" p-id="733"></path><path d="M354.392471 319.348336l133.641683-59.445966a30.214377 30.214377 0 0 1 24.582918 0l133.641683 59.445966a15.107188 15.107188 0 0 1 0.044697 27.577564l-133.641684 59.445967a30.214377 30.214377 0 0 1-24.627614-0.044697l-133.641683-59.445966a15.107188 15.107188 0 0 1 0-27.532868z" fill="#FFFFFF" p-id="734"></path><path d="M884.93991 472.808856l47.786756 21.238558a50.567995 50.567995 0 0 1 0 92.41301L546.766445 758.075557a101.13599 101.13599 0 0 1-82.172992 0L78.633232 586.460424a50.567995 50.567995 0 0 1 0-92.41301L126.419987 472.808856 464.593453 623.122221a101.13599 101.13599 0 0 0 72.185813 3.792599l9.987179-3.792599L884.93991 472.808856z" fill="#0594E6" p-id="735"></path><path d="M884.93991 675.144045l47.786756 21.238558a50.567995 50.567995 0 0 1 0 92.413011L546.766445 960.347536a101.13599 101.13599 0 0 1-82.172992 0L78.633232 788.858824a50.567995 50.567995 0 0 1 0-92.413011L126.419987 675.080835 464.593453 825.52062a101.13599 101.13599 0 0 0 72.185813 3.7926l9.987179-3.7926L884.93991 675.144045z" fill="#FA8F31" p-id="736"></path></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -8,12 +8,12 @@
</template> </template>
</right-toolbar> </right-toolbar>
</template> </template>
<el-tabs type="card" v-model="activeName" :key="elKey"> <el-tabs type="card" v-model="activeName" :key="elKey" @tab-click="doTabClick">
<el-tab-pane :label="'' + it.deptName" :name="'' + it.deptId" :key="idx" v-for="(it, idx) in depts"> <el-tab-pane :label="'' + it.deptName" :name="'' + it.deptId" :key="idx" v-for="(it, idx) in depts">
<div> <div>
<el-button type="primary" @click="doAdd"></el-button> <el-button type="primary" @click="doAdd"></el-button>
<el-button style="margin-right:12px;" type="danger" :disabled="multiple" @click="handleDelete"></el-button> <el-button style="margin-right:12px;" type="danger" :disabled="multiple" @click="handleDelete"></el-button>
<div style="display: inline-block;width:200px;position: relative;top: 14px;"> <div style="display: inline-block;width:200px;position: relative;top: 12px;">
<treeselect v-model="standType" :options="options" :show-count="true" placeholder="请选择类型" /> <treeselect v-model="standType" :options="options" :show-count="true" placeholder="请选择类型" />
</div> </div>
<el-button type="success" style="margin-left:12px;" @click="doQuery"></el-button> <el-button type="success" style="margin-left:12px;" @click="doQuery"></el-button>
@ -125,6 +125,11 @@ export default {
}, },
methods: { methods: {
doTabClick(){
setTimeout(()=>{
this.doQuery();
},400);
},
handleDelete(row) { handleDelete(row) {
const ids = row?row.id || this.ids:this.ids; const ids = row?row.id || this.ids:this.ids;
this.$modal.confirm('是否确认删除标准化管理编号为"' + ids + '"的数据项?') this.$modal.confirm('是否确认删除标准化管理编号为"' + ids + '"的数据项?')

View File

@ -34,8 +34,8 @@ module.exports = {
open: true, open: true,
proxy: { proxy: {
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
target: `http://127.0.0.1:8090/jhapi`, //target: `http://127.0.0.1:8090/jhapi`,
//target: `http://192.168.126.20:808/jhapi`, target: `http://192.168.126.20:808/jhapi`,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: '' ['^' + process.env.VUE_APP_BASE_API]: ''