Loading escheduler-ui/.env +1 −1 Original line number Diff line number Diff line # 后端接口地址 API_BASE = http://192.168.xx.xx:12345 API_BASE = http://192.168.221.188:12345 # 本地开发如需ip访问项目把"#"号去掉 #DEV_HOST = 192.168.xx.xx escheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue +13 −10 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ <th width="50"> <x-checkbox @on-change="_topCheckBoxClick" v-model="checkAll"></x-checkbox> </th> <th> <th width="40"> <span>{{$t('#')}}</span> </th> <th> Loading @@ -33,7 +33,7 @@ </tr> <tr v-for="(item, $index) in list" :key="item.id"> <td width="50"><x-checkbox v-model="item.isCheck" @on-change="_arrDelChange"></x-checkbox></td> <td> <td width="50"> <span>{{parseInt(pageNo === 1 ? ($index + 1) : (($index + 1) + (pageSize * (pageNo - 1))))}}</span> </td> <td> Loading Loading @@ -90,7 +90,7 @@ </tr> </table> </div> <x-button style="position: absolute; bottom: -52px; left: 22px;" v-if="strDelete !== ''" @click="_batchDelete">批量删除</x-button> <x-button size="xsmall" style="position: absolute; bottom: -48px; left: 22px;" v-if="strDelete !== ''" @click="_batchDelete">删除</x-button> </div> </template> <script> Loading Loading @@ -308,21 +308,24 @@ } }, watch: { processList (a) { processList: { handler (a) { this.checkAll = false this.list = [] setTimeout(() => { this.list = a this.list = _.cloneDeep(a) }) }, immediate: true, deep: true }, pageNo () { this.checkAll = false this.strDelete = '' } }, created () { }, mounted () { this.list = this.processList }, components: { } } Loading escheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue +19 −16 Original line number Diff line number Diff line Loading @@ -6,13 +6,13 @@ <th width="50"> <x-checkbox @on-change="_topCheckBoxClick" v-model="checkAll"></x-checkbox> </th> <th> <th width="40"> <span>{{$t('#')}}</span> </th> <th> <span>{{$t('Process Name')}}</span> </th> <th width="120"> <th> <span>{{$t('Run Type')}}</span> </th> <th width="140"> Loading @@ -21,10 +21,10 @@ <th width="140"> <span>{{$t('End Time')}}</span> </th> <th width="90"> <th width="70"> <span>{{$t('Duration')}}s</span> </th> <th width="72"> <th width="70"> <span>{{$t('Run Times')}}</span> </th> <th width="100"> Loading @@ -36,13 +36,13 @@ <th width="50"> <span>{{$t('State')}}</span> </th> <th width="260"> <th width="220"> <span>{{$t('Operation')}}</span> </th> </tr> <tr v-for="(item, $index) in list" :key="item.id"> <td width="50"><x-checkbox v-model="item.isCheck" @on-change="_arrDelChange"></x-checkbox></td> <td> <td width="50"> <span>{{parseInt(pageNo === 1 ? ($index + 1) : (($index + 1) + (pageSize * (pageNo - 1))))}}</span> </td> <td> Loading @@ -54,8 +54,8 @@ <span v-if="item.endTime">{{item.endTime | formatDate}}</span> <span v-if="!item.endTime">-</span> </td> <td><span>{{item.duration || '-'}}</span></td> <td><span>{{item.runTimes}}</span></td> <td width="70"><span>{{item.duration || '-'}}</span></td> <td width="70"><span>{{item.runTimes}}</span></td> <td> <span v-if="item.host">{{item.host}}</span> <span v-if="!item.host">-</span> Loading Loading @@ -249,7 +249,7 @@ </tr> </table> </div> <x-button style="position: absolute; bottom: -52px; left: 22px;" v-if="strDelete !== ''" @click="_batchDelete">批量删除</x-button> <x-button size="xsmall" style="position: absolute; bottom: -48px; left: 22px;" v-if="strDelete !== ''" @click="_batchDelete">删除</x-button> </div> </template> <script> Loading Loading @@ -480,21 +480,24 @@ } }, watch: { processInstanceList (a) { processInstanceList: { handler (a) { this.checkAll = false this.list = [] setTimeout(() => { this.list = this._listDataHandle(a) this.list = _.cloneDeep(this._listDataHandle(a)) }) }, immediate: true, deep: true }, pageNo () { this.checkAll = false this.strDelete = '' } }, created () { }, mounted () { this.list = this._listDataHandle(this.processInstanceList) }, components: { } } Loading escheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/rename.vue +11 −4 Original line number Diff line number Diff line Loading @@ -49,10 +49,16 @@ methods: { _ok (fn) { this._verification().then(res => { if (this.name === this.item.alias) { return new Promise((resolve,reject) => { this.desc === this.item.desc ? reject({msg:'内容未修改'}) : resolve() }) }else{ return this.store.dispatch('resource/resourceVerifyName', { name: this.name, type: 'FILE' }) } }).then(res => { return this.store.dispatch('resource/resourceRename', { name: this.name, Loading @@ -78,6 +84,7 @@ } else { resolve() } }) } }, Loading escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/rename.vue +10 −4 Original line number Diff line number Diff line Loading @@ -49,10 +49,16 @@ methods: { _ok (fn) { this._verification().then(res => { if (this.name === this.item.alias) { return new Promise((resolve,reject) => { this.desc === this.item.desc ? reject({msg:'内容未修改'}) : resolve() }) }else{ return this.store.dispatch('resource/resourceVerifyName', { name: this.name, type: 'UDF' }) } }).then(res => { return this.store.dispatch('resource/resourceRename', { name: this.name, Loading Loading
escheduler-ui/.env +1 −1 Original line number Diff line number Diff line # 后端接口地址 API_BASE = http://192.168.xx.xx:12345 API_BASE = http://192.168.221.188:12345 # 本地开发如需ip访问项目把"#"号去掉 #DEV_HOST = 192.168.xx.xx
escheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue +13 −10 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ <th width="50"> <x-checkbox @on-change="_topCheckBoxClick" v-model="checkAll"></x-checkbox> </th> <th> <th width="40"> <span>{{$t('#')}}</span> </th> <th> Loading @@ -33,7 +33,7 @@ </tr> <tr v-for="(item, $index) in list" :key="item.id"> <td width="50"><x-checkbox v-model="item.isCheck" @on-change="_arrDelChange"></x-checkbox></td> <td> <td width="50"> <span>{{parseInt(pageNo === 1 ? ($index + 1) : (($index + 1) + (pageSize * (pageNo - 1))))}}</span> </td> <td> Loading Loading @@ -90,7 +90,7 @@ </tr> </table> </div> <x-button style="position: absolute; bottom: -52px; left: 22px;" v-if="strDelete !== ''" @click="_batchDelete">批量删除</x-button> <x-button size="xsmall" style="position: absolute; bottom: -48px; left: 22px;" v-if="strDelete !== ''" @click="_batchDelete">删除</x-button> </div> </template> <script> Loading Loading @@ -308,21 +308,24 @@ } }, watch: { processList (a) { processList: { handler (a) { this.checkAll = false this.list = [] setTimeout(() => { this.list = a this.list = _.cloneDeep(a) }) }, immediate: true, deep: true }, pageNo () { this.checkAll = false this.strDelete = '' } }, created () { }, mounted () { this.list = this.processList }, components: { } } Loading
escheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue +19 −16 Original line number Diff line number Diff line Loading @@ -6,13 +6,13 @@ <th width="50"> <x-checkbox @on-change="_topCheckBoxClick" v-model="checkAll"></x-checkbox> </th> <th> <th width="40"> <span>{{$t('#')}}</span> </th> <th> <span>{{$t('Process Name')}}</span> </th> <th width="120"> <th> <span>{{$t('Run Type')}}</span> </th> <th width="140"> Loading @@ -21,10 +21,10 @@ <th width="140"> <span>{{$t('End Time')}}</span> </th> <th width="90"> <th width="70"> <span>{{$t('Duration')}}s</span> </th> <th width="72"> <th width="70"> <span>{{$t('Run Times')}}</span> </th> <th width="100"> Loading @@ -36,13 +36,13 @@ <th width="50"> <span>{{$t('State')}}</span> </th> <th width="260"> <th width="220"> <span>{{$t('Operation')}}</span> </th> </tr> <tr v-for="(item, $index) in list" :key="item.id"> <td width="50"><x-checkbox v-model="item.isCheck" @on-change="_arrDelChange"></x-checkbox></td> <td> <td width="50"> <span>{{parseInt(pageNo === 1 ? ($index + 1) : (($index + 1) + (pageSize * (pageNo - 1))))}}</span> </td> <td> Loading @@ -54,8 +54,8 @@ <span v-if="item.endTime">{{item.endTime | formatDate}}</span> <span v-if="!item.endTime">-</span> </td> <td><span>{{item.duration || '-'}}</span></td> <td><span>{{item.runTimes}}</span></td> <td width="70"><span>{{item.duration || '-'}}</span></td> <td width="70"><span>{{item.runTimes}}</span></td> <td> <span v-if="item.host">{{item.host}}</span> <span v-if="!item.host">-</span> Loading Loading @@ -249,7 +249,7 @@ </tr> </table> </div> <x-button style="position: absolute; bottom: -52px; left: 22px;" v-if="strDelete !== ''" @click="_batchDelete">批量删除</x-button> <x-button size="xsmall" style="position: absolute; bottom: -48px; left: 22px;" v-if="strDelete !== ''" @click="_batchDelete">删除</x-button> </div> </template> <script> Loading Loading @@ -480,21 +480,24 @@ } }, watch: { processInstanceList (a) { processInstanceList: { handler (a) { this.checkAll = false this.list = [] setTimeout(() => { this.list = this._listDataHandle(a) this.list = _.cloneDeep(this._listDataHandle(a)) }) }, immediate: true, deep: true }, pageNo () { this.checkAll = false this.strDelete = '' } }, created () { }, mounted () { this.list = this._listDataHandle(this.processInstanceList) }, components: { } } Loading
escheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/rename.vue +11 −4 Original line number Diff line number Diff line Loading @@ -49,10 +49,16 @@ methods: { _ok (fn) { this._verification().then(res => { if (this.name === this.item.alias) { return new Promise((resolve,reject) => { this.desc === this.item.desc ? reject({msg:'内容未修改'}) : resolve() }) }else{ return this.store.dispatch('resource/resourceVerifyName', { name: this.name, type: 'FILE' }) } }).then(res => { return this.store.dispatch('resource/resourceRename', { name: this.name, Loading @@ -78,6 +84,7 @@ } else { resolve() } }) } }, Loading
escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/rename.vue +10 −4 Original line number Diff line number Diff line Loading @@ -49,10 +49,16 @@ methods: { _ok (fn) { this._verification().then(res => { if (this.name === this.item.alias) { return new Promise((resolve,reject) => { this.desc === this.item.desc ? reject({msg:'内容未修改'}) : resolve() }) }else{ return this.store.dispatch('resource/resourceVerifyName', { name: this.name, type: 'UDF' }) } }).then(res => { return this.store.dispatch('resource/resourceRename', { name: this.name, Loading