|
|
@@ -32,6 +32,21 @@
|
|
|
<year-month-select v-model="params.yearAndMonth" :showAllYear="false"></year-month-select>
|
|
|
</div>
|
|
|
</template>
|
|
|
+
|
|
|
+ <template slot="lxbg" slot-scope="{ row }">
|
|
|
+ <span v-if="row.lxbg === '未提交'" style="color: red;">未提交</span>
|
|
|
+ <span v-if="row.lxbg === '已提交'">已提交</span>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <template slot="jdxbg" slot-scope="{ row }">
|
|
|
+ <span v-if="row.jdxbg === '未提交'" style="color: red;">未提交</span>
|
|
|
+ <span v-if="row.jdxbg === '已提交'">已提交</span>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <template slot="ysbg" slot-scope="{ row }">
|
|
|
+ <span v-if="row.ysbg === '未提交'" style="color: red;">未提交</span>
|
|
|
+ <span v-if="row.ysbg === '已提交'">已提交</span>
|
|
|
+ </template>
|
|
|
|
|
|
</avue-crud>
|
|
|
|
|
|
@@ -92,6 +107,7 @@ import change from "./change.vue";
|
|
|
import acceptForm from "./components/accept-form.vue";
|
|
|
import resultTable from "./result-table.vue";
|
|
|
import outsourcingDoc from "./components/outsourcing-doc.vue";
|
|
|
+import { Row } from "element-ui";
|
|
|
|
|
|
|
|
|
export default window.$crudCommon({
|
|
|
@@ -162,6 +178,12 @@ export default window.$crudCommon({
|
|
|
// 模块路径
|
|
|
name: 'projectManage/projectList',
|
|
|
res: ({ data }) => {
|
|
|
+ data.records = data.records.map(item => {
|
|
|
+ item.lxbg = item.lxbgCount > 0 ? '已提交' : '未提交';
|
|
|
+ item.jdxbg = item.jdxbgCount > 0 ? '已提交' : '未提交';
|
|
|
+ item.ysbg = item.ysbgCount > 0 ? '已提交' : '未提交';
|
|
|
+ return item;
|
|
|
+ });
|
|
|
return data;
|
|
|
},
|
|
|
});
|