Vue Polling - Code sycn with fixes from Shipping Portal (dillon/51-vue-polling-experimental-1)

This commit is contained in:
Dillon Ngo
2023-12-18 16:25:02 +08:00
parent 0f4883e64e
commit 5ad949e7c4
3 changed files with 3 additions and 3 deletions
@@ -14,7 +14,7 @@ class AddNewColumnToJobResultsTable extends Migration
public function up()
{
Schema::table('job_results', function (Blueprint $table) {
$table->string('url')->after('result')->nullable();
$table->longText('url')->after('result')->nullable();
$table->string('job_command_name')->after('url')->nullable();
$table->longText('job_command')->after('job_command_name')->nullable();
});
@@ -37,7 +37,7 @@
</div>
</div>
</div>
<div class="row">
<div class="row" v-show="!isLoading">
<div class="col">
<pagination-component :section="section" class="mb-5" ref="pagination"></pagination-component>
</div>
+1 -1
View File
@@ -16,7 +16,7 @@ export default {
combinedAbsoluteUrl = queryDomain + '?' + filteredEncodedParams;
console.log('combinedAbsoluteUrl: ', combinedAbsoluteUrl);
}
return fetch(queryDomain + '?' + filteredEncodedParams, {
return fetch(combinedAbsoluteUrl, {
method: method,
responseType: 'json',
body: parameters ? JSON.stringify(parameters):null,