This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const makeMutation = name => (state, payload) => state[name] = payload; | |
| function makeMutation(name) { | |
| return function(state, payload) { | |
| return state[name] = payload; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <v-layout row> | |
| <v-flex xs12 sm6 offset-sm3> | |
| <v-card> | |
| <v-toolbar color="cyan" dark> | |
| <v-toolbar-title>Inbox</v-toolbar-title> | |
| <v-spacer></v-spacer> | |
| </v-toolbar> | |
| <v-list two-line> | |
| <template v-for="(item, index) in items"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const path = require("path") | |
| const UglifyJsPlugin = require("uglifyjs-webpack-plugin") | |
| module.exports = { | |
| publicPath: process.env.NODE_ENV === "production" ? "./" : "/", | |
| productionSourceMap: false, | |
| devServer: { | |
| proxy: { | |
| '/flowable-task/process-api/history/historic-process-instances': { | |
| // target: 'http://172.18.65.219:8080', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const path = require("path") | |
| const UglifyJsPlugin = require("uglifyjs-webpack-plugin") | |
| module.exports = { | |
| publicPath: process.env.NODE_ENV === "production" ? "./" : "/", | |
| productionSourceMap: false, | |
| devServer: { | |
| proxy: { | |
| '/flowable-task': { | |
| target: 'http://10.139.201.188:8900', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div id="app"> | |
| <div style="display:inline-block;width:80px"> | |
| <my-select v-model="firstModel"></my-select> | |
| </div> | |
| <div style="display:inline-block;width:80px"> | |
| <my-select v-model="secondModel"></my-select> | |
| </div> | |
| <div style="display:inline-block;width:80px">{{ zip }}</div> | |
| <router-view/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let mounted = async function() { | |
| let promise0 = await fetchAllMachine({ | |
| app_id: process.env.VUE_APP_APP_ID, | |
| s_date: getToday(), | |
| e_date: getToday() | |
| }); | |
| let promise1 = await fetchHistoricProcessInstances({ | |
| processDefinitionKey: 'material_order_flow', | |
| start: '0', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let getData = async function() { | |
| let promise0 = await fetchAllMachine({ | |
| app_id: process.env.VUE_APP_APP_ID, | |
| s_date: getToday(), | |
| e_date: getToday() | |
| }); | |
| let promise1 = await fetchHistoricProcessInstances({ | |
| processDefinitionKey: 'material_order_flow', | |
| start: '0', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // unit -> unit | |
| let mounted = async function() { | |
| await fetchAllMachine({ | |
| app_id: process.env.VUE_APP_APP_ID, | |
| s_date: getToday(), | |
| e_date: getToday() | |
| }).then(x => machines = x.data.payload) | |
| .then(() => fetchHistoricProcessInstances({ | |
| processDefinitionKey: 'material_order_flow', | |
| start: '0', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { pipe, propEq } from 'ramda' | |
| import { prop } from 'crocks' | |
| class MyMaybe { | |
| #value = null | |
| #isNothing = true | |
| constructor(value) { | |
| if (!value) | |
| this.#isNothing = true |
OlderNewer