Commit 57d1c3eb by 洪晓珍

order config screen

parent 15737fda
...@@ -172,7 +172,7 @@ jQuery(document).ready(function ($) { ...@@ -172,7 +172,7 @@ jQuery(document).ready(function ($) {
var data = JSON.stringify( var data = JSON.stringify(
{ {
"woId": woId, "woId": woId,
"processUid": 1 "processUid": 1//当前用户
} }
); );
$.ajax({ $.ajax({
...@@ -190,7 +190,7 @@ jQuery(document).ready(function ($) { ...@@ -190,7 +190,7 @@ jQuery(document).ready(function ($) {
var data = JSON.stringify( var data = JSON.stringify(
{ {
"fieldValue": woId, "fieldValue": woId,
"processUid": 1, "processUid": 1,//当前用户
"tableName":auditTableName "tableName":auditTableName
} }
); );
......
...@@ -152,13 +152,13 @@ ...@@ -152,13 +152,13 @@
<p> <p>
<span>归属部门:</span> <span>归属部门:</span>
<select name="department" v-model="deptId"> <select name="department" v-model="deptId">
<option v-for="(item,index) in deptNames" :value='index'> {{item.text}} <option v-for="(item,index) in depts" :value='item.deptId'> {{item.deptName}}
</option> </option>
</select> </select>
</p> </p>
<p> <p>
<span>工单ID:</span> <span>工单规则ID:</span>
<input type="text" v-model="woId"> <input type="text" v-model="cfgId">
</p> </p>
<p class="btns"> <p class="btns">
<button type="button" class="btn btn-primary" @click="querySysCfg">查询</button> <button type="button" class="btn btn-primary" @click="querySysCfg">查询</button>
...@@ -172,8 +172,8 @@ ...@@ -172,8 +172,8 @@
<th>归属部门</th> <th>归属部门</th>
<th>工单类型</th> <th>工单类型</th>
<th>紧急程度</th> <th>紧急程度</th>
<th>工单时效</th> <th>工单时效(分)</th>
<th>倒计时</th> <th>倒计时提醒(分)</th>
<th>派发上限</th> <th>派发上限</th>
<th>操作</th> <th>操作</th>
</tr> </tr>
...@@ -183,10 +183,10 @@ ...@@ -183,10 +183,10 @@
<tr v-for="sysCfg in sysCfgList" v-bind:key="sysCfg.id"> <tr v-for="sysCfg in sysCfgList" v-bind:key="sysCfg.id">
<td scope="row">{{sysCfg.id}}</td> <td scope="row">{{sysCfg.id}}</td>
<td>{{sysCfg.deptName}}</td> <td>{{sysCfg.deptName}}</td>
<td>{{sysCfg.woType}}</td> <td>{{sysCfg.woTypeDisplay}}</td>
<td>{{sysCfg.urgentLevel}}</td> <td>{{sysCfg.urgentLevelDisplay}}</td>
<td>{{sysCfg.duringTime}}</td> <td>{{sysCfg.duringTime}}</td>
<td>{{sysCfg.counter}}</td> <td>{{sysCfg.remindTime}}</td>
<td>{{sysCfg.assignLimit}}</td> <td>{{sysCfg.assignLimit}}</td>
<td><a href="#" @click="sysCfgDetail(sysCfg)">编辑</a><a href="#" @click="queryAuditTrace(sysCfg)">操作日志</a></td> <td><a href="#" @click="sysCfgDetail(sysCfg)">编辑</a><a href="#" @click="queryAuditTrace(sysCfg)">操作日志</a></td>
</tr> </tr>
...@@ -204,14 +204,14 @@ ...@@ -204,14 +204,14 @@
<div class="row1"> <div class="row1">
<span>一级部门:</span> <span>一级部门:</span>
<select name="" v-model="addDeptId"> <select name="" v-model="addDeptId">
<option v-for="(item,index) in deptNames" :value='index'> {{item.text}} <option v-for="(item,index) in depts" :value='item.deptId'> {{item.deptName}}
</option> </option>
</select> </select>
</div> </div>
<div class="row2"> <div class="row2">
<span>工单类型:</span> <span>工单类型:</span>
<select name="" v-model="addWoType"> <select name="" v-model="addWoType">
<option v-for="(item,index) in woTypes" :value='index' > {{item.text}} <option v-for="(item,index) in woTypes" :value='item.value' > {{item.text}}
</option> </option>
</select> </select>
</div> </div>
...@@ -255,88 +255,14 @@ ...@@ -255,88 +255,14 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr class="active" v-for="audit in auditDetails" v-bind:key = "audit.id">
<td>陈小钱</td> <td>{{ audit.operatorName }}</td>
<td>2018.12.28 22:22:31</td> <td>{{ audit.operateTime }}</td>
<td>编辑</td> <td>{{ audit.actionType }}</td>
<td>对工单时效进行了操作原值“10”新值“20”</td> <td>{{ audit.actionDetail }}</td>
</tr> </tr>
<tr> </tbody>
<td>陈小钱</td>
<td>2018.12.28 22:22:31</td>
<td>编辑</td>
<td>对工单时效进行了操作原值“10”新值“20”</td>
</tr>
<tr>
<td>陈小钱</td>
<td>2018.12.28 22:22:31</td>
<td>编辑</td>
<td>对工单时效进行了操作原值“10”新值“20”</td>
</tr>
<tr>
<td>陈小钱</td>
<td>2018.12.28 22:22:31</td>
<td>编辑</td>
<td>对工单时效进行了操作原值“10”新值“20”</td>
</tr>
</tbody>
</table> </table>
<!--<table class="table table4">
<thead>
<tr>
<th>新增系统工单规则</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<div class="row1">
<span>一级部门:</span>
<select name="" id="">
<option value="">好柿</option>
<option value="">心暖</option>
<option value="">电商</option>
<option value="">客服</option>
</select>
</div>
<div class="row2">
<span>工单类型:</span>
<select name="" id="">
<option value="">回访工单</option>
<option value="">预定工单</option>
</select>
</div>
<div class="row3">
<span>紧急程度:</span>
<select name="" id="">
<option value="">一般</option>
<option value="">紧急</option>
<option value="">非常紧急</option>
</select>
</div>
<div class="row4">
<span>工单时效:</span>
<input type="text">小时
<input type="text">分钟
<i>为空值则不限定时间</i>
</div>
<div class="row5">
<span>提醒时间:</span>
<input type="text">分钟
<i>为空值则不提醒</i>
</div>
<div class="row6">
<span>派发上限:</span>
<input type="text">
<i>即每个角色当天可接收工单上限,为空值则不限定上限</i>
</div>
<div class="row7">
<button class="btn btn-default" type="submit">保存</button>
</div>
</td>
</tr>
</tbody>
</table>-->
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment