mode
This commit is contained in:
parent
8f5d2e335b
commit
f1fe8b40c3
|
@ -62,7 +62,7 @@
|
|||
@size-change="handleSizeChange"
|
||||
@current-change="handleCurrentChange"
|
||||
:page-sizes="[5, 10, 15]"
|
||||
:page-size="page.page"
|
||||
:page-size="page.pagesize"
|
||||
layout="total, sizes, prev, pager, next"
|
||||
:total="total"
|
||||
v-if="page"
|
||||
|
|
|
@ -87,6 +87,7 @@
|
|||
? '#2db7f5'
|
||||
: '#87d068',
|
||||
}"
|
||||
@click="toIndicator(value.value['二级指标'])"
|
||||
>{{ value.value["二级指标"] }}</span
|
||||
>
|
||||
</template>
|
||||
|
@ -257,6 +258,18 @@ export default {
|
|||
return highlight(code, languages.js);
|
||||
},
|
||||
|
||||
toIndicator(val) {
|
||||
console.log(val)
|
||||
request.get(`/index_store/indicator/${val}`).then((res) => {
|
||||
this.$store.commit("set_tabs_key", "indicator" + res.id);
|
||||
this.$store.commit("set_tabs", {
|
||||
id: "indicator" + res.id,
|
||||
title: res.cname,
|
||||
content: "indicatorsDetails",
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
openDialog() {
|
||||
this.editVisible = true;
|
||||
this.checkedValue = JSON.stringify(this.data[this.active], null, 4);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
const { name } = require('./package');
|
||||
module.exports = {
|
||||
publicPath: process.env.NODE_ENV === "production" ? "/" : "/",
|
||||
publicPath: process.env.NODE_ENV === "production" ? "/webapp/rating_manager" : "/",
|
||||
outputDir: "dist",
|
||||
productionSourceMap: false,
|
||||
lintOnSave: true,
|
||||
|
|
Loading…
Reference in New Issue